Compartilhar via


VirtualNetworkGatewaysOperationsExtensions.CreateOrUpdateAsync Método

Definição

Cria ou atualiza um gateway de rede virtual no grupo de recursos especificado.

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

Parâmetros

operations
IVirtualNetworkGatewaysOperations

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

resourceGroupName
String

O nome do grupo de recursos.

virtualNetworkGatewayName
String

O nome do gateway de rede virtual.

parameters
VirtualNetworkGatewayInner

Parâmetros fornecidos para criar ou atualizar a operação de gateway de rede virtual.

cancellationToken
CancellationToken

O token de cancelamento.

Retornos

Aplica-se a