IGatewayOperations.BeginSetDefaultSitesAsync 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.
The Begin Set Virtual Network Gateway Shared Key operation sets the default sites on the virtual network gateway for the specified virtual network.
public System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Network.Models.GatewayOperationResponse> BeginSetDefaultSitesAsync (string networkName, Microsoft.WindowsAzure.Management.Network.Models.GatewaySetDefaultSiteListParameters parameters, System.Threading.CancellationToken cancellationToken);
abstract member BeginSetDefaultSitesAsync : string * Microsoft.WindowsAzure.Management.Network.Models.GatewaySetDefaultSiteListParameters * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Network.Models.GatewayOperationResponse>
Public Function BeginSetDefaultSitesAsync (networkName As String, parameters As GatewaySetDefaultSiteListParameters, cancellationToken As CancellationToken) As Task(Of GatewayOperationResponse)
Parameters
- networkName
- String
The name of the virtual network for this gateway.
- parameters
- GatewaySetDefaultSiteListParameters
Parameters supplied to the Begin Virtual Network Gateway Set Default Sites request.
- cancellationToken
- CancellationToken
Cancellation token.
Returns
A standard service response including an HTTP status code and request ID.