controllers_v2.miscellaneous_controller module¶
-
class
controllers_v2.miscellaneous_controller.
MiscellaneousController
(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.
-
filter_objects
(body)[source]¶ Does a POST request to /data-protect/filter/objects.
List all the filtered objects using given regular expressions and wildcard supported search strings. We are currenly supporting this for only SQL adapter.
- Args:
- body (FilterObjectsRequest): Specifies the parameters to filter
objects.
- Returns:
FilteredObjectsResponseBody: 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.
-