Language

ScenarioRunProperties Class

Definition

Model that represents the properties of the scenario run.

public class ScenarioRunProperties : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Chaos.Models.ScenarioRunProperties>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Chaos.Models.ScenarioRunProperties>
type ScenarioRunProperties = class
    interface IJsonModel<ScenarioRunProperties>
    interface IPersistableModel<ScenarioRunProperties>
Public Class ScenarioRunProperties
Implements IJsonModel(Of ScenarioRunProperties), IPersistableModel(Of ScenarioRunProperties)
Inheritance
ScenarioRunProperties
Implements

Properties

Name Description
EndOn

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.

StartOn

When the scenario run was started.

Status

The scenario run status.

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.

Methods

Name Description
JsonModelCreateCore(Utf8JsonReader, ModelReaderWriterOptions)
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)
PersistableModelCreateCore(BinaryData, ModelReaderWriterOptions)
PersistableModelWriteCore(ModelReaderWriterOptions)

Explicit Interface Implementations

Name Description
IJsonModel<ScenarioRunProperties>.Create(Utf8JsonReader, ModelReaderWriterOptions)
IJsonModel<ScenarioRunProperties>.Write(Utf8JsonWriter, ModelReaderWriterOptions)
IPersistableModel<ScenarioRunProperties>.Create(BinaryData, ModelReaderWriterOptions)
IPersistableModel<ScenarioRunProperties>.GetFormatFromOptions(ModelReaderWriterOptions)
IPersistableModel<ScenarioRunProperties>.Write(ModelReaderWriterOptions)

Applies to