Skip to main content

chaos

Creates, updates, deletes, gets or lists a chaos resource.

Overview

Namechaos
TypeResource
Idazure.service_fabric_dataplane.chaos

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
ChaosParametersobjectDefines all the parameters to configure a Chaos run.
ScheduleStatusstring
Statusstring

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_chaosselectendpointtimeoutGet the status of Chaos. Get the status of Chaos indicating whether or not Chaos is running, the Chaos parameters used for running Chaos and the status of the Chaos Schedule.

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.

NameDatatypeDescription
endpointstringThe service endpoint host (no scheme). (default: )
timeoutinteger (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.

SELECT examples

Get the status of Chaos. Get the status of Chaos indicating whether or not Chaos is running, the Chaos parameters used for running Chaos and the status of the Chaos Schedule.

SELECT
ChaosParameters,
ScheduleStatus,
Status
FROM azure.service_fabric_dataplane.chaos
WHERE endpoint = '{{ endpoint }}' -- required
AND timeout = '{{ timeout }}'
;