Delen via


PrivateDnsZoneResource.Get(CancellationToken) Method

Definition

Gets a Private DNS zone. Retrieves the zone properties, but not the virtual networks links or the record sets within the zone.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateDnsZones/{privateZoneName}
  • Operation Id: PrivateDnsZones_Get
public virtual Azure.Response<Azure.ResourceManager.PrivateDns.PrivateDnsZoneResource> Get (System.Threading.CancellationToken cancellationToken = default);
abstract member Get : System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.PrivateDns.PrivateDnsZoneResource>
override this.Get : System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.PrivateDns.PrivateDnsZoneResource>
Public Overridable Function Get (Optional cancellationToken As CancellationToken = Nothing) As Response(Of PrivateDnsZoneResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to