ArmChaosModelFactory.ChaosExperimentExecutionData Method

Definition

public static Azure.ResourceManager.Chaos.ChaosExperimentExecutionData ChaosExperimentExecutionData(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, Azure.ResourceManager.Chaos.Models.ChaosProvisioningState? provisioningState = default);
static member ChaosExperimentExecutionData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * string * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Nullable<Azure.ResourceManager.Chaos.Models.ChaosProvisioningState> -> Azure.ResourceManager.Chaos.ChaosExperimentExecutionData
Public Shared Function ChaosExperimentExecutionData (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 provisioningState As Nullable(Of ChaosProvisioningState) = Nothing) As ChaosExperimentExecutionData

Parameters

id
ResourceIdentifier

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.

name
String

The name of the resource.

resourceType
ResourceType

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".

systemData
SystemData

Azure Resource Manager metadata containing createdBy and modifiedBy information.

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.

provisioningState
Nullable<ChaosProvisioningState>

Resource provisioning state. Not currently in use for executions.

Returns

A new ChaosExperimentExecutionData instance for mocking.

Applies to