Sdílet prostřednictvím


VirtualNetworkGatewayResource.StopExpressRouteSiteFailoverSimulation Method

Definition

This operation stops failover simulation on the gateway for the specified peering location

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/stopSiteFailoverTest
  • Operation Id: VirtualNetworkGateways_StopExpressRouteSiteFailoverSimulation
  • Default Api Version: 2024-05-01
  • Resource: VirtualNetworkGatewayResource
public virtual Azure.ResourceManager.ArmOperation<string> StopExpressRouteSiteFailoverSimulation (Azure.WaitUntil waitUntil, Azure.ResourceManager.Network.Models.ExpressRouteFailoverStopApiContent content, System.Threading.CancellationToken cancellationToken = default);
abstract member StopExpressRouteSiteFailoverSimulation : Azure.WaitUntil * Azure.ResourceManager.Network.Models.ExpressRouteFailoverStopApiContent * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<string>
override this.StopExpressRouteSiteFailoverSimulation : Azure.WaitUntil * Azure.ResourceManager.Network.Models.ExpressRouteFailoverStopApiContent * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<string>
Public Overridable Function StopExpressRouteSiteFailoverSimulation (waitUntil As WaitUntil, content As ExpressRouteFailoverStopApiContent, Optional cancellationToken As CancellationToken = Nothing) As ArmOperation(Of String)

Parameters

waitUntil
WaitUntil

Completed if the method should wait to return until the long-running operation has completed on the service; Started if it should return after starting the operation. For more information on long-running operations, please see Azure.Core Long-Running Operation samples.

content
ExpressRouteFailoverStopApiContent

Virtual network gateway stop simulation parameters supplied to stop failover simulation on gateway.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

content is null.

Applies to