ALIYUN::CEN::TransitRouterRouteTable
更新時(shí)間:
ALIYUN::CEN::TransitRouterRouteTable類型用于為企業(yè)版轉(zhuǎn)發(fā)路由器創(chuàng)建自定義路由表。
語法
{
"Type": "ALIYUN::CEN::TransitRouterRouteTable",
"Properties": {
"TransitRouterRouteTableDescription": String,
"TransitRouterRouteTableName": String,
"TransitRouterId": String
}
}
屬性
屬性名稱 | 類型 | 必須 | 允許更新 | 描述 | 約束 |
TransitRouterId | String | 是 | 否 | 企業(yè)版轉(zhuǎn)發(fā)路由器實(shí)例ID。 | 無 |
TransitRouterRouteTableDescription | String | 否 | 是 | 自定義路由表的描述信息。 | 長度為2~256個(gè)字符,可包含英文字母、數(shù)字、漢字、半角逗號(hào)(,)、半角句號(hào)(.)、半角分號(hào)(;)、正斜線(/)、at(@)、下劃線(_)和短劃線(-)。 |
TransitRouterRouteTableName | String | 否 | 是 | 自定義路由表名稱。 | 長度為0~128個(gè)字符,可包含英文字母、數(shù)字、漢字、半角逗號(hào)(,)、半角句號(hào)(.)、半角分號(hào)(;)、正斜線(/)、at(@)、下劃線(_)和短劃線(-)。 |
返回值
Fn::GetAtt
TransitRouterRouteTableId:自定義路由表ID。
TransitRouterRouteTableType:自定義路由表的類型。
TransitRouterRouteTableDescription:自定義路由表的描述信息。
TransitRouterRouteTableName:自定義路由表名稱。
ClientToken:客戶端Token,用于保證請(qǐng)求的冪等性。
TransitRouterId:企業(yè)版轉(zhuǎn)發(fā)路由器實(shí)例ID。
示例
YAML
格式
ROSTemplateFormatVersion: '2015-09-01'
Parameters:
TransitRouterId:
Description: TransitRouterId
Type: String
TransitRouterRouteTableDescription:
Description: TransitRouterRouteTableDescription
Type: String
TransitRouterRouteTableName:
Description: TransitRouterRouteTableName
Type: String
Resources:
CENTransitRouterRouteTable:
Properties:
TransitRouterId:
Ref: TransitRouterId
TransitRouterRouteTableDescription:
Ref: TransitRouterRouteTableDescription
TransitRouterRouteTableName:
Ref: TransitRouterRouteTableName
Type: ALIYUN::CEN::TransitRouterRouteTable
Outputs:
ClientToken:
Description: ClientToken
Value:
Fn::GetAtt:
- CENTransitRouterRouteTable
- ClientToken
TransitRouterId:
Description: TransitRouterId
Value:
Fn::GetAtt:
- CENTransitRouterRouteTable
- TransitRouterId
TransitRouterRouteTableDescription:
Description: TransitRouterRouteTableDescription
Value:
Fn::GetAtt:
- CENTransitRouterRouteTable
- TransitRouterRouteTableDescription
TransitRouterRouteTableId:
Description: TransitRouterRouteTableId
Value:
Fn::GetAtt:
- CENTransitRouterRouteTable
- TransitRouterRouteTableId
TransitRouterRouteTableName:
Description: TransitRouterRouteTableName
Value:
Fn::GetAtt:
- CENTransitRouterRouteTable
- TransitRouterRouteTableName
TransitRouterRouteTableType:
Description: TransitRouterRouteTableType
Value:
Fn::GetAtt:
- CENTransitRouterRouteTable
- TransitRouterRouteTableType
JSON
格式
{
"ROSTemplateFormatVersion": "2015-09-01",
"Parameters": {
"TransitRouterRouteTableDescription": {
"Type": "String",
"Description": "TransitRouterRouteTableDescription"
},
"TransitRouterRouteTableName": {
"Type": "String",
"Description": "TransitRouterRouteTableName"
},
"TransitRouterId": {
"Type": "String",
"Description": "TransitRouterId"
}
},
"Resources": {
"CENTransitRouterRouteTable": {
"Type": "ALIYUN::CEN::TransitRouterRouteTable",
"Properties": {
"TransitRouterRouteTableDescription": {
"Ref": "TransitRouterRouteTableDescription"
},
"TransitRouterRouteTableName": {
"Ref": "TransitRouterRouteTableName"
},
"TransitRouterId": {
"Ref": "TransitRouterId"
}
}
}
},
"Outputs": {
"TransitRouterRouteTableId": {
"Description": "TransitRouterRouteTableId",
"Value": {
"Fn::GetAtt": [
"CENTransitRouterRouteTable",
"TransitRouterRouteTableId"
]
}
},
"TransitRouterRouteTableType": {
"Description": "TransitRouterRouteTableType",
"Value": {
"Fn::GetAtt": [
"CENTransitRouterRouteTable",
"TransitRouterRouteTableType"
]
}
},
"TransitRouterRouteTableDescription": {
"Description": "TransitRouterRouteTableDescription",
"Value": {
"Fn::GetAtt": [
"CENTransitRouterRouteTable",
"TransitRouterRouteTableDescription"
]
}
},
"TransitRouterRouteTableName": {
"Description": "TransitRouterRouteTableName",
"Value": {
"Fn::GetAtt": [
"CENTransitRouterRouteTable",
"TransitRouterRouteTableName"
]
}
},
"ClientToken": {
"Description": "ClientToken",
"Value": {
"Fn::GetAtt": [
"CENTransitRouterRouteTable",
"ClientToken"
]
}
},
"TransitRouterId": {
"Description": "TransitRouterId",
"Value": {
"Fn::GetAtt": [
"CENTransitRouterRouteTable",
"TransitRouterId"
]
}
}
}
}
文檔內(nèi)容是否對(duì)您有幫助?