Freigeben über


IpAllocationsOperationsExtensions.CreateOrUpdateAsync Methode

Definition

Erstellt oder aktualisiert eine IpAllocation in der angegebenen Ressourcengruppe.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Network.Models.IpAllocation> CreateOrUpdateAsync(this Microsoft.Azure.Management.Network.IIpAllocationsOperations operations, string resourceGroupName, string ipAllocationName, Microsoft.Azure.Management.Network.Models.IpAllocation parameters, System.Threading.CancellationToken cancellationToken = default);
static member CreateOrUpdateAsync : Microsoft.Azure.Management.Network.IIpAllocationsOperations * string * string * Microsoft.Azure.Management.Network.Models.IpAllocation * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Network.Models.IpAllocation>
<Extension()>
Public Function CreateOrUpdateAsync (operations As IIpAllocationsOperations, resourceGroupName As String, ipAllocationName As String, parameters As IpAllocation, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IpAllocation)

Parameter

operations
IIpAllocationsOperations

Die Vorgangsgruppe für diese Erweiterungsmethode.

resourceGroupName
String

Der Name der Ressourcengruppe.

ipAllocationName
String

Der Name der IpAllocation.

parameters
IpAllocation

Parameter, die für den Vorgang zum Erstellen oder Aktualisieren des virtuellen Netzwerks bereitgestellt werden.

cancellationToken
CancellationToken

Das Abbruchtoken.

Gibt zurück

Gilt für: