DATASOURCE::PVTZ::Zones は、組み込みの権威ゾーンを照会するために使用されます。
構文
{
"Type": "DATASOURCE::PVTZ::Zones",
"Properties": {
"ResourceGroupId": String,
"RefreshOptions": String
}
}プロパティ
プロパティ | タイプ | 必須 | 編集可能 | 説明 | 制約 |
ResourceGroupId | String | いいえ | はい | リソースグループの ID です。 | なし。 |
RefreshOptions | String | いいえ | はい | スタックが更新されたときのデータソースリソースの更新ポリシーです。 | 有効な値:
|
戻り値
Fn::GetAtt
ZoneIds:ゾーンの ID です。
Zones:ゾーンの詳細です。
プロパティ | タイプ | 説明 | 制約 |
ZoneIds | List | ゾーンの ID です。 | なし。 |
Zones | List | ゾーンの詳細です。 | なし。 |
CreateTimestamp | Integer | 作成タイムスタンプです。 | なし。 |
UpdateTime | String | 更新時刻です。 | なし。 |
ZoneTag | String | クラウドサービスのタイプです。 | 有効な値:
|
RecordCount | Integer | ドメインネームシステム( DNS )レコードの数です。 | なし。 |
Tags | List | ゾーンのタグです。 | 例: |
Remark | String | ゾーンの説明です。 | なし。 |
ZoneId | String | ゾーン ID です。 | なし。 |
ZoneType | String | ゾーンタイプです。 | 有効な値:
|
ResourceGroupId | String | リソースグループの ID です。 | なし。 |
ProxyPattern | String | プロキシモードです。 | 有効な値:
|
IsPtr | Boolean | ゾーンが逆引き参照ゾーンかどうかを示します。 | 有効な値:
|
UpdateTimestamp | Integer | 更新タイムスタンプです。 | なし。 |
CreateTime | String | 作成時刻です。 | なし。 |
ZoneName | String | ゾーン名です。 | なし。 |
例
ROSTemplateFormatVersion: '2015-09-01'
Parameters:
ResourceGroupId:
Description: ResourceGroupId # リソースグループID
Type: String
Resources:
ExtensionDataSource:
Properties:
ResourceGroupId:
Ref: ResourceGroupId
Type: DATASOURCE::PVTZ::Zones
Outputs:
ZoneIds:
Description: The list of zone IDs. # ゾーンIDのリスト
Value:
Fn::GetAtt:
- ExtensionDataSource
- ZoneIds
Zones:
Description: The list of zones. # ゾーンのリスト
Value:
Fn::GetAtt:
- ExtensionDataSource
- Zones{
"ROSTemplateFormatVersion": "2015-09-01",
"Parameters": {
"ResourceGroupId": {
"Type": "String",
"Description": "ResourceGroupId" // リソースグループID
}
},
"Resources": {
"ExtensionDataSource": {
"Type": "DATASOURCE::PVTZ::Zones",
"Properties": {
"ResourceGroupId": {
"Ref": "ResourceGroupId"
}
}
}
},
"Outputs": {
"ZoneIds": {
"Description": "The list of zone IDs.", // ゾーンIDのリスト
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"ZoneIds"
]
}
},
"Zones": {
"Description": "The list of zones.", // ゾーンのリスト
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"Zones"
]
}
}
}
}