Viewing docs for Cloudflare v6.15.0
published on Saturday, May 2, 2026 by Pulumi
published on Saturday, May 2, 2026 by Pulumi
Viewing docs for Cloudflare v6.15.0
published on Saturday, May 2, 2026 by Pulumi
published on Saturday, May 2, 2026 by Pulumi
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as cloudflare from "@pulumi/cloudflare";
const exampleRegistrarDomain = cloudflare.getRegistrarDomain({
accountId: "023e105f4ecef8ad9ca31a8372d0c353",
domainName: "example.com",
});
import pulumi
import pulumi_cloudflare as cloudflare
example_registrar_domain = cloudflare.get_registrar_domain(account_id="023e105f4ecef8ad9ca31a8372d0c353",
domain_name="example.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.GetRegistrarDomain(ctx, &cloudflare.LookupRegistrarDomainArgs{
AccountId: pulumi.StringRef("023e105f4ecef8ad9ca31a8372d0c353"),
DomainName: "example.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 exampleRegistrarDomain = Cloudflare.Index.GetRegistrarDomain.Invoke(new()
{
AccountId = "023e105f4ecef8ad9ca31a8372d0c353",
DomainName = "example.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.GetRegistrarDomainArgs;
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 exampleRegistrarDomain = CloudflareFunctions.getRegistrarDomain(GetRegistrarDomainArgs.builder()
.accountId("023e105f4ecef8ad9ca31a8372d0c353")
.domainName("example.com")
.build());
}
}
variables:
exampleRegistrarDomain:
fn::invoke:
function: cloudflare:getRegistrarDomain
arguments:
accountId: 023e105f4ecef8ad9ca31a8372d0c353
domainName: example.com
Using getRegistrarDomain
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 getRegistrarDomain(args: GetRegistrarDomainArgs, opts?: InvokeOptions): Promise<GetRegistrarDomainResult>
function getRegistrarDomainOutput(args: GetRegistrarDomainOutputArgs, opts?: InvokeOptions): Output<GetRegistrarDomainResult>def get_registrar_domain(account_id: Optional[str] = None,
domain_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetRegistrarDomainResult
def get_registrar_domain_output(account_id: Optional[pulumi.Input[str]] = None,
domain_name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetRegistrarDomainResult]func LookupRegistrarDomain(ctx *Context, args *LookupRegistrarDomainArgs, opts ...InvokeOption) (*LookupRegistrarDomainResult, error)
func LookupRegistrarDomainOutput(ctx *Context, args *LookupRegistrarDomainOutputArgs, opts ...InvokeOption) LookupRegistrarDomainResultOutput> Note: This function is named LookupRegistrarDomain in the Go SDK.
public static class GetRegistrarDomain
{
public static Task<GetRegistrarDomainResult> InvokeAsync(GetRegistrarDomainArgs args, InvokeOptions? opts = null)
public static Output<GetRegistrarDomainResult> Invoke(GetRegistrarDomainInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetRegistrarDomainResult> getRegistrarDomain(GetRegistrarDomainArgs args, InvokeOptions options)
public static Output<GetRegistrarDomainResult> getRegistrarDomain(GetRegistrarDomainArgs args, InvokeOptions options)
fn::invoke:
function: cloudflare:index/getRegistrarDomain:getRegistrarDomain
arguments:
# arguments dictionaryThe following arguments are supported:
- Domain
Name string - Fully qualified domain name (FQDN) including the extension
(e.g.,
example.com,mybrand.app). The domain name uniquely identifies a registration — the same domain cannot be registered twice, making it a natural idempotency key for registration requests. - Account
Id string - Identifier
- Domain
Name string - Fully qualified domain name (FQDN) including the extension
(e.g.,
example.com,mybrand.app). The domain name uniquely identifies a registration — the same domain cannot be registered twice, making it a natural idempotency key for registration requests. - Account
Id string - Identifier
- domain
Name String - Fully qualified domain name (FQDN) including the extension
(e.g.,
example.com,mybrand.app). The domain name uniquely identifies a registration — the same domain cannot be registered twice, making it a natural idempotency key for registration requests. - account
Id String - Identifier
- domain
Name string - Fully qualified domain name (FQDN) including the extension
(e.g.,
example.com,mybrand.app). The domain name uniquely identifies a registration — the same domain cannot be registered twice, making it a natural idempotency key for registration requests. - account
Id string - Identifier
- domain_
name str - Fully qualified domain name (FQDN) including the extension
(e.g.,
example.com,mybrand.app). The domain name uniquely identifies a registration — the same domain cannot be registered twice, making it a natural idempotency key for registration requests. - account_
id str - Identifier
- domain
Name String - Fully qualified domain name (FQDN) including the extension
(e.g.,
example.com,mybrand.app). The domain name uniquely identifies a registration — the same domain cannot be registered twice, making it a natural idempotency key for registration requests. - account
Id String - Identifier
getRegistrarDomain Result
The following output properties are available:
- Domain
Name string - Fully qualified domain name (FQDN) including the extension
(e.g.,
example.com,mybrand.app). The domain name uniquely identifies a registration — the same domain cannot be registered twice, making it a natural idempotency key for registration requests. - Id string
- The provider-assigned unique ID for this managed resource.
- Account
Id string - Identifier
- Domain
Name string - Fully qualified domain name (FQDN) including the extension
(e.g.,
example.com,mybrand.app). The domain name uniquely identifies a registration — the same domain cannot be registered twice, making it a natural idempotency key for registration requests. - Id string
- The provider-assigned unique ID for this managed resource.
- Account
Id string - Identifier
- domain
Name String - Fully qualified domain name (FQDN) including the extension
(e.g.,
example.com,mybrand.app). The domain name uniquely identifies a registration — the same domain cannot be registered twice, making it a natural idempotency key for registration requests. - id String
- The provider-assigned unique ID for this managed resource.
- account
Id String - Identifier
- domain
Name string - Fully qualified domain name (FQDN) including the extension
(e.g.,
example.com,mybrand.app). The domain name uniquely identifies a registration — the same domain cannot be registered twice, making it a natural idempotency key for registration requests. - id string
- The provider-assigned unique ID for this managed resource.
- account
Id string - Identifier
- domain_
name str - Fully qualified domain name (FQDN) including the extension
(e.g.,
example.com,mybrand.app). The domain name uniquely identifies a registration — the same domain cannot be registered twice, making it a natural idempotency key for registration requests. - id str
- The provider-assigned unique ID for this managed resource.
- account_
id str - Identifier
- domain
Name String - Fully qualified domain name (FQDN) including the extension
(e.g.,
example.com,mybrand.app). The domain name uniquely identifies a registration — the same domain cannot be registered twice, making it a natural idempotency key for registration requests. - id String
- The provider-assigned unique ID for this managed resource.
- account
Id String - Identifier
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.15.0
published on Saturday, May 2, 2026 by Pulumi
published on Saturday, May 2, 2026 by Pulumi
