Cloudflare v6.1.2 published on Monday, Apr 28, 2025 by Pulumi
cloudflare.getPagesDomain
Explore with Pulumi AI
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: pulumi.StringRef("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 dictionary
The following arguments are supported:
- Account
Id string - Identifier
- Project
Name string - Name of the project.
- Domain
Name string - Name of the domain.
- Account
Id string - Identifier
- Project
Name string - Name of the project.
- Domain
Name string - Name of the domain.
- account
Id String - Identifier
- project
Name String - Name of the project.
- domain
Name String - Name of the domain.
- account
Id string - Identifier
- project
Name string - Name of the project.
- domain
Name string - Name of the domain.
- account_
id str - Identifier
- project_
name str - Name of the project.
- domain_
name str - Name of the domain.
- account
Id String - Identifier
- project
Name String - Name of the project.
- domain
Name String - Name of the domain.
getPagesDomain Result
The following output properties are available:
- Account
Id string - Identifier
- string
- Available values: "google", "lets_encrypt".
- Created
On string - Domain
Id string - Id string
- Name of the domain.
- Name string
- 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 - Domain
Name string - Name of the domain.
- Account
Id string - Identifier
- string
- Available values: "google", "lets_encrypt".
- Created
On string - Domain
Id string - Id string
- Name of the domain.
- Name string
- 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 - Domain
Name string - Name of the domain.
- account
Id String - Identifier
- String
- Available values: "google", "lets_encrypt".
- created
On String - domain
Id String - id String
- Name of the domain.
- name String
- 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 - domain
Name String - Name of the domain.
- account
Id string - Identifier
- string
- Available values: "google", "lets_encrypt".
- created
On string - domain
Id string - id string
- Name of the domain.
- name string
- 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 - domain
Name string - Name of the domain.
- account_
id str - Identifier
- str
- Available values: "google", "lets_encrypt".
- created_
on str - domain_
id str - id str
- Name of the domain.
- name str
- 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 - domain_
name str - Name of the domain.
- account
Id String - Identifier
- String
- Available values: "google", "lets_encrypt".
- created
On String - domain
Id String - id String
- Name of the domain.
- name String
- 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 - domain
Name String - Name of the domain.
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
cloudflare
Terraform Provider.