Freigeben über


ProximityPlacementGroupsOperationsExtensions.GetAsync Methode

Definition

Ruft Informationen zu einer Näherungsplatzierungsgruppe ab.

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

Parameter

operations
IProximityPlacementGroupsOperations

Die Vorgangsgruppe für diese Erweiterungsmethode.

resourceGroupName
String

Der Name der Ressourcengruppe.

proximityPlacementGroupName
String

Der Name der Näherungsplatzierungsgruppe.

includeColocationStatus
String

includeColocationStatus=true ermöglicht das Abrufen des Colocation-status aller Ressourcen in der Näherungsplatzierungsgruppe.

cancellationToken
CancellationToken

Das Abbruchtoken.

Gibt zurück

Gilt für: