PrivateZonesOperationsExtensions.GetAsync Method

Definition

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

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.PrivateDns.Models.PrivateZone> GetAsync (this Microsoft.Azure.Management.PrivateDns.IPrivateZonesOperations operations, string resourceGroupName, string privateZoneName, System.Threading.CancellationToken cancellationToken = default);
static member GetAsync : Microsoft.Azure.Management.PrivateDns.IPrivateZonesOperations * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.PrivateDns.Models.PrivateZone>
<Extension()>
Public Function GetAsync (operations As IPrivateZonesOperations, resourceGroupName As String, privateZoneName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of PrivateZone)

Parameters

operations
IPrivateZonesOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group.

privateZoneName
String

The name of the Private DNS zone (without a terminating dot).

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to