Share via


ServiceFabricManagedClusterResource.StopFaultSimulation Method

Definition

Stops a fault simulation on the cluster.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/managedClusters/{clusterName}/stopFaultSimulation
  • Operation Id: ManagedClusters_StopFaultSimulation
  • Default Api Version: 2025-03-01-preview
  • Resource: ServiceFabricManagedClusterResource
public virtual Azure.ResourceManager.ArmOperation<Azure.ResourceManager.ServiceFabricManagedClusters.Models.FaultSimulation> StopFaultSimulation(Azure.WaitUntil waitUntil, Azure.ResourceManager.ServiceFabricManagedClusters.Models.FaultSimulationIdContent content, System.Threading.CancellationToken cancellationToken = default);
abstract member StopFaultSimulation : Azure.WaitUntil * Azure.ResourceManager.ServiceFabricManagedClusters.Models.FaultSimulationIdContent * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.ServiceFabricManagedClusters.Models.FaultSimulation>
override this.StopFaultSimulation : Azure.WaitUntil * Azure.ResourceManager.ServiceFabricManagedClusters.Models.FaultSimulationIdContent * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.ServiceFabricManagedClusters.Models.FaultSimulation>
Public Overridable Function StopFaultSimulation (waitUntil As WaitUntil, content As FaultSimulationIdContent, Optional cancellationToken As CancellationToken = Nothing) As ArmOperation(Of FaultSimulation)

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
FaultSimulationIdContent

parameter with fault simulation id.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

content is null.

Applies to