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: "023e105f4ecef8ad9ca31a8372d0c353", * 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; /** * Identifier */ readonly identifier: 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; /** * Identifier */ 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; } /** * 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; /** * Identifier */ 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; }