Partilhar via


Selector Class

Model that represents a selector in the Experiment resource.

You probably want to use the sub-classes and not this class directly. Known sub-classes are: ListSelector, QuerySelector

All required parameters must be populated in order to send to Azure.

Inheritance
azure.mgmt.chaos._serialization.Model
Selector

Constructor

Selector(*, id: str, additional_properties: Dict[str, Any] | None = None, filter: _models.Filter | None = None, **kwargs: Any)

Keyword-Only Parameters

Name Description
additional_properties

Unmatched properties from the message are deserialized to this collection.

id
str

String of the selector ID. Required.

filter

Model that represents available filter types that can be applied to a targets list.

Variables

Name Description
additional_properties

Unmatched properties from the message are deserialized to this collection.

type

Enum of the selector type. Required. Known values are: "List" and "Query".

id
str

String of the selector ID. Required.

filter

Model that represents available filter types that can be applied to a targets list.