ChaosScenarioAction 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 scenario action.
public class ChaosScenarioAction : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Chaos.Models.ChaosScenarioAction>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Chaos.Models.ChaosScenarioAction>
type ChaosScenarioAction = class
interface IJsonModel<ChaosScenarioAction>
interface IPersistableModel<ChaosScenarioAction>
Public Class ChaosScenarioAction
Implements IJsonModel(Of ChaosScenarioAction), IPersistableModel(Of ChaosScenarioAction)
- Inheritance
-
ChaosScenarioAction
- Implements
Constructors
| Name | Description |
|---|---|
| ChaosScenarioAction(String, String, String) |
Initializes a new instance of ChaosScenarioAction. |
Properties
| Name | Description |
|---|---|
| ActionId |
Identifier of the action and version (e.g., "microsoft-compute-shutdown/1.0"). |
| Description |
Human-readable description of what this action does. |
| Duration |
ISO 8601 duration for how long the action runs (e.g., PT30M for 30 minutes). Supports template macro syntax (%%{parameters.<name>}%%). |
| Name |
Unique name for the action. |
| Parameters |
Action-specific parameter values. |
| ResourceId |
The resource ID of the external resource. |
| RunAfter |
Action dependencies that control when this action starts. |
| Timeout |
ISO 8601 duration for maximum action execution time. Supports template macro syntax. |
| WaitBefore |
ISO 8601 duration to wait before action starts (e.g., PT30S for 30 seconds). Supports template macro syntax. |