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": {}
}