Aracılığıyla paylaş


VirtualNetworkGatewaysOperationsExtensions.VpnDeviceConfigurationScriptAsync Method

Definition

Gets a xml format representation for vpn device configuration script.

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

Parameters

operations
IVirtualNetworkGatewaysOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group.

virtualNetworkGatewayConnectionName
String

The name of the virtual network gateway connection for which the configuration script is generated.

parameters
VpnDeviceScriptParameters

Parameters supplied to the generate vpn device script operation.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to