ConsoleHistorySummary¶
-
class
oci.database.models.
ConsoleHistorySummary
(**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 ConsoleHistorySummary. LIFECYCLE_STATE_DELETING
A constant which can be used with the lifecycle_state property of a ConsoleHistorySummary. LIFECYCLE_STATE_FAILED
A constant which can be used with the lifecycle_state property of a ConsoleHistorySummary. LIFECYCLE_STATE_GETTING_HISTORY
A constant which can be used with the lifecycle_state property of a ConsoleHistorySummary. LIFECYCLE_STATE_REQUESTED
A constant which can be used with the lifecycle_state property of a ConsoleHistorySummary. LIFECYCLE_STATE_SUCCEEDED
A constant which can be used with the lifecycle_state property of a ConsoleHistorySummary. compartment_id
[Required] Gets the compartment_id of this ConsoleHistorySummary. db_node_id
[Required] Gets the db_node_id of this ConsoleHistorySummary. defined_tags
Gets the defined_tags of this ConsoleHistorySummary. display_name
Gets the display_name of this ConsoleHistorySummary. freeform_tags
Gets the freeform_tags of this ConsoleHistorySummary. id
[Required] Gets the id of this ConsoleHistorySummary. lifecycle_details
Gets the lifecycle_details of this ConsoleHistorySummary. lifecycle_state
[Required] Gets the lifecycle_state of this ConsoleHistorySummary. time_created
[Required] Gets the time_created of this ConsoleHistorySummary. Methods
__init__
(**kwargs)Initializes a new ConsoleHistorySummary object with values from keyword arguments. -
LIFECYCLE_STATE_DELETED
= 'DELETED'¶ A constant which can be used with the lifecycle_state property of a ConsoleHistorySummary. This constant has a value of “DELETED”
-
LIFECYCLE_STATE_DELETING
= 'DELETING'¶ A constant which can be used with the lifecycle_state property of a ConsoleHistorySummary. This constant has a value of “DELETING”
-
LIFECYCLE_STATE_FAILED
= 'FAILED'¶ A constant which can be used with the lifecycle_state property of a ConsoleHistorySummary. 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 ConsoleHistorySummary. 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 ConsoleHistorySummary. This constant has a value of “REQUESTED”
-
LIFECYCLE_STATE_SUCCEEDED
= 'SUCCEEDED'¶ A constant which can be used with the lifecycle_state property of a ConsoleHistorySummary. This constant has a value of “SUCCEEDED”
-
__init__
(**kwargs)¶ Initializes a new ConsoleHistorySummary 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 ConsoleHistorySummary.
- compartment_id (str) – The value to assign to the compartment_id property of this ConsoleHistorySummary.
- db_node_id (str) – The value to assign to the db_node_id property of this ConsoleHistorySummary.
- display_name (str) – The value to assign to the display_name property of this ConsoleHistorySummary.
- freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this ConsoleHistorySummary.
- defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this ConsoleHistorySummary.
- lifecycle_state (str) – The value to assign to the lifecycle_state property of this ConsoleHistorySummary. 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 ConsoleHistorySummary.
- time_created (datetime) – The value to assign to the time_created property of this ConsoleHistorySummary.
-
compartment_id
¶ [Required] Gets the compartment_id of this ConsoleHistorySummary. The OCID of the compartment containing the console history.
Returns: The compartment_id of this ConsoleHistorySummary. Return type: str
-
db_node_id
¶ [Required] Gets the db_node_id of this ConsoleHistorySummary. The OCID of the database node.
Returns: The db_node_id of this ConsoleHistorySummary. Return type: str
Gets the defined_tags of this ConsoleHistorySummary. 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 ConsoleHistorySummary. Return type: dict(str, dict(str, object))
-
display_name
¶ Gets the display_name of this ConsoleHistorySummary. The user-friendly name for the console history. The name does not need to be unique.
Returns: The display_name of this ConsoleHistorySummary. Return type: str
Gets the freeform_tags of this ConsoleHistorySummary. 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 ConsoleHistorySummary. Return type: dict(str, str)
-
id
¶ [Required] Gets the id of this ConsoleHistorySummary. The OCID of the console history.
Returns: The id of this ConsoleHistorySummary. Return type: str
-
lifecycle_details
¶ Gets the lifecycle_details of this ConsoleHistorySummary. Additional information about the current lifecycle state.
Returns: The lifecycle_details of this ConsoleHistorySummary. Return type: str
-
lifecycle_state
¶ [Required] Gets the lifecycle_state of this ConsoleHistorySummary. 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 ConsoleHistorySummary. Return type: str
-
time_created
¶ [Required] Gets the time_created of this ConsoleHistorySummary. The date and time the console history was created.
Returns: The time_created of this ConsoleHistorySummary. Return type: datetime
-