ScenarioRunProperties interface
Model that represents the properties of the scenario run.
Properties
| end |
When the scenario run was completed. |
| errors | System or infrastructure errors encountered during the scenario run. |
| excluded |
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. |
| execution |
Business errors from fault injection — permission and resource state issues. |
| managed |
The principal id for the managed identity used for the run. |
| resources | All resources discovered for the scenario run. |
| resource |
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. |
| scenario |
The scenario configuration name. |
| scenario |
The scenario name. |
| scenario |
The scenario run json. |
| scenario |
The scenario run summary. |
| start |
When the scenario run was started. |
| status | The scenario run status. |
| warnings | Customer-actionable warnings encountered during the scenario run. |
| workspace |
The workspace name. |
| zone |
Zone resolution information. Present when the scenario configuration
used physical zone targeting ( |
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