你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。

Selector Class

The selector expression.

Constructor

Selector(*args: Any, **kwargs: Any)

Variables

Name Description
kind

The selector kind. Known values are: "resourceLocation", "resourceType", "resourceWithoutLocation", "policyDefinitionReferenceId", "userPrincipalId", and "groupPrincipalId".

in_property

The list of values to filter in.

not_in

The list of values to filter out.

Attributes

in_property

The list of values to filter in.

in_property: list[str] | None

kind

"resourceLocation", "resourceType", "resourceWithoutLocation", "policyDefinitionReferenceId", "userPrincipalId", and "groupPrincipalId".

kind: str | _models.SelectorKind | None

not_in

The list of values to filter out.

not_in: list[str] | None