共用方式為


GatewayOperationsExtensions.BeginSetDefaultSitesAsync Method

Definition

The Begin Set Virtual Network Gateway Shared Key operation sets the default sites on the virtual network gateway for the specified virtual network.

public static System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Network.Models.GatewayOperationResponse> BeginSetDefaultSitesAsync (this Microsoft.WindowsAzure.Management.Network.IGatewayOperations operations, string networkName, Microsoft.WindowsAzure.Management.Network.Models.GatewaySetDefaultSiteListParameters parameters);
static member BeginSetDefaultSitesAsync : Microsoft.WindowsAzure.Management.Network.IGatewayOperations * string * Microsoft.WindowsAzure.Management.Network.Models.GatewaySetDefaultSiteListParameters -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Network.Models.GatewayOperationResponse>
<Extension()>
Public Function BeginSetDefaultSitesAsync (operations As IGatewayOperations, networkName As String, parameters As GatewaySetDefaultSiteListParameters) As Task(Of GatewayOperationResponse)

Parameters

operations
IGatewayOperations

Reference to the Microsoft.WindowsAzure.Management.Network.IGatewayOperations.

networkName
String

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

parameters
GatewaySetDefaultSiteListParameters

Required. Parameters supplied to the Begin Virtual Network Gateway Set Default Sites request.

Returns

A standard service response including an HTTP status code and request ID.

Applies to