ChaosDiscreteAction Class

Definition

Model that represents a discrete action.

public class ChaosDiscreteAction : Azure.ResourceManager.Chaos.Models.ChaosExperimentAction, System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Chaos.Models.ChaosDiscreteAction>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Chaos.Models.ChaosDiscreteAction>
type ChaosDiscreteAction = class
    inherit ChaosExperimentAction
    interface IJsonModel<ChaosDiscreteAction>
    interface IPersistableModel<ChaosDiscreteAction>
Public Class ChaosDiscreteAction
Inherits ChaosExperimentAction
Implements IJsonModel(Of ChaosDiscreteAction), IPersistableModel(Of ChaosDiscreteAction)
Inheritance
ChaosDiscreteAction
Implements

Constructors

ChaosDiscreteAction(String, IEnumerable<ChaosKeyValuePair>, String)

Initializes a new instance of ChaosDiscreteAction.

Properties

Name

String that represents a Capability URN.

(Inherited from ChaosExperimentAction)
Parameters

List of key value pairs.

SelectorId

String that represents a selector.

Explicit Interface Implementations

IJsonModel<ChaosDiscreteAction>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<ChaosDiscreteAction>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IJsonModel<ChaosExperimentAction>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

(Inherited from ChaosExperimentAction)
IJsonModel<ChaosExperimentAction>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

(Inherited from ChaosExperimentAction)
IPersistableModel<ChaosDiscreteAction>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ChaosDiscreteAction>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<ChaosDiscreteAction>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

IPersistableModel<ChaosExperimentAction>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

(Inherited from ChaosExperimentAction)
IPersistableModel<ChaosExperimentAction>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

(Inherited from ChaosExperimentAction)
IPersistableModel<ChaosExperimentAction>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

(Inherited from ChaosExperimentAction)

Applies to