models_v2.data_tiering_task module

class models_v2.data_tiering_task.DataTieringTask(name=None, mtype=None, id=None, description=None, alert_policy=None, source=None, target=None, schedule=None, last_run=None, is_active=True, is_paused=True, is_deleted=True, downtiering_policy=None, uptiering_policy=None)[source]

Bases: object

Implementation of the ‘DataTieringTask’ model.

Specifies the data tiering task details.

Attributes:

id (string): Specifies the id of the data tiering task. name (string): Specifies the name of the data tiering task. description (string): Specifies a description of the data tiering

task.

alert_policy (ProtectionGroupAlertingPolicy): Specifies a policy for

alerting users of the status of a Protection Group.

source (DataTieringSource): Specifies the source data tiering

details.

target (DataTieringTarget): Specifies the target data tiering

details.

schedule (DataTieringSchedule): Specifies the data tiering schedule. mtype (Type12Enum): Type of data tiering task. ‘Downtier’ indicates

downtiering task. ‘Uptier’ indicates uptiering task.

last_run (DataTieringTaskRun): Specifies the data tiering task run. is_active (bool): Whether the data tiering task is active or not. is_paused (bool): Whether the data tiering task is paused. New runs

are not scheduled for the paused tasks. Active run of the task (if any) is not impacted.

is_deleted (bool): Tracks whether the backup job has actually been

deleted.

downtiering_policy (DowntieringPolicy): Specifies the data downtiering

policy.

uptiering_policy (UptieringPolicy): Specifies the data uptiering

policy.

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.