managed_browser_profile¶
The following methods allow for interaction with the ZPA Managed Browser Profile Controller API endpoints.
Methods are accessible via zpa.managed_browser_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 ManagedBrowserProfileAPI¶
Bases:
APIClientA Client object for the Managed Browser Profile resource.
- list_managed_browser_profiles(query_params=None)¶
Gets all the managed browser profiles for a customer
- Parameters:
{dict} (query_params) –
Map of query parameters for the request.
[query_params.page]{str}: Specifies the page number.[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.search]{str}: Search string for filtering results.[query_params.microtenant_id]{str}: The unique identifier of the microtenant of ZPA tenant.- Returns:
A tuple containing (list of ManagedBrowserProfile instances, Response, error)
- Return type:
Examples
Retrieve machine groups with pagination parameters:
>>> profile_list, _, err = client.zpa.managed_browser_profile.list_managed_browser_profiles( ... query_params={'search': 'Profile01', 'page': '1', 'page_size': '100'}) ... if err: ... print(f"Error listing managed browser profiles: {err}") ... return ... print(f"Total managed browser profiles found: {len(profile_list)}") ... for profile in profile_list: ... print(profile.as_dict())