Partilhar via


ExpressRouteGatewaysOperationsExtensions.CreateOrUpdateAsync Método

Definição

Cria ou atualiza um gateway do ExpressRoute em um grupo de recursos especificado.

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

Parâmetros

operations
IExpressRouteGatewaysOperations

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.

putExpressRouteGatewayParameters
ExpressRouteGatewayInner

Parâmetros necessários em uma operação PUT de gateway do ExpressRoute.

cancellationToken
CancellationToken

O token de cancelamento.

Retornos

Aplica-se a