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 examplePageShieldScriptsList = cloudflare.getPageShieldScriptsList({ * zoneId: "023e105f4ecef8ad9ca31a8372d0c353", * direction: "asc", * excludeUrls: "blog.cloudflare.com,www.example", * "export": "csv", * hosts: "blog.cloudflare.com,www.example*,*cloudflare.com", * orderBy: "first_seen_at", * page: "2", * pageUrl: "example.com/page,*/checkout,example.com/*,*checkout*", * perPage: 100, * prioritizeMalicious: true, * status: "active,inactive", * urls: "blog.cloudflare.com,www.example", * }); * ``` */ export declare function getPageShieldScriptsList(args: GetPageShieldScriptsListArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getPageShieldScriptsList. */ export interface GetPageShieldScriptsListArgs { /** * The direction used to sort returned scripts. * Available values: "asc", "desc". */ direction?: string; /** * When true, excludes scripts seen in a `/cdn-cgi` path from the returned scripts. The default value is true. */ excludeCdnCgi?: boolean; /** * When true, excludes duplicate scripts. We consider a script duplicate of another if their javascript * content matches and they share the same url host and zone hostname. In such case, we return the most * recent script for the URL host and zone hostname combination. */ excludeDuplicates?: boolean; /** * Excludes scripts whose URL contains one of the URL-encoded URLs separated by commas. */ excludeUrls?: string; /** * Export the list of scripts as a file. * Available values: "csv". */ export?: string; /** * Includes scripts that match one or more URL-encoded hostnames separated by commas. */ hosts?: string; maxItems?: number; orderBy?: string; page?: string; pageUrl?: string; perPage?: number; prioritizeMalicious?: boolean; status?: string; urls?: string; /** * Identifier */ zoneId: string; } /** * A collection of values returned by getPageShieldScriptsList. */ export interface GetPageShieldScriptsListResult { /** * The direction used to sort returned scripts. * Available values: "asc", "desc". */ readonly direction?: string; /** * When true, excludes scripts seen in a `/cdn-cgi` path from the returned scripts. The default value is true. */ readonly excludeCdnCgi: boolean; /** * When true, excludes duplicate scripts. We consider a script duplicate of another if their javascript * content matches and they share the same url host and zone hostname. In such case, we return the most * recent script for the URL host and zone hostname combination. */ readonly excludeDuplicates: boolean; /** * Excludes scripts whose URL contains one of the URL-encoded URLs separated by commas. */ readonly excludeUrls?: string; /** * Export the list of scripts as a file. * Available values: "csv". */ readonly export?: string; /** * Includes scripts that match one or more URL-encoded hostnames separated by commas. */ readonly hosts?: string; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; readonly maxItems?: number; readonly orderBy?: string; readonly page?: string; readonly pageUrl?: string; readonly perPage?: number; readonly prioritizeMalicious?: boolean; readonly results: outputs.GetPageShieldScriptsListResult[]; readonly status?: string; readonly urls?: string; /** * Identifier */ readonly zoneId: string; } /** * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as cloudflare from "@pulumi/cloudflare"; * * const examplePageShieldScriptsList = cloudflare.getPageShieldScriptsList({ * zoneId: "023e105f4ecef8ad9ca31a8372d0c353", * direction: "asc", * excludeUrls: "blog.cloudflare.com,www.example", * "export": "csv", * hosts: "blog.cloudflare.com,www.example*,*cloudflare.com", * orderBy: "first_seen_at", * page: "2", * pageUrl: "example.com/page,*/checkout,example.com/*,*checkout*", * perPage: 100, * prioritizeMalicious: true, * status: "active,inactive", * urls: "blog.cloudflare.com,www.example", * }); * ``` */ export declare function getPageShieldScriptsListOutput(args: GetPageShieldScriptsListOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getPageShieldScriptsList. */ export interface GetPageShieldScriptsListOutputArgs { /** * The direction used to sort returned scripts. * Available values: "asc", "desc". */ direction?: pulumi.Input; /** * When true, excludes scripts seen in a `/cdn-cgi` path from the returned scripts. The default value is true. */ excludeCdnCgi?: pulumi.Input; /** * When true, excludes duplicate scripts. We consider a script duplicate of another if their javascript * content matches and they share the same url host and zone hostname. In such case, we return the most * recent script for the URL host and zone hostname combination. */ excludeDuplicates?: pulumi.Input; /** * Excludes scripts whose URL contains one of the URL-encoded URLs separated by commas. */ excludeUrls?: pulumi.Input; /** * Export the list of scripts as a file. * Available values: "csv". */ export?: pulumi.Input; /** * Includes scripts that match one or more URL-encoded hostnames separated by commas. */ hosts?: pulumi.Input; maxItems?: pulumi.Input; orderBy?: pulumi.Input; page?: pulumi.Input; pageUrl?: pulumi.Input; perPage?: pulumi.Input; prioritizeMalicious?: pulumi.Input; status?: pulumi.Input; urls?: pulumi.Input; /** * Identifier */ zoneId: pulumi.Input; }