Updates the configuration of a backup vault.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
hbr:UpdateVault |
update |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| VaultId |
string |
Yes |
The ID of the backup vault. |
v-********************* |
| VaultName |
string |
No |
The name of the backup vault. The name must be 1 to 64 characters in length. |
vaultname |
| Description |
string |
No |
The description of the backup vault. The value must be 0 to 255 characters in length. |
vault description |
| WormEnabled |
boolean |
No |
Whether to enable the immutable backup feature for storage vaults. Once enabled, backup vaults and all backup data cannot be deleted until the retention period expires. This feature cannot be disabled after it is enabled. Only standard backup vaults and archive vaults support this feature. |
true |
| ResourceGroupId |
string |
No |
The ID of the resource group. |
rg-acfm2fa2xeiebyy |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| Code |
string |
The response code. Status code 200 indicates that the request was successful. |
200 |
| Message |
string |
The returned message. A success message is returned for successful requests, and an error message for failed requests. |
successful |
| RequestId |
string |
The request ID. |
473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E |
| Success |
boolean |
Whether the request was successful. Valid values:
|
true |
Examples
Success response
JSON format
{
"Code": "200",
"Message": "successful",
"RequestId": "473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E",
"Success": true
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.