ALIYUN::VPC::Ipv6InternetBandwidth is used to purchase a public bandwidth plan for an IPv6 address.

Syntax

{
  "Type": "ALIYUN::VPC::Ipv6InternetBandwidth",
  "Properties": {
    "Bandwidth": Integer,
    "Ipv6AddressId": String,
    "Ipv6GatewayId": String,
    "InternetChargeType": String,
    "Tags": List
  }
}

Properties

Property Type Required Editable Description Constraint
Bandwidth Integer Yes Yes The public bandwidth of the IPv6 address.
  • Valid values when InternetChargeType is set to PayByBandwidth: 1 to 5000.
  • When InternetChargeType is set to PayByTraffic, the valid values of Bandwidth depend on the specification of the IPv6 gateway.
    • Valid values when the specification is Small (Free Edition): 1 to 500.
    • Valid values when the specification is Medium (Enterprise Edition): 1 to 1000.
    • Valid values when the specification is Large (Enhanced Enterprise Edition): 1 to 2000.

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 the public bandwidth resources of the IPv6 gateway. Default value: PayByBandwidth. Valid values:
  • PayByTraffic
  • PayByBandwidth
Tags List No Yes The tags of the public bandwidth plan. A maximum of 20 tags can be specified.

For more information, see the Tags properties section in this topic.

Tags syntax

"Tags": [
  {
    "Key": String,
    "Value": String
  }
]  

Tags properties

Property Type Required Editable Description Constraint
Key String Yes No The tag key. The tag key must be 1 to 128 characters in length and cannot contain http:// or https://. It cannot start with acs: or aliyun.
Value String No No The tag value. The tag value must be 0 to 128 characters in length and cannot contain http:// or https://. It cannot start with acs: or aliyun.

Response parameters

Fn::GetAtt

InternetBandwidthId: the ID of the public bandwidth plan.

Examples

  • YAMLformat

    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
  • JSONformat

    {
      "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 ALIYUN::ECS::VPC, ALIYUN::ECS::VSwitch, ALIYUN::VPC::SnatEntry, ALIYUN::VPC::CommonBandwidthPackage, ALIYUN::VPC::CommonBandwidthPackageIp, ALIYUN::VPC::Ipv6Gateway, and ALIYUN::VPC::Ipv6InternetBandwidth resource types are involved.