Freigeben über


ExpressRoutePortsOperationsExtensions.CreateOrUpdateAsync Methode

Definition

Erstellt oder aktualisiert die angegebene ExpressRoutePort-Ressource.

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

Parameter

operations
IExpressRoutePortsOperations

Die Vorgangsgruppe für diese Erweiterungsmethode.

resourceGroupName
String

Der Name der Ressourcengruppe.

expressRoutePortName
String

Der Name der ExpressRoutePort-Ressource.

parameters
ExpressRoutePort

Parameter, die für den ExpressRoutePort-Erstellungsvorgang bereitgestellt werden.

cancellationToken
CancellationToken

Das Abbruchtoken.

Gibt zurück

Gilt für: