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

Resource Orchestration Service:ALIYUN::ECD::NetworkPackage

最終更新日:Mar 17, 2025

ALIYUN::ECD::NetworkPackage は、オフィスネットワークのプレミアム帯域幅プランを作成するために使用されます。

構文

{
  "Type": "ALIYUN::ECD::NetworkPackage",
  "Properties": {
    "OfficeSiteId": String,
    "PromotionId": String,
    "Bandwidth": Integer,
    "AutoRenew": Boolean,
    "Period": Integer,
    "AutoPay": Boolean,
    "PayType": String,
    "PeriodUnit": String,
    "InternetChargeType": String
  }
}

プロパティ

プロパティ

タイプ

必須

編集可能

説明

制約

Bandwidth

Integer

はい

いいえ

プレミアム帯域幅プランによって提供される帯域幅。

単位:Mbit/s。

  • PayType が PrePaid に設定されている場合の有効な値:2 ~ 1000。

  • PayType が PostPaid に設定され、InternetChargeType が PayByTraffic に設定されている場合の有効な値:2 ~ 200。

  • PayType が PostPaid に設定され、InternetChargeType が PayByBandwidth に設定されている場合の有効な値:2 ~ 1000。

OfficeSiteId

String

はい

いいえ

オフィスネットワークの ID。

なし。

AutoPay

Boolean

いいえ

いいえ

自動支払いを有効にするかどうかを指定します。

有効な値:

  • true(デフォルト):自動支払いを有効にします。アカウントに十分な残高があることを確認する必要があります。アカウントに十分な残高がない場合、異常な注文が生成されます。

  • false:自動支払いを無効にします。この場合、注文は生成されますが、支払いは行われません。支払いを完了するには、[Elastic Desktop Service (EDS) コンソール] にログインし、[費用とコスト] コンソールの [注文] ページに移動して、戻り値の注文 ID に基づいて注文を見つけます。

AutoRenew

Boolean

いいえ

いいえ

自動更新を有効にするかどうかを指定します。

有効な値:

  • true

  • false

InternetChargeType

String

いいえ

いいえ

プレミアム帯域幅プランの課金方法。

  • PayTypePrePaid に設定されている場合の有効な値:

    • PayByBandwidth

  • PayTypePostPaid に設定されている場合の有効な値:

    • PayByTraffic

    • PayByBandwidth

PayType

String

いいえ

いいえ

課金方法。

有効な値:

  • PostPaid

  • PrePaid

Period

Integer

いいえ

いいえ

プレミアム帯域幅プランのサブスクリプション期間。

プロパティ値の単位は PeriodUnit によって指定されます。 PayType が PrePaid に設定されている場合にのみ、Period を指定する必要があります。 PeriodUnit が Month に設定されている場合の有効な値:

  • 1

  • 2

  • 3

  • 6

PeriodUnit が Year に設定されている場合の有効な値:

  • 1

  • 2

  • 3

  • 4

  • 5

PeriodUnit

String

いいえ

いいえ

プレミアム帯域幅プランのサブスクリプション期間の単位。

PayTypePrePaid に設定されている場合にのみ、このプロパティを指定する必要があります。有効な値:

  • Month

  • Year

  • Week

PromotionId

String

いいえ

いいえ

セールスプロモーションの ID。

なし。

戻り値

Fn::GetAtt

NetworkPackageId: プレミアム帯域幅プランの ID。

YAML 形式

ROSTemplateFormatVersion: '2015-09-01'
Parameters:
  OfficeSiteId:
    Type: String
    Description:
      ja: ワークスペースの ID。
    Required: true
  Bandwidth:
    Type: Number
    Description:
      ja: |-
        最大パブリック帯域幅。単位:Mbit/s。
        トラフィック課金タイプ(PayByTraffic)の有効な値:10 ~ 200。
        帯域幅課金タイプ(PayByBandwidth)の有効な値:10 ~ 1000。
    Required: true
    MinValue: 2
    MaxValue: 1000
  PayType:
    Type: String
    Description:
      ja: |-
        インターネットアクセス パッケージの課金方法。列挙値:
        PostPaid
        PrePaid
    AllowedValues:
      - PostPaid
      - PrePaid
    Required: false
  InternetChargeType:
    AssociationPropertyMetadata:
      LocaleKey: InternetChargeType
    Type: String
    Description:
      ja: |-
        従量課金制インターネットアクセス パッケージの課金方法。有効な値:
        PayByTraffic: トラフィック課金。
        PayByBandwidth: 帯域幅課金。
        デフォルト値:PayByTraffic。
    AllowedValues:
      - PayByTraffic
      - PayByBandwidth
    Required: false
Resources:
  ExtensionResource:
    Type: ALIYUN::ECD::NetworkPackage
    Properties:
      OfficeSiteId:
        Ref: OfficeSiteId
      Bandwidth:
        Ref: Bandwidth
      PayType:
        Ref: PayType
      InternetChargeType:
        Ref: InternetChargeType
Outputs:
  NetworkPackageId:
    Description: インターネットアクセス パッケージの ID。
    Value:
      Fn::GetAtt:
        - ExtensionResource
        - NetworkPackageId

JSON 形式

{
  "ROSTemplateFormatVersion": "2015-09-01",
  "Parameters": {
    "OfficeSiteId": {
      "Type": "String",
      "Description": {
        "ja": "ワークスペースの ID。"
      },
      "Required": true
    },
    "Bandwidth": {
      "Type": "Number",
      "Description": {
        "ja": "最大パブリック帯域幅。単位:Mbit/s。\nトラフィック課金タイプ(PayByTraffic)の有効な値:10 ~ 200。\n帯域幅課金タイプ(PayByBandwidth)の有効な値:10 ~ 1000。"
      },
      "Required": true,
      "MinValue": 2,
      "MaxValue": 1000
    },
    "PayType": {
      "Type": "String",
      "Description": {
        "ja": "インターネットアクセス パッケージの課金方法。列挙値:\nPostPaid\nPrePaid"
      },
      "AllowedValues": [
        "PostPaid",
        "PrePaid"
      ],
      "Required": false
    },
    "InternetChargeType": {
      "AssociationPropertyMetadata": {
        "LocaleKey": "InternetChargeType"
      },
      "Type": "String",
      "Description": {
        "ja": "従量課金制インターネットアクセス パッケージの課金方法。有効な値:\nPayByTraffic: トラフィック課金。\nPayByBandwidth: 帯域幅課金。\nデフォルト値:PayByTraffic。"
      },
      "AllowedValues": [
        "PayByTraffic",
        "PayByBandwidth"
      ],
      "Required": false
    }
  },
  "Resources": {
    "ExtensionResource": {
      "Type": "ALIYUN::ECD::NetworkPackage",
      "Properties": {
        "OfficeSiteId": {
          "Ref": "OfficeSiteId"
        },
        "Bandwidth": {
          "Ref": "Bandwidth"
        },
        "PayType": {
          "Ref": "PayType"
        },
        "InternetChargeType": {
          "Ref": "InternetChargeType"
        }
      }
    }
  },
  "Outputs": {
    "NetworkPackageId": {
      "Description": "インターネットアクセス パッケージの ID。",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionResource",
          "NetworkPackageId"
        ]
      }
    }
  }
}