ServiceFabricManagedNodeTypeResource.StopFaultSimulationAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Stops a fault simulation on the node type.
- Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/managedClusters/{clusterName}/nodeTypes/{nodeTypeName}/stopFaultSimulation
- Operation Id: NodeTypes_StopFaultSimulation
- Default Api Version: 2025-03-01-preview
- Resource: ServiceFabricManagedNodeTypeResource
public virtual System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.ServiceFabricManagedClusters.Models.FaultSimulation>> StopFaultSimulationAsync(Azure.WaitUntil waitUntil, Azure.ResourceManager.ServiceFabricManagedClusters.Models.FaultSimulationIdContent content, System.Threading.CancellationToken cancellationToken = default);
abstract member StopFaultSimulationAsync : Azure.WaitUntil * Azure.ResourceManager.ServiceFabricManagedClusters.Models.FaultSimulationIdContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.ServiceFabricManagedClusters.Models.FaultSimulation>>
override this.StopFaultSimulationAsync : Azure.WaitUntil * Azure.ResourceManager.ServiceFabricManagedClusters.Models.FaultSimulationIdContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.ServiceFabricManagedClusters.Models.FaultSimulation>>
Public Overridable Function StopFaultSimulationAsync (waitUntil As WaitUntil, content As FaultSimulationIdContent, Optional cancellationToken As CancellationToken = Nothing) As Task(Of 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.