vips#
The following methods allow for interaction with the ZIA Data Center VIPs API endpoints.
Methods are accessible via zia.vips
- class DataCenterVIPSAPI#
- list_ca(cloud)#
Returns a list of Zscaler Central Authority server IPs for the specified cloud.
- Parameters:
cloud (str) – The ZIA cloud that this request applies to.
- Returns:
A list of CA server IPs.
- Return type:
BoxList
Examples
Print the IP address of Central Authority servers in zscalertwo.net:
>>> for ip in zia.vips.list_ca('zscalertwo'): ... print(ip)
- list_pac(cloud)#
Returns a list of Proxy Auto-configuration (PAC) server IPs for the specified cloud.
- Parameters:
cloud (str) – The ZIA cloud that this request applies to.
- Returns:
A list of PAC server IPs.
- Return type:
BoxList
Examples
Print the IP address of PAC servers in zscloud.net:
>>> for ip in zia.vips.list_pac('zscloud'): ... print(ip)
- list_public_se(cloud, continent=None)#
Returns a list of the Zscaler Public Service Edge information for the specified cloud.
- Parameters:
- Returns:
The Public Service Edge VIPs
- Return type:
Box
Examples
Print all Public Service Edge information for
zscaler.net
:>>> pprint(zia.vips.list_public_se('zscaler'))
Print all Public Service Edge information for
zscalerthree.net
inapac
:>>> pprint(zia.vips.list_public_se('zscalerthree', ... continent='apac')