PolicyDefinition Class
The policy definition.
Variables are only populated by the server, and will be ignored when sending a request.
- Inheritance
-
PolicyDefinition
Constructor
PolicyDefinition(*, name: Optional[str] = None, policy_type: Optional[Union[str, azure.mgmt.resource.policy.v2015_10_01_preview.models._policy_client_enums.PolicyType]] = None, display_name: Optional[str] = None, description: Optional[str] = None, policy_rule: Optional[Any] = None, **kwargs)
Variables
- id
- str
The ID of the policy definition.
- name
- str
The name of the policy definition. If you do not specify a value for name, the value is inferred from the name value in the request URI.
- policy_type
- str or PolicyType
The type of policy definition. Possible values are NotSpecified, BuiltIn, and Custom. Possible values include: "NotSpecified", "BuiltIn", "Custom".
- display_name
- str
The display name of the policy definition.
- description
- str
The policy definition description.
- policy_rule
- any
The policy rule.
Feedback
Submit and view feedback for