controllers.tenants_controller module¶
-
class
controllers.tenants_controller.
TenantsController
(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.
-
get_download_tenants_proxy
(id=None)[source]¶ Does a GET request to /public/tenants/proxy/image.
Returns the tenant proxy to be downloaded.
- Args:
id (string, optional): Specifies the id of the tenant.
- Returns:
- list of int: Response from the API. Tenants Proxy Download
Response.
- 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.
-