Skip to content

Commit 1ef8191

Browse files
authored
[Azure Stack] Update storage admin specs for new generation with autorest-beta (Azure#8306)
* Update storage admin specs for new generation with autorest-beta * fix code style
1 parent 8ef2c06 commit 1ef8191

File tree

4 files changed

+18
-19
lines changed

4 files changed

+18
-19
lines changed

specification/azsadmin/resource-manager/storage/Microsoft.Storage.Admin/preview/2019-08-08/examples/StorageAccounts/Undelete.json

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,7 @@
77
"summary": "false"
88
},
99
"responses": {
10-
"200": {
11-
"body": {
12-
"accountId": "80d458ce4ecd47888b54aaa277800748"
13-
}
14-
},
10+
"200": {},
1511
"202": {}
1612
}
1713
}

specification/azsadmin/resource-manager/storage/Microsoft.Storage.Admin/preview/2019-08-08/settings.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,8 @@
4545
"required": true,
4646
"schema": {
4747
"$ref": "#/definitions/Settings"
48-
}
48+
},
49+
"x-ms-parameter-location": "method"
4950
}
5051
],
5152
"responses": {
@@ -121,8 +122,7 @@
121122
"properties": {
122123
"description": "Properties of the storage account.",
123124
"x-ms-client-flatten": true,
124-
"$ref": "#/definitions/SettingProperties",
125-
"readOnly": true
125+
"$ref": "#/definitions/SettingProperties"
126126
}
127127
},
128128
"allOf": [

specification/azsadmin/resource-manager/storage/Microsoft.Storage.Admin/preview/2019-08-08/storageaccounts.json

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -137,10 +137,7 @@
137137
],
138138
"responses": {
139139
"200": {
140-
"description": "OK -- Undelete either has been performed or account was not deleted.",
141-
"schema": {
142-
"$ref": "#/definitions/UndeleteStorageAccount"
143-
}
140+
"description": "OK -- Undelete either has been performed or account was not deleted."
144141
},
145142
"202": {
146143
"description": "Accepted -- undelete operation trigged; operation will complete asynchronously."
@@ -195,7 +192,10 @@
195192
}
196193
}
197194
},
198-
"x-ms-long-running-operation": true
195+
"x-ms-long-running-operation": true,
196+
"x-ms-long-running-operation-options": {
197+
"final-state-via": "location"
198+
}
199199
}
200200
}
201201
},
@@ -377,6 +377,7 @@
377377
},
378378
"primaryEndpoints": {
379379
"description": "The URLs that are used to perform a retrieval of a public BLOB, queue, or table object.",
380+
"type": "object",
380381
"additionalProperties": {
381382
"type": "string"
382383
},
@@ -543,7 +544,8 @@
543544
"in": "query",
544545
"required": false,
545546
"type": "boolean",
546-
"x-ms-parameter-location": "method"
547+
"x-ms-parameter-location": "method",
548+
"default": false
547549
},
548550
"FilterParameter": {
549551
"description": "Filter string",

specification/azsadmin/resource-manager/storage/readme.azsautogen.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,15 +24,16 @@ These are the global settings for the Storage API.
2424
title: StorageAdminClient
2525
description: Storage Admin Client
2626
openapi-type: arm
27+
tag: package-2019-08-08
2728
```
2829
2930
``` yaml
3031
input-file:
31-
- "$(this-folder)/Microsoft.Storage.Admin/preview/2019-08-08/storageaccounts.json"
32-
- "$(this-folder)/Microsoft.Storage.Admin/preview/2019-08-08/quotas.json"
33-
- "$(this-folder)/Microsoft.Storage.Admin/preview/2019-08-08/settings.json"
34-
- "$(this-folder)/Microsoft.Storage.Admin/preview/2019-08-08/storage.json"
35-
- "$(this-folder)/Microsoft.Storage.Admin/preview/2019-08-08/acquisitions.json"
32+
- $(this-folder)/Microsoft.Storage.Admin/preview/2019-08-08/storageaccounts.json
33+
- $(this-folder)/Microsoft.Storage.Admin/preview/2019-08-08/quotas.json
34+
- $(this-folder)/Microsoft.Storage.Admin/preview/2019-08-08/settings.json
35+
- $(this-folder)/Microsoft.Storage.Admin/preview/2019-08-08/storage.json
36+
- $(this-folder)/Microsoft.Storage.Admin/preview/2019-08-08/acquisitions.json
3637
```
3738
3839
---

0 commit comments

Comments
 (0)