Dela via


PrivateEndpointConnectionsOperationsExtensions.ListAsync Method

Definition

Gets the available PrivateEndpointConnections within a namespace. https://msdn.microsoft.com/en-us/library/azure/mt639412.aspx

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

Parameters

operations
IPrivateEndpointConnectionsOperations

The operations group for this extension method.

resourceGroupName
String

Name of the resource group within the azure subscription.

namespaceName
String

The Namespace name

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to