import * as pulumi from "@pulumi/pulumi"; import * as outputs from "./types/output"; /** * Use this data source to retrieve information about multiple SLOs for use in other resources. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as datadog from "@pulumi/datadog"; * * const ftFooSlos = datadog.getServiceLevelObjectives({ * tagsQuery: "owner:ft-foo", * }); * ``` */ export declare function getServiceLevelObjectives(args?: GetServiceLevelObjectivesArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getServiceLevelObjectives. */ export interface GetServiceLevelObjectivesArgs { /** * Throw an error if no results are found. Defaults to `true`. */ errorOnEmptyResult?: boolean; /** * An array of SLO IDs to limit the search. */ ids?: string[]; /** * Filter results based on SLO numerator and denominator. */ metricsQuery?: string; /** * Filter results based on SLO names. */ nameQuery?: string; /** * The query string to filter results based on SLO names. Some examples of queries include service:\n\n and \n\n. */ query?: string; /** * Filter results based on a single SLO tag. */ tagsQuery?: string; } /** * A collection of values returned by getServiceLevelObjectives. */ export interface GetServiceLevelObjectivesResult { /** * Throw an error if no results are found. Defaults to `true`. */ readonly errorOnEmptyResult?: boolean; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * An array of SLO IDs to limit the search. */ readonly ids?: string[]; /** * Filter results based on SLO numerator and denominator. */ readonly metricsQuery?: string; /** * Filter results based on SLO names. */ readonly nameQuery?: string; /** * The query string to filter results based on SLO names. Some examples of queries include service:\n\n and \n\n. */ readonly query?: string; /** * List of SLOs */ readonly slos: outputs.GetServiceLevelObjectivesSlo[]; /** * Filter results based on a single SLO tag. */ readonly tagsQuery?: string; } /** * Use this data source to retrieve information about multiple SLOs for use in other resources. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as datadog from "@pulumi/datadog"; * * const ftFooSlos = datadog.getServiceLevelObjectives({ * tagsQuery: "owner:ft-foo", * }); * ``` */ export declare function getServiceLevelObjectivesOutput(args?: GetServiceLevelObjectivesOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getServiceLevelObjectives. */ export interface GetServiceLevelObjectivesOutputArgs { /** * Throw an error if no results are found. Defaults to `true`. */ errorOnEmptyResult?: pulumi.Input; /** * An array of SLO IDs to limit the search. */ ids?: pulumi.Input[]>; /** * Filter results based on SLO numerator and denominator. */ metricsQuery?: pulumi.Input; /** * Filter results based on SLO names. */ nameQuery?: pulumi.Input; /** * The query string to filter results based on SLO names. Some examples of queries include service:\n\n and \n\n. */ query?: pulumi.Input; /** * Filter results based on a single SLO tag. */ tagsQuery?: pulumi.Input; }