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

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
VirtualNetworkGatewayConnection

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