LocalNetworkGatewaysOperationsExtensions.CreateOrUpdateAsync Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
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 à
Azure SDK for .NET
Commentaires
https://aka.ms/ContentUserFeedback.
Bientôt disponible : Tout au long de 2024, nous allons supprimer progressivement GitHub Issues comme mécanisme de commentaires pour le contenu et le remplacer par un nouveau système de commentaires. Pour plus d’informations, consultezEnvoyer et afficher des commentaires pour