Share via


PrivateDnsZoneGroupsOperationsExtensions.ListAsync Method

Definition

Gets all private dns zone groups in a private endpoint.

public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Network.Models.PrivateDnsZoneGroup>> ListAsync (this Microsoft.Azure.Management.Network.IPrivateDnsZoneGroupsOperations operations, string privateEndpointName, string resourceGroupName, System.Threading.CancellationToken cancellationToken = default);
static member ListAsync : Microsoft.Azure.Management.Network.IPrivateDnsZoneGroupsOperations * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Network.Models.PrivateDnsZoneGroup>>
<Extension()>
Public Function ListAsync (operations As IPrivateDnsZoneGroupsOperations, privateEndpointName As String, resourceGroupName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IPage(Of PrivateDnsZoneGroup))

Parameters

operations
IPrivateDnsZoneGroupsOperations

The operations group for this extension method.

privateEndpointName
String

The name of the private endpoint.

resourceGroupName
String

The name of the resource group.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to