customer_dr_tool¶
The following methods allow for interaction with the ZPA Customer DR Tool Version API endpoints.
Methods are accessible via zpa.customer_dr_tool
Copyright (c) 2023, Zscaler Inc.
Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies.
THE SOFTWARE IS PROVIDED “AS IS” AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
- class CustomerDRToolVersionAPI¶
Bases:
APIClientA client object for the Customer DR Tool Version resource.
- list_latest_dr_tool_versions(query_params=None)¶
Fetch latest the Customer Support DR Tool Versions sorted by latest filter.
- Parameters:
{dict} (query_params) –
Map of query parameters for the request.
[query_params.page_size]{str}: Specifies the page size.If not provided, the default page size is 20. The max page size is 500.
[query_params.page_num]{str}: Specifies the page number.[query_params.search]{str}: Search string for filtering results.- Returns:
A tuple containing (list of CustomerDRToolVersion instances, Response, error)
- Return type:
Tuple
Example
Fetch latest the Customer Support DR Tool Versions sorted by latest filter
>>> fetch_tools, _, err = client.zpa.customer_dr_tool.list_latest_dr_tool_versions() ... if err: ... print(f"Error fetching latest Customer Support DR Tool Versions: {err}") ... return ... print(f"Total Customer Support DR Tool Versions found: {len(fetch_tools)}") ... for tool in fetch_tools: ... print(tool.as_dict())