Share via


IPrivateLinkServices.ListPrivateEndpointConnectionsAsync Method

Definition

Lists all private endpoint connections in the resource group asynchronously.

public System.Threading.Tasks.Task<Microsoft.Azure.Management.ResourceManager.Fluent.Core.IPagedCollection<Microsoft.Azure.Management.Network.Fluent.IPrivateEndpointConnection>> ListPrivateEndpointConnectionsAsync (string resourceGroupName, string privateLinkServiceName, bool loadAllPages = true, System.Threading.CancellationToken cancellationToken = default);
abstract member ListPrivateEndpointConnectionsAsync : string * string * bool * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.ResourceManager.Fluent.Core.IPagedCollection<Microsoft.Azure.Management.Network.Fluent.IPrivateEndpointConnection>>
Public Function ListPrivateEndpointConnectionsAsync (resourceGroupName As String, privateLinkServiceName As String, Optional loadAllPages As Boolean = true, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IPagedCollection(Of IPrivateEndpointConnection))

Parameters

resourceGroupName
String

The value of resource group name.

privateLinkServiceName
String

The value of private link service.

loadAllPages
Boolean
cancellationToken
CancellationToken

Returns

Applies to