全部产品
Search
文档中心

资源编排:ALIYUN::CEN::CenBandwidthLimit

更新时间:Sep 18, 2024

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

带宽的分配方式。

取值:

  • BandwidthPackage:从带宽包中分配带宽。

返回值

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