Dela via


PrivateEndpointConnectionOperationsExtensions.ListByServiceAsync Method

Definition

Lists all private endpoint connections of the API Management service instance.

public static System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable<Microsoft.Azure.Management.ApiManagement.Models.PrivateEndpointConnection>> ListByServiceAsync (this Microsoft.Azure.Management.ApiManagement.IPrivateEndpointConnectionOperations operations, string resourceGroupName, string serviceName, System.Threading.CancellationToken cancellationToken = default);
static member ListByServiceAsync : Microsoft.Azure.Management.ApiManagement.IPrivateEndpointConnectionOperations * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<seq<Microsoft.Azure.Management.ApiManagement.Models.PrivateEndpointConnection>>
<Extension()>
Public Function ListByServiceAsync (operations As IPrivateEndpointConnectionOperations, resourceGroupName As String, serviceName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IEnumerable(Of PrivateEndpointConnection))

Parameters

operations
IPrivateEndpointConnectionOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group.

serviceName
String

The name of the API Management service.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to