Language

ScenarioConfigurationProperties Class

Definition

Model that represents the properties of the scenario configuration.

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

Constructors

Name Description
ScenarioConfigurationProperties(ResourceIdentifier)

Initializes a new instance of ScenarioConfigurationProperties.

Properties

Name Description
Parameters

Runtime parameter values for the scenario. Keys must match parameter names defined in the scenario.

ProvisioningState

Most recent provisioning state for the given scenario resource.

ResourceTargeting

Unified resource targeting policy that controls which discovered resources participate in fault injection. Replaces the separate exclusions and filters properties with symmetric include/exclude criteria. Include uses AND logic — a resource must match ALL active include dimensions. Exclude uses OR logic — a resource is removed if it matches ANY exclude dimension. When include and exclude conflict on the same resource, exclude wins. Null or omitted means all discovered resources participate (no targeting constraints).

ScenarioId

Resource ID of the scenario this configuration applies to.

Methods

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

Explicit Interface Implementations

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

Applies to