ServiceFabricManagedNodeTypeResource.StartFaultSimulation 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.
Starts a fault simulation on the node type.
- Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/managedClusters/{clusterName}/nodeTypes/{nodeTypeName}/startFaultSimulation
- Operation Id: NodeTypes_StartFaultSimulation
- Default Api Version: 2025-03-01-preview
- Resource: ServiceFabricManagedNodeTypeResource
public virtual Azure.ResourceManager.ArmOperation<Azure.ResourceManager.ServiceFabricManagedClusters.Models.FaultSimulation> StartFaultSimulation(Azure.WaitUntil waitUntil, Azure.ResourceManager.ServiceFabricManagedClusters.Models.FaultSimulationContentWrapper faultSimulationContentWrapper, System.Threading.CancellationToken cancellationToken = default);
abstract member StartFaultSimulation : Azure.WaitUntil * Azure.ResourceManager.ServiceFabricManagedClusters.Models.FaultSimulationContentWrapper * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.ServiceFabricManagedClusters.Models.FaultSimulation>
override this.StartFaultSimulation : Azure.WaitUntil * Azure.ResourceManager.ServiceFabricManagedClusters.Models.FaultSimulationContentWrapper * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.ServiceFabricManagedClusters.Models.FaultSimulation>
Public Overridable Function StartFaultSimulation (waitUntil As WaitUntil, faultSimulationContentWrapper As FaultSimulationContentWrapper, 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.
- faultSimulationContentWrapper
- FaultSimulationContentWrapper
parameters describing the fault simulation.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
Exceptions
faultSimulationContentWrapper
is null.