controllers.clone_refresh_tasks_controller module

class controllers.clone_refresh_tasks_controller.CloneRefreshTasksController(config=None, client=None, call_back=None)[source]

Bases: cohesity_management_sdk.controllers.base_controller.BaseController

A Controller to access Endpoints in the cohesity_management_sdk API.

create_clone_refresh_task(body)[source]

Does a POST request to /public/restore/applicationsClone/refresh.

Returns the created Clone Refresh Task which refreshes the clone with specified data.

Args:
body (CloneRefreshRequest): Request to create a Clone Refresh

Task.

Returns:

RestoreTaskWrapper: 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.