models.cluster_audit_log module¶
-
class
models.cluster_audit_log.
ClusterAuditLog
(action=None, cluster_info=None, details=None, domain=None, entity_id=None, entity_name=None, entity_type=None, human_timestamp=None, impersonation=None, ip=None, new_record=None, original_tenant=None, previous_record=None, tenant=None, timestamp_usecs=None, user_name=None)[source]¶ Bases:
object
Implementation of the ‘ClusterAuditLog’ model.
Specifies information about a single Cluster audit log. When an action (such as pausing a Protection Job) occurs, an audit log is generated that provides details about the action.
- Attributes:
- action (string): Specifies the action that caused the log to be
generated.
cluster_info (string): Specifies the information of the cluster. details (string): Specifies more information about the action. domain (string): Specifies the domain of the user who caused the
action that generated the log.
- entity_id (string): Specifies the id of the entity (object) that the
action is invoked on.
- entity_name (string): Specifies the entity (object) name that the
action is invoked on. For example, if a Job called BackupEng is paused, this field returns BackupEng.
- entity_type (string): Specifies the type of the entity (object) that
the action is invoked on. For example, if a Job called BackupEng is paused, this field returns ‘Protection Job’.
- human_timestamp (string): Specifies the time when the log was
generated. The time is specified using a human readable timestamp.
- impersonation (bool): Specifies if the log was generated during
impersonation.
ip (string): Specifies the IP address of the user making this action. new_record (string): Specifies the record after the action is
invoked.
original_tenant (Tenant): Specifies details about a tenant. previous_record (string): Specifies the record before the action is
invoked.
tenant (Tenant): Specifies details about a tenant. timestamp_usecs (long|int): Specifies the time when the log was
generated. The time is specified using a Unix epoch Timestamp (in microseconds).
- user_name (string): Specifies the user who caused the action that
generated the log.
-
classmethod
from_dictionary
(dictionary)[source]¶ Creates an instance of this model from a dictionary
- Args:
dictionary (dictionary): A dictionary representation of the object as obtained from the deserialization of the server’s response. The keys MUST match property names in the API description.
- Returns:
object: An instance of this structure class.