region

package
v3.0.8 Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Regions

type Regions struct {
	// The geographical ID of the city
	Datacenter int `json:"cityGeoId"`

	// The geographical ID of the state
	StateGeoId int `json:"stateGeoId"`

	// The latitude coordinate of the city
	Latitude float64 `json:"latitude"`

	// The longitude coordinate of the city
	Longitude float64 `json:"longitude"`

	// The name of the city
	CityName string `json:"cityName"`

	// The name of the state, province, or territory of a country
	StateName string `json:"stateName"`

	// The name of the country
	CountryName string `json:"countryName"`

	// The ISO standard two-letter country code
	CountryCode string `json:"countryCode"`

	// The postal code
	PostalCode string `json:"postalCode"`

	// The ISO standard two-letter continent code
	ContinentCode string `json:"continentCode"`
}

func GetDatacenterRegion

func GetDatacenterRegion(ctx context.Context, service *zscaler.Service, regionPrefix string) ([]Regions, error)

Jump to

Keyboard shortcuts

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