PluggableDatabaseNodeLevelDetails

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

Bases: object

Pluggable Database Node Level Details.

Attributes

OPEN_MODE_MIGRATE A constant which can be used with the open_mode property of a PluggableDatabaseNodeLevelDetails.
OPEN_MODE_MOUNTED A constant which can be used with the open_mode property of a PluggableDatabaseNodeLevelDetails.
OPEN_MODE_READ_ONLY A constant which can be used with the open_mode property of a PluggableDatabaseNodeLevelDetails.
OPEN_MODE_READ_WRITE A constant which can be used with the open_mode property of a PluggableDatabaseNodeLevelDetails.
node_name [Required] Gets the node_name of this PluggableDatabaseNodeLevelDetails.
open_mode [Required] Gets the open_mode of this PluggableDatabaseNodeLevelDetails.

Methods

__init__(**kwargs) Initializes a new PluggableDatabaseNodeLevelDetails object with values from keyword arguments.
OPEN_MODE_MIGRATE = 'MIGRATE'

A constant which can be used with the open_mode property of a PluggableDatabaseNodeLevelDetails. This constant has a value of “MIGRATE”

OPEN_MODE_MOUNTED = 'MOUNTED'

A constant which can be used with the open_mode property of a PluggableDatabaseNodeLevelDetails. This constant has a value of “MOUNTED”

OPEN_MODE_READ_ONLY = 'READ_ONLY'

A constant which can be used with the open_mode property of a PluggableDatabaseNodeLevelDetails. This constant has a value of “READ_ONLY”

OPEN_MODE_READ_WRITE = 'READ_WRITE'

A constant which can be used with the open_mode property of a PluggableDatabaseNodeLevelDetails. This constant has a value of “READ_WRITE”

__init__(**kwargs)

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

Parameters:
  • node_name (str) – The value to assign to the node_name property of this PluggableDatabaseNodeLevelDetails.
  • open_mode (str) – The value to assign to the open_mode property of this PluggableDatabaseNodeLevelDetails. Allowed values for this property are: “READ_ONLY”, “READ_WRITE”, “MOUNTED”, “MIGRATE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
node_name

[Required] Gets the node_name of this PluggableDatabaseNodeLevelDetails. The Node name of the Database Instance.

Returns:The node_name of this PluggableDatabaseNodeLevelDetails.
Return type:str
open_mode

[Required] Gets the open_mode of this PluggableDatabaseNodeLevelDetails. The mode that pluggable database is in. Open mode can only be changed to READ_ONLY or MIGRATE directly from the backend (within the Oracle Database software).

Allowed values for this property are: “READ_ONLY”, “READ_WRITE”, “MOUNTED”, “MIGRATE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The open_mode of this PluggableDatabaseNodeLevelDetails.
Return type:str