Share via


VpnSitesConfigurationOperationsExtensions.DownloadAsync Method

Definition

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

public static System.Threading.Tasks.Task DownloadAsync (this Microsoft.Azure.Management.Network.IVpnSitesConfigurationOperations operations, string resourceGroupName, string virtualWANName, Microsoft.Azure.Management.Network.Models.GetVpnSitesConfigurationRequest request, System.Threading.CancellationToken cancellationToken = default);
static member DownloadAsync : Microsoft.Azure.Management.Network.IVpnSitesConfigurationOperations * string * string * Microsoft.Azure.Management.Network.Models.GetVpnSitesConfigurationRequest * System.Threading.CancellationToken -> System.Threading.Tasks.Task
<Extension()>
Public Function DownloadAsync (operations As IVpnSitesConfigurationOperations, resourceGroupName As String, virtualWANName As String, request As GetVpnSitesConfigurationRequest, Optional cancellationToken As CancellationToken = Nothing) As Task

Parameters

operations
IVpnSitesConfigurationOperations

The operations group for this extension method.

resourceGroupName
String

The resource group name.

virtualWANName
String

The name of the VirtualWAN for which configuration of all vpn-sites is needed.

request
GetVpnSitesConfigurationRequest

Parameters supplied to download vpn-sites configuration.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to