-
Notifications
You must be signed in to change notification settings - Fork 5.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
SRP recent file share API change (#8900)
* SRP recent file share API change * Fix CI * Update description * Address comment
- Loading branch information
Showing
6 changed files
with
346 additions
and
0 deletions.
There are no files selected for viewing
42 changes: 42 additions & 0 deletions
42
.../resource-manager/Microsoft.Storage/stable/2019-06-01/examples/DeletedFileSharesList.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "{subscription-id}", | ||
"resourceGroupName": "res9290", | ||
"accountName": "sto1590", | ||
"$expand": "deleted", | ||
"api-version": "2019-06-01", | ||
"monitor": "true" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"id": "/subscriptions/{subscription-id}/resourceGroups/res9290/providers/Microsoft.Storage/storageAccounts/sto1590/fileServices/default/shares/share1644_1234567890", | ||
"name": "share1644", | ||
"type": "Microsoft.Storage/storageAccounts/fileServices/shares", | ||
"etag": "\"0x8D589847D51C7DE\"", | ||
"properties": { | ||
"lastModifiedTime": "2019-05-14T08:20:47Z", | ||
"shareQuota": 1024, | ||
"version": "1234567890", | ||
"deleted": true, | ||
"deletedTime": "2019-12-14T08:20:47Z", | ||
"remainingRetentionDays": 30 | ||
} | ||
}, | ||
{ | ||
"id": "/subscriptions/{subscription-id}/resourceGroups/res9290/providers/Microsoft.Storage/storageAccounts/sto1590/fileServices/default/shares/share4052", | ||
"name": "share4052", | ||
"type": "Microsoft.Storage/storageAccounts/fileServices/shares", | ||
"etag": "\"0x8D589847DAB5AF9\"", | ||
"properties": { | ||
"lastModifiedTime": "2019-05-14T08:20:47Z", | ||
"shareQuota": 1024 | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
26 changes: 26 additions & 0 deletions
26
...ge/resource-manager/Microsoft.Storage/stable/2019-06-01/examples/FileSharesGet_Stats.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "{subscription-id}", | ||
"resourceGroupName": "res9871", | ||
"accountName": "sto6217", | ||
"shareName": "share1634", | ||
"$expand": "stats", | ||
"api-version": "2019-06-01", | ||
"monitor": "true" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/{subscription-id}/resourceGroups/res9871/providers/Microsoft.Storage/storageAccounts/sto6217/fileServices/default/shares/share1634", | ||
"name": "share1634", | ||
"type": "Microsoft.Storage/storageAccounts/fileServices/shares", | ||
"etag": "\"0x8D592D74CC20EBA\"", | ||
"properties": { | ||
"lastModifiedTime": "2019-05-26T05:06:14Z", | ||
"shareQuota": 1024, | ||
"shareUsageBytes": 652945 | ||
} | ||
} | ||
} | ||
} | ||
} |
37 changes: 37 additions & 0 deletions
37
...source-manager/Microsoft.Storage/stable/2019-06-01/examples/FileSharesPut_AccessTier.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "{subscription-id}", | ||
"resourceGroupName": "res346", | ||
"accountName": "sto666", | ||
"shareName": "share1235", | ||
"api-version": "2019-06-01", | ||
"monitor": "true", | ||
"fileShare": { | ||
"properties": { | ||
"accessTier": "Hot" | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"201": { | ||
"body": { | ||
"id": "/subscriptions/{subscription-id}/resourceGroups/res346/providers/Microsoft.Storage/storageAccounts/sto666/fileServices/default/shares/share1235", | ||
"name": "share1235", | ||
"type": "Microsoft.Storage/storageAccounts/fileServices/shares", | ||
"properties": { | ||
"accessTier": "Hot" | ||
} | ||
} | ||
}, | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/{subscription-id}/resourceGroups/res346/providers/Microsoft.Storage/storageAccounts/sto666/fileServices/default/shares/share1235", | ||
"name": "share1235", | ||
"type": "Microsoft.Storage/storageAccounts/fileServices/shares", | ||
"properties": { | ||
"accessTier": "Hot" | ||
} | ||
} | ||
} | ||
} | ||
} |
37 changes: 37 additions & 0 deletions
37
...rage/resource-manager/Microsoft.Storage/stable/2019-06-01/examples/FileSharesPut_NFS.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "{subscription-id}", | ||
"resourceGroupName": "res346", | ||
"accountName": "sto666", | ||
"shareName": "share1235", | ||
"api-version": "2019-06-01", | ||
"monitor": "true", | ||
"fileShare": { | ||
"properties": { | ||
"enabledProtocols": "NFS" | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"201": { | ||
"body": { | ||
"id": "/subscriptions/{subscription-id}/resourceGroups/res346/providers/Microsoft.Storage/storageAccounts/sto666/fileServices/default/shares/share1235", | ||
"name": "share1235", | ||
"type": "Microsoft.Storage/storageAccounts/fileServices/shares", | ||
"properties": { | ||
"enabledProtocols": "NFS" | ||
} | ||
} | ||
}, | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/{subscription-id}/resourceGroups/res346/providers/Microsoft.Storage/storageAccounts/sto666/fileServices/default/shares/share1235", | ||
"name": "share1235", | ||
"type": "Microsoft.Storage/storageAccounts/fileServices/shares", | ||
"properties": { | ||
"enabledProtocols": "NFS" | ||
} | ||
} | ||
} | ||
} | ||
} |
17 changes: 17 additions & 0 deletions
17
...rage/resource-manager/Microsoft.Storage/stable/2019-06-01/examples/FileSharesRestore.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "{subscription-id}", | ||
"resourceGroupName": "res3376", | ||
"accountName": "sto328", | ||
"shareName": "share1249", | ||
"deletedShare": { | ||
"deletedShareName": "share1249", | ||
"deletedShareVersion": "1234567890" | ||
}, | ||
"api-version": "2019-06-01", | ||
"monitor": "true" | ||
}, | ||
"responses": { | ||
"200": {} | ||
} | ||
} |
Oops, something went wrong.