全部產品
Search
文件中心

Resource Orchestration Service:ALIYUN::CEN::CenBandwidthLimit

更新時間:Sep 19, 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": {}
}