Queries the information about one or more backup vaults that meet the specified conditions.
Debugging
Authorization information
The following table shows the authorization information corresponding to the API. The authorization information can be used in the Action
policy element to grant a RAM user or RAM role the permissions to call this API operation. Description:
- Operation: the value that you can use in the Action element to specify the operation on a resource.
- Access level: the access level of each operation. The levels are read, write, and list.
- Resource type: the type of the resource on which you can authorize the RAM user or the RAM role to perform the operation. Take note of the following items:
- The required resource types are displayed in bold characters.
- If the permissions cannot be granted at the resource level,
All Resources
is used in the Resource type column of the operation.
- Condition Key: the condition key that is defined by the cloud service.
- Associated operation: other operations that the RAM user or the RAM role must have permissions to perform to complete the operation. To complete the operation, the RAM user or the RAM role must have the permissions to perform the associated operations.
Operation | Access level | Resource type | Condition key | Associated operation |
---|---|---|---|---|
hbr:DescribeVaults | get | *All Resources * |
| none |
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
VaultId | string | No | Backup vault ID. | v-********************* |
VaultRegionId | string | No | The region ID to which the backup vault belongs. | cn-shanghai |
Status | string | No | The status of the backup vault. Valid values:
| CREATED |
PageNumber | integer | No | The page number. Pages start from page 1. Default value: 1. | 1 |
PageSize | integer | No | The number of entries per page. Valid values: 1 to 99. Default value: 10. | 10 |
VaultType | string | No | Backup repository type. The values are as follows:
| STANDARD |
Tag | array<object> | No | Tag information. Supports up to 20 tags. | 6a745bceffb042959b3b5206d6f12ad1 |
object | No | Tag information. | ||
Key | string | No | The key of the tag. | key1 |
Value | string | No | The Value of the tag. | value1 |
ResourceGroupId | string | No | Resource group ID. | rg-********************* |
Response parameters
Examples
Sample success responses
JSON
format
{
"RequestId": "473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E",
"Success": true,
"Code": "200",
"Message": "successful",
"PageNumber": 1,
"PageSize": 10,
"TotalCount": 8,
"Vaults": {
"Vault": [
{
"Status": "CREATED",
"VaultId": "v-*********************",
"ChargeType": "FREE",
"VaultType": "STANDARD",
"Dedup": true,
"ReplicationSourceVaultId": "v-*********************",
"IndexUpdateTime": 1639645628,
"Description": "vault description",
"VaultStorageClass": "STANDARD",
"Retention": 2,
"CreatedTime": 1554347313,
"IndexLevel": "OFF",
"VaultName": "vaultname",
"StorageSize": 10,
"LatestReplicationTime": 1554347313,
"VaultStatusMessage": "SOURCE_VAULT_ALREADY_HAS_REPLICATION",
"Replication": false,
"ReplicationSourceRegionId": "v-*********************",
"VaultRegionId": "cn-shanghai",
"UpdatedTime": 1554347313,
"ResourceGroupId": "rg-*********************",
"BucketName": "hbr-0005i51******t58",
"SearchEnabled": true,
"IndexAvailable": true,
"BytesDone": 20,
"Tags": {
"Tag": [
{
"Key": "aaa",
"Value": "a1"
}
]
},
"SourceTypes": {
"SourceType": [
"ECS_FILE"
]
},
"ReplicationProgress": {
"HistoricalReplicationProgress": 100,
"NewReplicationProgress": 1579413159
},
"BackupPlanStatistics": {
"Oracle": 1,
"LocalFile": 1,
"Nas": 1,
"CommonNas": 1,
"Isilon": 1,
"Oss": 1,
"SqlServer": 1,
"Csg": 1,
"EcsFile": 1,
"MySql": 1,
"EcsHana": 1,
"LocalVm": 1,
"Ots": 1,
"Archive": 1,
"CommonFileSystem": 1
},
"TrialInfo": {
"TrialStartTime": 1579413159,
"TrialVaultReleaseTime": 1594965600,
"TrialExpireTime": 1584597600,
"KeepAfterTrialExpiration": true
},
"EncryptType": "HBR_PRIVATE",
"WormEnabled": true,
"SnapshotCount": 0,
"CompressionAlgorithm": "ZSTD",
"RedundancyType": "LRS",
"KmsKeyId": "alias/acs/acm",
"ChargedStorageSize": 1024000,
"ArchiveStorageSize": 1024000,
"ArchiveBytesDone": 1024000,
"ReplicationSourceVault": false,
"ReplicationTargetRegionId": "cn-shanghai"
}
]
}
}
Error codes
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation |
---|---|---|
2024-10-30 | The response structure of the API has changed | View Change Details |
2024-09-10 | The response structure of the API has changed | View Change Details |
2024-02-01 | The response structure of the API has changed | View Change Details |
2023-12-06 | The response structure of the API has changed | View Change Details |
2023-09-06 | The response structure of the API has changed | View Change Details |
2023-03-29 | The response structure of the API has changed | View Change Details |