GatewayOperationsExtensions.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 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.