다음을 통해 공유


ChaosDelayAction Class

Definition

Model that represents a delay action.

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

Constructors

ChaosDelayAction(String, TimeSpan)

Initializes a new instance of ChaosDelayAction.

Properties

Duration

ISO8601 formatted string that represents a duration.

Name

String that represents a Capability URN.

(Inherited from ChaosExperimentAction)

Explicit Interface Implementations

IJsonModel<ChaosDelayAction>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ChaosDelayAction>.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<ChaosDelayAction>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ChaosDelayAction>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ChaosDelayAction>.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