VirtualWanResource.GenerateVirtualWanVpnServerConfigurationVpnProfile 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.
Caution
This method is obsolete and will be removed in a future release. There is no replacement operation for GenerateVirtualWanVpnServerConfigurationVpnProfile.
Invokes the GenerateVirtualWanVpnServerConfigurationVpnProfile compatibility operation.
[System.Obsolete("This method is obsolete and will be removed in a future release. There is no replacement operation for `GenerateVirtualWanVpnServerConfigurationVpnProfile`.", false)]
public virtual Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Network.Models.VpnProfileResponse> GenerateVirtualWanVpnServerConfigurationVpnProfile(Azure.WaitUntil waitUntil, Azure.ResourceManager.Network.Models.VirtualWanVpnProfileContent content, System.Threading.CancellationToken cancellationToken);
public virtual Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Network.Models.VpnProfileResponse> GenerateVirtualWanVpnServerConfigurationVpnProfile(Azure.WaitUntil waitUntil, Azure.ResourceManager.Network.Models.VirtualWanVpnProfileContent content, System.Threading.CancellationToken cancellationToken = default);
[<System.Obsolete("This method is obsolete and will be removed in a future release. There is no replacement operation for `GenerateVirtualWanVpnServerConfigurationVpnProfile`.", false)>]
abstract member GenerateVirtualWanVpnServerConfigurationVpnProfile : Azure.WaitUntil * Azure.ResourceManager.Network.Models.VirtualWanVpnProfileContent * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Network.Models.VpnProfileResponse>
override this.GenerateVirtualWanVpnServerConfigurationVpnProfile : Azure.WaitUntil * Azure.ResourceManager.Network.Models.VirtualWanVpnProfileContent * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Network.Models.VpnProfileResponse>
abstract member GenerateVirtualWanVpnServerConfigurationVpnProfile : Azure.WaitUntil * Azure.ResourceManager.Network.Models.VirtualWanVpnProfileContent * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Network.Models.VpnProfileResponse>
override this.GenerateVirtualWanVpnServerConfigurationVpnProfile : Azure.WaitUntil * Azure.ResourceManager.Network.Models.VirtualWanVpnProfileContent * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Network.Models.VpnProfileResponse>
Public Overridable Function GenerateVirtualWanVpnServerConfigurationVpnProfile (waitUntil As WaitUntil, content As VirtualWanVpnProfileContent, cancellationToken As CancellationToken) As ArmOperation(Of VpnProfileResponse)
Public Overridable Function GenerateVirtualWanVpnServerConfigurationVpnProfile (waitUntil As WaitUntil, content As VirtualWanVpnProfileContent, Optional cancellationToken As CancellationToken = Nothing) As ArmOperation(Of VpnProfileResponse)
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
- VirtualWanVpnProfileContent
Parameters supplied to the generate VirtualWan VPN profile generation operation.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
- Attributes
Exceptions
content is null.