models_v2.common_backup_params module

class models_v2.common_backup_params.CommonBackupParams(policy_id=None, storage_domain_id=None, start_time=None, priority=None, sla=None, qos_policy=None, abort_in_blackouts=None)[source]

Bases: object

Implementation of the ‘CommonBackupParams’ model.

Specifies the common parameters for backup. These parameters are common across protection group and object protection.

Attributes:
policy_id (string): Specifies the unique id of the Protection Policy.

The Policy settings will be attached with every object and will be used in backup.

storage_domain_id (long|int): Specifies the Storage Domain (View Box)

ID where the object backup will be taken. This is not required if Cloud archive direct is benig used.

start_time (TimeOfDay): Specifies the time of day. Used for scheduling

purposes.

priority (PriorityEnum): Specifies the priority for the objects

backup.

sla (list of SlaRule): Specifies the SLA parameters for list of

objects.

qos_policy (QosPolicyEnum): Specifies whether object backup will be

written to HDD or SSD.

abort_in_blackouts (bool): Specifies whether currently executing

object backup should abort if a blackout period specified by a policy starts. Available only if the selected policy has at least one blackout period. Default value is false.

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.