DelayAction Class

Definition

Model that represents a delay action.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.DelayActionTypeConverter))]
public class DelayAction : Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IDelayAction, Microsoft.Azure.PowerShell.Cmdlets.Chaos.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.DelayActionTypeConverter))>]
type DelayAction = class
    interface IDelayAction
    interface IJsonSerializable
    interface IAction
    interface IValidates
Public Class DelayAction
Implements IDelayAction, IValidates
Inheritance
DelayAction
Attributes
Implements

Constructors

Name Description
DelayAction()

Creates an new DelayAction instance.

Properties

Name Description
Duration

ISO8601 formatted string that represents a duration.

Name

String that represents a Capability URN.

Type

Enum that discriminates between action models.

Methods

Name Description
DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of DelayAction.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of DelayAction.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IDelayAction.

FromJsonString(String)

Creates a new instance of DelayAction, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of DelayAction into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()
Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to