-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[SRP] Expose lease container in Apr19 API.
- Loading branch information
1 parent
6187fc3
commit 1f2bc6f
Showing
5 changed files
with
162 additions
and
2 deletions.
There are no files selected for viewing
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
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
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
31 changes: 31 additions & 0 deletions
31
...rce-manager/Microsoft.Storage/stable/2019-04-01/examples/BlobContainersLease_Acquire.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,31 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "{subscription-id}", | ||
"resourceGroupName": "res3376", | ||
"accountName": "sto328", | ||
"containerName": "container6185", | ||
"api-version": "2019-04-01", | ||
"monitor": "true", | ||
"parameters": { | ||
"properties": { | ||
"Action": 0, | ||
"LeaseId": null, | ||
"BreakPeriod": null, | ||
"LeaseDuration": -1, | ||
"ProposedLeaseId": null | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/{subscription-id}/resourceGroups/res3376/providers/Microsoft.Storage/storageAccounts/sto328/blobServices/default/containers/container6185", | ||
"name": "container6185", | ||
"type": "Microsoft.Storage/storageAccounts/blobServices/containers", | ||
"properties": { | ||
"LeaseId": "8698f513-fa75-44a1-b8eb-30ba336af27d" | ||
} | ||
} | ||
} | ||
} | ||
} |
31 changes: 31 additions & 0 deletions
31
...ource-manager/Microsoft.Storage/stable/2019-04-01/examples/BlobContainersLease_Break.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,31 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "{subscription-id}", | ||
"resourceGroupName": "res3376", | ||
"accountName": "sto328", | ||
"containerName": "container6185", | ||
"api-version": "2019-04-01", | ||
"monitor": "true", | ||
"parameters": { | ||
"properties": { | ||
"Action": 4, | ||
"LeaseId": "8698f513-fa75-44a1-b8eb-30ba336af27d", | ||
"BreakPeriod": null, | ||
"LeaseDuration": null, | ||
"ProposedLeaseId": null | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/{subscription-id}/resourceGroups/res3376/providers/Microsoft.Storage/storageAccounts/sto328/blobServices/default/containers/container6185", | ||
"name": "container6185", | ||
"type": "Microsoft.Storage/storageAccounts/blobServices/containers", | ||
"properties": { | ||
"LeaseTimeSeconds": "0" | ||
} | ||
} | ||
} | ||
} | ||
} |