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

Resource Orchestration Service:DATASOURCE::GA::BandwidthPackages

最終更新日:Mar 17, 2025

DATASOURCE::GA::BandwidthPackages は、帯域幅プランに関する情報をクエリするために使用されます。

構文

{
  "Type": "DATASOURCE::GA::BandwidthPackages",
  "Properties": {
    "Type": String,
    "ResourceGroupId": String,
    "BandwidthPackageId": String,
    "RefreshOptions": String
  }
}

プロパティ

プロパティ

タイプ

必須

編集可能

説明

制約

Type

String

いいえ

はい

帯域幅プランのタイプ。

有効な値:

  • Basic: 基本帯域幅プラン

  • CrossDomain: クロスボーダー加速帯域幅プラン

ResourceGroupId

String

いいえ

はい

リソースグループの ID。

なし。

BandwidthPackageId

String

いいえ

はい

帯域幅プランの ID。

なし。

RefreshOptions

String

いいえ

はい

スタックが更新されたときのデータソースリソースの更新ポリシー。

有効な値:

  • Never (デフォルト): スタックが更新されたときにデータソースリソースを更新しません。

  • Always: スタックが更新されたときにデータソースリソースを更新します。

戻り値

Fn::GetAtt

  • BandwidthPackageIds: 帯域幅プランの ID。

  • BandwidthPackages: 帯域幅プランの詳細。

プロパティ

タイプ

説明

制約

BandwidthPackageIds

List

帯域幅プランの ID。

なし。

BandwidthPackages

List

帯域幅プランの詳細。

なし。

ExpiredTime

String

帯域幅プランの有効期限。

なし。

Type

String

帯域幅プランのタイプ。

なし。

CbnGeographicRegionIdA

String

クロスボーダー加速帯域幅プランのエリア A。

なし。

ResourceGroupId

String

リソースグループの ID。

なし。

CreateTime

String

帯域幅プランが作成された日時。

なし。

BandwidthPackageId

String

帯域幅プランの ID。

なし。

Ratio

String

95 パーセンタイル課金方法が使用される場合に保証される最小帯域幅の割合。

なし。

CbnGeographicRegionIdB

String

クロスボーダー加速帯域幅プランのエリア B。

なし。

Bandwidth

Number

帯域幅プランの帯域幅値。

なし。

BillingType

String

従量課金方法が使用される場合の課金方法。

なし。

BandwidthPackageName

String

帯域幅プランの名前。

なし。

Description

String

帯域幅プランの説明。

なし。

PaymentType

String

課金方法。

なし。

BandwidthType

String

帯域幅タイプ。

なし。

ROSTemplateFormatVersion: '2015-09-01'
Parameters:
  BandwidthPackageId:
    Description:
      en: The Resource ID of the bandwidth.
    Required: false
    Type: String
  ResourceGroupId:
    AssociationProperty: ALIYUN::ECS::ResourceGroup::ResourceGroupId
    Description:
      en: The ID of the resource group.
    Required: false
    Type: String
  Type:
    AllowedValues:
    - Basic
    - CrossDomain
    Description:
      en: 'The type of the bandwidth package. Value:

        Basic: Basic bandwidth package.

        CrossDomain: cross-region acceleration package.

        China Station only supports Basic.'
    Required: false
    Type: String
Resources:
  ExtensionDataSource:
    Properties:
      BandwidthPackageId:
        Ref: BandwidthPackageId
      ResourceGroupId:
        Ref: ResourceGroupId
      Type:
        Ref: Type
    Type: DATASOURCE::GA::BandwidthPackages
Outputs:
  BandwidthPackageIds:
    Description: The list of bandwidth package IDs.
    Value:
      Fn::GetAtt:
      - ExtensionDataSource
      - BandwidthPackageIds
  BandwidthPackages:
    Description: The list of bandwidth packages.
    Value:
      Fn::GetAtt:
      - ExtensionDataSource
      - BandwidthPackages
                        
{
  "ROSTemplateFormatVersion": "2015-09-01",
  "Parameters": {
    "Type": {
      "Type": "String",
      "Description": {
        "en": "The type of the bandwidth package. Value:\nBasic: Basic bandwidth package.\nCrossDomain: cross-region acceleration package.\nChina Station only supports Basic."
      },
      "AllowedValues": [
        "Basic",
        "CrossDomain"
      ],
      "Required": false
    },
    "ResourceGroupId": {
      "AssociationProperty": "ALIYUN::ECS::ResourceGroup::ResourceGroupId",
      "Type": "String",
      "Description": {
        "en": "The ID of the resource group."
      },
      "Required": false
    },
    "BandwidthPackageId": {
      "Type": "String",
      "Description": {
        "en": "The Resource ID of the bandwidth."
      },
      "Required": false
    }
  },
  "Resources": {
    "ExtensionDataSource": {
      "Type": "DATASOURCE::GA::BandwidthPackages",
      "Properties": {
        "Type": {
          "Ref": "Type"
        },
        "ResourceGroupId": {
          "Ref": "ResourceGroupId"
        },
        "BandwidthPackageId": {
          "Ref": "BandwidthPackageId"
        }
      }
    }
  },
  "Outputs": {
    "BandwidthPackageIds": {
      "Description": "帯域幅パッケージ ID のリスト。",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionDataSource",
          "BandwidthPackageIds"
        ]
      }
    },
    "BandwidthPackages": {
      "Description": "帯域幅パッケージのリスト。",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionDataSource",
          "BandwidthPackages"
        ]
      }
    }
  }
}