ChaosScenarioConfigurationFilters Class

Definition

Model that represents filter criteria for constraining which discovered resources participate in fault injection. Uses intersection (AND) logic — a resource is included only if it matches all criteria.

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

Constructors

Name Description
ChaosScenarioConfigurationFilters()

Initializes a new instance of ChaosScenarioConfigurationFilters.

Properties

Name Description
Locations

Array of Azure location strings. Only resources in these locations are included. Null or omitted means all locations (no filter). Empty array means include nothing.

PhysicalZones

Array of physical availability zone identifiers in {region}-az{N} format (e.g., "westus2-az1"). Only resources in the corresponding logical zone for each subscription are included. At execution time, each physical zone is resolved to per-subscription logical zones via the Azure locations API. The resolved mapping is surfaced on the scenario run response (zoneResolution). Null or omitted means physical zone targeting is not used. Only one physical zone is supported in preview. Mutually exclusive with zones — set one or the other, not both.

Zones

Array of availability zone identifiers ("1", "2", "3", "zone-redundant"). Only resources whose zones intersect this list are included. Null or omitted means all zones (including non-zonal). Empty array means include nothing. Mutually exclusive with physicalZones — set one or the other, not both.

Methods

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

Explicit Interface Implementations

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

Applies to