Freigeben über


ProximityPlacementGroupsOperationsExtensions.CreateOrUpdateAsync Methode

Definition

Erstellen oder Aktualisieren einer Näherungsplatzierungsgruppe.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Compute.Models.ProximityPlacementGroup> CreateOrUpdateAsync (this Microsoft.Azure.Management.Compute.IProximityPlacementGroupsOperations operations, string resourceGroupName, string proximityPlacementGroupName, Microsoft.Azure.Management.Compute.Models.ProximityPlacementGroup parameters, System.Threading.CancellationToken cancellationToken = default);
static member CreateOrUpdateAsync : Microsoft.Azure.Management.Compute.IProximityPlacementGroupsOperations * string * string * Microsoft.Azure.Management.Compute.Models.ProximityPlacementGroup * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Compute.Models.ProximityPlacementGroup>
<Extension()>
Public Function CreateOrUpdateAsync (operations As IProximityPlacementGroupsOperations, resourceGroupName As String, proximityPlacementGroupName As String, parameters As ProximityPlacementGroup, 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.

parameters
ProximityPlacementGroup

Parameter, die für den Vorgang Näherungsplatzierungsgruppe erstellen bereitgestellt werden.

cancellationToken
CancellationToken

Das Abbruchtoken.

Gibt zurück

Gilt für: