Share via


GatewayOperationsExtensions.BeginFailover Method (IGatewayOperations, String)

 

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

Namespace:   Microsoft.WindowsAzure.Management.Network
Assembly:  Microsoft.WindowsAzure.Management.Network (in Microsoft.WindowsAzure.Management.Network.dll)

Syntax

public static GatewayOperationResponse BeginFailover(
    this IGatewayOperations operations,
    string networkName
)
public:
[ExtensionAttribute]
static GatewayOperationResponse^ BeginFailover(
    IGatewayOperations^ operations,
    String^ networkName
)
static member BeginFailover : 
        operations:IGatewayOperations *
        networkName:string -> GatewayOperationResponse
<ExtensionAttribute>
Public Shared Function BeginFailover (
    operations As IGatewayOperations,
    networkName As String
) As GatewayOperationResponse

Parameters

  • networkName
    Type: System.String

    Required. The name of the virtual network in Azure.

Return Value

Type: Microsoft.WindowsAzure.Management.Network.Models.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