virtualipaddresslist

package
v0.2.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 26, 2022 License: MIT Imports: 3 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GREVirtualIPList

type GREVirtualIPList struct {
	ID                 int    `json:"id"`
	VirtualIp          string `json:"virtualIp,omitempty"`
	PrivateServiceEdge bool   `json:"privateServiceEdge,omitempty"`
	DataCenter         string `json:"dataCenter,omitempty"`
	CountryCode        string `json:"countryCode,omitempty"`
}

type Service

type Service struct {
	Client *zia.Client
}

func New

func New(c *zia.Client) *Service

func (*Service) GetAll added in v0.0.4

func (service *Service) GetAll() ([]GREVirtualIPList, error)

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"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL