PolicyEvent Class
Policy event record.
- Inheritance
-
PolicyEvent
Constructor
PolicyEvent(*, additional_properties: Optional[Dict[str, object]] = None, odata_id: Optional[str] = None, odata_context: Optional[str] = None, timestamp: Optional[datetime.datetime] = None, resource_id: Optional[str] = None, policy_assignment_id: Optional[str] = None, policy_definition_id: Optional[str] = None, effective_parameters: Optional[str] = None, is_compliant: Optional[bool] = None, subscription_id: Optional[str] = None, resource_type: Optional[str] = None, resource_location: Optional[str] = None, resource_group: Optional[str] = None, resource_tags: Optional[str] = None, policy_assignment_name: Optional[str] = None, policy_assignment_owner: Optional[str] = None, policy_assignment_parameters: Optional[str] = None, policy_assignment_scope: Optional[str] = None, policy_definition_name: Optional[str] = None, policy_definition_action: Optional[str] = None, policy_definition_category: Optional[str] = None, policy_set_definition_id: Optional[str] = None, policy_set_definition_name: Optional[str] = None, policy_set_definition_owner: Optional[str] = None, policy_set_definition_category: Optional[str] = None, policy_set_definition_parameters: Optional[str] = None, management_group_ids: Optional[str] = None, policy_definition_reference_id: Optional[str] = None, compliance_state: Optional[str] = None, tenant_id: Optional[str] = None, principal_oid: Optional[str] = None, components: Optional[List[azure.mgmt.policyinsights.models._models_py3.ComponentEventDetails]] = None, **kwargs)
Parameters
Unmatched properties from the message are deserialized to this collection.
- odata_id
- str
OData entity ID; always set to null since policy event records do not have an entity ID.
- odata_context
- str
OData context string; used by OData clients to resolve type information based on metadata.
- is_compliant
- bool
Flag which states whether the resource is compliant against the policy assignment it was evaluated against.
- policy_set_definition_id
- str
Policy set definition ID, if the policy assignment is for a policy set.
- policy_set_definition_name
- str
Policy set definition name, if the policy assignment is for a policy set.
- policy_set_definition_owner
- str
Policy set definition owner, if the policy assignment is for a policy set.
- policy_set_definition_category
- str
Policy set definition category, if the policy assignment is for a policy set.
- policy_set_definition_parameters
- str
Policy set definition parameters, if the policy assignment is for a policy set.
- management_group_ids
- str
Comma separated list of management group IDs, which represent the hierarchy of the management groups the resource is under.
- policy_definition_reference_id
- str
Reference ID for the policy definition inside the policy set, if the policy assignment is for a policy set.
- principal_oid
- str
Principal object ID for the user who initiated the resource operation that triggered the policy event.
- components
- list[ComponentEventDetails]
Components events records populated only when URL contains $expand=components clause.
Feedback
Submit and view feedback for