DATASOURCE::ECS::Zones は、ゾーンを照会するために使用されます。
構文
{
"Type": "DATASOURCE::ECS::Zones",
"Properties": {
"IoOptimized": String,
"InstanceChargeType": String,
"ResourceType": String,
"DataDiskCategory": String,
"InstanceType": String,
"SystemDiskCategory": String,
"RefreshOptions": String
}
}プロパティ
プロパティ | タイプ | 必須 | 編集可能 | 説明 | 制約 |
IoOptimized | String | いいえ | はい | インスタンスが I/O 最適化されているかどうかを指定します。 | 有効な値:
|
InstanceChargeType | String | いいえ | はい | ゾーンにあるリソースの課金方法。 | 有効な値:
|
ResourceType | String | いいえ | はい | リソースタイプ。 | 有効な値:
|
DataDiskCategory | String | いいえ | はい | データディスクのカテゴリ。 | 有効な値:
|
InstanceType | String | いいえ | はい | ECS インスタンスタイプ。 | なし。 |
SystemDiskCategory | String | いいえ | はい | システムディスクのカテゴリ。 | 有効な値:
|
RefreshOptions | String | いいえ | はい | スタックの更新時のデータソースリソースの更新ポリシー。 | 有効な値:
|
戻り値 (Fn::GetAtt)
ZoneIds: ゾーンの ID。
Zones: ゾーンの詳細。
プロパティ | タイプ | 説明 | 制約 |
ZoneIds | List | ゾーンの ID。 | 例: |
Zones | List | ゾーンの詳細。 | なし。 |
ZoneId | String | ゾーン ID。 | なし。 |
Status | String | リソースのステータス。 | 有効な値:
|
StatusCategory | String | リソースの在庫ステータス。 | 有効な値:
|
RegionId | String | ゾーンのリージョン ID。 | なし。 |
例
JSON 形式
{
"ROSTemplateFormatVersion": "2015-09-01",
"Parameters": {
"InstanceChargeType": {
"Type": "String",
"Description": "リソースの課金方法。詳細については、「課金概要」をご参照ください。有効な値:\nPrePaid: サブスクリプション\nPostPaid: 従量課金制\nデフォルト値: PostPaid。", // Translated the description and added "For more information, see Billing overview."
"Default": "PostPaid"
}
},
"Resources": {
"ExtensionDataSource": {
"Type": "DATASOURCE::ECS::Zones",
"Properties": {
"InstanceChargeType": {
"Ref": "InstanceChargeType"
}
}
}
},
"Outputs": {
"ZoneIds": {
"Description": "ゾーン ID のリスト。", // Translated the description
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"ZoneIds"
]
}
},
"Zones": {
"Description": "ゾーンのリスト。", // Translated the description
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"Zones"
]
}
}
}
}