-
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.
Fix lease container example files; fix casing in Lease Container URL
- Loading branch information
1 parent
1f2bc6f
commit 9a9be32
Showing
9 changed files
with
83 additions
and
139 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
53 changes: 23 additions & 30 deletions
53
...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 |
---|---|---|
@@ -1,31 +1,24 @@ | ||
{ | ||
"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" | ||
} | ||
} | ||
} | ||
} | ||
{ | ||
"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" | ||
} | ||
} | ||
} | ||
} |
53 changes: 23 additions & 30 deletions
53
...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 |
---|---|---|
@@ -1,31 +1,24 @@ | ||
{ | ||
"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" | ||
} | ||
} | ||
} | ||
} | ||
{ | ||
"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" | ||
} | ||
} | ||
} | ||
} |