models_v2.oracle_protection_group_database_node_channel module

class models_v2.oracle_protection_group_database_node_channel.OracleProtectionGroupDatabaseNodeChannel(archive_log_retention_days=None, database_unique_name=None, database_uuid=None, default_channel_count=None, database_node_list=None, max_host_count=None, enable_dg_primary_backup=None, rman_backup_type=None)[source]

Bases: object

Implementation of the ‘Oracle Protection Group Database Node Channel’ model.

Specifies the DB channel info for all the databases of app entity. Length of this array will be 1 for RAC and Standalone setups.

Attributes:
archive_log_retention_days (int): Specifies the number of days archive

log should be stored. For keeping the archived log forever, set this to -1. For deleting the archived log immediately, set this to 0. For deleting the archived log after n days, set this to n.

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. This value is used on all Oracle Database Nodes unless databaseNodeList item’s channelCount is specified for the node. Default value for the number of channels will be calculated as the minimum of number of nodes in Cohesity cluster and 2 * number of CPU on the host. If the number of channels is unspecified here and unspecified within databaseNodeList, the above formula will be used to determine the same.

database_node_list (list of OracleProtectionGroupDatabaseHost):

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

max_host_count (int): Specifies the maximum number of hosts from which

backup/restore is allowed in parallel. This will be less than or equal to the number of databaseNode specified within databaseNodeList.

enable_dg_primary_backup (bool): Specifies whether the database having

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

rman_backup_type (RmanBackupTypeEnum): Specifies the type of Oracle

RMAN backup requested

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.