Condividi tramite


ChaosTargetFilter Class

Definition

Model that represents available filter types that can be applied to a targets list. Please note ChaosTargetFilter is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include ChaosTargetSimpleFilter.

[System.ClientModel.Primitives.PersistableModelProxy(typeof(Azure.ResourceManager.Chaos.Models.UnknownChaosTargetFilter))]
public abstract class ChaosTargetFilter : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Chaos.Models.ChaosTargetFilter>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Chaos.Models.ChaosTargetFilter>
[<System.ClientModel.Primitives.PersistableModelProxy(typeof(Azure.ResourceManager.Chaos.Models.UnknownChaosTargetFilter))>]
type ChaosTargetFilter = class
    interface IJsonModel<ChaosTargetFilter>
    interface IPersistableModel<ChaosTargetFilter>
Public MustInherit Class ChaosTargetFilter
Implements IJsonModel(Of ChaosTargetFilter), IPersistableModel(Of ChaosTargetFilter)
Inheritance
ChaosTargetFilter
Derived
Attributes
Implements

Constructors

ChaosTargetFilter()

Initializes a new instance of ChaosTargetFilter.

Explicit Interface Implementations

IJsonModel<ChaosTargetFilter>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<ChaosTargetFilter>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ChaosTargetFilter>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ChaosTargetFilter>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<ChaosTargetFilter>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to