azure.mgmt.resource.policy.v2016_04_01.models module¶
-
class
azure.mgmt.resource.policy.v2016_04_01.models.
PolicyAssignment
(*, display_name: str = None, policy_definition_id: str = None, scope: str = None, id: str = None, type: str = None, name: str = None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
The policy assignment.
Parameters: - 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.
- id (str) – The ID of the policy assignment.
- type (str) – The type of the policy assignment.
- name (str) – The name of the policy assignment.
-
class
azure.mgmt.resource.policy.v2016_04_01.models.
PolicyDefinition
(*, policy_type=None, display_name: str = None, description: str = None, policy_rule=None, name: str = None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
The policy definition.
Variables are only populated by the server, and will be ignored when sending a request.
Parameters: - 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 (object) – The policy rule.
- 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.
Variables:
-
class
azure.mgmt.resource.policy.v2016_04_01.models.
PolicyAssignmentPaged
(*args, **kwargs)[source]¶ Bases:
msrest.paging.Paged
A paging container for iterating over a list of
PolicyAssignment
object
-
class
azure.mgmt.resource.policy.v2016_04_01.models.
PolicyDefinitionPaged
(*args, **kwargs)[source]¶ Bases:
msrest.paging.Paged
A paging container for iterating over a list of
PolicyDefinition
object