import * as pulumi from "@pulumi/pulumi"; import * as outputs from "./types/output"; /** * Use this data source to retrieve information about existing Agent rules. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as datadog from "@pulumi/datadog"; * * const test = datadog.getCsmThreatsAgentRules({}); * ``` */ export declare function getCsmThreatsAgentRules(args?: GetCsmThreatsAgentRulesArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getCsmThreatsAgentRules. */ export interface GetCsmThreatsAgentRulesArgs { /** * Listing only the rules in the policy with this field as the ID */ policyId?: string; } /** * A collection of values returned by getCsmThreatsAgentRules. */ export interface GetCsmThreatsAgentRulesResult { /** * List of Agent rules */ readonly agentRules: outputs.GetCsmThreatsAgentRulesAgentRule[]; /** * List of IDs for the Agent rules. */ readonly agentRulesIds: string[]; /** * The ID of the data source */ readonly id: string; /** * Listing only the rules in the policy with this field as the ID */ readonly policyId?: string; } /** * Use this data source to retrieve information about existing Agent rules. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as datadog from "@pulumi/datadog"; * * const test = datadog.getCsmThreatsAgentRules({}); * ``` */ export declare function getCsmThreatsAgentRulesOutput(args?: GetCsmThreatsAgentRulesOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getCsmThreatsAgentRules. */ export interface GetCsmThreatsAgentRulesOutputArgs { /** * Listing only the rules in the policy with this field as the ID */ policyId?: pulumi.Input; }