次の方法で共有


VirtualNetworkLink Class

Describes a link to virtual network for 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
VirtualNetworkLink

Constructor

VirtualNetworkLink(*, tags: Dict[str, str] | None = None, location: str | None = None, etag: str | None = None, virtual_network: _models.SubResource | None = None, registration_enabled: bool | None = None, resolution_policy: str | _models.ResolutionPolicy | 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 virtual network link.

virtual_network

The reference of the virtual network.

registration_enabled

Is auto-registration of virtual machine records in the virtual network in the Private DNS zone enabled?.

resolution_policy

The resolution policy on the virtual network link. Only applicable for virtual network links to privatelink zones, and for A,AAAA,CNAME queries. When set to 'NxDomainRedirect', Azure DNS resolver falls back to public resolution if private dns query resolution results in non-existent domain response. Known values are: "Default" and "NxDomainRedirect".

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 virtual network link.

virtual_network

The reference of the virtual network.

registration_enabled

Is auto-registration of virtual machine records in the virtual network in the Private DNS zone enabled?.

resolution_policy

The resolution policy on the virtual network link. Only applicable for virtual network links to privatelink zones, and for A,AAAA,CNAME queries. When set to 'NxDomainRedirect', Azure DNS resolver falls back to public resolution if private dns query resolution results in non-existent domain response. Known values are: "Default" and "NxDomainRedirect".

virtual_network_link_state

The status of the virtual network link to the Private DNS zone. Possible values are 'InProgress' and 'Done'. This is a read-only property and any attempt to set this value will be ignored. Known values are: "InProgress" and "Completed".

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".