DescribeVaults
Queries the details of one or more backup vaults that meet specific conditions.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
hbr:DescribeVaults |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| VaultId |
string |
No |
The ID of the backup vault. |
v-********************* |
| VaultRegionId |
string |
No |
The ID of the region where the backup vault resides. |
cn-shanghai |
| Status |
string |
No |
The status of the backup vault. Valid values:
Valid values:
|
CREATED |
| PageNumber |
integer |
No |
The page number. Pages start from 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 |
The type of the backup vault. Valid values:
|
STANDARD |
| Tag |
array<object> |
No |
The tags. You can specify up to 20 tags. |
6a745bceffb042959b3b5206d6f12ad1 |
|
object |
No |
The tag. |
||
| Key |
string |
No |
The tag key. |
key1 |
| Value |
string |
No |
The tag value. |
value1 |
| ResourceGroupId |
string |
No |
The ID of the resource group. |
rg-********************* |
| VaultName |
string |
No |
The name of the backup vault. The name must be 1 to 64 characters in length. |
vaultname |
| VaultOwnerId |
integer |
No |
The ID of the Alibaba Cloud account to which the backup vault belongs. |
144******732 |
| Replication |
boolean |
No |
Specifies whether to query replication target vaults. |
true |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E |
| Success |
boolean |
Indicates whether the request is successful. Valid values:
|
true |
| Code |
string |
The return code. A value of 200 indicates success. |
200 |
| Message |
string |
The response message. "successful" is returned if the request is successful, and the corresponding error message is returned if an error occurs. |
successful |
| PageNumber |
integer |
The page number. Pages start from 1. Default value: 1. |
1 |
| PageSize |
integer |
The number of entries per page. Valid values: 1 to 99. Default value: 10. |
10 |
| TotalCount |
integer |
The total number of backup vaults. |
8 |
| Vaults |
object |
||
| Vault |
array<object> |
The list of backup vaults. |
{'Vault': []} |
|
array<object> |
The list of backup vaults. |
||
| Status |
string |
The status of the backup vault. Valid values:
|
CREATED |
| VaultId |
string |
The ID of the backup vault. |
v-********************* |
| ChargeType |
string |
The billing method of the backup vault. |
FREE |
| VaultType |
string |
The type of the backup vault. The only valid value is STANDARD, which indicates a general-purpose vault. |
STANDARD |
| Dedup |
boolean |
Indicates whether the data deduplication feature is enabled. |
true |
| ReplicationSourceVaultId |
string |
The ID of the source vault for the geo-redundancy backup vault. |
v-********************* |
| IndexUpdateTime |
integer |
The time when the index was updated. |
1639645628 |
| Description |
string |
The description of the vault. |
vault description |
| VaultStorageClass |
string |
The storage class of the backup vault. The only valid value is STANDARD, which indicates standard storage. |
STANDARD |
| Retention |
integer |
The retention period of the backup vault. Unit: days. |
2 |
| CreatedTime |
integer |
The time when the backup vault was created. The value is a UNIX timestamp in seconds. |
1554347313 |
| IndexLevel |
string |
The index level. Valid values:
|
OFF |
| VaultName |
string |
The name of the backup vault. |
vaultname |
| StorageSize |
integer |
The storage usage of the backup vault. Unit: bytes. |
10 |
| LatestReplicationTime |
integer |
The time of the last geo-redundancy backup synchronization. The value is a UNIX timestamp in seconds. |
1554347313 |
| VaultStatusMessage |
string |
(Valid only for geo-redundancy backup vaults) The fault status message of the vault. Valid values:
|
SOURCE_VAULT_ALREADY_HAS_REPLICATION |
| Replication |
boolean |
Indicates whether the vault is a geo-redundancy backup vault. Valid values:
|
false |
| ReplicationSourceRegionId |
string |
The region ID of the source vault for the geo-redundancy backup vault. This parameter is valid only for geo-redundancy backup vaults. |
cn-shanghai |
| VaultRegionId |
string |
The ID of the region where the backup vault resides. |
cn-shanghai |
| UpdatedTime |
integer |
The time when the backup vault was updated. The value is a UNIX timestamp in seconds. |
1554347313 |
| ResourceGroupId |
string |
The ID of the resource group. |
rg-********************* |
| BucketName |
string |
The name of the OSS bucket used for the backup vault trial. |
hbr-0005i51******t58 |
| SearchEnabled |
boolean |
Indicates whether backup search is enabled. |
true |
| IndexAvailable |
boolean |
Indicates whether the index is available and not being updated. |
true |
| BytesDone |
integer |
The amount of backed-up data. Unit: bytes. |
20 |
| Tags |
object |
||
| Tag |
array<object> |
The tag information of the backup vault. |
|
|
object |
The tag information of the backup vault. |
||
| Key |
string |
The tag key of the vault. Valid values of N: 1 to 20.
|
aaa |
| Value |
string |
The tag value of the vault. Valid values of N: 1 to 20.
|
a1 |
| SourceTypes |
object |
||
| SourceType |
array |
The data source types backed up by the backup vault. |
|
|
string |
The data source type for backup. |
ECS_FILE |
|
| ReplicationProgress |
object |
The replication progress of the backup vault. |
|
| HistoricalReplicationProgress |
integer |
The data replication progress of historical data in the backup vault. Valid values: 0 to 100. |
100 |
| NewReplicationProgress |
integer |
The latest replication time for incremental data in the backup vault. |
1579413159 |
| BackupPlanStatistics |
object |
The backup plan statistics of the backup vault. |
|
| Oracle |
integer |
The number of Oracle backup plans. |
1 |
| LocalFile |
integer |
The number of local server backup plans. |
1 |
| Nas |
integer |
The number of NAS backup plans. |
1 |
| CommonNas |
integer |
The number of general-purpose NAS backup plans. |
1 |
| Isilon |
integer |
The number of Isilon backup plans. |
1 |
| Oss |
integer |
The number of OSS backup plans. |
1 |
| SqlServer |
integer |
The number of SQL Server backup plans. |
1 |
| Csg |
integer |
The number of Cloud Storage Gateway backup plans. |
1 |
| EcsFile |
integer |
The number of ECS File Backup Standard Edition backup plans. |
1 |
| MySql |
integer |
The number of MySQL backup plans. |
1 |
| EcsHana |
integer |
The number of SAP HANA backup plans. |
1 |
| LocalVm |
integer |
The number of local virtual machine backup plans. |
1 |
| Ots |
integer |
The number of Tablestore backup plans. |
1 |
| Archive |
integer |
The number of archive plans. |
1 |
| CommonFileSystem |
integer |
The number of CPFS backup plans. |
1 |
| Cpfs |
integer |
The CPFS backup. |
3 |
| TrialInfo |
object |
The free trial attributes. |
|
| TrialStartTime |
integer |
The start time of the free trial. |
1579413159 |
| TrialVaultReleaseTime |
integer |
The release time of the free trial vault. |
1594965600 |
| TrialExpireTime |
integer |
The expiration time of the free trial. |
1584597600 |
| KeepAfterTrialExpiration |
boolean |
Indicates whether the billing method is changed to pay-as-you-go after the free trial ends. |
true |
| EncryptType |
string |
The encryption type of the backup vault. Valid values:
|
HBR_PRIVATE |
| WormEnabled |
boolean |
Indicates whether backup locking is enabled. |
true |
| SnapshotCount |
integer |
The number of snapshots in the vault. |
0 |
| CompressionAlgorithm |
string |
The encryption algorithm used for the backup vault. Valid values:
|
ZSTD |
| RedundancyType |
string |
The data redundancy type of the backup vault. Valid values:
|
LRS |
| KmsKeyId |
string |
The ID or alias of the custom key in Key Management Service (KMS). This parameter is required only when EncryptType is set to KMS. |
alias/acs/acm |
| ChargedStorageSize |
integer |
The billable capacity of the archive vault. Unit: bytes. |
1024000 |
| ArchiveStorageSize |
integer |
The billable capacity of the archive layer. Unit: bytes. |
1024000 |
| ArchiveBytesDone |
integer |
The amount of backed-up data in the archive layer. Unit: bytes. |
1024000 |
| ReplicationSourceVault |
boolean |
Indicates whether the vault is the source vault for a geo-redundancy backup vault. Valid values:
|
false |
| ReplicationTargetRegionId |
string |
The destination region of the geo-redundancy backup vault. |
cn-shanghai |
| VaultOwnerId |
integer |
The ID of the account to which the vault belongs. |
123***7890 |
| ReplicationTargetVaultId |
string |
The ID of the replication target vault. |
v-123***7890 |
| ReplicationSourceOwnerId |
integer |
The ID of the account to which the replication source belongs. |
123***7890 |
| ReplicationTargetOwnerId |
integer |
The ID of the account to which the replication target vault belongs. |
123***7890 |
| ReplicationStatus |
string |
The replication status of the replication target vault. |
RUNNING |
| RsTargetAccountIds |
object |
||
| RsTargetAccountId |
array |
The target account for resource sharing. |
|
|
integer |
The target account for resource sharing. |
123***7890 |
Examples
Success response
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": "cn-shanghai",
"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,
"Cpfs": 3
},
"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",
"VaultOwnerId": 0,
"ReplicationTargetVaultId": "v-123***7890",
"ReplicationSourceOwnerId": 0,
"ReplicationTargetOwnerId": 0,
"ReplicationStatus": "RUNNING",
"RsTargetAccountIds": {
"RsTargetAccountId": [
0
]
}
}
]
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.