models_v2.cassandra_protection_group_params module¶
-
class
models_v2.cassandra_protection_group_params.
CassandraProtectionGroupParams
(objects=None, concurrency=None, bandwidth_mbps=None, exclude_object_ids=None, source_id=None, source_name=None, data_centers=None, is_log_backup=None)[source]¶ Bases:
object
Implementation of the ‘CassandraProtectionGroupParams’ model.
Specifies the parameters for Cassandra Protection Group.
- Attributes:
- objects (list of NoSqlProtectionGroupObjectParams): Specifies the
objects to be included in the Protection Group.
- concurrency (int): Specifies the maximum number of concurrent IO
Streams that will be created to exchange data with the cluster.
- bandwidth_mbps (long|int): Specifies the maximum network bandwidth
that each concurrent IO Stream can use for exchanging data with the cluster.
- exclude_object_ids (list of long|int): Specifies the objects to be
excluded in the Protection Group.
- source_id (long|int): Object ID of the Source on which this protection
was run .
- source_name (string): Specifies the name of the Source on which this
protection was run.
- data_centers (list of string): Only the specified data centers will be
considered while taking backup. The keyspaces having replication strategy ‘Simple’ can be backed up only if all the datacenters for the cassandra cluster are specified. For any keyspace having replication strategy as ‘Network’, all the associated data centers should be specified.
- is_log_backup (bool): Specifies the type of job for Cassandra. If true,
only log backup job will be scheduled for the source. This requires a policy with log Backup option enabled.
-
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.