Action 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 the base action model. 9 total per experiment.
[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ActionTypeConverter))]
public class Action : Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IAction
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ActionTypeConverter))>]
type Action = class
interface IAction
interface IJsonSerializable
Public Class Action
Implements IAction
- Inheritance
-
Action
- Attributes
- Implements
Constructors
| Name | Description |
|---|---|
| Action() |
Creates an new Action instance. |
Properties
| Name | Description |
|---|---|
| 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 Action. |
| DeserializeFromPSObject(PSObject) | |
| FromJson(JsonNode) |
Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IAction. Note: the Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IAction interface is polymorphic, and the precise model class that will get deserialized is determined at runtime based on the payload. |
| FromJsonString(String) |
Creates a new instance of Action, deserializing the content from a json string. |
| ToJson(JsonObject, SerializationMode) | |
| ToJsonString() |
Serializes this instance to a json string. |
| ToString() | |