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) (result 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) (result 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 ¶
type HostsClient struct {
Client *resourcemanager.Client
}
func NewHostsClientWithBaseURI ¶
func NewHostsClientWithBaseURI(sdkApi sdkEnv.Api) (*HostsClient, error)
func (HostsClient) MonitorsListHosts ¶
func (c HostsClient) MonitorsListHosts(ctx context.Context, id MonitorId) (result MonitorsListHostsOperationResponse, err error)
MonitorsListHosts ...
func (HostsClient) MonitorsListHostsComplete ¶
func (c HostsClient) MonitorsListHostsComplete(ctx context.Context, id MonitorId) (MonitorsListHostsCompleteResult, error)
MonitorsListHostsComplete retrieves all the results into a single object
func (HostsClient) MonitorsListHostsCompleteMatchingPredicate ¶
func (c HostsClient) MonitorsListHostsCompleteMatchingPredicate(ctx context.Context, id MonitorId, predicate DatadogHostOperationPredicate) (result MonitorsListHostsCompleteResult, err error)
MonitorsListHostsCompleteMatchingPredicate retrieves all the results and then applies 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 OData *odata.OData Model *[]DatadogHost }