Udostępnij za pośrednictwem


GatewayOperationsExtensions.BeginFailoverAsync Method

Definition

The Begin Failover Virtual Network Gateway operation causes a network gateway failover for the specified virtual network in Azure. (see http://msdn.microsoft.com/en-us/library/windowsazure/jj154118.aspx for more information)

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

Parameters

operations
IGatewayOperations

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

networkName
String

Required. The name of the virtual network in Azure.

Returns

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

Applies to