Viewing docs for Cloudflare v6.13.0
published on Wednesday, Jan 21, 2026 by Pulumi
published on Wednesday, Jan 21, 2026 by Pulumi
Viewing docs for Cloudflare v6.13.0
published on Wednesday, Jan 21, 2026 by Pulumi
published on Wednesday, Jan 21, 2026 by Pulumi
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as cloudflare from "@pulumi/cloudflare";
const examplePagesDomains = cloudflare.getPagesDomains({
accountId: "023e105f4ecef8ad9ca31a8372d0c353",
projectName: "this-is-my-project-01",
});
import pulumi
import pulumi_cloudflare as cloudflare
example_pages_domains = cloudflare.get_pages_domains(account_id="023e105f4ecef8ad9ca31a8372d0c353",
project_name="this-is-my-project-01")
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.LookupPagesDomains(ctx, &cloudflare.LookupPagesDomainsArgs{
AccountId: "023e105f4ecef8ad9ca31a8372d0c353",
ProjectName: "this-is-my-project-01",
}, 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 examplePagesDomains = Cloudflare.GetPagesDomains.Invoke(new()
{
AccountId = "023e105f4ecef8ad9ca31a8372d0c353",
ProjectName = "this-is-my-project-01",
});
});
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.GetPagesDomainsArgs;
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 examplePagesDomains = CloudflareFunctions.getPagesDomains(GetPagesDomainsArgs.builder()
.accountId("023e105f4ecef8ad9ca31a8372d0c353")
.projectName("this-is-my-project-01")
.build());
}
}
variables:
examplePagesDomains:
fn::invoke:
function: cloudflare:getPagesDomains
arguments:
accountId: 023e105f4ecef8ad9ca31a8372d0c353
projectName: this-is-my-project-01
Using getPagesDomains
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 getPagesDomains(args: GetPagesDomainsArgs, opts?: InvokeOptions): Promise<GetPagesDomainsResult>
function getPagesDomainsOutput(args: GetPagesDomainsOutputArgs, opts?: InvokeOptions): Output<GetPagesDomainsResult>def get_pages_domains(account_id: Optional[str] = None,
max_items: Optional[int] = None,
project_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetPagesDomainsResult
def get_pages_domains_output(account_id: Optional[pulumi.Input[str]] = None,
max_items: Optional[pulumi.Input[int]] = None,
project_name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetPagesDomainsResult]func LookupPagesDomains(ctx *Context, args *LookupPagesDomainsArgs, opts ...InvokeOption) (*LookupPagesDomainsResult, error)
func LookupPagesDomainsOutput(ctx *Context, args *LookupPagesDomainsOutputArgs, opts ...InvokeOption) LookupPagesDomainsResultOutput> Note: This function is named LookupPagesDomains in the Go SDK.
public static class GetPagesDomains
{
public static Task<GetPagesDomainsResult> InvokeAsync(GetPagesDomainsArgs args, InvokeOptions? opts = null)
public static Output<GetPagesDomainsResult> Invoke(GetPagesDomainsInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetPagesDomainsResult> getPagesDomains(GetPagesDomainsArgs args, InvokeOptions options)
public static Output<GetPagesDomainsResult> getPagesDomains(GetPagesDomainsArgs args, InvokeOptions options)
fn::invoke:
function: cloudflare:index/getPagesDomains:getPagesDomains
arguments:
# arguments dictionaryThe following arguments are supported:
- Account
Id string - Identifier.
- Project
Name string - Name of the project.
- Max
Items int - Max items to fetch, default: 1000
- Account
Id string - Identifier.
- Project
Name string - Name of the project.
- Max
Items int - Max items to fetch, default: 1000
- account
Id String - Identifier.
- project
Name String - Name of the project.
- max
Items Integer - Max items to fetch, default: 1000
- account
Id string - Identifier.
- project
Name string - Name of the project.
- max
Items number - Max items to fetch, default: 1000
- account_
id str - Identifier.
- project_
name str - Name of the project.
- max_
items int - Max items to fetch, default: 1000
- account
Id String - Identifier.
- project
Name String - Name of the project.
- max
Items Number - Max items to fetch, default: 1000
getPagesDomains Result
The following output properties are available:
- Account
Id string - Identifier.
- Id string
- The provider-assigned unique ID for this managed resource.
- Project
Name string - Name of the project.
- Results
List<Get
Pages Domains 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.
- Project
Name string - Name of the project.
- Results
[]Get
Pages Domains 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.
- project
Name String - Name of the project.
- results
List<Get
Pages Domains 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.
- project
Name string - Name of the project.
- results
Get
Pages Domains 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.
- project_
name str - Name of the project.
- results
Sequence[Get
Pages Domains 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.
- project
Name String - Name of the project.
- results List<Property Map>
- The items returned by the data source
- max
Items Number - Max items to fetch, default: 1000
Supporting Types
GetPagesDomainsResult
- string
- Available values: "google", <span pulumi-lang-nodejs=""letsEncrypt"" pulumi-lang-dotnet=""LetsEncrypt"" pulumi-lang-go=""letsEncrypt"" pulumi-lang-python=""lets_encrypt"" pulumi-lang-yaml=""letsEncrypt"" pulumi-lang-java=""letsEncrypt"">"lets_encrypt".
- Created
On string - Domain
Id string - Id string
- Name string
- The domain name.
- Status string
- Available values: "initializing", "pending", "active", "deactivated", "blocked", "error".
- Validation
Data GetPages Domains Result Validation Data - Verification
Data GetPages Domains Result Verification Data - Zone
Tag string
- string
- Available values: "google", <span pulumi-lang-nodejs=""letsEncrypt"" pulumi-lang-dotnet=""LetsEncrypt"" pulumi-lang-go=""letsEncrypt"" pulumi-lang-python=""lets_encrypt"" pulumi-lang-yaml=""letsEncrypt"" pulumi-lang-java=""letsEncrypt"">"lets_encrypt".
- Created
On string - Domain
Id string - Id string
- Name string
- The domain name.
- Status string
- Available values: "initializing", "pending", "active", "deactivated", "blocked", "error".
- Validation
Data GetPages Domains Result Validation Data - Verification
Data GetPages Domains Result Verification Data - Zone
Tag string
- String
- Available values: "google", <span pulumi-lang-nodejs=""letsEncrypt"" pulumi-lang-dotnet=""LetsEncrypt"" pulumi-lang-go=""letsEncrypt"" pulumi-lang-python=""lets_encrypt"" pulumi-lang-yaml=""letsEncrypt"" pulumi-lang-java=""letsEncrypt"">"lets_encrypt".
- created
On String - domain
Id String - id String
- name String
- The domain name.
- status String
- Available values: "initializing", "pending", "active", "deactivated", "blocked", "error".
- validation
Data GetPages Domains Result Validation Data - verification
Data GetPages Domains Result Verification Data - zone
Tag String
- string
- Available values: "google", <span pulumi-lang-nodejs=""letsEncrypt"" pulumi-lang-dotnet=""LetsEncrypt"" pulumi-lang-go=""letsEncrypt"" pulumi-lang-python=""lets_encrypt"" pulumi-lang-yaml=""letsEncrypt"" pulumi-lang-java=""letsEncrypt"">"lets_encrypt".
- created
On string - domain
Id string - id string
- name string
- The domain name.
- status string
- Available values: "initializing", "pending", "active", "deactivated", "blocked", "error".
- validation
Data GetPages Domains Result Validation Data - verification
Data GetPages Domains Result Verification Data - zone
Tag string
- str
- Available values: "google", <span pulumi-lang-nodejs=""letsEncrypt"" pulumi-lang-dotnet=""LetsEncrypt"" pulumi-lang-go=""letsEncrypt"" pulumi-lang-python=""lets_encrypt"" pulumi-lang-yaml=""letsEncrypt"" pulumi-lang-java=""letsEncrypt"">"lets_encrypt".
- created_
on str - domain_
id str - id str
- name str
- The domain name.
- status str
- Available values: "initializing", "pending", "active", "deactivated", "blocked", "error".
- validation_
data GetPages Domains Result Validation Data - verification_
data GetPages Domains Result Verification Data - zone_
tag str
- String
- Available values: "google", <span pulumi-lang-nodejs=""letsEncrypt"" pulumi-lang-dotnet=""LetsEncrypt"" pulumi-lang-go=""letsEncrypt"" pulumi-lang-python=""lets_encrypt"" pulumi-lang-yaml=""letsEncrypt"" pulumi-lang-java=""letsEncrypt"">"lets_encrypt".
- created
On String - domain
Id String - id String
- name String
- The domain name.
- status String
- Available values: "initializing", "pending", "active", "deactivated", "blocked", "error".
- validation
Data Property Map - verification
Data Property Map - zone
Tag String
GetPagesDomainsResultValidationData
- Error
Message string - Method string
- Available values: "http", "txt".
- Status string
- Available values: "initializing", "pending", "active", "deactivated", "error".
- Txt
Name string - Txt
Value string
- Error
Message string - Method string
- Available values: "http", "txt".
- Status string
- Available values: "initializing", "pending", "active", "deactivated", "error".
- Txt
Name string - Txt
Value string
- error
Message String - method String
- Available values: "http", "txt".
- status String
- Available values: "initializing", "pending", "active", "deactivated", "error".
- txt
Name String - txt
Value String
- error
Message string - method string
- Available values: "http", "txt".
- status string
- Available values: "initializing", "pending", "active", "deactivated", "error".
- txt
Name string - txt
Value string
- error_
message str - method str
- Available values: "http", "txt".
- status str
- Available values: "initializing", "pending", "active", "deactivated", "error".
- txt_
name str - txt_
value str
- error
Message String - method String
- Available values: "http", "txt".
- status String
- Available values: "initializing", "pending", "active", "deactivated", "error".
- txt
Name String - txt
Value String
GetPagesDomainsResultVerificationData
- Error
Message string - Status string
- Available values: "pending", "active", "deactivated", "blocked", "error".
- Error
Message string - Status string
- Available values: "pending", "active", "deactivated", "blocked", "error".
- error
Message String - status String
- Available values: "pending", "active", "deactivated", "blocked", "error".
- error
Message string - status string
- Available values: "pending", "active", "deactivated", "blocked", "error".
- error_
message str - status str
- Available values: "pending", "active", "deactivated", "blocked", "error".
- error
Message String - status String
- Available values: "pending", "active", "deactivated", "blocked", "error".
Package Details
- Repository
- Cloudflare pulumi/pulumi-cloudflare
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
cloudflareTerraform Provider.
Viewing docs for Cloudflare v6.13.0
published on Wednesday, Jan 21, 2026 by Pulumi
published on Wednesday, Jan 21, 2026 by Pulumi
