models.oracle_db_channel_info_host_info module

class models.oracle_db_channel_info_host_info.OracleDBChannelInfoHostInfo(host=None, num_channels=None, portnum=None, sbt_host_params=None)[source]

Bases: object

Implementation of the ‘OracleDBChannelInfo_HostInfo’ model.

The name of this proto message is out-dated. This proto should generally be used to represent parameters needed for each Oracle ‘cluster’ node. ‘cluster’ here is a loose term used to include more than Oracle RAC cluster, e.g. ‘active-passive’ cluster is also considered here as ‘cluster’ and its ‘cluster node will also be represented by the following proto.

Attributes:
host (string): ‘agent_id’ of the host from which we are allowed to

take the backup/restore.

num_channels (int): Number of channels we need to create for this

host. Default value for num_channels will be calculated as minimum of number of nodes in cohesity cluster, 2 * number of cpu on Oracle host.

portnum (long|int): port number where database is listening. sbt_host_params (OracleSbtHostParams): The necessury parameters for

SBT. This is set only when backup type is kSbt.

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.