import * as pulumi from "@pulumi/pulumi"; import * as outputs from "./types/output"; /** * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as cloudflare from "@pulumi/cloudflare"; * * const exampleRulesets = cloudflare.getRulesets({ * zoneId: "9f1839b6152d298aca64c4e906b6d074", * }); * ``` */ export declare function getRulesets(args?: GetRulesetsArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getRulesets. */ export interface GetRulesetsArgs { /** * The unique ID of the account. */ accountId?: string; /** * Maximum number of rulesets to fetch (defaults to 1000). */ maxItems?: number; /** * The unique ID of the zone. */ zoneId?: string; } /** * A collection of values returned by getRulesets. */ export interface GetRulesetsResult { /** * The unique ID of the account. */ readonly accountId?: string; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * Maximum number of rulesets to fetch (defaults to 1000). */ readonly maxItems?: number; /** * A list of rulesets. The returned information will not include the rules in each ruleset. * * @deprecated Use rulesets instead. This attribute will be removed in the next major version of the provider. */ readonly results: outputs.GetRulesetsResult[]; /** * A list of rulesets. The returned information will not include the rules in each ruleset. */ readonly rulesets: outputs.GetRulesetsRuleset[]; /** * The unique ID of the zone. */ readonly zoneId?: string; } /** * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as cloudflare from "@pulumi/cloudflare"; * * const exampleRulesets = cloudflare.getRulesets({ * zoneId: "9f1839b6152d298aca64c4e906b6d074", * }); * ``` */ export declare function getRulesetsOutput(args?: GetRulesetsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getRulesets. */ export interface GetRulesetsOutputArgs { /** * The unique ID of the account. */ accountId?: pulumi.Input; /** * Maximum number of rulesets to fetch (defaults to 1000). */ maxItems?: pulumi.Input; /** * The unique ID of the zone. */ zoneId?: pulumi.Input; }