すべてのプロダクト
Search
ドキュメントセンター

Resource Orchestration Service:ALIYUN::VPC::Ipv6InternetBandwidth

最終更新日:Jan 16, 2025

ALIYUN::VPC::Ipv6InternetBandwidth は、IPv6 アドレスのインターネット帯域幅を購入するために使用されます。

構文

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

プロパティ

プロパティ

タイプ

必須

編集可能

説明

制約

Bandwidth

Integer

はい

はい

IPv6 アドレスのインターネット帯域幅。

有効な値:

  • InternetChargeType が PayByBandwidth に設定されている場合の有効な値:1 ~ 5000。

  • InternetChargeType が PayByTraffic に設定されている場合、有効な値は IPv6 ゲートウェイの仕様によって異なります。

    • 仕様が Small(デフォルトの Free Edition)の場合の有効な値:1 ~ 500。

    • 仕様が Medium(Enterprise Edition)の場合の有効な値:1 ~ 1000。

    • 仕様が Large(Enhanced Enterprise Edition)の場合の有効な値:1 ~ 2000。

単位:Mbit/s。

Ipv6AddressId

String

はい

いいえ

IPv6 アドレスの ID。

なし。

Ipv6GatewayId

String

はい

いいえ

IPv6 ゲートウェイの ID。

なし。

InternetChargeType

String

いいえ

いいえ

IPv6 アドレスのインターネット帯域幅の課金方法。

有効な値:

  • PayByTraffic:データ転送量による課金

  • PayByBandwidth(デフォルト):帯域幅による課金

戻り値

Fn::GetAtt

InternetBandwidthId:インターネット帯域幅の ID。

  • YAML 形式

    ROSTemplateFormatVersion: '2015-09-01'
    Parameters:
      Ipv6AddressId:
        Type: String
        Description: IPv6 アドレスの ID
      Ipv6GatewayId:
        Type: String
        Description: IPv6 ゲートウェイの ID
    Resources:
      Ipv6InternetBandwidth:
        Type: ALIYUN::VPC::Ipv6InternetBandwidth
        Properties:
          Bandwidth: 5000
          Ipv6AddressId:
            Ref: Ipv6AddressId
          Ipv6GatewayId:
            Ref: Ipv6GatewayId
    Outputs:
      InternetBandwidthId:
        Description: パブリックネットワーク帯域幅の購入
        Value:
          Fn::GetAtt:
            - Ipv6InternetBandwidth
            - InternetBandwidthId
  • JSON 形式

    {
      "ROSTemplateFormatVersion": "2015-09-01",
      "Parameters": {
        "Ipv6AddressId": {
          "Type": "String",
          "Description": "IPv6 アドレスの ID"  // ID of IPv6 address.
        },
        "Ipv6GatewayId": {
          "Type": "String",
          "Description": "IPv6 ゲートウェイの ID" // 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"
            ]
          }
        }
      }
    }

その他の例については、SnatEntry.json および SnatEntry.yml をご参照ください。例では、ALIYUN::ECS::VPC、ALIYUN::ECS::VSwitch、ALIYUN::VPC::SnatEntry、ALIYUN::VPC::CommonBandwidthPackage、ALIYUN::VPC::CommonBandwidthPackageIp、ALIYUN::VPC::Ipv6Gateway、および ALIYUN::VPC::Ipv6InternetBandwidth のリソースタイプが使用されています。