models.oracle_database_node_channel module

class models.oracle_database_node_channel.OracleDatabaseNodeChannel(archive_log_keep_days=None, database_node_list=None, database_unique_name=None, database_uuid=None, default_channel_count=None, enable_dg_primary_backup=None, max_node_count=None, rman_backup_type=None)[source]

Bases: object

Implementation of the ‘OracleDatabaseNodeChannel’ model.

Specifies node and channel info required for the backup and restore of a database.

Attributes:
archive_log_keep_days (int): Specifies the number of days archive log

should be stored.

database_node_list (list of OracleDatabaseNode): Array of nodes of a

database. Specifies the Node info from where we are allowed to take the backup/restore.

database_unique_name (string): Specifies the unique Name of the

database.

database_uuid (string): Specifies the database unique id. This is an

internal field and is filled by magneto master based on corresponding app entity id.

default_channel_count (int): Specifies the default number of channels

to use per node per database. The default number of channels to use per host per db. This value is used on all OracleDatabaseNode’s unless databaseNodeList item’s channelCount is specified for the node.

enable_dg_primary_backup (bool): Specifies whether the database having

the Primary role within Data Guard configuration is to be backed up.

max_node_count (int): Specifies the maximum number of nodes from which

we are allowed to take backup/restore.

rman_backup_type (int): Specifies the type of Oracle RMAN backup.

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.