Lista as propagações de rota para a tabela de rotas de um transit router Enterprise Edition.
Experimente agora
Testar
Autorização RAM
|
Ação |
Nível de acesso |
Tipo de recurso |
Chave de condição |
Ação dependente |
|
cen:ListTransitRouterRouteTablePropagations |
get |
TransitRouterPeerAttachment
TransitRouterRouteTable
|
Nenhuma | Nenhuma |
Parâmetros da solicitação
|
Parâmetro |
Tipo |
Obrigatório |
Descrição |
Exemplo |
| MaxResults |
integer |
Não |
O número de entradas a serem retornadas em cada página. O valor padrão é 50. |
50 |
| NextToken |
string |
Não |
O token usado para recuperar a próxima página de resultados. |
dd20**** |
| TransitRouterRouteTableId |
string |
Sim |
O ID da tabela de rotas do transit router Enterprise Edition. |
vtb-bp1dudbh2d5na6b50**** |
| TransitRouterAttachmentId |
string |
Não |
O ID da conexão da instância de rede. |
tr-attach-vx6iwhjr1x1j78**** |
| TransitRouterAttachmentResourceId |
string |
Não |
O ID da instância de rede. |
vpc-bp1h8vbrbcgohcju5**** |
| TransitRouterAttachmentResourceType |
string |
Não |
O tipo da instância de rede.
|
VPC |
| Status |
string |
Não |
O status da propagação de rota.
|
Active |
Elementos de resposta
|
Elemento |
Tipo |
Descrição |
Exemplo |
|
object |
|||
| NextToken |
string |
O token usado para recuperar a próxima página de resultados. |
dd20**** |
| RequestId |
string |
O ID da solicitação. |
04C81E0D-945E-4D61-A561-3DEA322F243B |
| TotalCount |
integer |
O número total de entradas. |
2 |
| MaxResults |
integer |
O número de entradas retornadas por página. |
50 |
| TransitRouterPropagations |
array<object> |
Uma lista das propagações de rota. |
|
|
object |
|||
| TransitRouterAttachmentId |
string |
O ID da conexão da instância de rede. |
tr-attach-vx6iwhjr1x1j78**** |
| Status |
string |
O status da propagação de rota.
|
Active |
| ResourceType |
string |
O tipo da instância de rede.
|
VPC |
| ResourceId |
string |
O ID da instância de rede. |
vpc-bp1h8vbrbcgohcju5**** |
| TransitRouterRouteTableId |
string |
O ID da tabela de rotas do transit router Enterprise Edition. |
vtb-bp1dudbh2d5na6b50**** |
Exemplos
Resposta de sucesso
JSON formato
{
"NextToken": "dd20****",
"RequestId": "04C81E0D-945E-4D61-A561-3DEA322F243B",
"TotalCount": 2,
"MaxResults": 50,
"TransitRouterPropagations": [
{
"TransitRouterAttachmentId": "tr-attach-vx6iwhjr1x1j78****",
"Status": "Active",
"ResourceType": "VPC",
"ResourceId": "vpc-bp1h8vbrbcgohcju5****",
"TransitRouterRouteTableId": "vtb-bp1dudbh2d5na6b50****"
}
]
}
Códigos de erro
|
Código de status HTTP |
Código de erro |
Mensagem de erro |
Descrição |
|---|---|---|---|
| 400 | IllegalParam.NextToken | The parameter NextToken is invalid. | The error message returned because the NextToken parameter is set to an invalid value. Check the value and try again. |
| 400 | IllegalParam.MaxResults | The specified MaxResults is illegal. | MaxResults illegal. |
| 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.