PrivateDnsZoneGroupsOperations.List(String, String, CancellationToken) Method

Definition

Gets all private dns zone groups in a private endpoint.

public virtual Azure.Pageable<Azure.ResourceManager.Network.Models.PrivateDnsZoneGroup> List (string privateEndpointName, string resourceGroupName, System.Threading.CancellationToken cancellationToken = default);
abstract member List : string * string * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Network.Models.PrivateDnsZoneGroup>
override this.List : string * string * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Network.Models.PrivateDnsZoneGroup>
Public Overridable Function List (privateEndpointName As String, resourceGroupName As String, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of PrivateDnsZoneGroup)

Parameters

privateEndpointName
System.String

The name of the private endpoint.

resourceGroupName
System.String

The name of the resource group.

cancellationToken
System.Threading.CancellationToken

The cancellation token to use.

Returns

Pageable<PrivateDnsZoneGroup>

Exceptions

System.ArgumentNullException

privateEndpointName or resourceGroupName is null.

Applies to