-
Notifications
You must be signed in to change notification settings - Fork 5.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Do not Merge] [Private SDK] Add Version Level WORM Api Support #13333
Closed
Closed
Changes from all commits
Commits
Show all changes
4 commits
Select commit
Hold shift + click to select a range
0388b5b
Adding, vlw propert at container level, example. Add Vlw migrate api …
HimanshuChhabra 4c74d90
Add Async tag to migration api
HimanshuChhabra ce54543
Add Abort state
HimanshuChhabra 7edd466
Undo enable field as require, update comment
HimanshuChhabra File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
43 changes: 43 additions & 0 deletions
43
...nager/Microsoft.Storage/stable/2021-01-01/examples/BlobContainersPutVersionLevelWorm.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,43 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "{subscription-id}", | ||
"resourceGroupName": "res3376", | ||
"accountName": "sto328", | ||
"containerName": "container6185", | ||
"api-version": "2021-01-01", | ||
"monitor": "true", | ||
"blobContainer": { | ||
"properties": { | ||
"versionLevelWorm": { | ||
"enabled": "true" | ||
} | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"201": { | ||
"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": { | ||
"versionLevelWorm": { | ||
"enabled": "true" | ||
} | ||
} | ||
} | ||
}, | ||
"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": { | ||
"versionLevelWorm": { | ||
"enabled": "true" | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
15 changes: 15 additions & 0 deletions
15
...ager/Microsoft.Storage/stable/2021-01-01/examples/VersionLevelWormContainerMigration.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,15 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "{subscription-id}", | ||
"resourceGroupName": "res1782", | ||
"accountName": "sto7069", | ||
"containerName": "container6397", | ||
"immutabilityPolicyName": "default", | ||
"api-version": "2021-01-01", | ||
"monitor": "true" | ||
}, | ||
"responses": { | ||
"200": {}, | ||
"202": {} | ||
} | ||
} |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please specify final-state0via according to https://github.com/Azure/autorest/blob/master/docs/extensions/readme.md#x-ms-long-running-operation-options
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
azure-async-operation - (default if not specified) poll until terminal state, the final response will be available at the uri pointed to by the header Azure-AsyncOperation
By default it will use the above, which I need so will keep it like this if no worries