Skip to main content

private_zones

Overview

Nameprivate_zones
TypeResource
Idazure.private_dns.private_zones

Fields

NameDatatypeDescription
etagstringThe ETag of the zone.
locationstringThe Azure Region where the resource lives
propertiesobjectRepresents the properties of the Private DNS zone.
tagsobjectResource tags.

Methods

NameAccessible byRequired ParamsDescription
getSELECTprivateZoneName, resourceGroupName, subscriptionIdGets a Private DNS zone. Retrieves the zone properties, but not the virtual networks links or the record sets within the zone.
listSELECTsubscriptionIdLists the Private DNS zones in all resource groups in a subscription.
list_by_resource_groupSELECTresourceGroupName, subscriptionIdLists the Private DNS zones within a resource group.
create_or_updateINSERTprivateZoneName, resourceGroupName, subscriptionIdCreates or updates a Private DNS zone. Does not modify Links to virtual networks or DNS records within the zone.
deleteDELETEprivateZoneName, resourceGroupName, subscriptionIdDeletes a Private DNS zone. WARNING: All DNS records in the zone will also be deleted. This operation cannot be undone. Private DNS zone cannot be deleted unless all virtual network links to it are removed.
_listEXECsubscriptionIdLists the Private DNS zones in all resource groups in a subscription.
_list_by_resource_groupEXECresourceGroupName, subscriptionIdLists the Private DNS zones within a resource group.
updateEXECprivateZoneName, resourceGroupName, subscriptionIdUpdates a Private DNS zone. Does not modify virtual network links or DNS records within the zone.