ConsoleConnection

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

Bases: object

ConsoleConnection model.

Attributes

LIFECYCLE_STATE_ACTIVE A constant which can be used with the lifecycle_state property of a ConsoleConnection.
LIFECYCLE_STATE_CREATING A constant which can be used with the lifecycle_state property of a ConsoleConnection.
LIFECYCLE_STATE_DELETED A constant which can be used with the lifecycle_state property of a ConsoleConnection.
LIFECYCLE_STATE_DELETING A constant which can be used with the lifecycle_state property of a ConsoleConnection.
LIFECYCLE_STATE_FAILED A constant which can be used with the lifecycle_state property of a ConsoleConnection.
compartment_id [Required] Gets the compartment_id of this ConsoleConnection.
connection_string [Required] Gets the connection_string of this ConsoleConnection.
db_node_id [Required] Gets the db_node_id of this ConsoleConnection.
fingerprint [Required] Gets the fingerprint of this ConsoleConnection.
id [Required] Gets the id of this ConsoleConnection.
lifecycle_state [Required] Gets the lifecycle_state of this ConsoleConnection.

Methods

__init__(**kwargs) Initializes a new ConsoleConnection object with values from keyword arguments.
LIFECYCLE_STATE_ACTIVE = 'ACTIVE'

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

LIFECYCLE_STATE_CREATING = 'CREATING'

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

LIFECYCLE_STATE_DELETED = 'DELETED'

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

LIFECYCLE_STATE_DELETING = 'DELETING'

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

LIFECYCLE_STATE_FAILED = 'FAILED'

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

__init__(**kwargs)

Initializes a new ConsoleConnection 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 ConsoleConnection.
  • compartment_id (str) – The value to assign to the compartment_id property of this ConsoleConnection.
  • db_node_id (str) – The value to assign to the db_node_id property of this ConsoleConnection.
  • connection_string (str) – The value to assign to the connection_string property of this ConsoleConnection.
  • fingerprint (str) – The value to assign to the fingerprint property of this ConsoleConnection.
  • lifecycle_state (str) – The value to assign to the lifecycle_state property of this ConsoleConnection. Allowed values for this property are: “ACTIVE”, “CREATING”, “DELETED”, “DELETING”, “FAILED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
compartment_id

[Required] Gets the compartment_id of this ConsoleConnection. The OCID of the compartment to contain the console connection.

Returns:The compartment_id of this ConsoleConnection.
Return type:str
connection_string

[Required] Gets the connection_string of this ConsoleConnection. The SSH connection string for the console connection.

Returns:The connection_string of this ConsoleConnection.
Return type:str
db_node_id

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

Returns:The db_node_id of this ConsoleConnection.
Return type:str
fingerprint

[Required] Gets the fingerprint of this ConsoleConnection. The SSH public key fingerprint for the console connection.

Returns:The fingerprint of this ConsoleConnection.
Return type:str
id

[Required] Gets the id of this ConsoleConnection. The OCID of the console connection.

Returns:The id of this ConsoleConnection.
Return type:str
lifecycle_state

[Required] Gets the lifecycle_state of this ConsoleConnection. The current state of the console connection.

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

Returns:The lifecycle_state of this ConsoleConnection.
Return type:str