Share via


PrivateEndpointsOperationsExtensions.ListBySubscriptionAsync Method

Definition

Gets all private endpoints in a subscription.

public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Network.Fluent.Models.PrivateEndpointInner>> ListBySubscriptionAsync (this Microsoft.Azure.Management.Network.Fluent.IPrivateEndpointsOperations operations, System.Threading.CancellationToken cancellationToken = default);
static member ListBySubscriptionAsync : Microsoft.Azure.Management.Network.Fluent.IPrivateEndpointsOperations * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Network.Fluent.Models.PrivateEndpointInner>>
<Extension()>
Public Function ListBySubscriptionAsync (operations As IPrivateEndpointsOperations, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IPage(Of PrivateEndpointInner))

Parameters

operations
IPrivateEndpointsOperations

The operations group for this extension method.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to