Skip to main content

zones

Overview

Namezones
TypeResource
Idazure.dns.zones

Fields

NameDatatypeDescription
idstringFully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
namestringThe name of the resource
etagstringThe etag of the zone.
propertiesobjectRepresents the properties of the zone.
systemDataobjectMetadata pertaining to creation and last modification of the resource.
typestringThe type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

Methods

NameAccessible byRequired ParamsDescription
getSELECTresourceGroupName, subscriptionId, zoneNameGets a DNS zone. Retrieves the zone properties, but not the record sets within the zone.
listSELECTsubscriptionIdLists the DNS zones in all resource groups in a subscription.
list_by_resource_groupSELECTresourceGroupName, subscriptionIdLists the DNS zones within a resource group.
create_or_updateINSERTresourceGroupName, subscriptionId, zoneNameCreates or updates a DNS zone. Does not modify DNS records within the zone.
deleteDELETEresourceGroupName, subscriptionId, zoneNameDeletes a DNS zone. WARNING: All DNS records in the zone will also be deleted. This operation cannot be undone.
_listEXECsubscriptionIdLists the DNS zones in all resource groups in a subscription.
_list_by_resource_groupEXECresourceGroupName, subscriptionIdLists the DNS zones within a resource group.
updateEXECresourceGroupName, subscriptionId, zoneNameUpdates a DNS zone. Does not modify DNS records within the zone.