ScenarioRunProperties interface

Model that represents the properties of the scenario run.

Properties

endTime

When the scenario run was completed.

errors

System or infrastructure errors encountered during the scenario run.

excludedResources

Resources that matched the scenario's target resource types but were excluded from fault injection by the configuration's resource-targeting filters (for example zone, location, or explicit exclusions). These resources will not be impacted by the run.

executionErrors

Business errors from fault injection — permission and resource state issues.

managedIdentityPrincipalId

The principal id for the managed identity used for the run.

resources

All resources discovered for the scenario run.

resourceSnapshotId

The resource snapshot ID this run is pinned to. Resolved from the scenario's pinned evaluation snapshot (template scenarios) or the latest discovery snapshot (custom scenarios) at run creation, ensuring the run executes against the same set of discovered resources that produced the recommendation.

scenarioConfigurationName

The scenario configuration name.

scenarioName

The scenario name.

scenarioRunJson

The scenario run json.

scenarioRunSummary

The scenario run summary.

startTime

When the scenario run was started.

status

The scenario run status.

warnings

Customer-actionable warnings encountered during the scenario run.

workspaceName

The workspace name.

zoneResolution

Zone resolution information. Present when the scenario configuration used physical zone targeting (physicalZones). Contains the mode, requested physical zones, and per-subscription logical zone mappings.

Property Details

endTime

When the scenario run was completed.

endTime?: Date

Property Value

Date

errors

System or infrastructure errors encountered during the scenario run.

errors?: OperationError[]

Property Value

excludedResources

Resources that matched the scenario's target resource types but were excluded from fault injection by the configuration's resource-targeting filters (for example zone, location, or explicit exclusions). These resources will not be impacted by the run.

excludedResources?: ScenarioRunResource[]

Property Value

executionErrors

Business errors from fault injection — permission and resource state issues.

executionErrors?: ScenarioErrors

Property Value

managedIdentityPrincipalId

The principal id for the managed identity used for the run.

managedIdentityPrincipalId: string

Property Value

string

resources

All resources discovered for the scenario run.

resources: ScenarioRunResource[]

Property Value

resourceSnapshotId

The resource snapshot ID this run is pinned to. Resolved from the scenario's pinned evaluation snapshot (template scenarios) or the latest discovery snapshot (custom scenarios) at run creation, ensuring the run executes against the same set of discovered resources that produced the recommendation.

resourceSnapshotId?: string

Property Value

string

scenarioConfigurationName

The scenario configuration name.

scenarioConfigurationName: string

Property Value

string

scenarioName

The scenario name.

scenarioName: string

Property Value

string

scenarioRunJson

The scenario run json.

scenarioRunJson?: string

Property Value

string

scenarioRunSummary

The scenario run summary.

scenarioRunSummary?: ScenarioRunSummaryAction[]

Property Value

startTime

When the scenario run was started.

startTime: Date

Property Value

Date

status

The scenario run status.

status: string

Property Value

string

warnings

Customer-actionable warnings encountered during the scenario run.

warnings?: ScenarioRunWarning[]

Property Value

workspaceName

The workspace name.

workspaceName: string

Property Value

string

zoneResolution

Zone resolution information. Present when the scenario configuration used physical zone targeting (physicalZones). Contains the mode, requested physical zones, and per-subscription logical zone mappings.

zoneResolution?: ZoneResolutionInfo

Property Value