ALIYUN::CEN::CenBandwidthPackage is used to purchase a bandwidth plan before you use Cloud Enterprise Network (CEN) to connect network instances in different regions.
Syntax
{
"Type": "ALIYUN::CEN::CenBandwidthPackage",
"Properties": {
"Description": String,
"BandwidthPackageChargeType": String,
"GeographicRegionBId": String,
"GeographicRegionAId": String,
"PricingCycle": String,
"AutoRenew": "Boolean",
"Bandwidth": Integer,
"Period": Integer,
"AutoPay": "Boolean",
"AutoRenewDuration": Integer,
"Name": String,
"ResourceGroupId": String
}
}
Properties
Property | Type | Required | Editable | Description | Constraint |
---|---|---|---|---|---|
GeographicRegionAId | String | Yes | No | The area for which you want to enable cross-region communication. | Valid values:
|
ResourceGroupId | String | No | Yes | The ID of the resource group. | None |
Description | String | No | Yes | The description of the bandwidth plan. | The description must be 2 to 256 characters in length. It must start with a letter but cannot start with http:// or https:// . The description can contain letters, digits, hyphens (-), periods (.), and underscores (_). |
AutoPay | Boolean | No | No | Specifies whether to enable automatic payment. | Valid values:
|
Period | Integer | No | No | The subscription period of the bandwidth plan. | Default value: 1. |
GeographicRegionBId | String | Yes | No | The other area for which you want to enable cross-region communication. | Valid values:
|
Bandwidth | Integer | Yes | Yes | The peak bandwidth provided by the bandwidth plan. | Unit: Mbit/s. The minimum value is 2. |
PricingCycle | String | No | No | The billing cycle of the bandwidth plan. | Valid values:
|
BandwidthPackageChargeType | String | No | No | The billing method of the bandwidth plan. | Valid values:
|
Name | String | No | Yes | The name of the bandwidth plan. | The name must be 2 to 128 characters in length. It must start with a letter but cannot start with The name can contain letters, digits, periods (.), underscores (_), and hyphens (-). |
AutoRenew | Boolean | No | No | Specifies whether to enable auto-renewal. | Valid values:
|
AutoRenewDuration | Integer | No | No | The auto-renewal period. | This property takes effect only if the AutoRenew property is set to true. Valid values: Unit: months.
|
Response parameters
Fn::GetAtt
CenBandwidthPackageId: the ID of the purchased bandwidth plan.
Examples
JSON
format{ "ROSTemplateFormatVersion": "2015-09-01", "Parameters": { }, "Resources": { "CenBandwidthPackage": { "Type": "ALIYUN::CEN::CenBandwidthPackage", "Properties": { "GeographicRegionBId": "China", "GeographicRegionAId": "China", "Bandwidth": 3, "BandwidthPackageChargeType": "POSTPAY" } } }, "Outputs": { "CenBandwidthPackageId": { "Description": "The ID of the bandwidth package.", "Value": { "Fn::GetAtt": [ "CenBandwidthPackage", "CenBandwidthPackageId" ] } } } }