start_chaos
Creates, updates, deletes, gets or lists a start_chaos resource.
Overview
| Name | start_chaos |
| Type | Resource |
| Id | azure.service_fabric_dataplane.start_chaos |
Fields
The following fields are returned by SELECT queries:
SELECT not supported for this resource, use SHOW METHODS to view available operations for the resource.
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
start_chaos | exec | endpoint | timeout | Starts Chaos in the cluster. If Chaos is not already running in the cluster, it starts Chaos with the passed in Chaos parameters. If Chaos is already running when this call is made, the call fails with the error code FABRIC_E_CHAOS_ALREADY_RUNNING. Refer to the article Induce controlled Chaos in Service Fabric clusters for more details. |
Parameters
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|---|---|
endpoint | string | The service endpoint host (no scheme). (default: ) |
timeout | integer (int64) | The server timeout for performing the operation in seconds. This timeout specifies the time duration that the client is willing to wait for the requested operation to complete. The default value for this parameter is 60 seconds. |
Lifecycle Methods
- start_chaos
Starts Chaos in the cluster. If Chaos is not already running in the cluster, it starts Chaos with the passed in Chaos parameters. If Chaos is already running when this call is made, the call fails with the error code FABRIC_E_CHAOS_ALREADY_RUNNING. Refer to the article Induce controlled Chaos in Service Fabric clusters for more details.
EXEC azure.service_fabric_dataplane.start_chaos.start_chaos
@endpoint='{{ endpoint }}' --required,
@timeout='{{ timeout }}'
@@json=
'{
"TimeToRunInSeconds": "{{ TimeToRunInSeconds }}",
"MaxClusterStabilizationTimeoutInSeconds": {{ MaxClusterStabilizationTimeoutInSeconds }},
"MaxConcurrentFaults": {{ MaxConcurrentFaults }},
"EnableMoveReplicaFaults": {{ EnableMoveReplicaFaults }},
"WaitTimeBetweenFaultsInSeconds": {{ WaitTimeBetweenFaultsInSeconds }},
"WaitTimeBetweenIterationsInSeconds": {{ WaitTimeBetweenIterationsInSeconds }},
"ClusterHealthPolicy": "{{ ClusterHealthPolicy }}",
"Context": "{{ Context }}",
"ChaosTargetFilter": "{{ ChaosTargetFilter }}"
}'
;