PrivateZone Class

Describes a Private DNS zone.

Variables are only populated by the server, and will be ignored when sending a request.

Inheritance
azure.mgmt.privatedns.models._models_py3.TrackedResource
PrivateZone

Constructor

PrivateZone(*, tags: Dict[str, str] | None = None, location: str | None = None, etag: str | None = None, **kwargs: Any)

Keyword-Only Parameters

Name Description
tags

Resource tags.

location
str

The Azure Region where the resource lives.

etag
str

The ETag of the zone.

Variables

Name Description
id
str

Fully qualified resource Id for the resource. Example - '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateDnsZones/{privateDnsZoneName}'. # pylint: disable=line-too-long

name
str

The name of the resource.

type
str

The type of the resource. Example - 'Microsoft.Network/privateDnsZones'.

tags

Resource tags.

location
str

The Azure Region where the resource lives.

etag
str

The ETag of the zone.

max_number_of_record_sets
int

The maximum number of record sets that can be created in this Private DNS zone. This is a read-only property and any attempt to set this value will be ignored.

number_of_record_sets
int

The current number of record sets in this Private DNS zone. This is a read-only property and any attempt to set this value will be ignored.

max_number_of_virtual_network_links
int

The maximum number of virtual networks that can be linked to this Private DNS zone. This is a read-only property and any attempt to set this value will be ignored.

number_of_virtual_network_links
int

The current number of virtual networks that are linked to this Private DNS zone. This is a read-only property and any attempt to set this value will be ignored.

max_number_of_virtual_network_links_with_registration
int

The maximum number of virtual networks that can be linked to this Private DNS zone with registration enabled. This is a read-only property and any attempt to set this value will be ignored.

number_of_virtual_network_links_with_registration
int

The current number of virtual networks that are linked to this Private DNS zone with registration enabled. This is a read-only property and any attempt to set this value will be ignored.

provisioning_state

The provisioning state of the resource. This is a read-only property and any attempt to set this value will be ignored. Known values are: "Creating", "Updating", "Deleting", "Succeeded", "Failed", and "Canceled".

internal_id
str

Private zone internal Id.