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.
Namespace: Microsoft.WindowsAzure.Management.Network
Assembly: Microsoft.WindowsAzure.Management.Network (in Microsoft.WindowsAzure.Management.Network.dll)
Syntax
Task<GatewayOperationResponse> BeginSetDefaultSitesAsync(
string networkName,
GatewaySetDefaultSiteListParameters parameters,
CancellationToken cancellationToken
)
Task<GatewayOperationResponse^>^ BeginSetDefaultSitesAsync(
String^ networkName,
GatewaySetDefaultSiteListParameters^ parameters,
CancellationToken cancellationToken
)
abstract BeginSetDefaultSitesAsync :
networkName:string *
parameters:GatewaySetDefaultSiteListParameters *
cancellationToken:CancellationToken -> Task<GatewayOperationResponse>
Function BeginSetDefaultSitesAsync (
networkName As String,
parameters As GatewaySetDefaultSiteListParameters,
cancellationToken As CancellationToken
) As Task(Of GatewayOperationResponse)
Parameters
networkName
Type: System.StringThe name of the virtual network for this gateway.
parameters
Type: Microsoft.WindowsAzure.Management.Network.Models.GatewaySetDefaultSiteListParametersParameters supplied to the Begin Virtual Network Gateway Set Default Sites request.
cancellationToken
Type: System.Threading.CancellationTokenCancellation token.
Return Value
Type: System.Threading.Tasks.Task<GatewayOperationResponse>
A standard service response including an HTTP status code and request ID.
See Also
IGatewayOperations Interface
Microsoft.WindowsAzure.Management.Network Namespace
Return to top