Compartilhar via


LocalNetworkGatewaysOperationsExtensions.CreateOrUpdateAsync Método

Definição

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

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

Parâmetros

operations
ILocalNetworkGatewaysOperations

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

resourceGroupName
String

O nome do grupo de recursos.

localNetworkGatewayName
String

O nome do gateway de rede local.

parameters
LocalNetworkGatewayInner

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

cancellationToken
CancellationToken

O token de cancelamento.

Retornos

Aplica-se a