process_based_apps¶
The following methods allow for interaction with the ZCC Process-based Apps API endpoints.
Methods are accessible via zcc.process_based_apps
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 ProcessBasedAppsAPI¶
Bases:
APIClient- get_process_based_app(app_id)¶
Retrieves the process-based application using appID.
- Parameters:
app_id (str) – The unique identifier of the process-based application.
- Returns:
Retrieves the process-based application.
- Return type:
Examples
Prints the process-based application:
>>> app, _, err = client.zcc.process_based_apps.get_process_based_app('1234567890') >>> if err: ... print(f"Error listing process-based application: {err}") ... return ... print(app.as_dict())
- get_process_based_apps()¶
Retrieves the list of process-based applications.
- Parameters:
query_params (dict, optional) –
A dictionary containing supported filters.
[query_params.page]{str}: Specifies the page offset.[query_params.page_size]{str}: Specifies the page size. The default size is 50.[query_params.search]{str}: The search string used to match against the policies.- Returns:
Retrieves the list of process-based applications.
- Return type:
Examples
Prints all process-based applications:
>>> apps_list, _, err = client.zcc.process_based_apps.get_process_based_apps() >>> if err: ... print(f"Error listing process-based applications: {err}") ... return ... for app in apps_list: ... print(app.as_dict())