import * as pulumi from "@pulumi/pulumi"; /** * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as cloudflare from "@pulumi/cloudflare"; * * const exampleCustomPages = cloudflare.getCustomPages({ * identifier: "ratelimit_block", * accountId: "account_id", * zoneId: "zone_id", * }); * ``` */ export declare function getCustomPages(args: GetCustomPagesArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getCustomPages. */ export interface GetCustomPagesArgs { /** * The Account ID to use for this endpoint. Mutually exclusive with the Zone ID. */ accountId?: string; /** * Error Page Types * Available values: "under*attack", "basic*challenge", "waf*challenge", "waf*block", "ip*block", "country*challenge", "500*errors", "1000*errors", "managed*challenge", "ratelimit*block". */ identifier: string; /** * The Zone ID to use for this endpoint. Mutually exclusive with the Account ID. */ zoneId?: string; } /** * A collection of values returned by getCustomPages. */ export interface GetCustomPagesResult { /** * The Account ID to use for this endpoint. Mutually exclusive with the Zone ID. */ readonly accountId?: string; readonly createdOn: string; readonly description: string; /** * The ID of this resource. */ readonly id: string; /** * Error Page Types * Available values: "under*attack", "basic*challenge", "waf*challenge", "waf*block", "ip*block", "country*challenge", "500*errors", "1000*errors", "managed*challenge", "ratelimit*block". */ readonly identifier: string; readonly modifiedOn: string; readonly previewTarget: string; readonly requiredTokens: string[]; /** * The custom page state. * Available values: "default", "customized". */ readonly state: string; /** * The URL associated with the custom page. */ readonly url: string; /** * The Zone ID to use for this endpoint. Mutually exclusive with the Account ID. */ readonly zoneId?: string; } /** * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as cloudflare from "@pulumi/cloudflare"; * * const exampleCustomPages = cloudflare.getCustomPages({ * identifier: "ratelimit_block", * accountId: "account_id", * zoneId: "zone_id", * }); * ``` */ export declare function getCustomPagesOutput(args: GetCustomPagesOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getCustomPages. */ export interface GetCustomPagesOutputArgs { /** * The Account ID to use for this endpoint. Mutually exclusive with the Zone ID. */ accountId?: pulumi.Input; /** * Error Page Types * Available values: "under*attack", "basic*challenge", "waf*challenge", "waf*block", "ip*block", "country*challenge", "500*errors", "1000*errors", "managed*challenge", "ratelimit*block". */ identifier: pulumi.Input; /** * The Zone ID to use for this endpoint. Mutually exclusive with the Account ID. */ zoneId?: pulumi.Input; }