Delen via


ArmChaosModelFactory.ExperimentExecutionDetails Method

Definition

Initializes a new instance of ExperimentExecutionDetails.

public static Azure.ResourceManager.Chaos.Models.ExperimentExecutionDetails ExperimentExecutionDetails (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, string status = default, DateTimeOffset? startedOn = default, DateTimeOffset? stoppedOn = default, string failureReason = default, DateTimeOffset? lastActionOn = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Chaos.Models.ChaosExperimentRunStepStatus> runInformationSteps = default);
static member ExperimentExecutionDetails : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * string * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * string * Nullable<DateTimeOffset> * seq<Azure.ResourceManager.Chaos.Models.ChaosExperimentRunStepStatus> -> Azure.ResourceManager.Chaos.Models.ExperimentExecutionDetails
Public Shared Function ExperimentExecutionDetails (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional status As String = Nothing, Optional startedOn As Nullable(Of DateTimeOffset) = Nothing, Optional stoppedOn As Nullable(Of DateTimeOffset) = Nothing, Optional failureReason As String = Nothing, Optional lastActionOn As Nullable(Of DateTimeOffset) = Nothing, Optional runInformationSteps As IEnumerable(Of ChaosExperimentRunStepStatus) = Nothing) As ExperimentExecutionDetails

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

status
String

The status of the execution.

startedOn
Nullable<DateTimeOffset>

String that represents the start date time.

stoppedOn
Nullable<DateTimeOffset>

String that represents the stop date time.

failureReason
String

The reason why the execution failed.

lastActionOn
Nullable<DateTimeOffset>

String that represents the last action date time.

runInformationSteps
IEnumerable<ChaosExperimentRunStepStatus>

The information of the experiment run.

Returns

A new ExperimentExecutionDetails instance for mocking.

Applies to