ProximityPlacementGroupsOperationsExtensions.ListByResourceGroupAsync(IProximityPlacementGroupsOperations, String, CancellationToken) ProximityPlacementGroupsOperationsExtensions.ListByResourceGroupAsync(IProximityPlacementGroupsOperations, String, CancellationToken) Method

Definition

Lists all proximity placement groups in a resource group.

public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Compute.Models.ProximityPlacementGroup>> ListByResourceGroupAsync (this Microsoft.Azure.Management.Compute.IProximityPlacementGroupsOperations operations, string resourceGroupName, System.Threading.CancellationToken cancellationToken = null);
static member ListByResourceGroupAsync : Microsoft.Azure.Management.Compute.IProximityPlacementGroupsOperations * string * 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.

resourceGroupName
String String

The name of the resource group.

cancellationToken
CancellationToken CancellationToken

The cancellation token.

Returns

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

Applies to