ALIYUN::VPC::Ipv6InternetBandwidth is used to purchase Internet bandwidth for an IPv6 address.
Syntax
{
"Type": "ALIYUN::VPC::Ipv6InternetBandwidth",
"Properties": {
"Bandwidth": Integer,
"Ipv6AddressId": String,
"Ipv6GatewayId": String,
"InternetChargeType": String
}
}
Properties
Property | Type | Required | Editable | Description | Constraint |
Property | Type | Required | Editable | Description | Constraint |
Bandwidth | Integer | Yes | Yes | The Internet bandwidth of the IPv6 address. | Valid values: Unit: Mbit/s. |
Ipv6AddressId | String | Yes | No | The ID of the IPv6 address. | None. |
Ipv6GatewayId | String | Yes | No | The ID of the IPv6 gateway. | None. |
InternetChargeType | String | No | No | The metering method of the Internet bandwidth of the IPv6 address. | Valid values: |
Return values
Fn::GetAtt
InternetBandwidthId: the ID of the Internet bandwidth.
Examples
-
ROSTemplateFormatVersion: '2015-09-01'
Parameters:
Ipv6AddressId:
Type: String
Description: ID of IPv6 address.
Ipv6GatewayId:
Type: String
Description: ID of IPv6 gateway.
Resources:
Ipv6InternetBandwidth:
Type: ALIYUN::VPC::Ipv6InternetBandwidth
Properties:
Bandwidth: 5000
Ipv6AddressId:
Ref: Ipv6AddressId
Ipv6GatewayId:
Ref: Ipv6GatewayId
Outputs:
InternetBandwidthId:
Description: Purchase of public network bandwidth.
Value:
Fn::GetAtt:
- Ipv6InternetBandwidth
- InternetBandwidthId
-
{
"ROSTemplateFormatVersion": "2015-09-01",
"Parameters": {
"Ipv6AddressId": {
"Type": "String",
"Description": "ID of IPv6 address."
},
"Ipv6GatewayId": {
"Type": "String",
"Description": "ID of IPv6 gateway."
}
},
"Resources": {
"Ipv6InternetBandwidth": {
"Type": "ALIYUN::VPC::Ipv6InternetBandwidth",
"Properties": {
"Bandwidth": 5000,
"Ipv6AddressId": {
"Ref": "Ipv6AddressId"
},
"Ipv6GatewayId": {
"Ref": "Ipv6GatewayId"
}
}
}
},
"Outputs": {
"InternetBandwidthId": {
"Description": "Purchase of public network bandwidth.",
"Value": {
"Fn::GetAtt": [
"Ipv6InternetBandwidth",
"InternetBandwidthId"
]
}
}
}
}
For more examples, visit SnatEntry.json and SnatEntry.yml. In the examples, the following resource types are used: ALIYUN::ECS::VPC, ALIYUN::ECS::VSwitch, ALIYUN::VPC::SnatEntry, ALIYUN::VPC::CommonBandwidthPackage, ALIYUN::VPC::CommonBandwidthPackageIp, ALIYUN::VPC::Ipv6Gateway, and ALIYUN::VPC::Ipv6InternetBandwidth.