VirtualNetworkGatewayConnectionResource.VpnDeviceConfigurationScriptAsync 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 System.Threading.Tasks.Task<Azure.Response<string>> VpnDeviceConfigurationScriptAsync (Azure.ResourceManager.Network.Models.VpnDeviceScriptContent content, System.Threading.CancellationToken cancellationToken = default);
abstract member VpnDeviceConfigurationScriptAsync : Azure.ResourceManager.Network.Models.VpnDeviceScriptContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<string>>
override this.VpnDeviceConfigurationScriptAsync : Azure.ResourceManager.Network.Models.VpnDeviceScriptContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<string>>
Public Overridable Function VpnDeviceConfigurationScriptAsync (content As VpnDeviceScriptContent, Optional cancellationToken As CancellationToken = Nothing) As Task(Of 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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET