ExperimentStepBranchAction

data class ExperimentStepBranchAction(val actionType: String, val duration: String? = null, val parameters: Map<String, String>? = null, val selectorName: String? = null, val urn: String? = null)

Constructors

Link copied to clipboard
constructor(actionType: String, duration: String? = null, parameters: Map<String, String>? = null, selectorName: String? = null, urn: String? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The type of action that should be added to the experiment. Possible values are continuous, delay and discrete.

Link copied to clipboard
val duration: String? = null

An ISO8601 formatted string specifying the duration for a delay or continuous action.

Link copied to clipboard
val parameters: Map<String, String>? = null

A key-value map of additional parameters to configure the action. The values that are accepted by this depend on the urn i.e. the capability/fault that is applied. Possible parameter values can be found in this documentation

Link copied to clipboard
val selectorName: String? = null

The name of the Selector to which this action should apply to. This must be specified if the action_type is continuous or discrete.

Link copied to clipboard
val urn: String? = null

The Unique Resource Name of the action, this value is provided by the azure.chaosstudio.Capability resource e.g. azurerm_chaos_studio_capability.example.urn. This must be specified if the action_type is continuous or discrete.