Freigeben über


ExpressRouteConnectionsOperationsExtensions.CreateOrUpdateAsync Methode

Definition

Erstellt eine Verbindung zwischen einem ExpressRoute-Gateway und einer ExpressRoute-Verbindung.

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

Parameter

operations
IExpressRouteConnectionsOperations

Die Vorgangsgruppe für diese Erweiterungsmethode.

resourceGroupName
String

Der Name der Ressourcengruppe.

expressRouteGatewayName
String

Der Name des ExpressRoute-Gateways.

connectionName
String

Der Name der Verbindungsunterquelle.

putExpressRouteConnectionParameters
ExpressRouteConnection

Parameter, die in einem ExpressRouteConnection PUT-Vorgang erforderlich sind.

cancellationToken
CancellationToken

Das Abbruchtoken.

Gibt zurück

Gilt für: