ContinuousAction Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Model that represents a continuous action.
[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ContinuousActionTypeConverter))]
public class ContinuousAction : Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IContinuousAction, Microsoft.Azure.PowerShell.Cmdlets.Chaos.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ContinuousActionTypeConverter))>]
type ContinuousAction = class
interface IContinuousAction
interface IJsonSerializable
interface IAction
interface IValidates
Public Class ContinuousAction
Implements IContinuousAction, IValidates
- Inheritance
-
ContinuousAction
- Attributes
- Implements
Constructors
| Name | Description |
|---|---|
| ContinuousAction() |
Creates an new ContinuousAction instance. |
Properties
| Name | Description |
|---|---|
| Duration |
ISO8601 formatted string that represents a duration. |
| Name |
String that represents a Capability URN. |
| Parameter |
List of key value pairs. |
| SelectorId |
String that represents a selector. |
| Type |
Enum that discriminates between action models. |
Methods
| Name | Description |
|---|---|
| DeserializeFromDictionary(IDictionary) |
Deserializes a IDictionary into an instance of ContinuousAction. |
| DeserializeFromPSObject(PSObject) |
Deserializes a PSObject into an instance of ContinuousAction. |
| FromJson(JsonNode) |
Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IContinuousAction. |
| FromJsonString(String) |
Creates a new instance of ContinuousAction, deserializing the content from a json string. |
| ToJson(JsonObject, SerializationMode) |
Serializes this instance of ContinuousAction into a JsonNode. |
| ToJsonString() |
Serializes this instance to a json string. |
| ToString() | |
| Validate(IEventListener) |
Validates that this object meets the validation criteria. |