Consulta as configurações do serviço PrivateZone de uma instância do Cloud Enterprise Network (CEN).
Experimente agora
Testar
Autorização RAM
|
Ação |
Nível de acesso |
Tipo de recurso |
Chave de condição |
Ação dependente |
|
cen:DescribeCenPrivateZoneRoutes |
get |
*CenInstance
|
Nenhuma | Nenhuma |
Parâmetros da solicitação
|
Parâmetro |
Tipo |
Obrigatório |
Descrição |
Exemplo |
| PageNumber |
integer |
Não |
O número da página. O valor padrão é 1. |
1 |
| PageSize |
integer |
Não |
O número de entradas a serem retornadas em cada página. O valor padrão é 10. Valores válidos: 1 a 50. |
10 |
| CenId |
string |
Sim |
O ID da instância CEN. |
cen-7qthudw0ll6jmc**** |
| AccessRegionId |
string |
Não |
O ID da região onde você acessa o serviço PrivateZone. Você pode chamar a operação DescribeChildInstanceRegions para consultar os IDs das regiões. |
cn-hangzhou |
| HostRegionId |
string |
Não |
O ID da região onde o serviço PrivateZone está implantado. |
cn-hangzhou |
Elementos de resposta
|
Elemento |
Tipo |
Descrição |
Exemplo |
|
object |
|||
| RequestId |
string |
O ID da solicitação. |
461EC1B5-04A8-4706-8764-8F5BCEF48A6F |
| PrivateZoneDnsServers |
string |
Os endereços IP dos servidores DNS para o serviço PrivateZone. |
100.100.XX.XX/32,100.100.XX.XX/32 |
| CenId |
string |
O ID da instância CEN. |
cen-7qthudw0ll6jmc**** |
| PageNumber |
integer |
O número da página. |
1 |
| PageSize |
integer |
O número de entradas retornadas por página. |
10 |
| TotalCount |
integer |
O número total de entradas. |
2 |
| PrivateZoneInfos |
object |
||
| PrivateZoneInfo |
array<object> |
As configurações detalhadas do serviço PrivateZone. |
|
|
object |
|||
| Status |
string |
The status of the PrivateZone service.
|
Active |
| AccessRegionId |
string |
The ID of the region where you access the PrivateZone service. |
cn-hangzhou |
| HostRegionId |
string |
The ID of the region where the PrivateZone service is deployed. |
cn-hangzhou |
| HostVpcId |
string |
The ID of the VPC that is associated with the PrivateZone service. |
vpc-bp18sth14qii3pnvo**** |
Exemplos
Resposta de sucesso
JSON formato
{
"RequestId": "461EC1B5-04A8-4706-8764-8F5BCEF48A6F",
"PrivateZoneDnsServers": "100.100.XX.XX/32,100.100.XX.XX/32",
"CenId": "cen-7qthudw0ll6jmc****\t",
"PageNumber": 1,
"PageSize": 10,
"TotalCount": 2,
"PrivateZoneInfos": {
"PrivateZoneInfo": [
{
"Status": "Active",
"AccessRegionId": "cn-hangzhou",
"HostRegionId": "cn-hangzhou",
"HostVpcId": "vpc-bp18sth14qii3pnvo****"
}
]
}
}
Códigos de erro
|
Código de status HTTP |
Código de erro |
Mensagem de erro |
Descrição |
|---|---|---|---|
| 400 | InvalidParameter | Invalid parameter. | The error message returned because the parameter is set to an invalid value. |
| 400 | Unauthorized | The AccessKeyId is unauthorized. | The error message returned because you do not have the permissions to perform this operation. |
Consulte Códigos de Erro para uma lista completa.
Notas de versão
Consulte Notas de Versão para uma lista completa.