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 examplePagesDomain = cloudflare.getPagesDomain({
accountId: "023e105f4ecef8ad9ca31a8372d0c353",
projectName: "this-is-my-project-01",
domainName: "this-is-my-domain-01.com",
});
import pulumi
import pulumi_cloudflare as cloudflare
example_pages_domain = cloudflare.get_pages_domain(account_id="023e105f4ecef8ad9ca31a8372d0c353",
project_name="this-is-my-project-01",
domain_name="this-is-my-domain-01.com")
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.LookupPagesDomain(ctx, &cloudflare.LookupPagesDomainArgs{
AccountId: "023e105f4ecef8ad9ca31a8372d0c353",
ProjectName: "this-is-my-project-01",
DomainName: "this-is-my-domain-01.com",
}, 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 examplePagesDomain = Cloudflare.GetPagesDomain.Invoke(new()
{
AccountId = "023e105f4ecef8ad9ca31a8372d0c353",
ProjectName = "this-is-my-project-01",
DomainName = "this-is-my-domain-01.com",
});
});
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.GetPagesDomainArgs;
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 examplePagesDomain = CloudflareFunctions.getPagesDomain(GetPagesDomainArgs.builder()
.accountId("023e105f4ecef8ad9ca31a8372d0c353")
.projectName("this-is-my-project-01")
.domainName("this-is-my-domain-01.com")
.build());
}
}
variables:
examplePagesDomain:
fn::invoke:
function: cloudflare:getPagesDomain
arguments:
accountId: 023e105f4ecef8ad9ca31a8372d0c353
projectName: this-is-my-project-01
domainName: this-is-my-domain-01.com
Using getPagesDomain
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 getPagesDomain(args: GetPagesDomainArgs, opts?: InvokeOptions): Promise<GetPagesDomainResult>
function getPagesDomainOutput(args: GetPagesDomainOutputArgs, opts?: InvokeOptions): Output<GetPagesDomainResult>def get_pages_domain(account_id: Optional[str] = None,
domain_name: Optional[str] = None,
project_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetPagesDomainResult
def get_pages_domain_output(account_id: Optional[pulumi.Input[str]] = None,
domain_name: Optional[pulumi.Input[str]] = None,
project_name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetPagesDomainResult]func LookupPagesDomain(ctx *Context, args *LookupPagesDomainArgs, opts ...InvokeOption) (*LookupPagesDomainResult, error)
func LookupPagesDomainOutput(ctx *Context, args *LookupPagesDomainOutputArgs, opts ...InvokeOption) LookupPagesDomainResultOutput> Note: This function is named LookupPagesDomain in the Go SDK.
public static class GetPagesDomain
{
public static Task<GetPagesDomainResult> InvokeAsync(GetPagesDomainArgs args, InvokeOptions? opts = null)
public static Output<GetPagesDomainResult> Invoke(GetPagesDomainInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetPagesDomainResult> getPagesDomain(GetPagesDomainArgs args, InvokeOptions options)
public static Output<GetPagesDomainResult> getPagesDomain(GetPagesDomainArgs args, InvokeOptions options)
fn::invoke:
function: cloudflare:index/getPagesDomain:getPagesDomain
arguments:
# arguments dictionaryThe following arguments are supported:
- Account
Id string - Identifier.
- Domain
Name string - The domain name.
- Project
Name string - Name of the project.
- Account
Id string - Identifier.
- Domain
Name string - The domain name.
- Project
Name string - Name of the project.
- account
Id String - Identifier.
- domain
Name String - The domain name.
- project
Name String - Name of the project.
- account
Id string - Identifier.
- domain
Name string - The domain name.
- project
Name string - Name of the project.
- account_
id str - Identifier.
- domain_
name str - The domain name.
- project_
name str - Name of the project.
- account
Id String - Identifier.
- domain
Name String - The domain name.
- project
Name String - Name of the project.
getPagesDomain Result
The following output properties are available:
- Account
Id string - Identifier.
- 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 - Domain
Name string - The domain name.
- Id string
- The domain name.
- Name string
- The domain name.
- Project
Name string - Name of the project.
- Status string
- Available values: "initializing", "pending", "active", "deactivated", "blocked", "error".
- Validation
Data GetPages Domain Validation Data - Verification
Data GetPages Domain Verification Data - Zone
Tag string
- Account
Id string - Identifier.
- 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 - Domain
Name string - The domain name.
- Id string
- The domain name.
- Name string
- The domain name.
- Project
Name string - Name of the project.
- Status string
- Available values: "initializing", "pending", "active", "deactivated", "blocked", "error".
- Validation
Data GetPages Domain Validation Data - Verification
Data GetPages Domain Verification Data - Zone
Tag string
- account
Id String - Identifier.
- 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 - domain
Name String - The domain name.
- id String
- The domain name.
- name String
- The domain name.
- project
Name String - Name of the project.
- status String
- Available values: "initializing", "pending", "active", "deactivated", "blocked", "error".
- validation
Data GetPages Domain Validation Data - verification
Data GetPages Domain Verification Data - zone
Tag String
- account
Id string - Identifier.
- 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 - domain
Name string - The domain name.
- id string
- The domain name.
- name string
- The domain name.
- project
Name string - Name of the project.
- status string
- Available values: "initializing", "pending", "active", "deactivated", "blocked", "error".
- validation
Data GetPages Domain Validation Data - verification
Data GetPages Domain Verification Data - zone
Tag string
- account_
id str - Identifier.
- 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 - domain_
name str - The domain name.
- id str
- The domain name.
- name str
- The domain name.
- project_
name str - Name of the project.
- status str
- Available values: "initializing", "pending", "active", "deactivated", "blocked", "error".
- validation_
data GetPages Domain Validation Data - verification_
data GetPages Domain Verification Data - zone_
tag str
- account
Id String - Identifier.
- 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 - domain
Name String - The domain name.
- id String
- The domain name.
- name String
- The domain name.
- project
Name String - Name of the project.
- status String
- Available values: "initializing", "pending", "active", "deactivated", "blocked", "error".
- validation
Data Property Map - verification
Data Property Map - zone
Tag String
Supporting Types
GetPagesDomainValidationData
- 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
GetPagesDomainVerificationData
- 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
