Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var CloudPlatforms = struct { Alibaba CloudPlatform AmaconEC2 CloudPlatform Azure CloudPlatform DynatraceCloud CloudPlatform GoogleCloud CloudPlatform Interoute CloudPlatform Other CloudPlatform Undefined CloudPlatform }{ CloudPlatform("ALIBABA"), CloudPlatform("AMAZON_EC2"), CloudPlatform("AZURE"), CloudPlatform("DYNATRACE_CLOUD"), CloudPlatform("GOOGLE_CLOUD"), CloudPlatform("INTEROUTE"), CloudPlatform("OTHER"), CloudPlatform("UNDEFINED"), }
View Source
var LocationTypes = struct { Public LocationType Private LocationType Cluster LocationType }{ LocationType("PUBLIC"), LocationType("PRIVATE"), LocationType("CLUSTER"), }
Functions ¶
This section is empty.
Types ¶
type CloudPlatform ¶
type CloudPlatform string
type LocationType ¶
type LocationType string
type SyntheticLocation ¶
type SyntheticLocation struct { ID string `json:"entityId"` // The Dynatrace entity ID of the location Name string `json:"name"` // The name of the location Type LocationType `json:"type"` // The type of the location Status *Status `json:"status"` // The status of the location: \n\n* `ENABLED`: The location is displayed as active in the UI. You can assign monitors to the location. \n* `DISABLED`: The location is displayed as inactive in the UI. You can't assign monitors to the location. Monitors already assigned to the location will stay there and will be executed from the location. \n* `HIDDEN`: The location is not displayed in the UI. You can't assign monitors to the location. You can only set location as `HIDDEN` when no monitor is assigned to it CloudPlatform *CloudPlatform `json:"cloudPlatform"` // The cloud provider where the location is hosted. \n\n Only applicable to `PUBLIC` locations IPs []string `json:"ips"` // The list of IP addresses assigned to the location. \n\n Only applicable to `PUBLIC` locations Stage *Stage `json:"stage"` // The release stage of the location }
func (*SyntheticLocation) MarshalHCL ¶
func (me *SyntheticLocation) MarshalHCL(properties hcl.Properties) error
func (*SyntheticLocation) UnmarshalHCL ¶
func (me *SyntheticLocation) UnmarshalHCL(decoder hcl.Decoder) error
type SyntheticLocations ¶
type SyntheticLocations struct {
Locations []*SyntheticLocation `json:"locations"` // A list of synthetic locations
}
SyntheticLocations is a list of synthetic locations
func (*SyntheticLocations) MarshalHCL ¶
func (me *SyntheticLocations) MarshalHCL(properties hcl.Properties) error
Click to show internal directories.
Click to hide internal directories.