Freigeben über


ExpressRouteGatewaysOperationsExtensions.CreateOrUpdateAsync Methode

Definition

Erstellt oder aktualisiert ein ExpressRoute-Gateway in einer angegebenen Ressourcengruppe.

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

Parameter

operations
IExpressRouteGatewaysOperations

Die Vorgangsgruppe für diese Erweiterungsmethode.

resourceGroupName
String

Der Name der Ressourcengruppe.

expressRouteGatewayName
String

Der Name des ExpressRoute-Gateways.

putExpressRouteGatewayParameters
ExpressRouteGateway

Erforderliche Parameter für einen PUT-Vorgang des ExpressRoute-Gateways.

cancellationToken
CancellationToken

Das Abbruchtoken.

Gibt zurück

Gilt für: