Udostępnij za pośrednictwem


VirtualNetworkGatewayConnectionResource.VpnDeviceConfigurationScript Method

Definition

Gets a xml format representation for vpn device configuration script.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/connections/{virtualNetworkGatewayConnectionName}/vpndeviceconfigurationscript
  • Operation Id: VirtualNetworkGateways_VpnDeviceConfigurationScript
  • Default Api Version: 2024-03-01
  • Resource: VirtualNetworkGatewayResource
public virtual Azure.Response<string> VpnDeviceConfigurationScript (Azure.ResourceManager.Network.Models.VpnDeviceScriptContent content, System.Threading.CancellationToken cancellationToken = default);
abstract member VpnDeviceConfigurationScript : Azure.ResourceManager.Network.Models.VpnDeviceScriptContent * System.Threading.CancellationToken -> Azure.Response<string>
override this.VpnDeviceConfigurationScript : Azure.ResourceManager.Network.Models.VpnDeviceScriptContent * System.Threading.CancellationToken -> Azure.Response<string>
Public Overridable Function VpnDeviceConfigurationScript (content As VpnDeviceScriptContent, Optional cancellationToken As CancellationToken = Nothing) As Response(Of String)

Parameters

content
VpnDeviceScriptContent

Parameters supplied to the generate vpn device script operation.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

content is null.

Applies to