models_v2.source_registration module

class models_v2.source_registration.SourceRegistration(id=None, source_id=None, environment=None, name=None, vmware_params=None, physical_params=None, cassandra_params=None, mongodb_params=None, couchbase_params=None, hdfs_params=None, hbase_params=None, hive_params=None)[source]

Bases: object

Implementation of the ‘Source Registration.’ model.

Specifies the Source Registration.

Attributes:
id (long|int): Source Registration ID. This can be used to retrieve,

edit or delete the source registration.

source_id (long|int): ID of top level source object discovered after

the registration.

environment (Environment8Enum): Specifies the environment type of the

Protection Source.

name (string): A user specified name for this source. vmware_params (VmwareSourceRegistrationParams): Specifies the

paramaters to register a VMware source.

physical_params (RegisterPhysicalSeverRequestParameters): Specifies

parameters to register physical server.

cassandra_params (RegisterCassandraSourceRequestParameters): Specifies

parameters to register cassandra source.

mongodb_params (RegisterMongoDBSourceRequestParameters): Specifies

parameters to register MongoDB source.

couchbase_params (RegisterCouchbaseSourceRequestParameters): Specifies

parameters to register Couchbase source.

hdfs_params (RegisterHDFSSourceRequestParameters): Specifies

parameters to register an HDFS source.

hbase_params (RegisterHBaseSourceRequestParameters): Specifies

parameters to register an HBase source.

hive_params (RegisterHiveSourceRequestParameters): Specifies

parameters to register Hive source.

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.