Tous les produits
Search
Centre de documentation

Resource Orchestration Service:ALIYUN::VPC::Ipv6InternetBandwidth

Dernière mise à jour :Aug 10, 2026

Achetez de la bande passante Internet pour une adresse IPv6.

Syntaxe

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

Propriétés

Propriété

Type

Obligatoire

Modifiable

Description

Contrainte

Bandwidth

Integer

Oui

Oui

Bande passante Internet de l'adresse IPv6.

Valeurs possibles :

  • Si InternetChargeType est défini sur PayByBandwidth : de 1 à 5000.

  • Si InternetChargeType est défini sur PayByTraffic, les valeurs possibles dépendent de la spécification de la passerelle IPv6 :

    • Spécification Small (édition gratuite par défaut) : de 1 à 500.

    • Spécification Medium (édition Enterprise) : de 1 à 1000.

    • Spécification Large (édition Enhanced Enterprise) : de 1 à 2000.

Unité : Mbit/s.

Ipv6AddressId

String

Oui

Non

ID de l'adresse IPv6.

Aucune.

Ipv6GatewayId

String

Oui

Non

ID de la passerelle IPv6.

Aucune.

InternetChargeType

String

Non

Non

Méthode de facturation de la bande passante Internet IPv6.

Valeurs possibles :

  • PayByTraffic : paiement au transfert de données

  • PayByBandwidth (par défaut) : paiement à la bande passante

Valeurs de retour

Fn::GetAtt

InternetBandwidthId : ID de la bande passante Internet.

Exemples

  • YAML format

    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
  • JSON format

    {
      "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"
            ]
          }
        }
      }
    }

Pour plus d'exemples, consultez les fichiers SnatEntry.json et SnatEntry.yml. Ces exemples utilisent les types de ressources suivants : ALIYUN::ECS::VPC, ALIYUN::ECS::vSwitch, ALIYUN::VPC::SnatEntry, ALIYUN::VPC::CommonBandwidthPackage, ALIYUN::VPC::CommonBandwidthPackageIp, ALIYUN::VPC::Ipv6Gateway et ALIYUN::VPC::Ipv6InternetBandwidth.