Skip to main content

chaos_events

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

Overview

Namechaos_events
TypeResource
Idazure.service_fabric_dataplane.chaos_events

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
ContinuationTokenstring
Historyarray

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_chaos_eventsselectendpointContinuationToken, StartTimeUtc, EndTimeUtc, MaxResults, timeoutGets the next segment of the Chaos events based on the continuation token or the time range. To get the next segment of the Chaos events, you can specify the ContinuationToken. To get the start of a new segment of Chaos events, you can specify the time range through StartTimeUtc and EndTimeUtc. You cannot specify both the ContinuationToken and the time range in the same call. When there are more than 100 Chaos events, the Chaos events are returned in multiple segments where a segment contains no more than 100 Chaos events and to get the next segment you make a call to this API with the continuation token.

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: )
ContinuationTokenstringThe continuation token parameter is used to obtain next set of results. A continuation token with a non-empty value is included in the response of the API when the results from the system do not fit in a single response. When this value is passed to the next API call, the API returns next set of results. If there are no further results, then the continuation token does not contain a value. The value of this parameter should not be URL encoded.
EndTimeUtcstringThe Windows file time representing the end time of the time range for which a Chaos report is to be generated. Consult DateTime.ToFileTimeUtc Method for details.
MaxResultsinteger (int64)The maximum number of results to be returned as part of the paged queries. This parameter defines the upper bound on the number of results returned. The results returned can be less than the specified maximum results if they do not fit in the message as per the max message size restrictions defined in the configuration. If this parameter is zero or not specified, the paged query includes as many results as possible that fit in the return message.
StartTimeUtcstringThe Windows file time representing the start time of the time range for which a Chaos report is to be generated. Consult DateTime.ToFileTimeUtc Method for details.
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

Gets the next segment of the Chaos events based on the continuation token or the time range. To get the next segment of the Chaos events, you can specify the ContinuationToken. To get the start of a new segment of Chaos events, you can specify the time range through StartTimeUtc and EndTimeUtc. You cannot specify both the ContinuationToken and the time range in the same call. When there are more than 100 Chaos events, the Chaos events are returned in multiple segments where a segment contains no more than 100 Chaos events and to get the next segment you make a call to this API with the continuation token.

SELECT
ContinuationToken,
History
FROM azure.service_fabric_dataplane.chaos_events
WHERE endpoint = '{{ endpoint }}' -- required
AND ContinuationToken = '{{ ContinuationToken }}'
AND StartTimeUtc = '{{ StartTimeUtc }}'
AND EndTimeUtc = '{{ EndTimeUtc }}'
AND MaxResults = '{{ MaxResults }}'
AND timeout = '{{ timeout }}'
;