datacenter

package
v2.5.1 Latest Latest
Warning

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

Go to latest
Published: May 16, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DatacenterVIPS

type DatacenterVIPS struct {
	Datacenter struct {
		Name        string  `json:"datacenter"`
		Latitude    float64 `json:"latitude"`
		Longitude   float64 `json:"longitude"`
		City        string  `json:"city"`
		CountryCode string  `json:"countryCode"`
		Region      string  `json:"region"`
	} `json:"datacenter"`
	GreVIP []GreVIP `json:"greVips"`
}

type GreVIP

type GreVIP struct {
	ID                 int    `json:"id,omitempty"`
	VirtualIp          string `json:"virtualIp,omitempty"`
	PrivateServiceEdge bool   `json:"privateServiceEdge,omitempty"`
	Datacenter         string `json:"datacenter,omitempty"`
}

type Service

type Service struct {
	Client *zia.Client
}

func New

func New(c *zia.Client) *Service

func (*Service) GetAll

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

func (*Service) SearchByDatacenters

func (service *Service) SearchByDatacenters(params common.DatacenterSearchParameters) ([]DatacenterVIPS, error)

Jump to

Keyboard shortcuts

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