-
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.
* selective key restore * moved selective key restore to keys.json * fixed github pipeline checks * example missing folder property * Resolved review comments * minor fix * review comments * pretty check fix Co-authored-by: vasanthrajams <[email protected]>
- Loading branch information
1 parent
ce3873f
commit 241c4ae
Showing
6 changed files
with
153 additions
and
1 deletion.
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
1 change: 1 addition & 0 deletions
1
...ation/keyvault/data-plane/Microsoft.KeyVault/preview/7.2/examples/FullBackup-example.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
1 change: 1 addition & 0 deletions
1
...yvault/data-plane/Microsoft.KeyVault/preview/7.2/examples/FullBackup-pending-example.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
3 changes: 2 additions & 1 deletion
3
...tion/keyvault/data-plane/Microsoft.KeyVault/preview/7.2/examples/FullRestore-example.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
1 change: 1 addition & 0 deletions
1
...vault/data-plane/Microsoft.KeyVault/preview/7.2/examples/FullRestore-pending-example.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
29 changes: 29 additions & 0 deletions
29
...keyvault/data-plane/Microsoft.KeyVault/preview/7.2/examples/SelectiveRestore-example.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,29 @@ | ||
{ | ||
"parameters": { | ||
"vaultBaseUrl": "https://myvault.vault.azure.net", | ||
"keyName": "hsm-mail-key", | ||
"restoreBlobDetails": { | ||
"sasTokenParameters": { | ||
"storageResourceUri": "https://myaccount.blob.core.windows.net/sascontainer/sasContainer", | ||
"token": "se=2018-02-01T00%3A00Z&spr=https&sv=2017-04-17&sr=b&sig=XXFNfuMCH112BxhemJ7PWn0xGfImMXT6LfbXWvtRUk%3D" | ||
}, | ||
"folder": "mhsm-mypool-20200303062926785" | ||
}, | ||
"api-version": "7.2-preview" | ||
}, | ||
"responses": { | ||
"202": { | ||
"headers": { | ||
"Retry-After": 5, | ||
"Azure-AsyncOperation": "https://myvault.vault.azure.net/restore/45aacd568a23b0s49a2803861e8dd3ase21f/pending" | ||
}, | ||
"body": { | ||
"status": "InProgress", | ||
"statusDetails": "Selective Key restore is in progress", | ||
"jobId": "45aacd568a23b0s49a2803861e8dd3ase21f", | ||
"startTime": 1490790000, | ||
"endTime": 0 | ||
} | ||
} | ||
} | ||
} |