Skip to content

Commit

Permalink
[Azure Stack] Update storage admin specs for new generation with auto…
Browse files Browse the repository at this point in the history
…rest-beta (#8306)

* Update storage admin specs for new generation with autorest-beta

* fix code style
  • Loading branch information
zyxyoshine authored Feb 6, 2020
1 parent 8ef2c06 commit 1ef8191
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 19 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,7 @@
"summary": "false"
},
"responses": {
"200": {
"body": {
"accountId": "80d458ce4ecd47888b54aaa277800748"
}
},
"200": {},
"202": {}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,8 @@
"required": true,
"schema": {
"$ref": "#/definitions/Settings"
}
},
"x-ms-parameter-location": "method"
}
],
"responses": {
Expand Down Expand Up @@ -121,8 +122,7 @@
"properties": {
"description": "Properties of the storage account.",
"x-ms-client-flatten": true,
"$ref": "#/definitions/SettingProperties",
"readOnly": true
"$ref": "#/definitions/SettingProperties"
}
},
"allOf": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -137,10 +137,7 @@
],
"responses": {
"200": {
"description": "OK -- Undelete either has been performed or account was not deleted.",
"schema": {
"$ref": "#/definitions/UndeleteStorageAccount"
}
"description": "OK -- Undelete either has been performed or account was not deleted."
},
"202": {
"description": "Accepted -- undelete operation trigged; operation will complete asynchronously."
Expand Down Expand Up @@ -195,7 +192,10 @@
}
}
},
"x-ms-long-running-operation": true
"x-ms-long-running-operation": true,
"x-ms-long-running-operation-options": {
"final-state-via": "location"
}
}
}
},
Expand Down Expand Up @@ -377,6 +377,7 @@
},
"primaryEndpoints": {
"description": "The URLs that are used to perform a retrieval of a public BLOB, queue, or table object.",
"type": "object",
"additionalProperties": {
"type": "string"
},
Expand Down Expand Up @@ -543,7 +544,8 @@
"in": "query",
"required": false,
"type": "boolean",
"x-ms-parameter-location": "method"
"x-ms-parameter-location": "method",
"default": false
},
"FilterParameter": {
"description": "Filter string",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,16 @@ These are the global settings for the Storage API.
title: StorageAdminClient
description: Storage Admin Client
openapi-type: arm
tag: package-2019-08-08
```
``` yaml
input-file:
- "$(this-folder)/Microsoft.Storage.Admin/preview/2019-08-08/storageaccounts.json"
- "$(this-folder)/Microsoft.Storage.Admin/preview/2019-08-08/quotas.json"
- "$(this-folder)/Microsoft.Storage.Admin/preview/2019-08-08/settings.json"
- "$(this-folder)/Microsoft.Storage.Admin/preview/2019-08-08/storage.json"
- "$(this-folder)/Microsoft.Storage.Admin/preview/2019-08-08/acquisitions.json"
- $(this-folder)/Microsoft.Storage.Admin/preview/2019-08-08/storageaccounts.json
- $(this-folder)/Microsoft.Storage.Admin/preview/2019-08-08/quotas.json
- $(this-folder)/Microsoft.Storage.Admin/preview/2019-08-08/settings.json
- $(this-folder)/Microsoft.Storage.Admin/preview/2019-08-08/storage.json
- $(this-folder)/Microsoft.Storage.Admin/preview/2019-08-08/acquisitions.json
```
---
Expand Down

0 comments on commit 1ef8191

Please sign in to comment.