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

Resource Orchestration Service:ALIYUN::VPC::CommonBandwidthPackageIp

最終更新日:Jan 16, 2025

ALIYUN::VPC::CommonBandwidthPackageIp は、インターネット共有帯域幅インスタンスに EIP を追加するために使用されます。

説明 この操作を呼び出して EIP を追加する場合は、次の点に注意してください。
  • 従量課金制の EIP のみ追加できます。
  • EIP とインターネット共有帯域幅インスタンスは同じリージョンにある必要があります。

ステートメント

{
  "Type": "ALIYUN::VPC::CommonBandwidthPackageIp",
  "Properties": {
    "Eips": List,
    "BandwidthPackageId": String
  }
}

プロパティ

パラメータータイプ必須編集可能説明制約
EipsListはいいいえ追加する EIP。なし。
BandwidthPackageIdStringはいいいえインターネット共有帯域幅インスタンスの ID。なし。

Eips 構文

"Eips": [
  {
    "Bandwidth": Integer,
    "AllocationId": String
  }
]

Eips

パラメータータイプ必須編集可能説明制約
BandwidthIntegerいいえいいえピーク帯域幅。0 は無制限を示します。

デフォルト値:0。

AllocationIdStringはいいいえElastic IP アドレスのインスタンス ID。有効な値:1025 ~ 10000。一般的に使用されるポート番号 2222、4500、4510、4560、7505、9000、9001、9002 は使用できません。

戻り値

Fn::GetAtt

  • AllocationIds: すべての EIP の ID。
  • IpAddresses: すべての EIP。

  • YAML 形式

    ROSTemplateFormatVersion: '2015-09-01'
    Parameters:
      BandwidthPackageId:
        Type: String
        Description: The ID of the Internet Shared Bandwidth instance.  // インターネット共有帯域幅インスタンスのID。
    Resources:
      CommonBandwidthPackageIp:
        Type: ALIYUN::VPC::CommonBandwidthPackageIp
        Properties:
          Eips:
            - Bandwidth: 5
              AllocationId: eip-8vbwv47kgXXXXXXXXX
          BandwidthPackageId:
            Ref: BandwidthPackageId
    Outputs:
      AllocationIds:
        Description: All eip allocation ids of common bandwidth package. // 共通帯域幅パッケージのすべてのEIP割り当てID。
        Value:
          Fn::GetAtt:
            - CommonBandwidthPackageIp
            - AllocationIds
      IpAddresses:
        Description: All eip addresses of common bandwidth package. // 共通帯域幅パッケージのすべてのEIPアドレス。
        Value:
          Fn::GetAtt:
            - CommonBandwidthPackageIp
            - IpAddresses
  • JSON 形式

    {
      "ROSTemplateFormatVersion": "2015-09-01",
      "Resources": {
        "CommonBandwidthPackageIp": {
          "Type": "ALIYUN::VPC::CommonBandwidthPackageIp",
          "Properties": {
            "Eips": {
              "Ref": "Eips"
            },
            "BandwidthPackageId": {
              "Ref": "BandwidthPackageId"
            }
          }
        }
      },
      "Parameters": {
        "Eips": {
          "Type": "Json",
          "Description": "List of eip associated with the Internet Shared Bandwidth instance." // インターネット共有帯域幅インスタンスに関連付けられたEIPのリスト。
        },
        "BandwidthPackageId": {
          "Type": "String",
          "Description": "The ID of the Internet Shared Bandwidth instance." // インターネット共有帯域幅インスタンスのID。
        }
      },
      "Outputs": {
        "AllocationIds": {
          "Description": "All eip allocation ids of common bandwidth package." // 共通帯域幅パッケージのすべてのEIP割り当てID。
          "Value": {
            "Fn::GetAtt": [
              "CommonBandwidthPackageIp",
              "AllocationIds"
            ]
          }
        },
        "IpAddresses": {
          "Description": "All eip addresses of common bandwidth package." // 共通帯域幅パッケージのすべてのEIPアドレス。
          "Value": {
            "Fn::GetAtt": [
              "CommonBandwidthPackageIp",
              "IpAddresses"
            ]
          }
        }
      }
    }