import * as pulumi from "@pulumi/pulumi"; import * as outputs from "./types/output"; /** * Use this data source to retrieve information about your live hosts in Datadog. * * ## Example Usage */ export declare function getHosts(args?: GetHostsArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getHosts. */ export interface GetHostsArgs { /** * String to filter search results. */ filter?: string; /** * Number of seconds since UNIX epoch from which you want to search your hosts. */ from?: number; /** * Include information on the muted status of hosts and when the mute expires. */ includeMutedHostsData?: boolean; /** * Direction of sort. Valid values are `asc`, `desc`. */ sortDir?: string; /** * Sort hosts by this field. */ sortField?: string; } /** * A collection of values returned by getHosts. */ export interface GetHostsResult { /** * String to filter search results. */ readonly filter?: string; /** * Number of seconds since UNIX epoch from which you want to search your hosts. */ readonly from?: number; /** * List of hosts (1000 Max). */ readonly hostLists: outputs.GetHostsHostList[]; /** * The ID of this resource. */ readonly id: string; /** * Include information on the muted status of hosts and when the mute expires. */ readonly includeMutedHostsData?: boolean; /** * Direction of sort. Valid values are `asc`, `desc`. */ readonly sortDir?: string; /** * Sort hosts by this field. */ readonly sortField?: string; /** * Number of host matching the query. */ readonly totalMatching: number; /** * Number of host returned. */ readonly totalReturned: number; } /** * Use this data source to retrieve information about your live hosts in Datadog. * * ## Example Usage */ export declare function getHostsOutput(args?: GetHostsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getHosts. */ export interface GetHostsOutputArgs { /** * String to filter search results. */ filter?: pulumi.Input; /** * Number of seconds since UNIX epoch from which you want to search your hosts. */ from?: pulumi.Input; /** * Include information on the muted status of hosts and when the mute expires. */ includeMutedHostsData?: pulumi.Input; /** * Direction of sort. Valid values are `asc`, `desc`. */ sortDir?: pulumi.Input; /** * Sort hosts by this field. */ sortField?: pulumi.Input; }