models_v2.hdfs_protection_group_params module

class models_v2.hdfs_protection_group_params.HdfsProtectionGroupParams(hdfs_source_id=None, include_paths=None, exclude_paths=None, concurrency=None, bandwidth_mbps=None, source_id=None, indexing_policy=None, source_name=None)[source]

Bases: object

Implementation of the ‘HdfsProtectionGroupParams’ model.

Specifies the parameters for HDFS Protection Group.

Attributes:
include_paths (list of string): Specifies the paths to be included in

the Protection Group.

exclude_paths (list of string): Specifies the paths to be excluded in

the Protection Group. excludePaths will ovrride includePaths.

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.

hdfs_source_id (long|int): The object ID of the HDFS source for this

protection group.

source_id (long|int): Object ID of the Source on which this protection

was run .

indexing_policy (IndexingPolicy): Specifies settings for indexing

files found in an Object (such as a VM) so these files can be searched and recovered. This also specifies inclusion and exclusion rules that determine the directories to index.

source_name (string): Specifies the name of the Source on which this

protection was 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.