Share via


ProximityPlacementGroupsOperationsExtensions.ListBySubscriptionAsync Method

Definition

Lists all proximity placement groups in a subscription.

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

Parameters

operations
IProximityPlacementGroupsOperations

The operations group for this extension method.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to