Partager via


ProximityPlacementGroupsOperationsExtensions.ListByResourceGroupAsync Méthode

Définition

Répertorie tous les groupes de placement de proximité dans un groupe de ressources.

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

Paramètres

operations
IProximityPlacementGroupsOperations

Groupe d’opérations pour cette méthode d’extension.

resourceGroupName
String

Nom du groupe de ressources.

cancellationToken
CancellationToken

Jeton d'annulation.

Retours

S’applique à