ALIYUN::CEN::CenBandwidthPackage purchases a bandwidth plan required to connect network instances across regions through Cloud Enterprise Network (CEN).
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,
"Tags": List
}
}
Properties
|
Property |
Type |
Required |
Editable |
Description |
Constraint |
|
Bandwidth |
Integer |
Yes |
Yes |
The maximum bandwidth of the plan. |
Unit: Mbit/s. Minimum value: 2. |
|
GeographicRegionAId |
String |
Yes |
No |
The area where Network Instance A resides. |
Valid values:
|
|
GeographicRegionBId |
String |
Yes |
No |
The area where Network Instance B resides. |
Valid values:
|
|
AutoPay |
Boolean |
No |
No |
Whether to enable automatic payment. |
Valid values:
|
|
AutoRenew |
Boolean |
No |
No |
Whether to enable auto-renewal. |
Valid values:
|
|
AutoRenewDuration |
Integer |
No |
No |
The auto-renewal period. |
Takes effect only when AutoRenew is set to true. Valid values:
Unit: month. |
|
BandwidthPackageChargeType |
String |
No |
No |
The billing method of the bandwidth plan. |
Valid values:
|
|
Description |
String |
No |
Yes |
The description of the bandwidth plan. |
The value must be 2 to 256 characters long, start with a letter, and cannot start with Allowed characters: letters, digits, hyphens (-), periods (.), and underscores (_). |
|
Name |
String |
No |
Yes |
The name of the bandwidth plan. |
The value must be 2 to 128 characters long, start with a letter, and cannot start with Allowed characters: letters, digits, periods (.), underscores (_), and hyphens (-). |
|
Period |
Integer |
No |
No |
The subscription duration of the bandwidth plan. |
Default value: 1. |
|
PricingCycle |
String |
No |
No |
The billing cycle unit of the bandwidth plan. |
Valid values:
|
|
ResourceGroupId |
String |
No |
Yes |
The ID of the resource group. |
None. |
|
Tags |
List |
No |
Yes |
The tags. |
For more information, see Tags properties. |
Tags syntax
"Tags": [
{
"Key": String,
"Value": String
}
]
Tags properties
|
Property |
Type |
Required |
Editable |
Description |
Constraint |
|
Key |
String |
Yes |
No |
The tag key. |
None. |
|
Value |
String |
No |
No |
The tag value. |
None. |
Return values
Fn::GetAtt
-
CenBandwidthPackageId: the ID of the bandwidth plan.
-
Arn: the Alibaba Cloud Resource Name (ARN).
Examples
YAML 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
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"
]
}
}
}
}