Documentation
¶
Index ¶
- type GreTunnels
- type LastModifiedBy
- type ManagedBy
- type PrimaryDestVip
- type SecondaryDestVip
- type Service
- func (service *Service) CreateGreTunnels(greTunnelID *GreTunnels) (*GreTunnels, *http.Response, error)
- func (service *Service) DeleteGreTunnels(greTunnelID int) (*http.Response, error)
- func (service *Service) GetGreTunnels(greTunnelID int) (*GreTunnels, error)
- func (service *Service) UpdateGreTunnels(greTunnelID int, greTunnels *GreTunnels) (*GreTunnels, *http.Response, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GreTunnels ¶
type GreTunnels struct { ID int `json:"id,omitempty"` SourceIP string `json:"sourceIp,omitempty"` InternalIpRange string `json:"internalIpRange,omitempty"` LastModificationTime int `json:"lastModificationTime,omitempty"` WithinCountry bool `json:"withinCountry"` Comment string `json:"comment,omitempty"` IPUnnumbered bool `json:"ipUnnumbered"` ManagedBy *ManagedBy `json:"managedBy,omitempty"` // Should probably move this to a common package. Used by multiple resources LastModifiedBy *LastModifiedBy `json:"lastModifiedBy,omitempty"` // Should probably move this to a common package. Used by multiple resources PrimaryDestVip *PrimaryDestVip `json:"primaryDestVip,omitempty"` SecondaryDestVip *SecondaryDestVip `json:"secondaryDestVip,omitempty"` }
type LastModifiedBy ¶
type PrimaryDestVip ¶
type PrimaryDestVip struct { ID int `json:"id,omitempty"` VirtualIP string `json:"virtualIp,omitempty"` PrivateServiceEdge bool `json:"privateServiceEdge"` Datacenter string `json:"datacenter,omitempty"` Latitude float64 `json:"latitude,omitempty"` Longitude float64 `json:"longitude,omitempty"` City string `json:"city,omitempty"` CountryCode string `json:"countryCode,omitempty"` Region string `json:"region,omitempty"` }
type SecondaryDestVip ¶
type SecondaryDestVip struct { ID int `json:"id,omitempty"` VirtualIP string `json:"virtualIp,omitempty"` PrivateServiceEdge bool `json:"privateServiceEdge"` Datacenter string `json:"datacenter,omitempty"` Latitude float64 `json:"latitude,omitempty"` Longitude float64 `json:"longitude,omitempty"` City string `json:"city,omitempty"` CountryCode string `json:"countryCode,omitempty"` Region string `json:"region,omitempty"` }
type Service ¶
func (*Service) CreateGreTunnels ¶
func (service *Service) CreateGreTunnels(greTunnelID *GreTunnels) (*GreTunnels, *http.Response, error)
Adds a GRE tunnel configuration.
func (*Service) DeleteGreTunnels ¶
func (*Service) GetGreTunnels ¶
func (service *Service) GetGreTunnels(greTunnelID int) (*GreTunnels, error)
func (*Service) UpdateGreTunnels ¶
func (service *Service) UpdateGreTunnels(greTunnelID int, greTunnels *GreTunnels) (*GreTunnels, *http.Response, error)
Click to show internal directories.
Click to hide internal directories.