ALIYUN::VPC::VpcIpv6CidrAllocation is used to reserve an IPv6 CIDR block.
Syntax
{
"Type": "ALIYUN::VPC::VpcIpv6CidrAllocation",
"Properties": {
"AddressPoolType": String,
"Ipv6Isp": String,
"Ipv6CidrBlock": String
}
}
Properties
Property | Type | Required | Editable | Description | Constraint |
AddressPoolType | String | No | No | The type of the IPv6 address pool. | Valid values:
|
Ipv6Isp | String | No | No | The IPv6 CIDR block type of the virtual private cloud (VPC). | Valid values:
Note If your account is included in the whitelist, you can set this property to one of the following values: ChinaTelecom, ChinaUnicom, ChinaMobile, ChinaTelecom_L2, ChinaUnicom_L2, ChinaMobile_L2, and BGP_International. You can reserve only one IPv6 CIDR block of each type. After a reserved IPv6 CIDR block of a type is allocated to a VPC, you can reserve another IPv6 CIDR block of the type. |
Ipv6CidrBlock | String | No | No | The IPv6 CIDR block that you want to reserve. | None. |
Return values
Fn::GetAtt
Ipv6CidrBlock: the IPv6 CIDR block that you want to reserve.
Examples
YAML
format
ROSTemplateFormatVersion: '2015-09-01'
Parameters:
Ipv6CidrBlock:
Type: String
Description:
en: The IPv6 CIDR block that you want to reserve.
Required: false
Resources:
VpcIpv6CidrAllocation:
Type: ALIYUN::VPC::VpcIpv6CidrAllocation
Properties:
Ipv6CidrBlock:
Ref: Ipv6CidrBlock
Outputs:
Ipv6CidrBlock:
Description: The IPv6 CIDR block that is reserved.
Value:
Fn::GetAtt:
- VpcIpv6CidrAllocation
- Ipv6CidrBlock
JSON
format
{
"ROSTemplateFormatVersion": "2015-09-01",
"Parameters": {
"Ipv6CidrBlock": {
"Type": "String",
"Description": {
"en": "The IPv6 CIDR block that you want to reserve."
},
"Required": false
}
},
"Resources": {
"VpcIpv6CidrAllocation": {
"Type": "ALIYUN::VPC::VpcIpv6CidrAllocation",
"Properties": {
"Ipv6CidrBlock": {
"Ref": "Ipv6CidrBlock"
}
}
}
},
"Outputs": {
"Ipv6CidrBlock": {
"Description": "The IPv6 CIDR block that is reserved.",
"Value": {
"Fn::GetAtt": [
"VpcIpv6CidrAllocation",
"Ipv6CidrBlock"
]
}
}
}
}