Substitui a tabela de rotas do transit router associada à conexão de uma instância de rede.
Sintaxe
{
"Type": "ALIYUN::CEN::TransitRouterRouteTableAssociationReplacement",
"Properties": {
"TransitRouterRouteTableId": String,
"TransitRouterAttachmentId": String
}
}
Propriedades
|
Propriedade |
Tipo |
Obrigatória |
Atualização permitida |
Descrição |
Restrições |
|
TransitRouterRouteTableId |
String |
Sim |
Não |
ID da tabela de rotas do transit router para associar à conexão da instância de rede. |
Nenhuma |
|
TransitRouterAttachmentId |
String |
Sim |
Não |
ID da conexão da instância de rede. |
Nenhuma |
Valor de retorno
Fn::GetAtt
OriginalTransitRouterRouteTableId: o ID da tabela de rotas original do transit router.
Exemplos
ROSTemplateFormatVersion: '2015-09-01'
Parameters:
TransitRouterRouteTableId:
Type: String
Description:
en: The ID of the transit router route table to be associated.
Required: true
TransitRouterAttachmentId:
Type: String
Description:
en: The ID of the network instance connection.
Required: true
Resources:
TransitRouterRouteTableAssociationReplacement:
Type: ALIYUN::CEN::TransitRouterRouteTableAssociationReplacement
Properties:
TransitRouterRouteTableId:
Ref: TransitRouterRouteTableId
TransitRouterAttachmentId:
Ref: TransitRouterAttachmentId
Outputs:
OriginalTransitRouterRouteTableId:
Description: The original transit router route table ID before replacement.
Value:
Fn::GetAtt:
- TransitRouterRouteTableAssociationReplacement
- OriginalTransitRouterRouteTableId
{
"ROSTemplateFormatVersion": "2015-09-01",
"Parameters": {
"TransitRouterRouteTableId": {
"Type": "String",
"Description": {
"en": "The ID of the transit router route table to be associated."
},
"Required": true
},
"TransitRouterAttachmentId": {
"Type": "String",
"Description": {
"en": "The ID of the network instance connection."
},
"Required": true
}
},
"Resources": {
"TransitRouterRouteTableAssociationReplacement": {
"Type": "ALIYUN::CEN::TransitRouterRouteTableAssociationReplacement",
"Properties": {
"TransitRouterRouteTableId": {
"Ref": "TransitRouterRouteTableId"
},
"TransitRouterAttachmentId": {
"Ref": "TransitRouterAttachmentId"
}
}
}
},
"Outputs": {
"OriginalTransitRouterRouteTableId": {
"Description": "The original transit router route table ID before replacement.",
"Value": {
"Fn::GetAtt": [
"TransitRouterRouteTableAssociationReplacement",
"OriginalTransitRouterRouteTableId"
]
}
}
}
}