DATASOURCE::PVTZ::Zones is used to query private zones.
Syntax
{
"Type": "DATASOURCE::PVTZ::Zones",
"Properties": {
"ResourceGroupId": String
}
}
Properties
Property | Type | Required | Editable | Description | Constraint |
---|---|---|---|---|---|
ResourceGroupId | String | No | Yes | The ID of the resource group. | None. |
Return values
Fn::GetAtt
- ZoneIds: the IDs of the private zones.
- Zones: details of the private zones.
Property | Type | Description | Constraint |
---|---|---|---|
ZoneIds | List | The IDs of the private zones. | None. |
Zones | List | Details of the private zones. | None. |
CreateTimestamp | Integer | The timestamp when the private zone was created. | None. |
UpdateTime | String | The time when the private zone was updated. | None. |
ZoneTag | String | The type of the cloud service. | Valid values:
|
RecordCount | Integer | The number of Domain Name System (DNS) records. | None. |
Tags | List | The tags of the private zone. | Sample value:
|
Remark | String | The description of the private zone. | None. |
ZoneId | String | The ID of the private zone. | None. |
ZoneType | String | The type of the private zone. | Valid values:
|
ResourceGroupId | String | The ID of the resource group. | None. |
ProxyPattern | String | The proxy mode of the private zone. | Valid values:
|
IsPtr | Boolean | Indicates whether the private zone is a reverse lookup zone. | Valid values:
|
UpdateTimestamp | Integer | The timestamp when the private zone was updated. | None. |
CreateTime | String | The time when the private zone was created. | None. |
ZoneName | String | The name of the private zone. | None. |
Examples
JSON
format{ "ROSTemplateFormatVersion": "2015-09-01", "Parameters": { "ResourceGroupId": { "Type": "String", "Description": "ResourceGroupId" } }, "Resources": { "ExtensionDataSource": { "Type": "DATASOURCE::PVTZ::Zones", "Properties": { "ResourceGroupId": { "Ref": "ResourceGroupId" } } } }, "Outputs": { "ZoneIds": { "Description": "The list of zone IDs.", "Value": { "Fn::GetAtt": [ "ExtensionDataSource", "ZoneIds" ] } }, "Zones": { "Description": "The list of zones.", "Value": { "Fn::GetAtt": [ "ExtensionDataSource", "Zones" ] } } } }