AuditTrailDimensions

class oci.data_safe.models.AuditTrailDimensions(**kwargs)

Bases: object

Details of aggregation dimensions used for summarizing audit trails.

Attributes:

LIFECYCLE_STATE_ACTIVE

A constant which can be used with the lifecycle_state property of a AuditTrailDimensions.

LIFECYCLE_STATE_DELETING

A constant which can be used with the lifecycle_state property of a AuditTrailDimensions.

LIFECYCLE_STATE_FAILED

A constant which can be used with the lifecycle_state property of a AuditTrailDimensions.

LIFECYCLE_STATE_INACTIVE

A constant which can be used with the lifecycle_state property of a AuditTrailDimensions.

LIFECYCLE_STATE_NEEDS_ATTENTION

A constant which can be used with the lifecycle_state property of a AuditTrailDimensions.

LIFECYCLE_STATE_UPDATING

A constant which can be used with the lifecycle_state property of a AuditTrailDimensions.

lifecycle_state

Gets the lifecycle_state of this AuditTrailDimensions.

location

Gets the location of this AuditTrailDimensions.

status

Gets the status of this AuditTrailDimensions.

target_id

Gets the target_id of this AuditTrailDimensions.

Methods:

__init__(**kwargs)

Initializes a new AuditTrailDimensions object with values from keyword arguments.

LIFECYCLE_STATE_ACTIVE = 'ACTIVE'

A constant which can be used with the lifecycle_state property of a AuditTrailDimensions. This constant has a value of “ACTIVE”

LIFECYCLE_STATE_DELETING = 'DELETING'

A constant which can be used with the lifecycle_state property of a AuditTrailDimensions. This constant has a value of “DELETING”

LIFECYCLE_STATE_FAILED = 'FAILED'

A constant which can be used with the lifecycle_state property of a AuditTrailDimensions. This constant has a value of “FAILED”

LIFECYCLE_STATE_INACTIVE = 'INACTIVE'

A constant which can be used with the lifecycle_state property of a AuditTrailDimensions. This constant has a value of “INACTIVE”

LIFECYCLE_STATE_NEEDS_ATTENTION = 'NEEDS_ATTENTION'

A constant which can be used with the lifecycle_state property of a AuditTrailDimensions. This constant has a value of “NEEDS_ATTENTION”

LIFECYCLE_STATE_UPDATING = 'UPDATING'

A constant which can be used with the lifecycle_state property of a AuditTrailDimensions. This constant has a value of “UPDATING”

__init__(**kwargs)

Initializes a new AuditTrailDimensions object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters
  • location (str) – The value to assign to the location property of this AuditTrailDimensions.

  • lifecycle_state (str) – The value to assign to the lifecycle_state property of this AuditTrailDimensions. Allowed values for this property are: “INACTIVE”, “UPDATING”, “ACTIVE”, “DELETING”, “FAILED”, “NEEDS_ATTENTION”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

  • status (str) – The value to assign to the status property of this AuditTrailDimensions.

  • target_id (str) – The value to assign to the target_id property of this AuditTrailDimensions.

property lifecycle_state

Gets the lifecycle_state of this AuditTrailDimensions. The current state of the audit trail.

Allowed values for this property are: “INACTIVE”, “UPDATING”, “ACTIVE”, “DELETING”, “FAILED”, “NEEDS_ATTENTION”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns

The lifecycle_state of this AuditTrailDimensions.

Return type

str

property location

Gets the location of this AuditTrailDimensions. The location represents the source of audit records that provides documentary evidence of the sequence of activities in the target database.

Returns

The location of this AuditTrailDimensions.

Return type

str

property status

Gets the status of this AuditTrailDimensions. The current sub-state of the audit trail..

Returns

The status of this AuditTrailDimensions.

Return type

str

property target_id

Gets the target_id of this AuditTrailDimensions. The OCID of the Data Safe target for which the audit trail is created.

Returns

The target_id of this AuditTrailDimensions.

Return type

str