ProximityPlacementGroupsOperationsExtensions.ListBySubscriptionAsync(IProximityPlacementGroupsOperations, CancellationToken) ProximityPlacementGroupsOperationsExtensions.ListBySubscriptionAsync(IProximityPlacementGroupsOperations, CancellationToken) Method

Definition

Lists all proximity placement groups in a subscription.

public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Compute.Models.ProximityPlacementGroup>> ListBySubscriptionAsync (this Microsoft.Azure.Management.Compute.IProximityPlacementGroupsOperations operations, System.Threading.CancellationToken cancellationToken = null);
static member ListBySubscriptionAsync : Microsoft.Azure.Management.Compute.IProximityPlacementGroupsOperations * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Compute.Models.ProximityPlacementGroup>>

Parameters

operations
IProximityPlacementGroupsOperations IProximityPlacementGroupsOperations

The operations group for this extension method.

cancellationToken
CancellationToken CancellationToken

The cancellation token.

Returns

Task<Microsoft.Rest.Azure.IPage<ProximityPlacementGroup>>

Applies to