你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
PolicyAssignment Class
The policy assignment.
- Inheritance
-
azure.mgmt.resource.policy._serialization.ModelPolicyAssignment
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
|
The ID of the policy assignment. |
type
|
The type of the policy assignment. |
name
|
The name of the policy assignment. |
display_name
|
The display name of the policy assignment. |
policy_definition_id
|
The ID of the policy definition. |
scope
|
The scope for the policy assignment. |
Variables
Name | Description |
---|---|
id
|
The ID of the policy assignment. |
type
|
The type of the policy assignment. |
name
|
The name of the policy assignment. |
display_name
|
The display name of the policy assignment. |
policy_definition_id
|
The ID of the policy definition. |
scope
|
The scope for the policy assignment. |