Share via


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

  • networkName
    Type: System.String

    Required. The name of the virtual network for this gateway.

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