models.oracle_pluggable_database_info module

class models.oracle_pluggable_database_info.OraclePluggableDatabaseInfo(database_id=None, name=None, open_mode=None, size_bytes=None)[source]

Bases: object

Implementation of the ‘OraclePluggableDatabaseInfo’ model.

Specifies the informatiomn about the pluggable database. A Pluggabele Database(PDB) is a portable collection of schemas, schema objects, and nonschema objects that appears to an Oracle Net client as a non-CDB.

Attributes: database_id (string): Specifies the ID of the Pluggable Database. name (string): Speicifes the name of the Pluggable Database. open_mode (OpenModeEnum): Specifies the OPEN_MODE information.

Specifies the OPEN_MODE type for the Oracle database. ‘kMounted’ indicates that the database is open in Mounted mode. ‘kReadWrite’ indicates that the database is open in R/W mode. ‘kReadOnly’ indicates that the database is open in ReadOnly mode. ‘kMigrate’ indicates that the database is open in Migrate mode.

size_bytes (int): Specifies the Size in Bytes of the Pluggable Database.

classmethod from_dictionary(dictionary)[source]

Creates an instance of this model from a dictionary

Args:

dictionary (dictionary): A dictionary representation of the object as obtained from the deserialization of the server’s response. The keys MUST match property names in the API description.

Returns:

object: An instance of this structure class.