Condividi tramite


ChaosExperimentAction Class

Definition

Model that represents the base action model. 9 total per experiment. Please note ChaosExperimentAction is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include ChaosContinuousAction, ChaosDelayAction and ChaosDiscreteAction.

[System.ClientModel.Primitives.PersistableModelProxy(typeof(Azure.ResourceManager.Chaos.Models.UnknownChaosExperimentAction))]
public abstract class ChaosExperimentAction : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Chaos.Models.ChaosExperimentAction>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Chaos.Models.ChaosExperimentAction>
[<System.ClientModel.Primitives.PersistableModelProxy(typeof(Azure.ResourceManager.Chaos.Models.UnknownChaosExperimentAction))>]
type ChaosExperimentAction = class
    interface IJsonModel<ChaosExperimentAction>
    interface IPersistableModel<ChaosExperimentAction>
Public MustInherit Class ChaosExperimentAction
Implements IJsonModel(Of ChaosExperimentAction), IPersistableModel(Of ChaosExperimentAction)
Inheritance
ChaosExperimentAction
Derived
Attributes
Implements

Constructors

ChaosExperimentAction(String)

Initializes a new instance of ChaosExperimentAction.

Properties

Name

String that represents a Capability URN.

Explicit Interface Implementations

IJsonModel<ChaosExperimentAction>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ChaosExperimentAction>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ChaosExperimentAction>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ChaosExperimentAction>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ChaosExperimentAction>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to