Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Location ¶ added in v0.4.1
type Location struct { Identifier string `json:"identifier" anxcloud:"identifier"` Code string `json:"code"` Name string `json:"name"` CountryCode string `json:"country"` CityCode string `json:"city_code"` Latitude *string `json:"lat"` Longitude *string `json:"lon"` }
Location describes a Anexia site where resources can be deployed.
type Resource ¶ added in v0.4.2
type Resource struct { Identifier string `json:"identifier" anxcloud:"identifier"` Name string `json:"name"` Type Type `json:"resource_type"` Tags []string `json:"tags"` Attributes json.RawMessage `json:"attributes"` }
Resource contains all information about a resource.
func (*Resource) DecodeAPIResponse ¶ added in v0.4.2
type ResourceWithTag ¶ added in v0.4.2
type ResourceWithTag struct { // Identifier of the Resource which tags to change Identifier string `anxcloud:"identifier"` // Name of the Tag to add or remove from the resource Tag string }
ResourceWithTag is a virtual Object used to add (Create) or remove (Destroy) a tag to/from a Resource.
func (ResourceWithTag) EndpointURL ¶ added in v0.4.2
func (ResourceWithTag) FilterAPIRequest ¶ added in v0.4.2
func (ResourceWithTag) FilterAPIResponse ¶ added in v0.4.2
Click to show internal directories.
Click to hide internal directories.