models_v2.cancel_protection_run_request module

class models_v2.cancel_protection_run_request.CancelProtectionRunRequest(local_task_id=None, object_ids=None, replication_task_id=None, archival_task_id=None, cloud_spin_task_id=None)[source]

Bases: object

Implementation of the ‘Cancel protection run request.’ model.

Specifies the request to cancel a protection run.

Attributes:

local_task_id (string): Specifies the task id of the local run. object_ids (list of long|int): List of entity ids for which we need to

cancel the backup tasks. If this is provided it will not cancel the complete run but will cancel only subset of backup tasks (if backup tasks are cancelled correspoding copy task will also get cancelled). If the backup tasks are completed successfully it will not cancel those backup tasks.

replication_task_id (list of string): Specifies the task id of the

replication run.

archival_task_id (list of string): Specifies the task id of the

archival run.

cloud_spin_task_id (list of string): Specifies the task id of the

cloudSpin 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.