PrivateZonesOperationsExtensions.GetAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.