Documentation ¶
Index ¶
- func ValidateMonitorID(input interface{}, key string) (warnings []string, errors []error)
- type DatadogHost
- type DatadogHostMetadata
- type DatadogHostOperationPredicate
- type DatadogInstallMethod
- type DatadogLogsAgent
- type HostsClient
- func (c HostsClient) MonitorsListHosts(ctx context.Context, id MonitorId) (resp MonitorsListHostsOperationResponse, err error)
- func (c HostsClient) MonitorsListHostsComplete(ctx context.Context, id MonitorId) (MonitorsListHostsCompleteResult, error)
- func (c HostsClient) MonitorsListHostsCompleteMatchingPredicate(ctx context.Context, id MonitorId, predicate DatadogHostOperationPredicate) (resp MonitorsListHostsCompleteResult, err error)
- type MonitorId
- type MonitorsListHostsCompleteResult
- type MonitorsListHostsOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateMonitorID ¶
ValidateMonitorID checks that 'input' can be parsed as a Monitor ID
Types ¶
type DatadogHost ¶
type DatadogHost struct { Aliases *[]string `json:"aliases,omitempty"` Apps *[]string `json:"apps,omitempty"` Meta *DatadogHostMetadata `json:"meta,omitempty"` Name *string `json:"name,omitempty"` }
type DatadogHostMetadata ¶
type DatadogHostMetadata struct { AgentVersion *string `json:"agentVersion,omitempty"` InstallMethod *DatadogInstallMethod `json:"installMethod,omitempty"` LogsAgent *DatadogLogsAgent `json:"logsAgent,omitempty"` }
type DatadogHostOperationPredicate ¶
type DatadogHostOperationPredicate struct {
Name *string
}
func (DatadogHostOperationPredicate) Matches ¶
func (p DatadogHostOperationPredicate) Matches(input DatadogHost) bool
type DatadogInstallMethod ¶
type DatadogLogsAgent ¶
type DatadogLogsAgent struct {
Transport *string `json:"transport,omitempty"`
}
type HostsClient ¶
func NewHostsClientWithBaseURI ¶
func NewHostsClientWithBaseURI(endpoint string) HostsClient
func (HostsClient) MonitorsListHosts ¶
func (c HostsClient) MonitorsListHosts(ctx context.Context, id MonitorId) (resp MonitorsListHostsOperationResponse, err error)
MonitorsListHosts ...
func (HostsClient) MonitorsListHostsComplete ¶
func (c HostsClient) MonitorsListHostsComplete(ctx context.Context, id MonitorId) (MonitorsListHostsCompleteResult, error)
MonitorsListHostsComplete retrieves all of the results into a single object
func (HostsClient) MonitorsListHostsCompleteMatchingPredicate ¶
func (c HostsClient) MonitorsListHostsCompleteMatchingPredicate(ctx context.Context, id MonitorId, predicate DatadogHostOperationPredicate) (resp MonitorsListHostsCompleteResult, err error)
MonitorsListHostsCompleteMatchingPredicate retrieves all of the results and then applied the predicate
type MonitorId ¶
MonitorId is a struct representing the Resource ID for a Monitor
func NewMonitorID ¶
NewMonitorID returns a new MonitorId struct
func ParseMonitorID ¶
ParseMonitorID parses 'input' into a MonitorId
func ParseMonitorIDInsensitively ¶
ParseMonitorIDInsensitively parses 'input' case-insensitively into a MonitorId note: this method should only be used for API response data and not user input
func (MonitorId) Segments ¶
func (id MonitorId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Monitor ID
type MonitorsListHostsCompleteResult ¶
type MonitorsListHostsCompleteResult struct {
Items []DatadogHost
}
type MonitorsListHostsOperationResponse ¶
type MonitorsListHostsOperationResponse struct { HttpResponse *http.Response Model *[]DatadogHost // contains filtered or unexported fields }
func (MonitorsListHostsOperationResponse) HasMore ¶
func (r MonitorsListHostsOperationResponse) HasMore() bool
func (MonitorsListHostsOperationResponse) LoadMore ¶
func (r MonitorsListHostsOperationResponse) LoadMore(ctx context.Context) (resp MonitorsListHostsOperationResponse, err error)