File tree Expand file tree Collapse file tree 2 files changed +78
-1
lines changed
specification/storage/resource-manager/Microsoft.Storage/preview/2020-08-01-preview Expand file tree Collapse file tree 2 files changed +78
-1
lines changed Original file line number Diff line number Diff line change 1+ {
2+ "parameters" : {
3+ "subscriptionId" : " {subscription-id}" ,
4+ "resourceGroupName" : " res9290" ,
5+ "accountName" : " sto1590" ,
6+ "$expand" : " snapshots" ,
7+ "api-version" : " 2020-08-01-preview" ,
8+ "monitor" : " true"
9+ },
10+ "responses" : {
11+ "200" : {
12+ "body" : {
13+ "value" : [
14+ {
15+ "id" : " /subscriptions/{subscription-id}/resourceGroups/res9290/providers/Microsoft.Storage/storageAccounts/sto1590/fileServices/default/shares/share4052" ,
16+ "name" : " share4052" ,
17+ "type" : " Microsoft.Storage/storageAccounts/fileServices/shares" ,
18+ "etag" : " \" 0x8D589847DAB5AF9\" " ,
19+ "properties" : {
20+ "lastModifiedTime" : " 2020-10-26T05:47:05.0000000Z" ,
21+ "shareQuota" : 1024
22+ }
23+ },
24+ {
25+ "id" : " /subscriptions/{subscription-id}/resourceGroups/res9290/providers/Microsoft.Storage/storageAccounts/sto1590/fileServices/default/shares/share4052" ,
26+ "name" : " share4052" ,
27+ "type" : " Microsoft.Storage/storageAccounts/fileServices/shares" ,
28+ "etag" : " \" 0x8D589847DAB5AF9\" " ,
29+ "properties" : {
30+ "lastModifiedTime" : " 2020-10-26T05:47:05.0000000Z" ,
31+ "shareQuota" : 1024 ,
32+ "snapshotTime" : " 2020-10-26T05:48:07.0000000Z"
33+ }
34+ }
35+ ]
36+ }
37+ }
38+ }
39+ }
Original file line number Diff line number Diff line change 170170 },
171171 "ListDeletedShares" : {
172172 "$ref" : " ./examples/DeletedFileSharesList.json"
173+ },
174+ "ListShareSnapshots" : {
175+ "$ref" : " ./examples/FileShareSnapshotsList.json"
173176 }
174177 },
175178 "description" : " Lists all shares." ,
204207 "required" : false ,
205208 "type" : " string" ,
206209 "enum" : [
207- " deleted"
210+ " deleted" ,
211+ " snapshots"
208212 ],
209213 "x-ms-enum" : {
210214 "name" : " ListSharesExpand" ,
269273 },
270274 "description" : " Properties of the file share to create."
271275 },
276+ {
277+ "name" : " $expand" ,
278+ "in" : " query" ,
279+ "required" : false ,
280+ "type" : " string" ,
281+ "enum" : [
282+ " snapshots"
283+ ],
284+ "x-ms-enum" : {
285+ "name" : " PutSharesExpand" ,
286+ "modelAsString" : false
287+ },
288+ "description" : " Optional, used to create a snapshot."
289+ },
272290 {
273291 "$ref" : " ../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter"
274292 },
393411 "modelAsString" : false
394412 },
395413 "description" : " Optional, used to expand the properties within share's properties."
414+ },
415+ {
416+ "name" : " x-ms-snapshot" ,
417+ "in" : " header" ,
418+ "required" : false ,
419+ "type" : " string" ,
420+ "description" : " Optional, used to retrieve properties of a snapshot."
396421 }
397422 ],
398423 "responses" : {
436461 },
437462 {
438463 "$ref" : " ../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter"
464+ },
465+ {
466+ "name" : " x-ms-snapshot" ,
467+ "in" : " header" ,
468+ "required" : false ,
469+ "type" : " string" ,
470+ "description" : " Optional, used to delete a snapshot."
439471 }
440472 ],
441473 "responses" : {
746778 "format" : " int64" ,
747779 "readOnly" : true ,
748780 "description" : " The approximate size of the data stored on the share. Note that this value may not include all recently created or recently resized files."
781+ },
782+ "snapshotTime" : {
783+ "type" : " string" ,
784+ "format" : " date-time" ,
785+ "readOnly" : true ,
786+ "description" : " Creation time of share snapshot returned in the response of list shares with expand param \" snapshots\" ."
749787 }
750788 },
751789 "description" : " The properties of the file share."
You can’t perform that action at this time.
0 commit comments