ALIYUN::CEN::CenBandwidthLimit类型用于设置带宽包中跨地域互连带宽。
重要
删除该资源后,带宽不会恢复为创建该资源前的值。
语法
{
"Type": "ALIYUN::CEN::CenBandwidthLimit",
"Properties": {
"OppositeRegionId": String,
"CenId": String,
"BandwidthLimit": Integer,
"BandwidthType": String,
"LocalRegionId": String
}
}
属性
属性名称 | 类型 | 必须 | 允许更新 | 描述 | 约束 |
BandwidthLimit | Integer | 是 | 是 | 两个地域间互连带宽的峰值。 | 最小值为1 |
CenId | String | 是 | 否 | 云企业网实例的ID。 | 无 |
LocalRegionId | String | 是 | 否 | 本端地域的ID。 | 无 |
OppositeRegionId | String | 是 | 否 | 对端地域的ID。 | 无 |
BandwidthType | String | 否 | 否 | 带宽的分配方式。 | 取值:
|
返回值
Fn::GetAtt
无
示例
YAML格式
ROSTemplateFormatVersion: '2015-09-01'
Resources:
CenBandwidthLimit:
Type: ALIYUN::CEN::CenBandwidthLimit
Properties:
OppositeRegionId:
Ref: OppositeRegionId
CenId:
Ref: CenId
BandwidthLimit:
Ref: BandwidthLimit
LocalRegionId:
Ref: LocalRegionId
Parameters:
OppositeRegionId:
Type: String
Description: The ID of the other interconnected region.
CenId:
Type: String
Description: The ID of the CEN instance.
BandwidthLimit:
Type: Number
Description: 'The bandwidth configured for the interconnected regions communication. Minimal value: 1'
MinValue: 1
LocalRegionId:
Type: String
Description: The ID of the local region.
Outputs: {}
JSON格式
{
"ROSTemplateFormatVersion": "2015-09-01",
"Resources": {
"CenBandwidthLimit": {
"Type": "ALIYUN::CEN::CenBandwidthLimit",
"Properties": {
"OppositeRegionId": {
"Ref": "OppositeRegionId"
},
"CenId": {
"Ref": "CenId"
},
"BandwidthLimit": {
"Ref": "BandwidthLimit"
},
"LocalRegionId": {
"Ref": "LocalRegionId"
}
}
}
},
"Parameters": {
"OppositeRegionId": {
"Type": "String",
"Description": "The ID of the other interconnected region."
},
"CenId": {
"Type": "String",
"Description": "The ID of the CEN instance."
},
"BandwidthLimit": {
"Type": "Number",
"Description": "The bandwidth configured for the interconnected regions communication. Minimal value: 1",
"MinValue": 1
},
"LocalRegionId": {
"Type": "String",
"Description": "The ID of the local region."
}
},
"Outputs": {}
}