Compartilhar via


VirtualNetworkGatewayConnectionsOperationsExtensions.CreateOrUpdateAsync Método

Definição

Cria ou atualiza uma conexão de gateway de rede virtual no grupo de recursos especificado.

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

Parâmetros

operations
IVirtualNetworkGatewayConnectionsOperations

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

resourceGroupName
String

O nome do grupo de recursos.

virtualNetworkGatewayConnectionName
String

O nome da conexão de gateway de rede virtual.

parameters
VirtualNetworkGatewayConnectionInner

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

cancellationToken
CancellationToken

O token de cancelamento.

Retornos

Aplica-se a