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 vault. The description must be 0 to 255 characters in length. |
vault description |
| WormEnabled |
boolean |
No |
Specifies whether to enable the backup lock feature for the vault. After the backup lock feature is enabled, the backup vault and all backup data in the vault cannot be deleted before they automatically expire. After the backup lock feature is enabled, it cannot be disabled. The backup lock feature applies only to standard backup vaults and archive vaults. |
true |
| ResourceGroupId |
string |
No |
The ID of the resource group. |
rg-acfm2fa2xeiebyy |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| Code |
string |
The return code. 200 indicates success. |
200 |
| Message |
string |
The message returned. If the request is successful, successful is returned. If an error occurs, the corresponding error message is returned. |
successful |
| RequestId |
string |
The ID of the request. |
473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E |
| Success |
boolean |
Indicates whether the request is 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.