Cloudflare v6.11.0 published on Friday, Oct 31, 2025 by Pulumi
cloudflare.getPagesProjects
Start a Neo task
Explain and create a cloudflare.getPagesProjects resource
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as cloudflare from "@pulumi/cloudflare";
const examplePagesProjects = cloudflare.getPagesProjects({
accountId: "023e105f4ecef8ad9ca31a8372d0c353",
});
import pulumi
import pulumi_cloudflare as cloudflare
example_pages_projects = cloudflare.get_pages_projects(account_id="023e105f4ecef8ad9ca31a8372d0c353")
package main
import (
"github.com/pulumi/pulumi-cloudflare/sdk/v6/go/cloudflare"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := cloudflare.LookupPagesProjects(ctx, &cloudflare.LookupPagesProjectsArgs{
AccountId: "023e105f4ecef8ad9ca31a8372d0c353",
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Cloudflare = Pulumi.Cloudflare;
return await Deployment.RunAsync(() =>
{
var examplePagesProjects = Cloudflare.GetPagesProjects.Invoke(new()
{
AccountId = "023e105f4ecef8ad9ca31a8372d0c353",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.cloudflare.CloudflareFunctions;
import com.pulumi.cloudflare.inputs.GetPagesProjectsArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var examplePagesProjects = CloudflareFunctions.getPagesProjects(GetPagesProjectsArgs.builder()
.accountId("023e105f4ecef8ad9ca31a8372d0c353")
.build());
}
}
variables:
examplePagesProjects:
fn::invoke:
function: cloudflare:getPagesProjects
arguments:
accountId: 023e105f4ecef8ad9ca31a8372d0c353
Using getPagesProjects
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getPagesProjects(args: GetPagesProjectsArgs, opts?: InvokeOptions): Promise<GetPagesProjectsResult>
function getPagesProjectsOutput(args: GetPagesProjectsOutputArgs, opts?: InvokeOptions): Output<GetPagesProjectsResult>def get_pages_projects(account_id: Optional[str] = None,
max_items: Optional[int] = None,
opts: Optional[InvokeOptions] = None) -> GetPagesProjectsResult
def get_pages_projects_output(account_id: Optional[pulumi.Input[str]] = None,
max_items: Optional[pulumi.Input[int]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetPagesProjectsResult]func LookupPagesProjects(ctx *Context, args *LookupPagesProjectsArgs, opts ...InvokeOption) (*LookupPagesProjectsResult, error)
func LookupPagesProjectsOutput(ctx *Context, args *LookupPagesProjectsOutputArgs, opts ...InvokeOption) LookupPagesProjectsResultOutput> Note: This function is named LookupPagesProjects in the Go SDK.
public static class GetPagesProjects
{
public static Task<GetPagesProjectsResult> InvokeAsync(GetPagesProjectsArgs args, InvokeOptions? opts = null)
public static Output<GetPagesProjectsResult> Invoke(GetPagesProjectsInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetPagesProjectsResult> getPagesProjects(GetPagesProjectsArgs args, InvokeOptions options)
public static Output<GetPagesProjectsResult> getPagesProjects(GetPagesProjectsArgs args, InvokeOptions options)
fn::invoke:
function: cloudflare:index/getPagesProjects:getPagesProjects
arguments:
# arguments dictionaryThe following arguments are supported:
- account_
id str - Identifier
- max_
items int - Max items to fetch, default: 1000
getPagesProjects Result
The following output properties are available:
- Account
Id string - Identifier
- Id string
- The provider-assigned unique ID for this managed resource.
- Results
List<Get
Pages Projects Result> - The items returned by the data source
- Max
Items int - Max items to fetch, default: 1000
- Account
Id string - Identifier
- Id string
- The provider-assigned unique ID for this managed resource.
- Results
[]Get
Pages Projects Result - The items returned by the data source
- Max
Items int - Max items to fetch, default: 1000
- account
Id String - Identifier
- id String
- The provider-assigned unique ID for this managed resource.
- results
List<Get
Pages Projects Result> - The items returned by the data source
- max
Items Integer - Max items to fetch, default: 1000
- account
Id string - Identifier
- id string
- The provider-assigned unique ID for this managed resource.
- results
Get
Pages Projects Result[] - The items returned by the data source
- max
Items number - Max items to fetch, default: 1000
- account_
id str - Identifier
- id str
- The provider-assigned unique ID for this managed resource.
- results
Sequence[Get
Pages Projects Result] - The items returned by the data source
- max_
items int - Max items to fetch, default: 1000
- account
Id String - Identifier
- id String
- The provider-assigned unique ID for this managed resource.
- results List<Property Map>
- The items returned by the data source
- max
Items Number - Max items to fetch, default: 1000
Supporting Types
GetPagesProjectsResult
- Aliases List<string>
- A list of alias URLs pointing to this deployment.
- Build
Config GetPages Projects Result Build Config - Configs for the project build process.
- Created
On string - When the deployment was created.
- Deployment
Trigger GetPages Projects Result Deployment Trigger - Info about what caused the deployment.
- Env
Vars Dictionary<string, GetPages Projects Result Env Vars> - Environment variables used for builds and Pages Functions.
- Environment string
- Type of deploy. Available values: "preview", "production".
- Id string
- Id of the deployment.
- Is
Skipped bool - If the deployment has been skipped.
- Latest
Stage GetPages Projects Result Latest Stage - The status of the deployment.
- Modified
On string - When the deployment was last modified.
- Project
Id string - Id of the project.
- Project
Name string - Name of the project.
- Short
Id string - Short Id (8 character) of the deployment.
- Source
Get
Pages Projects Result Source - Stages
List<Get
Pages Projects Result Stage> - List of past stages.
- Url string
- The live URL to view this deployment.
- Aliases []string
- A list of alias URLs pointing to this deployment.
- Build
Config GetPages Projects Result Build Config - Configs for the project build process.
- Created
On string - When the deployment was created.
- Deployment
Trigger GetPages Projects Result Deployment Trigger - Info about what caused the deployment.
- Env
Vars map[string]GetPages Projects Result Env Vars - Environment variables used for builds and Pages Functions.
- Environment string
- Type of deploy. Available values: "preview", "production".
- Id string
- Id of the deployment.
- Is
Skipped bool - If the deployment has been skipped.
- Latest
Stage GetPages Projects Result Latest Stage - The status of the deployment.
- Modified
On string - When the deployment was last modified.
- Project
Id string - Id of the project.
- Project
Name string - Name of the project.
- Short
Id string - Short Id (8 character) of the deployment.
- Source
Get
Pages Projects Result Source - Stages
[]Get
Pages Projects Result Stage - List of past stages.
- Url string
- The live URL to view this deployment.
- aliases List<String>
- A list of alias URLs pointing to this deployment.
- build
Config GetPages Projects Result Build Config - Configs for the project build process.
- created
On String - When the deployment was created.
- deployment
Trigger GetPages Projects Result Deployment Trigger - Info about what caused the deployment.
- env
Vars Map<String,GetPages Projects Result Env Vars> - Environment variables used for builds and Pages Functions.
- environment String
- Type of deploy. Available values: "preview", "production".
- id String
- Id of the deployment.
- is
Skipped Boolean - If the deployment has been skipped.
- latest
Stage GetPages Projects Result Latest Stage - The status of the deployment.
- modified
On String - When the deployment was last modified.
- project
Id String - Id of the project.
- project
Name String - Name of the project.
- short
Id String - Short Id (8 character) of the deployment.
- source
Get
Pages Projects Result Source - stages
List<Get
Pages Projects Result Stage> - List of past stages.
- url String
- The live URL to view this deployment.
- aliases string[]
- A list of alias URLs pointing to this deployment.
- build
Config GetPages Projects Result Build Config - Configs for the project build process.
- created
On string - When the deployment was created.
- deployment
Trigger GetPages Projects Result Deployment Trigger - Info about what caused the deployment.
- env
Vars {[key: string]: GetPages Projects Result Env Vars} - Environment variables used for builds and Pages Functions.
- environment string
- Type of deploy. Available values: "preview", "production".
- id string
- Id of the deployment.
- is
Skipped boolean - If the deployment has been skipped.
- latest
Stage GetPages Projects Result Latest Stage - The status of the deployment.
- modified
On string - When the deployment was last modified.
- project
Id string - Id of the project.
- project
Name string - Name of the project.
- short
Id string - Short Id (8 character) of the deployment.
- source
Get
Pages Projects Result Source - stages
Get
Pages Projects Result Stage[] - List of past stages.
- url string
- The live URL to view this deployment.
- aliases Sequence[str]
- A list of alias URLs pointing to this deployment.
- build_
config GetPages Projects Result Build Config - Configs for the project build process.
- created_
on str - When the deployment was created.
- deployment_
trigger GetPages Projects Result Deployment Trigger - Info about what caused the deployment.
- env_
vars Mapping[str, GetPages Projects Result Env Vars] - Environment variables used for builds and Pages Functions.
- environment str
- Type of deploy. Available values: "preview", "production".
- id str
- Id of the deployment.
- is_
skipped bool - If the deployment has been skipped.
- latest_
stage GetPages Projects Result Latest Stage - The status of the deployment.
- modified_
on str - When the deployment was last modified.
- project_
id str - Id of the project.
- project_
name str - Name of the project.
- short_
id str - Short Id (8 character) of the deployment.
- source
Get
Pages Projects Result Source - stages
Sequence[Get
Pages Projects Result Stage] - List of past stages.
- url str
- The live URL to view this deployment.
- aliases List<String>
- A list of alias URLs pointing to this deployment.
- build
Config Property Map - Configs for the project build process.
- created
On String - When the deployment was created.
- deployment
Trigger Property Map - Info about what caused the deployment.
- env
Vars Map<Property Map> - Environment variables used for builds and Pages Functions.
- environment String
- Type of deploy. Available values: "preview", "production".
- id String
- Id of the deployment.
- is
Skipped Boolean - If the deployment has been skipped.
- latest
Stage Property Map - The status of the deployment.
- modified
On String - When the deployment was last modified.
- project
Id String - Id of the project.
- project
Name String - Name of the project.
- short
Id String - Short Id (8 character) of the deployment.
- source Property Map
- stages List<Property Map>
- List of past stages.
- url String
- The live URL to view this deployment.
GetPagesProjectsResultBuildConfig
- Build
Caching bool - Enable build caching for the project.
- Build
Command string - Command used to build project.
- Destination
Dir string - Output directory of the build.
- Root
Dir string - Directory to run the command.
- Web
Analytics stringTag - The classifying tag for analytics.
- Web
Analytics stringToken - The auth token for analytics.
- Build
Caching bool - Enable build caching for the project.
- Build
Command string - Command used to build project.
- Destination
Dir string - Output directory of the build.
- Root
Dir string - Directory to run the command.
- Web
Analytics stringTag - The classifying tag for analytics.
- Web
Analytics stringToken - The auth token for analytics.
- build
Caching Boolean - Enable build caching for the project.
- build
Command String - Command used to build project.
- destination
Dir String - Output directory of the build.
- root
Dir String - Directory to run the command.
- web
Analytics StringTag - The classifying tag for analytics.
- web
Analytics StringToken - The auth token for analytics.
- build
Caching boolean - Enable build caching for the project.
- build
Command string - Command used to build project.
- destination
Dir string - Output directory of the build.
- root
Dir string - Directory to run the command.
- web
Analytics stringTag - The classifying tag for analytics.
- web
Analytics stringToken - The auth token for analytics.
- build_
caching bool - Enable build caching for the project.
- build_
command str - Command used to build project.
- destination_
dir str - Output directory of the build.
- root_
dir str - Directory to run the command.
- web_
analytics_ strtag - The classifying tag for analytics.
- web_
analytics_ strtoken - The auth token for analytics.
- build
Caching Boolean - Enable build caching for the project.
- build
Command String - Command used to build project.
- destination
Dir String - Output directory of the build.
- root
Dir String - Directory to run the command.
- web
Analytics StringTag - The classifying tag for analytics.
- web
Analytics StringToken - The auth token for analytics.
GetPagesProjectsResultDeploymentTrigger
- Metadata
Get
Pages Projects Result Deployment Trigger Metadata - Additional info about the trigger.
- Type string
- What caused the deployment. Available values: "push", <span pulumi-lang-nodejs=""adHoc"" pulumi-lang-dotnet=""AdHoc"" pulumi-lang-go=""adHoc"" pulumi-lang-python=""ad_hoc"" pulumi-lang-yaml=""adHoc"" pulumi-lang-java=""adHoc"">"ad_hoc".
- Metadata
Get
Pages Projects Result Deployment Trigger Metadata - Additional info about the trigger.
- Type string
- What caused the deployment. Available values: "push", <span pulumi-lang-nodejs=""adHoc"" pulumi-lang-dotnet=""AdHoc"" pulumi-lang-go=""adHoc"" pulumi-lang-python=""ad_hoc"" pulumi-lang-yaml=""adHoc"" pulumi-lang-java=""adHoc"">"ad_hoc".
- metadata
Get
Pages Projects Result Deployment Trigger Metadata - Additional info about the trigger.
- type String
- What caused the deployment. Available values: "push", <span pulumi-lang-nodejs=""adHoc"" pulumi-lang-dotnet=""AdHoc"" pulumi-lang-go=""adHoc"" pulumi-lang-python=""ad_hoc"" pulumi-lang-yaml=""adHoc"" pulumi-lang-java=""adHoc"">"ad_hoc".
- metadata
Get
Pages Projects Result Deployment Trigger Metadata - Additional info about the trigger.
- type string
- What caused the deployment. Available values: "push", <span pulumi-lang-nodejs=""adHoc"" pulumi-lang-dotnet=""AdHoc"" pulumi-lang-go=""adHoc"" pulumi-lang-python=""ad_hoc"" pulumi-lang-yaml=""adHoc"" pulumi-lang-java=""adHoc"">"ad_hoc".
- metadata
Get
Pages Projects Result Deployment Trigger Metadata - Additional info about the trigger.
- type str
- What caused the deployment. Available values: "push", <span pulumi-lang-nodejs=""adHoc"" pulumi-lang-dotnet=""AdHoc"" pulumi-lang-go=""adHoc"" pulumi-lang-python=""ad_hoc"" pulumi-lang-yaml=""adHoc"" pulumi-lang-java=""adHoc"">"ad_hoc".
- metadata Property Map
- Additional info about the trigger.
- type String
- What caused the deployment. Available values: "push", <span pulumi-lang-nodejs=""adHoc"" pulumi-lang-dotnet=""AdHoc"" pulumi-lang-go=""adHoc"" pulumi-lang-python=""ad_hoc"" pulumi-lang-yaml=""adHoc"" pulumi-lang-java=""adHoc"">"ad_hoc".
GetPagesProjectsResultDeploymentTriggerMetadata
- Branch string
- Where the trigger happened.
- Commit
Hash string - Hash of the deployment trigger commit.
- Commit
Message string - Message of the deployment trigger commit.
- Branch string
- Where the trigger happened.
- Commit
Hash string - Hash of the deployment trigger commit.
- Commit
Message string - Message of the deployment trigger commit.
- branch String
- Where the trigger happened.
- commit
Hash String - Hash of the deployment trigger commit.
- commit
Message String - Message of the deployment trigger commit.
- branch string
- Where the trigger happened.
- commit
Hash string - Hash of the deployment trigger commit.
- commit
Message string - Message of the deployment trigger commit.
- branch str
- Where the trigger happened.
- commit_
hash str - Hash of the deployment trigger commit.
- commit_
message str - Message of the deployment trigger commit.
- branch String
- Where the trigger happened.
- commit
Hash String - Hash of the deployment trigger commit.
- commit
Message String - Message of the deployment trigger commit.
GetPagesProjectsResultEnvVars
GetPagesProjectsResultLatestStage
- Ended
On string - When the stage ended.
- Name string
- The current build stage. Available values: "queued", "initialize", <span pulumi-lang-nodejs=""cloneRepo"" pulumi-lang-dotnet=""CloneRepo"" pulumi-lang-go=""cloneRepo"" pulumi-lang-python=""clone_repo"" pulumi-lang-yaml=""cloneRepo"" pulumi-lang-java=""cloneRepo"">"clone_repo", "build", "deploy".
- Started
On string - When the stage started.
- Status string
- State of the current stage. Available values: "success", "idle", "active", "failure", "canceled".
- Ended
On string - When the stage ended.
- Name string
- The current build stage. Available values: "queued", "initialize", <span pulumi-lang-nodejs=""cloneRepo"" pulumi-lang-dotnet=""CloneRepo"" pulumi-lang-go=""cloneRepo"" pulumi-lang-python=""clone_repo"" pulumi-lang-yaml=""cloneRepo"" pulumi-lang-java=""cloneRepo"">"clone_repo", "build", "deploy".
- Started
On string - When the stage started.
- Status string
- State of the current stage. Available values: "success", "idle", "active", "failure", "canceled".
- ended
On String - When the stage ended.
- name String
- The current build stage. Available values: "queued", "initialize", <span pulumi-lang-nodejs=""cloneRepo"" pulumi-lang-dotnet=""CloneRepo"" pulumi-lang-go=""cloneRepo"" pulumi-lang-python=""clone_repo"" pulumi-lang-yaml=""cloneRepo"" pulumi-lang-java=""cloneRepo"">"clone_repo", "build", "deploy".
- started
On String - When the stage started.
- status String
- State of the current stage. Available values: "success", "idle", "active", "failure", "canceled".
- ended
On string - When the stage ended.
- name string
- The current build stage. Available values: "queued", "initialize", <span pulumi-lang-nodejs=""cloneRepo"" pulumi-lang-dotnet=""CloneRepo"" pulumi-lang-go=""cloneRepo"" pulumi-lang-python=""clone_repo"" pulumi-lang-yaml=""cloneRepo"" pulumi-lang-java=""cloneRepo"">"clone_repo", "build", "deploy".
- started
On string - When the stage started.
- status string
- State of the current stage. Available values: "success", "idle", "active", "failure", "canceled".
- ended_
on str - When the stage ended.
- name str
- The current build stage. Available values: "queued", "initialize", <span pulumi-lang-nodejs=""cloneRepo"" pulumi-lang-dotnet=""CloneRepo"" pulumi-lang-go=""cloneRepo"" pulumi-lang-python=""clone_repo"" pulumi-lang-yaml=""cloneRepo"" pulumi-lang-java=""cloneRepo"">"clone_repo", "build", "deploy".
- started_
on str - When the stage started.
- status str
- State of the current stage. Available values: "success", "idle", "active", "failure", "canceled".
- ended
On String - When the stage ended.
- name String
- The current build stage. Available values: "queued", "initialize", <span pulumi-lang-nodejs=""cloneRepo"" pulumi-lang-dotnet=""CloneRepo"" pulumi-lang-go=""cloneRepo"" pulumi-lang-python=""clone_repo"" pulumi-lang-yaml=""cloneRepo"" pulumi-lang-java=""cloneRepo"">"clone_repo", "build", "deploy".
- started
On String - When the stage started.
- status String
- State of the current stage. Available values: "success", "idle", "active", "failure", "canceled".
GetPagesProjectsResultSource
- Config
Get
Pages Projects Result Source Config - Type string
- The source control management provider. Available values: "github", "gitlab".
- Config
Get
Pages Projects Result Source Config - Type string
- The source control management provider. Available values: "github", "gitlab".
- config
Get
Pages Projects Result Source Config - type String
- The source control management provider. Available values: "github", "gitlab".
- config
Get
Pages Projects Result Source Config - type string
- The source control management provider. Available values: "github", "gitlab".
- config
Get
Pages Projects Result Source Config - type str
- The source control management provider. Available values: "github", "gitlab".
- config Property Map
- type String
- The source control management provider. Available values: "github", "gitlab".
GetPagesProjectsResultSourceConfig
- Deployments
Enabled bool - Whether to enable automatic deployments when pushing to the source repository. When disabled, no deployments (production or preview) will be triggered automatically.
- Owner string
- The owner of the repository.
- Path
Excludes List<string> - A list of paths that should be excluded from triggering a preview deployment. Wildcard syntax (
*) is supported. - Path
Includes List<string> - A list of paths that should be watched to trigger a preview deployment. Wildcard syntax (
*) is supported. - Pr
Comments boolEnabled - Whether to enable PR comments.
- Preview
Branch List<string>Excludes - A list of branches that should not trigger a preview deployment. Wildcard syntax (
*) is supported. Must be used withpreview_deployment_settingset tocustom. - Preview
Branch List<string>Includes - A list of branches that should trigger a preview deployment. Wildcard syntax (
*) is supported. Must be used withpreview_deployment_settingset tocustom. - Preview
Deployment stringSetting - Controls whether commits to preview branches trigger a preview deployment. Available values: "all", "none", "custom".
- Production
Branch string - The production branch of the repository.
- Production
Deployments boolEnabled - Whether to trigger a production deployment on commits to the production branch.
- Repo
Name string - The name of the repository.
- Deployments
Enabled bool - Whether to enable automatic deployments when pushing to the source repository. When disabled, no deployments (production or preview) will be triggered automatically.
- Owner string
- The owner of the repository.
- Path
Excludes []string - A list of paths that should be excluded from triggering a preview deployment. Wildcard syntax (
*) is supported. - Path
Includes []string - A list of paths that should be watched to trigger a preview deployment. Wildcard syntax (
*) is supported. - Pr
Comments boolEnabled - Whether to enable PR comments.
- Preview
Branch []stringExcludes - A list of branches that should not trigger a preview deployment. Wildcard syntax (
*) is supported. Must be used withpreview_deployment_settingset tocustom. - Preview
Branch []stringIncludes - A list of branches that should trigger a preview deployment. Wildcard syntax (
*) is supported. Must be used withpreview_deployment_settingset tocustom. - Preview
Deployment stringSetting - Controls whether commits to preview branches trigger a preview deployment. Available values: "all", "none", "custom".
- Production
Branch string - The production branch of the repository.
- Production
Deployments boolEnabled - Whether to trigger a production deployment on commits to the production branch.
- Repo
Name string - The name of the repository.
- deployments
Enabled Boolean - Whether to enable automatic deployments when pushing to the source repository. When disabled, no deployments (production or preview) will be triggered automatically.
- owner String
- The owner of the repository.
- path
Excludes List<String> - A list of paths that should be excluded from triggering a preview deployment. Wildcard syntax (
*) is supported. - path
Includes List<String> - A list of paths that should be watched to trigger a preview deployment. Wildcard syntax (
*) is supported. - pr
Comments BooleanEnabled - Whether to enable PR comments.
- preview
Branch List<String>Excludes - A list of branches that should not trigger a preview deployment. Wildcard syntax (
*) is supported. Must be used withpreview_deployment_settingset tocustom. - preview
Branch List<String>Includes - A list of branches that should trigger a preview deployment. Wildcard syntax (
*) is supported. Must be used withpreview_deployment_settingset tocustom. - preview
Deployment StringSetting - Controls whether commits to preview branches trigger a preview deployment. Available values: "all", "none", "custom".
- production
Branch String - The production branch of the repository.
- production
Deployments BooleanEnabled - Whether to trigger a production deployment on commits to the production branch.
- repo
Name String - The name of the repository.
- deployments
Enabled boolean - Whether to enable automatic deployments when pushing to the source repository. When disabled, no deployments (production or preview) will be triggered automatically.
- owner string
- The owner of the repository.
- path
Excludes string[] - A list of paths that should be excluded from triggering a preview deployment. Wildcard syntax (
*) is supported. - path
Includes string[] - A list of paths that should be watched to trigger a preview deployment. Wildcard syntax (
*) is supported. - pr
Comments booleanEnabled - Whether to enable PR comments.
- preview
Branch string[]Excludes - A list of branches that should not trigger a preview deployment. Wildcard syntax (
*) is supported. Must be used withpreview_deployment_settingset tocustom. - preview
Branch string[]Includes - A list of branches that should trigger a preview deployment. Wildcard syntax (
*) is supported. Must be used withpreview_deployment_settingset tocustom. - preview
Deployment stringSetting - Controls whether commits to preview branches trigger a preview deployment. Available values: "all", "none", "custom".
- production
Branch string - The production branch of the repository.
- production
Deployments booleanEnabled - Whether to trigger a production deployment on commits to the production branch.
- repo
Name string - The name of the repository.
- deployments_
enabled bool - Whether to enable automatic deployments when pushing to the source repository. When disabled, no deployments (production or preview) will be triggered automatically.
- owner str
- The owner of the repository.
- path_
excludes Sequence[str] - A list of paths that should be excluded from triggering a preview deployment. Wildcard syntax (
*) is supported. - path_
includes Sequence[str] - A list of paths that should be watched to trigger a preview deployment. Wildcard syntax (
*) is supported. - pr_
comments_ boolenabled - Whether to enable PR comments.
- preview_
branch_ Sequence[str]excludes - A list of branches that should not trigger a preview deployment. Wildcard syntax (
*) is supported. Must be used withpreview_deployment_settingset tocustom. - preview_
branch_ Sequence[str]includes - A list of branches that should trigger a preview deployment. Wildcard syntax (
*) is supported. Must be used withpreview_deployment_settingset tocustom. - preview_
deployment_ strsetting - Controls whether commits to preview branches trigger a preview deployment. Available values: "all", "none", "custom".
- production_
branch str - The production branch of the repository.
- production_
deployments_ boolenabled - Whether to trigger a production deployment on commits to the production branch.
- repo_
name str - The name of the repository.
- deployments
Enabled Boolean - Whether to enable automatic deployments when pushing to the source repository. When disabled, no deployments (production or preview) will be triggered automatically.
- owner String
- The owner of the repository.
- path
Excludes List<String> - A list of paths that should be excluded from triggering a preview deployment. Wildcard syntax (
*) is supported. - path
Includes List<String> - A list of paths that should be watched to trigger a preview deployment. Wildcard syntax (
*) is supported. - pr
Comments BooleanEnabled - Whether to enable PR comments.
- preview
Branch List<String>Excludes - A list of branches that should not trigger a preview deployment. Wildcard syntax (
*) is supported. Must be used withpreview_deployment_settingset tocustom. - preview
Branch List<String>Includes - A list of branches that should trigger a preview deployment. Wildcard syntax (
*) is supported. Must be used withpreview_deployment_settingset tocustom. - preview
Deployment StringSetting - Controls whether commits to preview branches trigger a preview deployment. Available values: "all", "none", "custom".
- production
Branch String - The production branch of the repository.
- production
Deployments BooleanEnabled - Whether to trigger a production deployment on commits to the production branch.
- repo
Name String - The name of the repository.
GetPagesProjectsResultStage
- Ended
On string - When the stage ended.
- Name string
- The current build stage. Available values: "queued", "initialize", <span pulumi-lang-nodejs=""cloneRepo"" pulumi-lang-dotnet=""CloneRepo"" pulumi-lang-go=""cloneRepo"" pulumi-lang-python=""clone_repo"" pulumi-lang-yaml=""cloneRepo"" pulumi-lang-java=""cloneRepo"">"clone_repo", "build", "deploy".
- Started
On string - When the stage started.
- Status string
- State of the current stage. Available values: "success", "idle", "active", "failure", "canceled".
- Ended
On string - When the stage ended.
- Name string
- The current build stage. Available values: "queued", "initialize", <span pulumi-lang-nodejs=""cloneRepo"" pulumi-lang-dotnet=""CloneRepo"" pulumi-lang-go=""cloneRepo"" pulumi-lang-python=""clone_repo"" pulumi-lang-yaml=""cloneRepo"" pulumi-lang-java=""cloneRepo"">"clone_repo", "build", "deploy".
- Started
On string - When the stage started.
- Status string
- State of the current stage. Available values: "success", "idle", "active", "failure", "canceled".
- ended
On String - When the stage ended.
- name String
- The current build stage. Available values: "queued", "initialize", <span pulumi-lang-nodejs=""cloneRepo"" pulumi-lang-dotnet=""CloneRepo"" pulumi-lang-go=""cloneRepo"" pulumi-lang-python=""clone_repo"" pulumi-lang-yaml=""cloneRepo"" pulumi-lang-java=""cloneRepo"">"clone_repo", "build", "deploy".
- started
On String - When the stage started.
- status String
- State of the current stage. Available values: "success", "idle", "active", "failure", "canceled".
- ended
On string - When the stage ended.
- name string
- The current build stage. Available values: "queued", "initialize", <span pulumi-lang-nodejs=""cloneRepo"" pulumi-lang-dotnet=""CloneRepo"" pulumi-lang-go=""cloneRepo"" pulumi-lang-python=""clone_repo"" pulumi-lang-yaml=""cloneRepo"" pulumi-lang-java=""cloneRepo"">"clone_repo", "build", "deploy".
- started
On string - When the stage started.
- status string
- State of the current stage. Available values: "success", "idle", "active", "failure", "canceled".
- ended_
on str - When the stage ended.
- name str
- The current build stage. Available values: "queued", "initialize", <span pulumi-lang-nodejs=""cloneRepo"" pulumi-lang-dotnet=""CloneRepo"" pulumi-lang-go=""cloneRepo"" pulumi-lang-python=""clone_repo"" pulumi-lang-yaml=""cloneRepo"" pulumi-lang-java=""cloneRepo"">"clone_repo", "build", "deploy".
- started_
on str - When the stage started.
- status str
- State of the current stage. Available values: "success", "idle", "active", "failure", "canceled".
- ended
On String - When the stage ended.
- name String
- The current build stage. Available values: "queued", "initialize", <span pulumi-lang-nodejs=""cloneRepo"" pulumi-lang-dotnet=""CloneRepo"" pulumi-lang-go=""cloneRepo"" pulumi-lang-python=""clone_repo"" pulumi-lang-yaml=""cloneRepo"" pulumi-lang-java=""cloneRepo"">"clone_repo", "build", "deploy".
- started
On String - When the stage started.
- status String
- State of the current stage. Available values: "success", "idle", "active", "failure", "canceled".
Package Details
- Repository
- Cloudflare pulumi/pulumi-cloudflare
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
cloudflareTerraform Provider.
