Partilhar via


ExpressRouteConnectionsOperationsExtensions.BeginCreateOrUpdateAsync Método

Definição

Cria uma conexão entre um gateway do ExpressRoute e um circuito do ExpressRoute.

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

Parâmetros

operations
IExpressRouteConnectionsOperations

O grupo de operações para esse método de extensão.

resourceGroupName
String

O nome do grupo de recursos.

expressRouteGatewayName
String

O nome do gateway do ExpressRoute.

connectionName
String

O nome do sub-recurso de conexão.

putExpressRouteConnectionParameters
ExpressRouteConnectionInner

Parâmetros necessários em uma operação PUT do ExpressRouteConnection.

cancellationToken
CancellationToken

O token de cancelamento.

Retornos

Aplica-se a