共用方式為


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.Models.ProximityPlacementGroup>> ListBySubscriptionAsync (this Microsoft.Azure.Management.Compute.IProximityPlacementGroupsOperations operations, System.Threading.CancellationToken cancellationToken = default);
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>>
<Extension()>
Public Function ListBySubscriptionAsync (operations As IProximityPlacementGroupsOperations, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IPage(Of ProximityPlacementGroup))

Parameters

operations
IProximityPlacementGroupsOperations

The operations group for this extension method.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to