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

PolicyAssignment Class

The policy assignment.

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

Constructor

PolicyAssignment(*, id: str | None = None, type: str | None = None, name: str | None = None, display_name: str | None = None, policy_definition_id: str | None = None, scope: str | None = None, **kwargs: Any)

Keyword-Only Parameters

Name Description
id
str

The ID of the policy assignment.

type
str

The type of the policy assignment.

name
str

The name of the policy assignment.

display_name
str

The display name of the policy assignment.

policy_definition_id
str

The ID of the policy definition.

scope
str

The scope for the policy assignment.

Variables

Name Description
id
str

The ID of the policy assignment.

type
str

The type of the policy assignment.

name
str

The name of the policy assignment.

display_name
str

The display name of the policy assignment.

policy_definition_id
str

The ID of the policy definition.

scope
str

The scope for the policy assignment.