ChaosScenarioAction(String, String, String) Constructor
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.
Initializes a new instance of ChaosScenarioAction.
public ChaosScenarioAction(string name, string actionId, string duration);
new Azure.ResourceManager.Chaos.Models.ChaosScenarioAction : string * string * string -> Azure.ResourceManager.Chaos.Models.ChaosScenarioAction
Public Sub New (name As String, actionId As String, duration As String)
Parameters
- name
- String
Unique name for the action.
- actionId
- String
Identifier of the action and version (e.g., "microsoft-compute-shutdown/1.0").
- duration
- String
ISO 8601 duration for how long the action runs (e.g., PT30M for 30 minutes). Supports template macro syntax (%%{parameters.<name>}%%).
Exceptions
name, actionId or duration is null.