ALIYUN::VPC::Ipv6 InternetBandwidth 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 |
---|---|---|---|---|---|
Bandwidth | Integer | Yes | Yes | The public network bandwidth of the IPv6 address. |
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 billing method of IPv6 internet bandwidth. | Valid values:
|
Response parameters
Fn::GetAtt
InternetBandwidthId: the ID of the Internet bandwidth.
Examples
JSON
format
{
"ROSTemplateFormatVersion": "2015-09-01",
"Parameters": {
"Bandwidth": {
"Type": "Number",
"Description": "Public IPv6 address of bandwidth, unit: Mbps, range: 1-5000.\nWhen InternetChargeType is PayByBandwidth, the bandwidth of the public network is the IPv6 address 1-5000.\nWhen InternetChargeType is PayByTraffic, public network bandwidth IPv6 addresses while IPv6 gateway restricted specifications.\nSmall (default free version), the public network bandwidth range 1-500.\nMedium (Enterprise Edition), the public network bandwidth range from 1 to 1000.\nLarge (Enterprise Edition), the public network bandwidth range 1-2000.",
"MinValue": 1,
"MaxValue": 5000
},
"Ipv6AddressId": {
"Type": "String",
"Description": "ID of IPv6 address."
},
"Ipv6GatewayId": {
"Type": "String",
"Description": "ID of IPv6 gateway."
},
"InternetChargeType": {
"Type": "String",
"Description": "IPv6 public network bandwidth billing, value:\nPayByTraffic: by using the traffic accounting.\nPayByBandwidth (default): Bandwidth billing.",
"AllowedValues": [
"PayByTraffic",
"PayByBandwidth"
]
}
},
"Resources": {
"Ipv6InternetBandwidth": {
"Type": "ALIYUN::VPC::Ipv6InternetBandwidth",
"Properties": {
"Bandwidth": {
"Ref": "Bandwidth"
},
"Ipv6AddressId": {
"Ref": "Ipv6AddressId"
},
"Ipv6GatewayId": {
"Ref": "Ipv6GatewayId"
},
"InternetChargeType": {
"Ref": "InternetChargeType"
}
}
}
},
"Outputs": {
"InternetBandwidthId": {
"Description": "Purchase of public network bandwidth.",
"Value": {
"Fn::GetAtt": [
"Ipv6InternetBandwidth",
"InternetBandwidthId"
]
}
}
}
}
YAML
format
ROSTemplateFormatVersion: '2015-09-01'
Parameters:
Bandwidth:
Type: Number
Description: >-
Public IPv6 address of bandwidth, unit: Mbps, range: 1-5000.
When InternetChargeType is PayByBandwidth and the bandwidth of the public
network is the IPv6 address 1-5000.
When InternetChargeType is PayByTraffic and public network bandwidth IPv6
addresses while IPv6 gateway restricted specifications.
Small (default free version), the public network bandwidth range 1-500.
Medium (Enterprise Edition), the public network bandwidth range from 1 to
1000.
Large (Enterprise Edition), the public network bandwidth range 1-2000.
MinValue: 1
MaxValue: 5000
Ipv6AddressId:
Type: String
Description: ID of IPv6 address.
Ipv6GatewayId:
Type: String
Description: ID of IPv6 gateway.
InternetChargeType:
Type: String
Description: |-
IPv6 public network bandwidth billing, value:
PayByTraffic: by using the traffic accounting.
PayByBandwidth (default): Bandwidth billing.
AllowedValues:
-PayByTraffic
-PayByBandwidth
Resources:
Ipv6InternetBandwidth:
Type: 'ALIYUN::VPC::Ipv6InternetBandwidth'
Properties:
Bandwidth:
Ref: Bandwidth
Ipv6AddressId:
Ref: Ipv6AddressId
Ipv6GatewayId:
Ref: Ipv6GatewayId
InternetChargeType:
Ref: InternetChargeType
Outputs:
InternetBandwidthId:
Description: Purchase of public network bandwidth.
Value:
'Fn::GetAtt':
-Ipv6InternetBandwidth
-InternetBandwidthId