-
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] Expose lease container in Apr19 API. (#5733)
* [SRP] Expose lease container in Apr19 API. * Fix lease container example files; fix casing in Lease Container URL
- Loading branch information
1 parent
da72486
commit 27e6adc
Showing
9 changed files
with
184 additions
and
80 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
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
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
24 changes: 24 additions & 0 deletions
24
...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,24 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "{subscription-id}", | ||
"resourceGroupName": "res3376", | ||
"accountName": "sto328", | ||
"containerName": "container6185", | ||
"api-version": "2019-04-01", | ||
"monitor": "true", | ||
"parameters": { | ||
"action": "Acquire", | ||
"leaseId": null, | ||
"breakPeriod": null, | ||
"leaseDuration": -1, | ||
"proposedLeaseId": null | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"leaseId": "8698f513-fa75-44a1-b8eb-30ba336af27d" | ||
} | ||
} | ||
} | ||
} |
24 changes: 24 additions & 0 deletions
24
...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,24 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "{subscription-id}", | ||
"resourceGroupName": "res3376", | ||
"accountName": "sto328", | ||
"containerName": "container6185", | ||
"api-version": "2019-04-01", | ||
"monitor": "true", | ||
"parameters": { | ||
"action": "Break", | ||
"leaseId": "8698f513-fa75-44a1-b8eb-30ba336af27d", | ||
"breakPeriod": null, | ||
"leaseDuration": null, | ||
"proposedLeaseId": null | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"leaseTimeSeconds": "0" | ||
} | ||
} | ||
} | ||
} |