GatewayOperationsExtensions.BeginSetDefaultSitesAsync Method (IGatewayOperations, String, GatewaySetDefaultSiteListParameters)
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
public static Task<GatewayOperationResponse> BeginSetDefaultSitesAsync(
this IGatewayOperations operations,
string networkName,
GatewaySetDefaultSiteListParameters parameters
)
public:
[ExtensionAttribute]
static Task<GatewayOperationResponse^>^ BeginSetDefaultSitesAsync(
IGatewayOperations^ operations,
String^ networkName,
GatewaySetDefaultSiteListParameters^ parameters
)
static member BeginSetDefaultSitesAsync :
operations:IGatewayOperations *
networkName:string *
parameters:GatewaySetDefaultSiteListParameters -> Task<GatewayOperationResponse>
<ExtensionAttribute>
Public Shared Function BeginSetDefaultSitesAsync (
operations As IGatewayOperations,
networkName As String,
parameters As GatewaySetDefaultSiteListParameters
) As Task(Of GatewayOperationResponse)
Parameters
operations
Type: Microsoft.WindowsAzure.Management.Network.IGatewayOperationsReference to the Microsoft.WindowsAzure.Management.Network.IGatewayOperations.
networkName
Type: System.StringRequired. The name of the virtual network for this gateway.
parameters
Type: Microsoft.WindowsAzure.Management.Network.Models.GatewaySetDefaultSiteListParametersRequired. Parameters supplied to the Begin Virtual Network Gateway Set Default Sites request.
Return Value
Type: System.Threading.Tasks.Task<GatewayOperationResponse>
A standard service response including an HTTP status code and request ID.
See Also
GatewayOperationsExtensions Class
Microsoft.WindowsAzure.Management.Network Namespace
Return to top