This operation queries a list of DBS backup gateways.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
dbs:DescribeBackupGatewayList |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Region |
string |
Yes |
The DBS region. Valid values:
|
cn-hangzhou |
| Identifier |
string |
No |
The unique identifier of the backup gateway. To query multiple gateways, separate the identifiers with commas (,). |
7213527653217 |
| PageSize |
integer |
No |
The number of records on each page. Valid values:
Note
The default value is 30. |
30 |
| PageNum |
integer |
No |
The page number. The value must be greater than or equal to 0 and cannot exceed the maximum value of an integer. The default value is 0. |
1 |
| ClientToken |
string |
No |
A client token used to ensure the idempotence of the request. |
ETnLKlblzczshOTUbOCzxxxxxxx |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| HttpStatusCode |
integer |
The HTTP status code. |
200 |
| PageNum |
integer |
The page number. |
1 |
| RequestId |
string |
The request ID. |
46361705-8531-492F-807E-A97E482DD4A1 |
| ErrCode |
string |
The error code. |
Param.NotFound |
| Success |
boolean |
Indicates whether the request was successful. |
true |
| ErrMessage |
string |
The error message. |
The specified parameter %s value is not valid. |
| TotalPages |
integer |
The total number of pages. |
1 |
| TotalElements |
integer |
The total number of backup gateways. |
0 |
| PageSize |
integer |
The number of records on each page. |
30 |
| Items |
object |
||
| BackupGateway |
array<object> |
The details of the backup gateway. |
|
|
object |
|||
| DisplayName |
string |
The display name of the backup gateway. |
test |
| BackupGatewayCreateTime |
integer |
The time when the backup gateway was created. The value is a UNIX timestamp. Unit: milliseconds. |
1554560477000 |
| BackupGatewayId |
string |
The ID of the backup gateway. |
2321313123 |
| Region |
string |
The region. |
cn-hangzhou |
| Identifier |
string |
The unique identifier of the backup gateway. |
sgdsajhdgu |
| SourceEndpointInternetIP |
string |
The public IP address of the host where the backup gateway is installed. |
XX.XX.XX.XX |
| BackupGatewayStatus |
string |
The status of the backup gateway. Valid values:
|
ONLINE |
| SourceEndpointIntranetIP |
string |
The private IP address of the host where the backup gateway is installed. |
XX.XX.XX.XX |
| LastHeartbeatTime |
integer |
The time of the last heartbeat. The value is a UNIX timestamp. Unit: milliseconds. |
1554560477000 |
| SourceEndpointHostname |
string |
The hostname of the host where the backup gateway is installed. |
test |
Examples
Success response
JSON format
{
"HttpStatusCode": 200,
"PageNum": 1,
"RequestId": "46361705-8531-492F-807E-A97E482DD4A1",
"ErrCode": "Param.NotFound",
"Success": true,
"ErrMessage": "The specified parameter %s value is not valid. ",
"TotalPages": 1,
"TotalElements": 0,
"PageSize": 30,
"Items": {
"BackupGateway": [
{
"DisplayName": "test",
"BackupGatewayCreateTime": 1554560477000,
"BackupGatewayId": "2321313123",
"Region": "cn-hangzhou",
"Identifier": "sgdsajhdgu",
"SourceEndpointInternetIP": "XX.XX.XX.XX",
"BackupGatewayStatus": "ONLINE",
"SourceEndpointIntranetIP": "XX.XX.XX.XX",
"LastHeartbeatTime": 1554560477000,
"SourceEndpointHostname": "test"
}
]
}
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 403 | Request.Forbidden | Have no Permissions |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.