Partager via


NetworkManagementClient.GeneratevirtualwanvpnserverconfigurationvpnprofileWithHttpMessagesAsync Méthode

Définition

Génère un profil VPN unique pour les clients P2S pour VirtualWan et la combinaison VpnServerConfiguration associée dans le groupe de ressources spécifié.

public System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Azure.Management.Network.Fluent.Models.VpnProfileResponseInner>> GeneratevirtualwanvpnserverconfigurationvpnprofileWithHttpMessagesAsync (string resourceGroupName, string virtualWANName, Microsoft.Azure.Management.Network.Fluent.Models.VirtualWanVpnProfileParameters vpnClientParams, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GeneratevirtualwanvpnserverconfigurationvpnprofileWithHttpMessagesAsync : string * string * Microsoft.Azure.Management.Network.Fluent.Models.VirtualWanVpnProfileParameters * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Azure.Management.Network.Fluent.Models.VpnProfileResponseInner>>
override this.GeneratevirtualwanvpnserverconfigurationvpnprofileWithHttpMessagesAsync : string * string * Microsoft.Azure.Management.Network.Fluent.Models.VirtualWanVpnProfileParameters * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Azure.Management.Network.Fluent.Models.VpnProfileResponseInner>>
Public Function GeneratevirtualwanvpnserverconfigurationvpnprofileWithHttpMessagesAsync (resourceGroupName As String, virtualWANName As String, vpnClientParams As VirtualWanVpnProfileParameters, Optional customHeaders As Dictionary(Of String, List(Of String)) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of AzureOperationResponse(Of VpnProfileResponseInner))

Paramètres

resourceGroupName
String

Nom du groupe de ressources.

virtualWANName
String

Nom du VirtualWAN dont les VpnServerConfigurations associées sont nécessaires.

vpnClientParams
VirtualWanVpnProfileParameters

Paramètres fournis à l’opération de génération de profil VPN VirtualWan.

customHeaders
Dictionary<String,List<String>>

En-têtes qui seront ajoutés à la demande.

cancellationToken
CancellationToken

Jeton d'annulation.

Retours

Implémente

S’applique à