VirtualNetworkGatewayConnectionResource.VpnDeviceConfigurationScript Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.