Share via


ChaosContinuousAction Constructor

Definition

Initializes a new instance of ChaosContinuousAction.

public ChaosContinuousAction (string name, TimeSpan duration, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Chaos.Models.ChaosKeyValuePair> parameters, string selectorId);
new Azure.ResourceManager.Chaos.Models.ChaosContinuousAction : string * TimeSpan * seq<Azure.ResourceManager.Chaos.Models.ChaosKeyValuePair> * string -> Azure.ResourceManager.Chaos.Models.ChaosContinuousAction
Public Sub New (name As String, duration As TimeSpan, parameters As IEnumerable(Of ChaosKeyValuePair), selectorId As String)

Parameters

name
String

String that represents a Capability URN.

duration
TimeSpan

ISO8601 formatted string that represents a duration.

parameters
IEnumerable<ChaosKeyValuePair>

List of key value pairs.

selectorId
String

String that represents a selector.

Exceptions

name, parameters or selectorId is null.

Applies to