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。
|
OfficeSiteId | String | はい | いいえ | オフィスネットワークの ID。 | なし。 |
AutoPay | Boolean | いいえ | いいえ | 自動支払いを有効にするかどうかを指定します。 | 有効な値:
|
AutoRenew | Boolean | いいえ | いいえ | 自動更新を有効にするかどうかを指定します。 | 有効な値:
|
InternetChargeType | String | いいえ | いいえ | プレミアム帯域幅プランの課金方法。 |
|
PayType | String | いいえ | いいえ | 課金方法。 | 有効な値:
|
Period | Integer | いいえ | いいえ | プレミアム帯域幅プランのサブスクリプション期間。 | プロパティ値の単位は PeriodUnit によって指定されます。 PayType が PrePaid に設定されている場合にのみ、Period を指定する必要があります。 PeriodUnit が Month に設定されている場合の有効な値:
PeriodUnit が Year に設定されている場合の有効な値:
|
PeriodUnit | String | いいえ | いいえ | プレミアム帯域幅プランのサブスクリプション期間の単位。 |
|
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"
]
}
}
}
}