Share via


ArmChaosModelFactory.ChaosExperimentRunActionStatus Method

Definition

Initializes a new instance of ChaosExperimentRunActionStatus.

public static Azure.ResourceManager.Chaos.Models.ChaosExperimentRunActionStatus ChaosExperimentRunActionStatus (string actionName = default, string actionId = default, string status = default, DateTimeOffset? startOn = default, DateTimeOffset? endOn = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Chaos.Models.ExperimentExecutionActionTargetDetailsProperties> targets = default);
static member ChaosExperimentRunActionStatus : string * string * string * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * seq<Azure.ResourceManager.Chaos.Models.ExperimentExecutionActionTargetDetailsProperties> -> Azure.ResourceManager.Chaos.Models.ChaosExperimentRunActionStatus
Public Shared Function ChaosExperimentRunActionStatus (Optional actionName As String = Nothing, Optional actionId As String = Nothing, Optional status As String = Nothing, Optional startOn As Nullable(Of DateTimeOffset) = Nothing, Optional endOn As Nullable(Of DateTimeOffset) = Nothing, Optional targets As IEnumerable(Of ExperimentExecutionActionTargetDetailsProperties) = Nothing) As ChaosExperimentRunActionStatus

Parameters

actionName
String

The name of the action status.

actionId
String

The id of the action status.

status
String

The status of the action.

startOn
Nullable<DateTimeOffset>

String that represents the start time of the action.

endOn
Nullable<DateTimeOffset>

String that represents the end time of the action.

Returns

A new ChaosExperimentRunActionStatus instance for mocking.

Applies to