Freigeben über


NetworkManagementClient.BeginGeneratevirtualwanvpnserverconfigurationvpnprofileWithHttpMessagesAsync Methode

Definition

Generiert ein eindeutiges VPN-Profil für P2S-Clients für VirtualWan und die zugeordnete VpnServerConfiguration-Kombination in der angegebenen Ressourcengruppe.

public System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Azure.Management.Network.Fluent.Models.VpnProfileResponseInner>> BeginGeneratevirtualwanvpnserverconfigurationvpnprofileWithHttpMessagesAsync (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 BeginGeneratevirtualwanvpnserverconfigurationvpnprofileWithHttpMessagesAsync : 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.BeginGeneratevirtualwanvpnserverconfigurationvpnprofileWithHttpMessagesAsync : 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 BeginGeneratevirtualwanvpnserverconfigurationvpnprofileWithHttpMessagesAsync (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))

Parameter

resourceGroupName
String

Der Name der Ressourcengruppe.

virtualWANName
String

Der Name des VirtualWAN, dessen zugeordnete VpnServerConfigurations erforderlich ist.

vpnClientParams
VirtualWanVpnProfileParameters

Parameter, die für den Vorgang zum Generieren eines VirtualWan-VPN-Profils bereitgestellt werden.

customHeaders
Dictionary<String,List<String>>

Header, die der Anforderung hinzugefügt werden.

cancellationToken
CancellationToken

Das Abbruchtoken.

Gibt zurück

Implementiert

Ausnahmen

Wird ausgelöst, wenn der Vorgang einen ungültigen status Code zurückgegeben hat.

Wird ausgelöst, wenn die Antwort nicht deserialisiert werden kann

Wird ausgelöst, wenn ein erforderlicher Parameter NULL ist

Wird ausgelöst, wenn ein erforderlicher Parameter NULL ist

Gilt für: