Consulta informações sobre conexões de instância de rede em um transit router.
Sintaxe
{
"Type": "DATASOURCE::CEN::TransitRouterAttachments",
"Properties": {
"CenId": String,
"ResourceTypes": List,
"RegionId": String,
"RefreshOptions": String,
"TransitRouterAttachmentId": String,
"TransitRouterId": String
}
}
Propriedades
|
Propriedade |
Tipo |
Obrigatória |
Atualização permitida |
Descrição |
Restrições |
|
CenId |
String |
Não |
Sim |
ID da instância da Cloud Enterprise Network (CEN). |
Nenhuma |
|
ResourceTypes |
List |
Não |
Sim |
Tipo da instância de rede associada à conexão. |
Valores válidos:
|
|
RegionId |
String |
Não |
Sim |
ID da região do transit router. |
Nenhuma |
|
RefreshOptions |
String |
Não |
Sim |
Política de atualização do recurso de fonte de dados durante a atualização da pilha. |
Valores válidos:
|
|
TransitRouterAttachmentId |
String |
Não |
Sim |
ID da conexão da instância de rede. |
Nenhuma |
|
TransitRouterId |
String |
Não |
Sim |
ID da instância do transit router. |
Nenhuma |
Valor de retorno
Fn::GetAtt
TransitRouterAttachmentIds: IDs das conexões da instância de rede.
TransitRouterAttachments: detalhes das conexões da instância de rede.
|
Nome da propriedade |
Tipo |
Descrição |
Restrições |
|
TransitRouterAttachmentIds |
List |
Lista de IDs das conexões da instância de rede. |
Nenhuma |
|
TransitRouterAttachments |
List |
Detalhes das conexões da instância de rede. |
Nenhuma |
|
TransitRouterAttachmentId |
String |
ID da conexão da instância de rede. |
Nenhuma |
|
Status |
String |
Status de associação da conexão da instância de rede com a tabela de rotas do transit router. |
Valores válidos:
|
|
ResourceRegionId |
String |
ID da região da instância de rede. |
Nenhuma |
|
Association |
Map |
Tabela de rotas do transit router associada à conexão da instância de rede para encaminhamento. |
Exemplo:
|
|
CreationTime |
String |
Hora de criação da conexão da instância de rede. |
Nenhuma |
|
ResourceId |
String |
ID da instância de rede associada à conexão. |
Nenhuma |
|
Propagations |
List |
Tabela de rotas do transit router que aprende rotas da conexão da instância de rede. |
Exemplo:
|
|
TransitRouterAttachmentName |
String |
Nome da conexão da instância de rede. |
Nenhuma |
|
TransitRouterAttachmentDescription |
String |
Descrição da conexão da instância de rede. |
Nenhuma |
|
ResourceType |
String |
Tipo da instância de rede associada à conexão. |
Valores válidos:
|
|
ManagedService |
String |
Serviço da Alibaba Cloud ao qual a instância de rede pertence. |
Nenhuma |
|
ResourceOwnerId |
String |
ID da conta à qual a instância de rede pertence. |
Nenhuma |
Exemplos
ROSTemplateFormatVersion: '2015-09-01'
Parameters:
CenId:
Type: String
Description: The ID of the CEN instance.
Required: false
RegionId:
Type: String
Description: The ID of the region where the transit router is deployed.
Required: false
Resources:
ExtensionDataSource:
Type: DATASOURCE::CEN::TransitRouterAttachments
Properties:
CenId:
Ref: CenId
RegionId:
Ref: RegionId
Outputs:
TransitRouterAttachmentIds:
Description: The list of the transit router attachment IDs.
Value:
Fn::GetAtt:
- ExtensionDataSource
- TransitRouterAttachmentIds
TransitRouterAttachments:
Description: The details about the transit router attachments.
Value:
Fn::GetAtt:
- ExtensionDataSource
- TransitRouterAttachments
{
"ROSTemplateFormatVersion": "2015-09-01",
"Parameters": {
"CenId": {
"Type": "String",
"Description": "The ID of the CEN instance.",
"Required": false
},
"RegionId": {
"Type": "String",
"Description": "The ID of the region where the transit router is deployed.",
"Required": false
}
},
"Resources": {
"ExtensionDataSource": {
"Type": "DATASOURCE::CEN::TransitRouterAttachments",
"Properties": {
"CenId": {
"Ref": "CenId"
},
"RegionId": {
"Ref": "RegionId"
}
}
}
},
"Outputs": {
"TransitRouterAttachmentIds": {
"Description": "The list of the transit router attachment IDs.",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"TransitRouterAttachmentIds"
]
}
},
"TransitRouterAttachments": {
"Description": "The details about the transit router attachments.",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"TransitRouterAttachments"
]
}
}
}
}