import * as pulumi from "@pulumi/pulumi"; /** * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as cloudflare from "@pulumi/cloudflare"; * * const exampleCustomPages = new cloudflare.CustomPages("example_custom_pages", { * identifier: "ratelimit_block", * state: "default", * url: "http://www.example.com", * zoneId: "zone_id", * }); * ``` * * ## Import * * ```sh * $ pulumi import cloudflare:index/customPages:CustomPages example '<{accounts|zones}/{account_id|zone_id}>/' * ``` */ export declare class CustomPages extends pulumi.CustomResource { /** * Get an existing CustomPages resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: CustomPagesState, opts?: pulumi.CustomResourceOptions): CustomPages; /** * Returns true if the given object is an instance of CustomPages. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is CustomPages; /** * The Account ID to use for this endpoint. Mutually exclusive with the Zone ID. */ readonly accountId: pulumi.Output; readonly createdOn: pulumi.Output; readonly description: pulumi.Output; /** * 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: pulumi.Output; readonly modifiedOn: pulumi.Output; readonly previewTarget: pulumi.Output; readonly requiredTokens: pulumi.Output; /** * The custom page state. * Available values: "default", "customized". */ readonly state: pulumi.Output; /** * The URL associated with the custom page. */ readonly url: pulumi.Output; /** * The Zone ID to use for this endpoint. Mutually exclusive with the Account ID. */ readonly zoneId: pulumi.Output; /** * Create a CustomPages resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: CustomPagesArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering CustomPages resources. */ export interface CustomPagesState { /** * The Account ID to use for this endpoint. Mutually exclusive with the Zone ID. */ accountId?: pulumi.Input; createdOn?: pulumi.Input; description?: 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; modifiedOn?: pulumi.Input; previewTarget?: pulumi.Input; requiredTokens?: pulumi.Input[]>; /** * The custom page state. * Available values: "default", "customized". */ state?: pulumi.Input; /** * The URL associated with the custom page. */ url?: pulumi.Input; /** * The Zone ID to use for this endpoint. Mutually exclusive with the Account ID. */ zoneId?: pulumi.Input; } /** * The set of arguments for constructing a CustomPages resource. */ export interface CustomPagesArgs { /** * 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 custom page state. * Available values: "default", "customized". */ state: pulumi.Input; /** * The URL associated with the custom page. */ url?: pulumi.Input; /** * The Zone ID to use for this endpoint. Mutually exclusive with the Account ID. */ zoneId?: pulumi.Input; }