Partager via


LocalNetworkGatewaysOperationsExtensions.CreateOrUpdateAsync Méthode

Définition

Crée ou met à jour une passerelle de réseau local dans le groupe de ressources spécifié.

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

Paramètres

operations
ILocalNetworkGatewaysOperations

Groupe d’opérations pour cette méthode d’extension.

resourceGroupName
String

Nom du groupe de ressources.

localNetworkGatewayName
String

Nom de la passerelle de réseau local.

parameters
LocalNetworkGateway

Paramètres fournis à l’opération de création ou de mise à jour de la passerelle de réseau local.

cancellationToken
CancellationToken

Jeton d'annulation.

Retours

S’applique à