Partilhar via


VpnGatewaysOperationsExtensions.BeginCreateOrUpdateAsync Método

Definição

Cria um gateway de vpn de wan virtual se ele não existir, atualizando o gateway existente.

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

Parâmetros

operations
IVpnGatewaysOperations

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

resourceGroupName
String

O nome do grupo de recursos do VpnGateway.

gatewayName
String

O nome do gateway.

vpnGatewayParameters
VpnGatewayInner

Parâmetros fornecidos para criar ou atualizar um gateway de vpn de wan virtual.

cancellationToken
CancellationToken

O token de cancelamento.

Retornos

Aplica-se a