Share via


ChaosTargetSelector 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: ChaosTargetListSelector, ChaosTargetQuerySelector

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

Constructor

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

Keyword-Only Parameters

Name Description
additional_properties

Unmatched properties from the message are deserialized to this collection.

Default value: None
id
str

String of the selector ID. Required.

filter

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

Default value: None

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.