cbi_zpa_profile

The following methods allow for interaction with the ZPA Cloud Browser Isolation ZPA Profile API endpoints.

Methods are accessible via zpa.cbi_zpa_profile

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 CBIZPAProfileAPI

Bases: APIClient

A Client object for the Cloud Browser Isolation ZPA Profile resource.

list_cbi_zpa_profiles(query_params=None, **kwargs)

Returns a list of all cloud browser isolation ZPA profiles, with options to filter by disabled status and scope.

Parameters:
  • show_disabled (bool, optional) – If set to True, the response includes disabled profiles.

  • scope_id (str, optional) – The unique identifier of the scope of the tenant to filter the profiles.

Returns:

A tuple containing a list of ZPAProfile instances, response object, and error if any.

Return type:

Tuple

Examples

>>> profile_list, _, err = client.zpa.cbi_zpa_profile.list_cbi_zpa_profiles()
... if err:
...     print(f"Error listing cbi profile: {err}")
...     return
list_isolation_profiles(query_params=None, **kwargs)

Returns a list of all cloud browser isolation ZPA profiles, with options to filter by disabled status and scope.

Parameters:
  • show_disabled (bool, optional) – If set to True, the response includes disabled profiles.

  • scope_id (str, optional) – The unique identifier of the scope of the tenant to filter the profiles.

Returns:

A tuple containing a list of ZPAProfile instances, response object, and error if any.

Return type:

Tuple

Examples

>>> profile_list, _, err = client.zpa.cbi_zpa_profile.list_isolation_profiles()
... if err:
...     print(f"Error listing cbi profile: {err}")
...     return