Documentation ¶
Index ¶
- func ValidateMonitorID(input interface{}, key string) (warnings []string, errors []error)
- type DatadogHost
- type DatadogHostListResponse
- type DatadogHostListResponseOperationPredicate
- type DatadogHostMetadata
- 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, ...) (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 DatadogHostListResponse ¶ added in v0.20240226.1173038
type DatadogHostListResponse struct { NextLink *string `json:"nextLink,omitempty"` Value *[]DatadogHost `json:"value,omitempty"` }
type DatadogHostListResponseOperationPredicate ¶ added in v0.20240226.1173038
type DatadogHostListResponseOperationPredicate struct {
NextLink *string
}
func (DatadogHostListResponseOperationPredicate) Matches ¶ added in v0.20240226.1173038
func (p DatadogHostListResponseOperationPredicate) Matches(input DatadogHostListResponse) bool
type DatadogHostMetadata ¶
type DatadogHostMetadata struct { AgentVersion *string `json:"agentVersion,omitempty"` InstallMethod *DatadogInstallMethod `json:"installMethod,omitempty"` LogsAgent *DatadogLogsAgent `json:"logsAgent,omitempty"` }
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 DatadogHostListResponseOperationPredicate) (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) FromParseResult ¶
func (id *MonitorId) FromParseResult(input resourceids.ParseResult) error
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 { LatestHttpResponse *http.Response Items []DatadogHostListResponse }
type MonitorsListHostsOperationResponse ¶
type MonitorsListHostsOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]DatadogHostListResponse }