Documentation ¶
Index ¶
- type LastModifiedBy
- type ManagedBy
- type Service
- func (service *Service) Create(staticIpID *StaticIP) (*StaticIP, *http.Response, error)
- func (service *Service) Delete(staticIpID int) (*http.Response, error)
- func (service *Service) Get(staticIpID int) (*StaticIP, error)
- func (service *Service) GetAll() ([]StaticIP, error)
- func (service *Service) GetByIPAddress(address string) (*StaticIP, error)
- func (service *Service) Update(staticIpID int, staticIP *StaticIP) (*StaticIP, *http.Response, error)
- type StaticIP
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LastModifiedBy ¶
type StaticIP ¶
type StaticIP struct { ID int `json:"id,omitempty"` IpAddress string `json:"ipAddress"` GeoOverride bool `json:"geoOverride"` Latitude float64 `json:"latitude,omitempty"` Longitude float64 `json:"longitude,omitempty"` RoutableIP bool `json:"routableIP,omitempty"` LastModificationTime int `json:"lastModificationTime"` Comment string `json:"comment,omitempty"` 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 }
Gets all provisioned static IP addresses.
Click to show internal directories.
Click to hide internal directories.