import * as pulumi from "@pulumi/pulumi"; import * as inputs from "./types/input"; import * as outputs from "./types/output"; /** * > If you are using a `source` block configuration, you must first have a * connected GitHub or GitLab account connected to Cloudflare. See the * [Getting Started with Pages] documentation on how to link your accounts. * * ## Import * * !> It is not possible to import a pages project with secret environment variables. If you have a secret environment variable, you must remove it from your project before importing it. * * ```sh * $ pulumi import cloudflare:index/pagesProject:PagesProject example '/' * ``` */ export declare class PagesProject extends pulumi.CustomResource { /** * Get an existing PagesProject 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?: PagesProjectState, opts?: pulumi.CustomResourceOptions): PagesProject; /** * Returns true if the given object is an instance of PagesProject. 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 PagesProject; /** * Identifier */ readonly accountId: pulumi.Output; /** * Configs for the project build process. */ readonly buildConfig: pulumi.Output; /** * Most recent deployment to the repo. */ readonly canonicalDeployment: pulumi.Output; /** * When the project was created. */ readonly createdOn: pulumi.Output; /** * Configs for deployments in a project. */ readonly deploymentConfigs: pulumi.Output; /** * A list of associated custom domains for the project. */ readonly domains: pulumi.Output; /** * Most recent deployment to the repo. */ readonly latestDeployment: pulumi.Output; /** * Name of the project. */ readonly name: pulumi.Output; /** * Production branch of the project. Used to identify production deployments. */ readonly productionBranch: pulumi.Output; readonly source: pulumi.Output; /** * The Cloudflare subdomain associated with the project. */ readonly subdomain: pulumi.Output; /** * Create a PagesProject 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: PagesProjectArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering PagesProject resources. */ export interface PagesProjectState { /** * Identifier */ accountId?: pulumi.Input; /** * Configs for the project build process. */ buildConfig?: pulumi.Input; /** * Most recent deployment to the repo. */ canonicalDeployment?: pulumi.Input; /** * When the project was created. */ createdOn?: pulumi.Input; /** * Configs for deployments in a project. */ deploymentConfigs?: pulumi.Input; /** * A list of associated custom domains for the project. */ domains?: pulumi.Input[]>; /** * Most recent deployment to the repo. */ latestDeployment?: pulumi.Input; /** * Name of the project. */ name?: pulumi.Input; /** * Production branch of the project. Used to identify production deployments. */ productionBranch?: pulumi.Input; source?: pulumi.Input; /** * The Cloudflare subdomain associated with the project. */ subdomain?: pulumi.Input; } /** * The set of arguments for constructing a PagesProject resource. */ export interface PagesProjectArgs { /** * Identifier */ accountId: pulumi.Input; /** * Configs for the project build process. */ buildConfig?: pulumi.Input; /** * Configs for deployments in a project. */ deploymentConfigs?: pulumi.Input; /** * Name of the project. */ name: pulumi.Input; /** * Production branch of the project. Used to identify production deployments. */ productionBranch?: pulumi.Input; source?: pulumi.Input; }