VirtualNetworkGatewayResource.GenerateVpnClientPackage Method

Definition

Invokes the GenerateVpnClientPackage compatibility operation.

public virtual Azure.ResourceManager.ArmOperation<string> GenerateVpnClientPackage(Azure.WaitUntil waitUntil, Azure.ResourceManager.Network.Models.VpnClientContent content, System.Threading.CancellationToken cancellationToken);
public virtual Azure.ResourceManager.ArmOperation<string> GenerateVpnClientPackage(Azure.WaitUntil waitUntil, Azure.ResourceManager.Network.Models.VpnClientContent content, System.Threading.CancellationToken cancellationToken = default);
abstract member GenerateVpnClientPackage : Azure.WaitUntil * Azure.ResourceManager.Network.Models.VpnClientContent * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<string>
override this.GenerateVpnClientPackage : Azure.WaitUntil * Azure.ResourceManager.Network.Models.VpnClientContent * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<string>
Public Overridable Function GenerateVpnClientPackage (waitUntil As WaitUntil, content As VpnClientContent, cancellationToken As CancellationToken) As ArmOperation(Of String)
Public Overridable Function GenerateVpnClientPackage (waitUntil As WaitUntil, content As VpnClientContent, Optional cancellationToken As CancellationToken = Nothing) As ArmOperation(Of String)

Parameters

waitUntil
WaitUntil

Completed if the method should wait to return until the long-running operation has completed on the service; Started if it should return after starting the operation. For more information on long-running operations, please see Azure.Core Long-Running Operation samples.

content
VpnClientContent

Parameters supplied to the generate virtual network gateway VPN client package operation.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

content is null.

Applies to