controllers.license_controller module

class controllers.license_controller.LicenseController(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_license_usage()[source]

Does a GET request to /public/licenseUsage.

Sends a request to retrieve information about the current license usage of the cluster and the enitled license capacity of the Cohesity Account.

Returns:

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