Delen via


VirtualWanResource.DownloadVpnSitesConfigurationAsync Method

Definition

Gives the sas-url to download the configurations for vpn-sites in a resource group.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualWans/{virtualWANName}/vpnConfiguration
  • Operation Id: VpnSitesConfiguration_Download
  • Default Api Version: 2024-03-01
public virtual System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation> DownloadVpnSitesConfigurationAsync (Azure.WaitUntil waitUntil, Azure.ResourceManager.Network.Models.GetVpnSitesConfigurationContent content, System.Threading.CancellationToken cancellationToken = default);
abstract member DownloadVpnSitesConfigurationAsync : Azure.WaitUntil * Azure.ResourceManager.Network.Models.GetVpnSitesConfigurationContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation>
override this.DownloadVpnSitesConfigurationAsync : Azure.WaitUntil * Azure.ResourceManager.Network.Models.GetVpnSitesConfigurationContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation>
Public Overridable Function DownloadVpnSitesConfigurationAsync (waitUntil As WaitUntil, content As GetVpnSitesConfigurationContent, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ArmOperation)

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
GetVpnSitesConfigurationContent

Parameters supplied to download vpn-sites configuration.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

content is null.

Applies to