controllers_v2.tasks_controller module

class controllers_v2.tasks_controller.TasksController(config=None, client=None, call_back=None)[source]

Bases: cohesity_management_sdk.controllers_v2.base_controller.BaseController

A Controller to access Endpoints in the cohesity_management_sdk API.

get_progress_tasks(ids=None)[source]

Does a GET request to /tasks.

Get details about tasks by providing task ids.

Args:
ids (list of string, optional): Specifies a unique task id to get

the deatils of a task. To fetch the status of multiple tasks, pass comma seperated list of taskIds.

Returns:

ProgressTasks: Response from the API. Success

Raises:
APIException: When an error occurs while fetching the data from

the remote API. This exception includes the HTTP Response code, an error message, and the HTTP body that was received in the request.