Share via


Virtual Network Gateways - Get Failover Single Test Details

This operation retrieves the details of a particular failover test performed on the gateway based on the test Guid

POST https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/getFailoverSingleTestDetails?peeringLocation={peeringLocation}&failoverTestId={failoverTestId}&api-version=2024-05-01

URI Parameters

Name In Required Type Description
resourceGroupName
path True

string

The name of the resource group.

subscriptionId
path True

string

The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.

virtualNetworkGatewayName
path True

string

The name of the virtual network gateway.

api-version
query True

string

Client API version.

failoverTestId
query True

string

The unique Guid value which identifies the test

peeringLocation
query True

string

Peering location of the test

Responses

Name Type Description
200 OK

ExpressRouteFailoverSingleTestDetails[]

Details of the failover test

202 Accepted

Accepted and the operation will complete asynchronously.

Headers

location: string

Other Status Codes

CloudError

Error response describing why the operation failed.

Security

azure_auth

Azure Active Directory OAuth2 Flow.

Type: oauth2
Flow: implicit
Authorization URL: https://login.microsoftonline.com/common/oauth2/authorize

Scopes

Name Description
user_impersonation impersonate your user account

Examples

VirtualNetworkGatewayGetFailoverSingleTestDetails

Sample request

POST https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/ergw/getFailoverSingleTestDetails?peeringLocation=Vancouver&failoverTestId=fe458ae8-d2ae-4520-a104-44bc233bde7e&api-version=2024-05-01

Sample response

Azure-AsyncOperation: https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/locations/eastus/operations/00000000-0000-0000-0000-000000000000?api-version=2024-05-01
[]

Definitions

Name Description
CloudError

An error response from the service.

CloudErrorBody

An error response from the service.

ExpressRouteFailoverRedundantRoute
ExpressRouteFailoverSingleTestDetails

ExpressRoute failover single test details

FailoverConnectionDetails
FailoverTestStatusForSingleTest

The current status of the test

CloudError

An error response from the service.

Name Type Description
error

CloudErrorBody

Cloud error body.

CloudErrorBody

An error response from the service.

Name Type Description
code

string

An identifier for the error. Codes are invariant and are intended to be consumed programmatically.

details

CloudErrorBody[]

A list of additional details about the error.

message

string

A message describing the error, intended to be suitable for display in a user interface.

target

string

The target of the particular error. For example, the name of the property in error.

ExpressRouteFailoverRedundantRoute

Name Type Description
peeringLocations

string[]

A list of all the peering locations for the redundant routes

routes

string[]

A list of all the redundant routes in the peering locations

ExpressRouteFailoverSingleTestDetails

ExpressRoute failover single test details

Name Type Description
endTimeUtc

string

Time when the test was completed

failoverConnectionDetails

FailoverConnectionDetails[]

List of all the failover connections for this peering location

nonRedundantRoutes

string[]

List of al the routes that were received only from this peering location

peeringLocation

string

Peering location of the test

redundantRoutes

ExpressRouteFailoverRedundantRoute[]

List of routes received from this peering as well as some other peering location

startTimeUtc

string

Time when the test was started

status

FailoverTestStatusForSingleTest

The current status of the test

wasSimulationSuccessful

boolean

Whether the failover simulation was successful or not

FailoverConnectionDetails

Name Type Description
failoverConnectionName

string

Name of the failover connection

failoverLocation

string

Location of the failover connection

isVerified

boolean

Whether the customer was able to establish connectivity through this failover connection or not

FailoverTestStatusForSingleTest

The current status of the test

Value Description
NotStarted
Starting
Running
StartFailed
Stopping
Completed
StopFailed
Invalid
Expired