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

Resource Orchestration Service:ALIYUN::VPC::CommonBandwidthPackage

最終更新日:Jun 17, 2026

Internet Shared Bandwidth インスタンスを作成します。

説明

このリソースは、従量課金の Internet Shared Bandwidth インスタンスのみをサポートします。

構文

{
  "Type": "ALIYUN::VPC::CommonBandwidthPackage",
  "Properties": {
    "Description": String,
    "Zone": String,
    "ISP": String,
    "ResourceGroupId": String,
    "Bandwidth": Integer,
    "InternetChargeType": String,
    "Name": String,
    "DeletionProtection": Boolean,
    "Tags": List
  }
}

プロパティ

プロパティ

タイプ

必須

更新可能

説明

制約

Description

文字列

いいえ

はい

インスタンスの説明です。

説明は 2~256 文字で、英字または漢字で始まる必要があります。http:// または https:// で始めることはできません。

Zone

文字列

いいえ

いいえ

インスタンスのゾーンです。

このパラメーターを指定する必要はありません。

ISP

文字列

いいえ

いいえ

Elastic IP アドレス (EIP) の回線タイプです。

有効な値:BGP (マルチ ISP)。

ResourceGroupId

文字列

いいえ

はい

リソースグループの ID です。

なし

Bandwidth

整数

はい

はい

インスタンスのピーク帯域幅です。

有効な値:2~5000。

単位:Mbps。

InternetChargeType

文字列

いいえ

いいえ

インスタンスの課金方法です。

有効な値:

  • PayByBandwidth (デフォルト):帯域幅課金です。

  • PayBy95:拡張 95 パーセンタイル課金です。

Name

文字列

いいえ

はい

インスタンスの名前です。

名前は 2~128 文字の長さにする必要があります。先頭は英字または漢字にする必要がありますが、http:// または https:// で始めることはできません。名前に、英字、漢字、数字、ピリオド (.)、アンダースコア (_)、ハイフン (-) を含めることができます。

Tags

リスト

いいえ

はい

インスタンスのタグです。

最大 20 個のタグを追加できます。

詳細については、「タグプロパティ」をご参照ください。

DeletionProtection

ブール値

いいえ

はい

インスタンスの削除保護を有効にするかどうかを指定します。

有効な値:

  • true:削除保護を有効にします。

  • false (デフォルト):削除保護を無効にします。

タグ構文

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

タグプロパティ

プロパティ名

タイプ

必須

更新可能

説明

制約

Key

文字列

はい

いいえ

タグキーです。

タグキーは、aliyun または acs: で始まらず、http:// または https:// を含まず、長さが 1~128 文字である必要があります。

Value

文字列

いいえ

いいえ

タグ値です。

タグ値は、長さが 0~128 文字である必要があります。aliyun または acs:で始めることはできず、http:// または https://を含めることはできません。

戻り値

Fn::GetAtt

  • BandwidthPackageId:Internet Shared Bandwidth インスタンスの ID です。

  • Arn:リソースの Alibaba Cloud リソースネーム (ARN) です。

ROSTemplateFormatVersion: '2015-09-01'
Parameters: {}
Resources:
  CommonBandwidthPackage:
    Type: ALIYUN::VPC::CommonBandwidthPackage
    Properties:
      Description: Test
      Name: test-dsa
      Bandwidth: 5
      InternetChargeType: PayByBandwidth
Outputs:
  BandwidthPackageId:
    Description: Internet Shared Bandwidth インスタンスの ID です。
    Value:
      Fn::GetAtt:
        - CommonBandwidthPackage
        - BandwidthPackageId
{
  "ROSTemplateFormatVersion": "2015-09-01",
  "Parameters": {
  },
  "Resources": {
    "CommonBandwidthPackage": {
      "Type": "ALIYUN::VPC::CommonBandwidthPackage",
      "Properties": {
        "Description": "Test",
        "Name": "test-dsa",
        "Bandwidth": 5,
        "InternetChargeType": "PayByBandwidth"
      }
    }
  },
  "Outputs": {
    "BandwidthPackageId": {
      "Description": "Internet Shared Bandwidth インスタンスの ID です。",
      "Value": {
        "Fn::GetAtt": [
          "CommonBandwidthPackage",
          "BandwidthPackageId"
        ]
      }
    }
  }
}{
  "ROSTemplateFormatVersion": "2015-09-01",
  "Parameters": {
  },
  "Resources": {
    "CommonBandwidthPackage": {
      "Type": "ALIYUN::VPC::CommonBandwidthPackage",
      "Properties": {
        "Description": "Test",
        "Name": "test-dsa",
        "Bandwidth": 5,
        "InternetChargeType": "PayByBandwidth"
      }
    }
  },
  "Outputs": {
    "BandwidthPackageId": {
      "Description": "Internet Shared Bandwidth インスタンスの ID です。",
      "Value": {
        "Fn::GetAtt": [
          "CommonBandwidthPackage",
          "BandwidthPackageId"
        ]
      }
    }
  }
}