Documentation ¶
Index ¶
- type GREVirtualIPList
- type Service
- func (service *Service) GetAll(sourceIP string) ([]GREVirtualIPList, error)
- func (service *Service) GetAllSourceIPs() ([]GREVirtualIPList, error)
- func (service *Service) GetPairZSGREVirtualIPsWithinCountry(sourceIP, countryCode string) (*[]GREVirtualIPList, error)
- func (service *Service) GetZSGREVirtualIPList(sourceIP string, count int) (*[]GREVirtualIPList, error)
- func (service *Service) GetZscalerVIPs(datacenter string) (*ZscalerVIPs, error)
- type ZscalerVIPs
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GREVirtualIPList ¶
type GREVirtualIPList struct { // Unique identifer of the GRE virtual IP address (VIP) ID int `json:"id"` // GRE cluster virtual IP address (VIP) VirtualIp string `json:"virtualIp,omitempty"` // Set to true if the virtual IP address (VIP) is a ZIA Private Service Edge PrivateServiceEdge bool `json:"privateServiceEdge,omitempty"` // Data center information DataCenter string `json:"dataCenter,omitempty"` // Country code information CountryCode string `json:"countryCode,omitempty"` City string `json:"city,omitempty"` Region string `json:"region,omitempty"` Latitude float64 `json:"latitude"` Longitude float64 `json:"longitude"` }
type Service ¶
func (*Service) GetAll ¶
func (service *Service) GetAll(sourceIP string) ([]GREVirtualIPList, error)
func (*Service) GetAllSourceIPs ¶
func (service *Service) GetAllSourceIPs() ([]GREVirtualIPList, error)
GetAllSourceIPs gets all vips for all static ips
func (*Service) GetPairZSGREVirtualIPsWithinCountry ¶
func (service *Service) GetPairZSGREVirtualIPsWithinCountry(sourceIP, countryCode string) (*[]GREVirtualIPList, error)
Gets a paginated list of the virtual IP addresses (VIPs) available in the Zscaler cloud by sourceIP within country.
func (*Service) GetZSGREVirtualIPList ¶
func (service *Service) GetZSGREVirtualIPList(sourceIP string, count int) (*[]GREVirtualIPList, error)
Gets a paginated list of the virtual IP addresses (VIPs) available in the Zscaler cloud by sourceIP.
func (*Service) GetZscalerVIPs ¶
func (service *Service) GetZscalerVIPs(datacenter string) (*ZscalerVIPs, error)
Gets a paginated list of the virtual IP addresses (VIPs) available in the Zscaler cloud, including region and data center information. By default, the request gets all public VIPs in the cloud, but you can also include private or all VIPs in the request, if necessary.
type ZscalerVIPs ¶
type ZscalerVIPs struct { CloudName string `json:"cloudName"` Region string `json:"region"` City string `json:"city"` DataCenter string `json:"dataCenter"` Location string `json:"location"` VPNIPs []string `json:"vpnIps"` VPNDomainName string `json:"vpnDomainName"` GREIPs []string `json:"greIps"` GREDomainName string `json:"greDomainName"` PACIPs []string `json:"pacIps"` PACDomainName string `json:"pacDomainName"` }
Click to show internal directories.
Click to hide internal directories.