Versions in this module Expand all Collapse all v1 v1.8.0 Aug 24, 2023 v1.7.1 Jul 9, 2023 v1.7.0 Jul 9, 2023 v1.6.4 Jul 9, 2023 v1.6.1 Jun 29, 2023 Changes in this version + type Location struct + Extensions map[string]interface{} + ID int + Name string + type Locations struct + AUPBlockInternetUntilAccepted bool + AUPEnabled bool + AUPForceSSLInspection bool + AUPTimeoutInDays int + AuthRequired bool + BasicAuthEnabled bool + CautionEnabled bool + Country string + Description string + DigestAuthEnabled bool + DisplayTimeUnit string + DnBandwidth int + GeoOverride bool + ID int + IOTDiscoveryEnabled bool + IPAddresses []string + IPSControl bool + IPv6Dns64Prefix bool + IPv6Enabled bool + IdleTimeInMinutes int + KerberosAuth bool + Language string + Name string + OFWEnabled bool + Other6SubLocation bool + OtherSubLocation bool + ParentID int + Ports string + Profile string + SSLScanEnabled bool + SurrogateIP bool + SurrogateIPEnforcedForKnownBrowsers bool + SurrogateRefreshTimeInMinutes int + SurrogateRefreshTimeUnit string + TZ string + UpBandwidth int + VPNCredentials []VPNCredentials + XFFForwardEnabled bool + ZappSSLScanEnabled bool + type ManagedBy struct + Extensions map[string]interface{} + ID int + Name string + type Service struct + Client *zia.Client + func New(c *zia.Client) *Service + func (service *Service) Create(locations *Locations) (*Locations, error) + func (service *Service) Delete(locationID int) (*http.Response, error) + func (service *Service) GetAll() ([]Locations, error) + func (service *Service) GetLocation(locationID int) (*Locations, error) + func (service *Service) GetLocationByName(locationName string) (*Locations, error) + func (service *Service) GetLocationOrSublocationByID(id int) (*Locations, error) + func (service *Service) GetLocationOrSublocationByName(name string) (*Locations, error) + func (service *Service) GetSubLocation(locationID, subLocationID int) (*Locations, error) + func (service *Service) GetSubLocationByName(subLocatioName string) (*Locations, error) + func (service *Service) GetSubLocationByNames(locationName, subLocatioName string) (*Locations, error) + func (service *Service) GetSubLocationBySubID(subLocationID int) (*Locations, error) + func (service *Service) GetSublocations(locationID int) ([]Locations, error) + func (service *Service) Update(locationID int, locations *Locations) (*Locations, *http.Response, error) + type VPNCredentials struct + Comments string + FQDN string + ID int + IPAddress string + Location []Location + ManagedBy []ManagedBy + PreSharedKey string + Type string Other modules containing this package github.com/SecurityGeekIO/zscaler-sdk-go/v2