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 exampleTokenValidationRulesList = cloudflare.getTokenValidationRulesList({ * zoneId: "023e105f4ecef8ad9ca31a8372d0c353", * id: "f174e90a-fafe-4643-bbbc-4a0ed4fc8415", * action: "log", * enabled: true, * host: "www.example.com", * hostname: "www.example.com", * ruleId: "f174e90a-fafe-4643-bbbc-4a0ed4fc8415", * tokenConfigurations: ["f174e90a-fafe-4643-bbbc-4a0ed4fc8415"], * }); * ``` */ export declare function getTokenValidationRulesList(args: GetTokenValidationRulesListArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getTokenValidationRulesList. */ export interface GetTokenValidationRulesListArgs { /** * Action to take on requests that match operations included in `selector` and fail `expression`. * Available values: "log", "block". */ action?: string; /** * Toggle rule on or off. */ enabled?: boolean; /** * Select rules with this host in `include`. */ host?: string; /** * Select rules with this host in `include`. */ hostname?: string; /** * Select rules with these IDs. */ id?: string; /** * Max items to fetch, default: 1000 */ maxItems?: number; /** * Select rules with these IDs. */ ruleId?: string; /** * Select rules using any of these token configurations. */ tokenConfigurations?: string[]; /** * Identifier. */ zoneId: string; } /** * A collection of values returned by getTokenValidationRulesList. */ export interface GetTokenValidationRulesListResult { /** * Action to take on requests that match operations included in `selector` and fail `expression`. * Available values: "log", "block". */ readonly action?: string; /** * Toggle rule on or off. */ readonly enabled?: boolean; /** * Select rules with this host in `include`. */ readonly host?: string; /** * Select rules with this host in `include`. */ readonly hostname?: string; /** * Select rules with these IDs. */ readonly id?: string; /** * Max items to fetch, default: 1000 */ readonly maxItems?: number; /** * The items returned by the data source */ readonly results: outputs.GetTokenValidationRulesListResult[]; /** * Select rules with these IDs. */ readonly ruleId?: string; /** * Select rules using any of these token configurations. */ readonly tokenConfigurations?: string[]; /** * Identifier. */ readonly zoneId: string; } /** * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as cloudflare from "@pulumi/cloudflare"; * * const exampleTokenValidationRulesList = cloudflare.getTokenValidationRulesList({ * zoneId: "023e105f4ecef8ad9ca31a8372d0c353", * id: "f174e90a-fafe-4643-bbbc-4a0ed4fc8415", * action: "log", * enabled: true, * host: "www.example.com", * hostname: "www.example.com", * ruleId: "f174e90a-fafe-4643-bbbc-4a0ed4fc8415", * tokenConfigurations: ["f174e90a-fafe-4643-bbbc-4a0ed4fc8415"], * }); * ``` */ export declare function getTokenValidationRulesListOutput(args: GetTokenValidationRulesListOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getTokenValidationRulesList. */ export interface GetTokenValidationRulesListOutputArgs { /** * Action to take on requests that match operations included in `selector` and fail `expression`. * Available values: "log", "block". */ action?: pulumi.Input; /** * Toggle rule on or off. */ enabled?: pulumi.Input; /** * Select rules with this host in `include`. */ host?: pulumi.Input; /** * Select rules with this host in `include`. */ hostname?: pulumi.Input; /** * Select rules with these IDs. */ id?: pulumi.Input; /** * Max items to fetch, default: 1000 */ maxItems?: pulumi.Input; /** * Select rules with these IDs. */ ruleId?: pulumi.Input; /** * Select rules using any of these token configurations. */ tokenConfigurations?: pulumi.Input[]>; /** * Identifier. */ zoneId: pulumi.Input; }