diff --git a/specification/storagecache/resource-manager/Microsoft.StorageCache/stable/2019-11-01/storagecache.json b/specification/storagecache/resource-manager/Microsoft.StorageCache/stable/2019-11-01/storagecache.json index 30bed164d751..c7b6e9f8f489 100644 --- a/specification/storagecache/resource-manager/Microsoft.StorageCache/stable/2019-11-01/storagecache.json +++ b/specification/storagecache/resource-manager/Microsoft.StorageCache/stable/2019-11-01/storagecache.json @@ -279,16 +279,13 @@ ], "responses": { "200": { - "description": "Cache deleted.", - "schema": {} + "description": "Cache deleted." }, "202": { - "description": "Started the Cache's transition to Deleted state. Poll the Cache to monitor.", - "schema": {} + "description": "Started the Cache's transition to Deleted state. Poll the Cache to monitor." }, "204": { - "description": "Cache deleted.", - "schema": {} + "description": "Cache deleted." }, "default": { "description": "Error response describing why the operation failed.", @@ -525,16 +522,13 @@ ], "responses": { "200": { - "description": "All cached data has been flushed to the Storage Target(s).", - "schema": {} + "description": "All cached data has been flushed to the Storage Target(s)." }, "202": { - "description": "Cache has started flushing to its Storage Target(s). Poll the Cache's state field to monitor.", - "schema": {} + "description": "Cache has started flushing to its Storage Target(s). Poll the Cache's state field to monitor." }, "204": { - "description": "Cache flushed.", - "schema": {} + "description": "Cache flushed." }, "default": { "description": "Error response describing why the operation failed.", @@ -586,16 +580,13 @@ ], "responses": { "200": { - "description": "Cache is Active.", - "schema": {} + "description": "Cache is Active." }, "202": { - "description": "Cache has started the transition to Active. Poll the Cache's state field to monitor.", - "schema": {} + "description": "Cache has started the transition to Active. Poll the Cache's state field to monitor." }, "204": { - "description": "Restarted VMs associated with the cache.", - "schema": {} + "description": "Restarted VMs associated with the cache." }, "default": { "description": "Error response describing why the operation failed.", @@ -647,16 +638,13 @@ ], "responses": { "200": { - "description": "Cache is stopped.", - "schema": {} + "description": "Cache is stopped." }, "202": { - "description": "Cache has started the transition to Stopped. Poll the Cache's state field to monitor.", - "schema": {} + "description": "Cache has started the transition to Stopped. Poll the Cache's state field to monitor." }, "204": { - "description": "Stopped VMs associated with the cache.", - "schema": {} + "description": "Stopped VMs associated with the cache." }, "default": { "description": "Error response describing why the operation failed.", @@ -773,16 +761,13 @@ ], "responses": { "200": { - "description": "Storage target deleted.", - "schema": {} + "description": "Storage target deleted." }, "202": { - "description": "Started the Storage Target's deletion. Poll the Cache's Storage Targets to monitor.", - "schema": {} + "description": "Started the Storage Target's deletion. Poll the Cache's Storage Targets to monitor." }, "204": { - "description": "Storage Target deleted.", - "schema": {} + "description": "Storage Target deleted." }, "default": { "description": "Error response describing why the operation failed.", @@ -972,16 +957,13 @@ ], "responses": { "201": { - "description": "Cache firmware is up to date.", - "schema": {} + "description": "Cache firmware is up to date." }, "202": { - "description": "Cache has started the upgrade. Poll the Cache's state field to monitor.", - "schema": {} + "description": "Cache has started the upgrade. Poll the Cache's state field to monitor." }, "204": { - "description": "Cache firmware is up to date.", - "schema": {} + "description": "Cache firmware is up to date." }, "default": { "description": "Error response describing why the operation failed.", diff --git a/specification/storagecache/resource-manager/readme.az.md b/specification/storagecache/resource-manager/readme.az.md new file mode 100644 index 000000000000..69ecba68d2ae --- /dev/null +++ b/specification/storagecache/resource-manager/readme.az.md @@ -0,0 +1,24 @@ +## AZ + +These settings apply only when `--az` is specified on the command line. + +``` yaml $(az) +az: + extensions: storagecache + namespace: azure.mgmt.storagecache + package-name: azure-mgmt-storagecache +python-sdk-output-folder: "$(output-folder)/src/storagecache/azext_storagecache/vendored_sdks/storagecache" + +cli: + cli-directive: + # directive on operationGroup + - select: 'operationGroup' + where: + operationGroup: 'operations' + operation: 'list' + hidden: true + - where: + parameter: location + required: true + +``` diff --git a/specification/storagecache/resource-manager/readme.cli.md b/specification/storagecache/resource-manager/readme.cli.md new file mode 100644 index 000000000000..9c6fba4085e4 --- /dev/null +++ b/specification/storagecache/resource-manager/readme.cli.md @@ -0,0 +1,9 @@ + CLI + +These settings apply only when `--cli` is specified on the command line. + +``` yaml $(cli) +cli: + namespace: azure.mgmt.storagecache + flatten-all: true +```