-
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.
Add support for default encryption scope & block encryption scope ove…
…rride for blob container APIs. (#8595) * Add support for default encryption scope & block encryption scope override for blob container APIs. * Add examples. * Fix prettier issues. * Fix prettier errors. * Really fix prettier errors.
- Loading branch information
Showing
2 changed files
with
51 additions
and
0 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
40 changes: 40 additions & 0 deletions
40
...Microsoft.Storage/stable/2019-06-01/examples/BlobContainersPutDefaultEncryptionScope.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,40 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "{subscription-id}", | ||
"resourceGroupName": "res3376", | ||
"accountName": "sto328", | ||
"containerName": "container6185", | ||
"api-version": "2019-06-01", | ||
"monitor": "true", | ||
"blobContainer": { | ||
"properties": { | ||
"defaultEncryptionScope": "encryptionscope185", | ||
"denyEncryptionScopeOverride": 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": { | ||
"defaultEncryptionScope": "encryptionscope185", | ||
"denyEncryptionScopeOverride": 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": { | ||
"defaultEncryptionScope": "encryptionscope185", | ||
"denyEncryptionScopeOverride": true | ||
} | ||
} | ||
} | ||
} | ||
} |