models.no_sql_backup_job_params module¶
-
class
models.no_sql_backup_job_params.
NoSqlBackupJobParams
(bandwidth_bytes_per_second=None, cassandra_backup_job_params=None, compaction_job_interval_secs=None, concurrency=None, couchbase_backup_job_params=None, gc_job_interval_secs=None, gc_retention_period_days=None, hbase_backup_job_params=None, hdfs_backup_job_params=None, hive_backup_job_params=None, last_compaction_run_time_usecs=None, last_gc_run_time_usecs=None, mongodb_backup_job_params=None, previous_protected_entity_ids_vec=None)[source]¶ Bases:
object
Implementation of the ‘NoSqlBackupJobParams’ model.
Contains backup params at the job level applicable for nosql environment.
- Attributes:
bandwidth_bytes_per_second (int): Net bandwidth bytes per second. cassandra_backup_job_params (CassandraBackupJobParams): Params
specific to cassandra backup job.
- compaction_job_interval_secs (long|int): Frequency at which compaction
jobs should run in seconds. Will be only applicable for Cassandra, Mongo and Couchbase environment.
concurrency (int): Max number of mappers. couchbase_backup_job_params (CouchbaseBackupJobParams): Contains any
additional couchbase environment specific backup params at the job level.
- gc_job_interval_secs (long|int): Frequency at which garbage collection
jobs should run in seconds.
- gc_retention_period_days (int): Retention period for logs of this job
in days.
- hbase_backup_job_params (HBaseBackupJobParams): Contains any additional
couchbase environment specific backup params at the job level.
- hdfs_backup_job_params (HdfsBackupJobParams): Contains any additional hdfs
environment specific backup params at the job level.
- hive_backup_job_params(HiveBackupJobParams): Contains any additional hive
environment specific backup params at the job level.
- last_compaction_run_time_usecs (long|int): The last time (in usecs)
when the compaction ran for this jobs.
- last_gc_run_time_usecs (long|int): The last time (in usecs) when the
gc ran for this jobs.
- mongodb_backup_job_params (mongodbBackupJobParams): Contains any additional
mongodb environment specific backup params at the job level.
- previous_protected_entity_ids_vec (list of str): List of Magneto entity
Ids for the entities that were protected in the previous run.
-
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.