ConsoleHistory

class oci.database.models.ConsoleHistory(**kwargs)

Bases: object

The details of the Db Node console history.

Attributes

LIFECYCLE_STATE_DELETED A constant which can be used with the lifecycle_state property of a ConsoleHistory.
LIFECYCLE_STATE_DELETING A constant which can be used with the lifecycle_state property of a ConsoleHistory.
LIFECYCLE_STATE_FAILED A constant which can be used with the lifecycle_state property of a ConsoleHistory.
LIFECYCLE_STATE_GETTING_HISTORY A constant which can be used with the lifecycle_state property of a ConsoleHistory.
LIFECYCLE_STATE_REQUESTED A constant which can be used with the lifecycle_state property of a ConsoleHistory.
LIFECYCLE_STATE_SUCCEEDED A constant which can be used with the lifecycle_state property of a ConsoleHistory.
compartment_id [Required] Gets the compartment_id of this ConsoleHistory.
db_node_id [Required] Gets the db_node_id of this ConsoleHistory.
defined_tags Gets the defined_tags of this ConsoleHistory.
display_name Gets the display_name of this ConsoleHistory.
freeform_tags Gets the freeform_tags of this ConsoleHistory.
id [Required] Gets the id of this ConsoleHistory.
lifecycle_details Gets the lifecycle_details of this ConsoleHistory.
lifecycle_state [Required] Gets the lifecycle_state of this ConsoleHistory.
time_created [Required] Gets the time_created of this ConsoleHistory.

Methods

__init__(**kwargs) Initializes a new ConsoleHistory object with values from keyword arguments.
LIFECYCLE_STATE_DELETED = 'DELETED'

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

LIFECYCLE_STATE_DELETING = 'DELETING'

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

LIFECYCLE_STATE_FAILED = 'FAILED'

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

LIFECYCLE_STATE_GETTING_HISTORY = 'GETTING_HISTORY'

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

LIFECYCLE_STATE_REQUESTED = 'REQUESTED'

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

LIFECYCLE_STATE_SUCCEEDED = 'SUCCEEDED'

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

__init__(**kwargs)

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

Parameters:
  • id (str) – The value to assign to the id property of this ConsoleHistory.
  • compartment_id (str) – The value to assign to the compartment_id property of this ConsoleHistory.
  • db_node_id (str) – The value to assign to the db_node_id property of this ConsoleHistory.
  • display_name (str) – The value to assign to the display_name property of this ConsoleHistory.
  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this ConsoleHistory.
  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this ConsoleHistory.
  • lifecycle_state (str) – The value to assign to the lifecycle_state property of this ConsoleHistory. Allowed values for this property are: “REQUESTED”, “GETTING_HISTORY”, “SUCCEEDED”, “FAILED”, “DELETED”, “DELETING”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • lifecycle_details (str) – The value to assign to the lifecycle_details property of this ConsoleHistory.
  • time_created (datetime) – The value to assign to the time_created property of this ConsoleHistory.
compartment_id

[Required] Gets the compartment_id of this ConsoleHistory. The OCID of the compartment containing the console history.

Returns:The compartment_id of this ConsoleHistory.
Return type:str
db_node_id

[Required] Gets the db_node_id of this ConsoleHistory. The OCID of the database node.

Returns:The db_node_id of this ConsoleHistory.
Return type:str
defined_tags

Gets the defined_tags of this ConsoleHistory. Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.

Returns:The defined_tags of this ConsoleHistory.
Return type:dict(str, dict(str, object))
display_name

Gets the display_name of this ConsoleHistory. The user-friendly name for the console history. The name does not need to be unique.

Returns:The display_name of this ConsoleHistory.
Return type:str
freeform_tags

Gets the freeform_tags of this ConsoleHistory. Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags.

Example: {“Department”: “Finance”}

Returns:The freeform_tags of this ConsoleHistory.
Return type:dict(str, str)
id

[Required] Gets the id of this ConsoleHistory. The OCID of the console history.

Returns:The id of this ConsoleHistory.
Return type:str
lifecycle_details

Gets the lifecycle_details of this ConsoleHistory. Additional information about the current lifecycle state.

Returns:The lifecycle_details of this ConsoleHistory.
Return type:str
lifecycle_state

[Required] Gets the lifecycle_state of this ConsoleHistory. The current state of the console history.

Allowed values for this property are: “REQUESTED”, “GETTING_HISTORY”, “SUCCEEDED”, “FAILED”, “DELETED”, “DELETING”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The lifecycle_state of this ConsoleHistory.
Return type:str
time_created

[Required] Gets the time_created of this ConsoleHistory. The date and time the console history was created.

Returns:The time_created of this ConsoleHistory.
Return type:datetime