dedicated_ip_gateways¶
The following methods allow for interaction with the ZIA Dedicated IP Gateways API endpoints.
Methods are accessible via zia.dedicated_ip_gateways
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 DedicatedIPGatewaysAPI¶
Bases:
APIClientA Client object for the Dedicated IP Gateways resource.
- list_dedicated_ip_gw_lite(query_params=None)¶
Retrieves a list of dedicated IP gateways
Args:
- Returns:
A tuple containing (Proxies instance, Response, error).
- Return type:
Examples
>>> gw_list, _, error = client.zia.dedicated_ip_gateways.list_dedicated_ip_gw_lite() >>> if error: ... print(f"Error listing gateways: {error}") ... return ... print(f"Total gateways found: {len(gw_list)}") ... for gw in gw_list: ... print(gw.as_dict())