Consulta uma lista de gateways de backup no Database Backup Service (DBS).
Experimente agora
Testar
Autorização RAM
|
Ação |
Nível de acesso |
Tipo de recurso |
Chave de condição |
Ação dependente |
|
dbs:DescribeBackupGatewayList |
get |
*All Resource
|
Nenhuma | Nenhuma |
Parâmetros da solicitação
|
Parâmetro |
Tipo |
Obrigatório |
Descrição |
Exemplo |
| Region |
string |
Sim |
A região da instância do DBS. Valores válidos:
|
cn-hangzhou |
| Identifier |
string |
Não |
O identificador exclusivo do gateway de backup. Você pode consultar vários gateways separando os identificadores com vírgulas (,). |
7213527653217 |
| PageSize |
integer |
Não |
O número de registros em cada página. Valores válidos:
Nota
O valor padrão é 30. |
30 |
| PageNum |
integer |
Não |
O número da página. O valor deve ser maior ou igual a 0 e não pode exceder o valor máximo de um número inteiro. O valor padrão é 0. |
1 |
| ClientToken |
string |
Não |
Um token de cliente usado para garantir a idempotência da solicitação. Isso evita solicitações duplicadas. |
ETnLKlblzczshOTUbOCzxxxxxxx |
Elementos de resposta
|
Elemento |
Tipo |
Descrição |
Exemplo |
|
object |
|||
| HttpStatusCode |
integer |
O código de status HTTP. |
200 |
| PageNum |
integer |
O número da página. |
1 |
| RequestId |
string |
O ID da solicitação. |
46361705-8531-492F-807E-A97E482DD4A1 |
| ErrCode |
string |
O código de erro. |
Param.NotFound |
| Success |
boolean |
Indica se a solicitação foi bem-sucedida. |
true |
| ErrMessage |
string |
A mensagem de erro. |
The specified parameter %s value is not valid. |
| TotalPages |
integer |
O número total de páginas. |
1 |
| TotalElements |
integer |
O número total de gateways de backup. |
0 |
| PageSize |
integer |
O número de registros em cada página. |
30 |
| Items |
object |
||
| BackupGateway |
array<object> |
Os detalhes do gateway de backup. |
|
|
object |
|||
| DisplayName |
string |
The display name of the backup gateway. |
test |
| BackupGatewayCreateTime |
integer |
The time when the backup gateway was created. This is a UNIX timestamp in milliseconds. Example: 1554560477000. |
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 internal IP address of the host where the backup gateway is installed. |
XX.XX.XX.XX |
| LastHeartbeatTime |
integer |
The time of the last heartbeat. This is a UNIX timestamp in milliseconds. Example: 1554560477000. |
1554560477000 |
| SourceEndpointHostname |
string |
The hostname of the host where the backup gateway is installed. |
test |
Exemplos
Resposta de sucesso
JSON formato
{
"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"
}
]
}
}
Códigos de erro
|
Código de status HTTP |
Código de erro |
Mensagem de erro |
Descrição |
|---|---|---|---|
| 403 | Request.Forbidden | Have no Permissions |
Consulte Códigos de Erro para uma lista completa.
Notas de versão
Consulte Notas de Versão para uma lista completa.