models.deploy_task_request module

class models.deploy_task_request.DeployTaskRequest(name=None, new_parent_id=None, objects=None, target=None)[source]

Bases: object

Implementation of the ‘DeployTaskRequest’ model.

Specifies the settings for a Deploy Task that deploys VMs on cloud.

Attributes:
name (string): Specifies the name of the Deploy Task. This field must

be set and must be a unique name.

new_parent_id (long|int): Specifies a new registered parent Protection

Source. If specified the selected objects are cloned or recovered to this new Protection Source. If not specified, objects are cloned or recovered to the original Protection Source that was managing them.

objects (list of RestoreObjectDetails): Array of Objects. Specifies a

list of Protection Source objects or Protection Job objects (with specified Protection Source objects).

target (CloudDeployTargetDetails): Message that specifies the details

about CloudDeploy target where backup snapshots may be converted and stored.

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.