Configura a largura de banda para interconexão entre regiões em um plano de largura de banda.
Após a exclusão deste recurso, a largura de banda não retorna ao valor definido antes da criação do recurso.
Sintaxe
{
"Type": "ALIYUN::CEN::CenBandwidthLimit",
"Properties": {
"OppositeRegionId": String,
"CenId": String,
"BandwidthLimit": Integer,
"BandwidthType": String,
"LocalRegionId": String
}
}
Propriedades
|
Propriedade |
Tipo |
Obrigatório |
Editável |
Descrição |
Restrição |
|
BandwidthLimit |
Integer |
Sim |
Sim |
Largura de banda máxima para interconexão entre duas regiões. |
Valor mínimo: 1. |
|
CenId |
String |
Sim |
Não |
ID da instância do Cloud Enterprise Network (CEN). |
Nenhuma. |
|
LocalRegionId |
String |
Sim |
Não |
ID da região local. |
Nenhuma. |
|
OppositeRegionId |
String |
Sim |
Não |
ID da região remota. |
Nenhuma. |
|
BandwidthType |
String |
Não |
Não |
Método de alocação de largura de banda. |
|
Valores de retorno
Fn::GetAtt
Nenhum.
Exemplos
Formato 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: {}
Formato 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": {}
}