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

PolicyAssignmentUpdate Class

The policy assignment for Patch request.

Inheritance
azure.mgmt.resource.policy._serialization.Model
PolicyAssignmentUpdate

Constructor

PolicyAssignmentUpdate(*, location: str | None = None, identity: _models.Identity | None = None, resource_selectors: List[_models.ResourceSelector] | None = None, overrides: List[_models.Override] | None = None, **kwargs: Any)

Keyword-Only Parameters

Name Description
location
str

The location of the policy assignment. Only required when utilizing managed identity.

identity

The managed identity associated with the policy assignment.

resource_selectors

The resource selector list to filter policies by resource properties.

overrides

The policy property value override.

Variables

Name Description
location
str

The location of the policy assignment. Only required when utilizing managed identity.

identity

The managed identity associated with the policy assignment.

resource_selectors

The resource selector list to filter policies by resource properties.

overrides

The policy property value override.