IGatewayOperations.BeginSetDefaultSitesAsync Method (String, GatewaySetDefaultSiteListParameters, CancellationToken)
The Begin Set Virtual Network Gateway Shared Key operation sets the default sites on the virtual network gateway for the specified virtual network.
Assembly: Microsoft.WindowsAzure.Management.Network (in Microsoft.WindowsAzure.Management.Network.dll)
Function BeginSetDefaultSitesAsync ( networkName As String, parameters As GatewaySetDefaultSiteListParameters, cancellationToken As CancellationToken ) As Task(Of GatewayOperationResponse)
Parameters
- networkName
-
Type:
System.String
The name of the virtual network for this gateway.
- parameters
-
Type:
Microsoft.WindowsAzure.Management.Network.Models.GatewaySetDefaultSiteListParameters
Parameters supplied to the Begin Virtual Network Gateway Set Default Sites request.
- cancellationToken
-
Type:
System.Threading.CancellationToken
Cancellation token.
Return Value
Type: System.Threading.Tasks.Task(Of GatewayOperationResponse)A standard service response including an HTTP status code and request ID.
Show: