Sdílet prostřednictvím


ChaosExperimentStep Class

Definition

Model that represents a step in the Experiment resource.

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

Constructors

ChaosExperimentStep(String, IEnumerable<ChaosExperimentBranch>)

Initializes a new instance of ChaosExperimentStep.

Properties

Branches

List of branches.

Name

String of the step name.

Explicit Interface Implementations

IJsonModel<ChaosExperimentStep>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ChaosExperimentStep>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ChaosExperimentStep>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ChaosExperimentStep>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ChaosExperimentStep>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to