PolicyAssignment Class
The policy assignment.
Variables are only populated by the server, and will be ignored when sending a request.
- Inheritance
-
azure.mgmt.resource.policy._serialization.ModelPolicyAssignment
Constructor
PolicyAssignment(*, type: str | None = None, name: str | None = None, display_name: str | None = None, policy_definition_id: str | None = None, scope: str | None = None, parameters: MutableMapping[str, Any] | None = None, description: str | None = None, **kwargs: Any)
Keyword-Only Parameters
Name | Description |
---|---|
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. |
parameters
|
<xref:JSON>
Required if a parameter is used in policy rule. |
description
|
This message will be part of response in case of policy violation. |
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. |
parameters
|
<xref:JSON>
Required if a parameter is used in policy rule. |
description
|
This message will be part of response in case of policy violation. |
Azure SDK for Python