1. Packages
  2. Cloudflare Provider
  3. API Docs
  4. Zone
Cloudflare v6.0.1 published on Wednesday, Apr 16, 2025 by Pulumi

cloudflare.Zone

Explore with Pulumi AI

If you are attempting to sign up a subdomain of a zone you must first have Subdomain Support entitlement for your account.

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as cloudflare from "@pulumi/cloudflare";

const exampleZone = new cloudflare.Zone("example_zone", {
    account: {
        id: "023e105f4ecef8ad9ca31a8372d0c353",
    },
    name: "example.com",
    type: "full",
});
Copy
import pulumi
import pulumi_cloudflare as cloudflare

example_zone = cloudflare.Zone("example_zone",
    account={
        "id": "023e105f4ecef8ad9ca31a8372d0c353",
    },
    name="example.com",
    type="full")
Copy
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.NewZone(ctx, "example_zone", &cloudflare.ZoneArgs{
			Account: &cloudflare.ZoneAccountArgs{
				Id: pulumi.String("023e105f4ecef8ad9ca31a8372d0c353"),
			},
			Name: pulumi.String("example.com"),
			Type: pulumi.String("full"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Cloudflare = Pulumi.Cloudflare;

return await Deployment.RunAsync(() => 
{
    var exampleZone = new Cloudflare.Zone("example_zone", new()
    {
        Account = new Cloudflare.Inputs.ZoneAccountArgs
        {
            Id = "023e105f4ecef8ad9ca31a8372d0c353",
        },
        Name = "example.com",
        Type = "full",
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.cloudflare.Zone;
import com.pulumi.cloudflare.ZoneArgs;
import com.pulumi.cloudflare.inputs.ZoneAccountArgs;
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) {
        var exampleZone = new Zone("exampleZone", ZoneArgs.builder()
            .account(ZoneAccountArgs.builder()
                .id("023e105f4ecef8ad9ca31a8372d0c353")
                .build())
            .name("example.com")
            .type("full")
            .build());

    }
}
Copy
resources:
  exampleZone:
    type: cloudflare:Zone
    name: example_zone
    properties:
      account:
        id: 023e105f4ecef8ad9ca31a8372d0c353
      name: example.com
      type: full
Copy

Create Zone Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new Zone(name: string, args: ZoneArgs, opts?: CustomResourceOptions);
@overload
def Zone(resource_name: str,
         args: ZoneArgs,
         opts: Optional[ResourceOptions] = None)

@overload
def Zone(resource_name: str,
         opts: Optional[ResourceOptions] = None,
         account: Optional[ZoneAccountArgs] = None,
         name: Optional[str] = None,
         type: Optional[str] = None,
         vanity_name_servers: Optional[Sequence[str]] = None)
func NewZone(ctx *Context, name string, args ZoneArgs, opts ...ResourceOption) (*Zone, error)
public Zone(string name, ZoneArgs args, CustomResourceOptions? opts = null)
public Zone(String name, ZoneArgs args)
public Zone(String name, ZoneArgs args, CustomResourceOptions options)
type: cloudflare:Zone
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. ZoneArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. ZoneArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. ZoneArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. ZoneArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. ZoneArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

Constructor example

The following reference example uses placeholder values for all input properties.

var zoneResource = new Cloudflare.Zone("zoneResource", new()
{
    Account = new Cloudflare.Inputs.ZoneAccountArgs
    {
        Id = "string",
    },
    Name = "string",
    Type = "string",
    VanityNameServers = new[]
    {
        "string",
    },
});
Copy
example, err := cloudflare.NewZone(ctx, "zoneResource", &cloudflare.ZoneArgs{
	Account: &cloudflare.ZoneAccountArgs{
		Id: pulumi.String("string"),
	},
	Name: pulumi.String("string"),
	Type: pulumi.String("string"),
	VanityNameServers: pulumi.StringArray{
		pulumi.String("string"),
	},
})
Copy
var zoneResource = new Zone("zoneResource", ZoneArgs.builder()
    .account(ZoneAccountArgs.builder()
        .id("string")
        .build())
    .name("string")
    .type("string")
    .vanityNameServers("string")
    .build());
Copy
zone_resource = cloudflare.Zone("zoneResource",
    account={
        "id": "string",
    },
    name="string",
    type="string",
    vanity_name_servers=["string"])
Copy
const zoneResource = new cloudflare.Zone("zoneResource", {
    account: {
        id: "string",
    },
    name: "string",
    type: "string",
    vanityNameServers: ["string"],
});
Copy
type: cloudflare:Zone
properties:
    account:
        id: string
    name: string
    type: string
    vanityNameServers:
        - string
Copy

Zone Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

The Zone resource accepts the following input properties:

Account This property is required. ZoneAccount
Name This property is required. string
The domain name
Type string
A full zone implies that DNS is hosted with Cloudflare. A partial zone is typically a partner-hosted zone or a CNAME setup. Available values: "full", "partial", "secondary".
VanityNameServers List<string>
An array of domains used for custom name servers. This is only available for Business and Enterprise plans.
Account This property is required. ZoneAccountArgs
Name This property is required. string
The domain name
Type string
A full zone implies that DNS is hosted with Cloudflare. A partial zone is typically a partner-hosted zone or a CNAME setup. Available values: "full", "partial", "secondary".
VanityNameServers []string
An array of domains used for custom name servers. This is only available for Business and Enterprise plans.
account This property is required. ZoneAccount
name This property is required. String
The domain name
type String
A full zone implies that DNS is hosted with Cloudflare. A partial zone is typically a partner-hosted zone or a CNAME setup. Available values: "full", "partial", "secondary".
vanityNameServers List<String>
An array of domains used for custom name servers. This is only available for Business and Enterprise plans.
account This property is required. ZoneAccount
name This property is required. string
The domain name
type string
A full zone implies that DNS is hosted with Cloudflare. A partial zone is typically a partner-hosted zone or a CNAME setup. Available values: "full", "partial", "secondary".
vanityNameServers string[]
An array of domains used for custom name servers. This is only available for Business and Enterprise plans.
account This property is required. ZoneAccountArgs
name This property is required. str
The domain name
type str
A full zone implies that DNS is hosted with Cloudflare. A partial zone is typically a partner-hosted zone or a CNAME setup. Available values: "full", "partial", "secondary".
vanity_name_servers Sequence[str]
An array of domains used for custom name servers. This is only available for Business and Enterprise plans.
account This property is required. Property Map
name This property is required. String
The domain name
type String
A full zone implies that DNS is hosted with Cloudflare. A partial zone is typically a partner-hosted zone or a CNAME setup. Available values: "full", "partial", "secondary".
vanityNameServers List<String>
An array of domains used for custom name servers. This is only available for Business and Enterprise plans.

Outputs

All input properties are implicitly available as output properties. Additionally, the Zone resource produces the following output properties:

ActivatedOn string
The last time proof of ownership was detected and the zone was made active
CreatedOn string
When the zone was created
DevelopmentMode double
The interval (in seconds) from when development mode expires (positive integer) or last expired (negative integer) for the domain. If development mode has never been enabled, this value is 0.
Id string
The provider-assigned unique ID for this managed resource.
Meta ZoneMeta
Metadata about the zone
ModifiedOn string
When the zone was last modified
NameServers List<string>
The name servers Cloudflare assigns to a zone
OriginalDnshost string
DNS host at the time of switching to Cloudflare
OriginalNameServers List<string>
Original name servers before moving to Cloudflare
OriginalRegistrar string
Registrar for the domain at the time of switching to Cloudflare
Owner ZoneOwner
The owner of the zone
Paused bool
Indicates whether the zone is only using Cloudflare DNS services. A true value means the zone will not receive security or performance benefits.
Status string
The zone status on Cloudflare. Available values: "initializing", "pending", "active", "moved".
VerificationKey string
Verification key for partial zone setup.
ActivatedOn string
The last time proof of ownership was detected and the zone was made active
CreatedOn string
When the zone was created
DevelopmentMode float64
The interval (in seconds) from when development mode expires (positive integer) or last expired (negative integer) for the domain. If development mode has never been enabled, this value is 0.
Id string
The provider-assigned unique ID for this managed resource.
Meta ZoneMeta
Metadata about the zone
ModifiedOn string
When the zone was last modified
NameServers []string
The name servers Cloudflare assigns to a zone
OriginalDnshost string
DNS host at the time of switching to Cloudflare
OriginalNameServers []string
Original name servers before moving to Cloudflare
OriginalRegistrar string
Registrar for the domain at the time of switching to Cloudflare
Owner ZoneOwner
The owner of the zone
Paused bool
Indicates whether the zone is only using Cloudflare DNS services. A true value means the zone will not receive security or performance benefits.
Status string
The zone status on Cloudflare. Available values: "initializing", "pending", "active", "moved".
VerificationKey string
Verification key for partial zone setup.
activatedOn String
The last time proof of ownership was detected and the zone was made active
createdOn String
When the zone was created
developmentMode Double
The interval (in seconds) from when development mode expires (positive integer) or last expired (negative integer) for the domain. If development mode has never been enabled, this value is 0.
id String
The provider-assigned unique ID for this managed resource.
meta ZoneMeta
Metadata about the zone
modifiedOn String
When the zone was last modified
nameServers List<String>
The name servers Cloudflare assigns to a zone
originalDnshost String
DNS host at the time of switching to Cloudflare
originalNameServers List<String>
Original name servers before moving to Cloudflare
originalRegistrar String
Registrar for the domain at the time of switching to Cloudflare
owner ZoneOwner
The owner of the zone
paused Boolean
Indicates whether the zone is only using Cloudflare DNS services. A true value means the zone will not receive security or performance benefits.
status String
The zone status on Cloudflare. Available values: "initializing", "pending", "active", "moved".
verificationKey String
Verification key for partial zone setup.
activatedOn string
The last time proof of ownership was detected and the zone was made active
createdOn string
When the zone was created
developmentMode number
The interval (in seconds) from when development mode expires (positive integer) or last expired (negative integer) for the domain. If development mode has never been enabled, this value is 0.
id string
The provider-assigned unique ID for this managed resource.
meta ZoneMeta
Metadata about the zone
modifiedOn string
When the zone was last modified
nameServers string[]
The name servers Cloudflare assigns to a zone
originalDnshost string
DNS host at the time of switching to Cloudflare
originalNameServers string[]
Original name servers before moving to Cloudflare
originalRegistrar string
Registrar for the domain at the time of switching to Cloudflare
owner ZoneOwner
The owner of the zone
paused boolean
Indicates whether the zone is only using Cloudflare DNS services. A true value means the zone will not receive security or performance benefits.
status string
The zone status on Cloudflare. Available values: "initializing", "pending", "active", "moved".
verificationKey string
Verification key for partial zone setup.
activated_on str
The last time proof of ownership was detected and the zone was made active
created_on str
When the zone was created
development_mode float
The interval (in seconds) from when development mode expires (positive integer) or last expired (negative integer) for the domain. If development mode has never been enabled, this value is 0.
id str
The provider-assigned unique ID for this managed resource.
meta ZoneMeta
Metadata about the zone
modified_on str
When the zone was last modified
name_servers Sequence[str]
The name servers Cloudflare assigns to a zone
original_dnshost str
DNS host at the time of switching to Cloudflare
original_name_servers Sequence[str]
Original name servers before moving to Cloudflare
original_registrar str
Registrar for the domain at the time of switching to Cloudflare
owner ZoneOwner
The owner of the zone
paused bool
Indicates whether the zone is only using Cloudflare DNS services. A true value means the zone will not receive security or performance benefits.
status str
The zone status on Cloudflare. Available values: "initializing", "pending", "active", "moved".
verification_key str
Verification key for partial zone setup.
activatedOn String
The last time proof of ownership was detected and the zone was made active
createdOn String
When the zone was created
developmentMode Number
The interval (in seconds) from when development mode expires (positive integer) or last expired (negative integer) for the domain. If development mode has never been enabled, this value is 0.
id String
The provider-assigned unique ID for this managed resource.
meta Property Map
Metadata about the zone
modifiedOn String
When the zone was last modified
nameServers List<String>
The name servers Cloudflare assigns to a zone
originalDnshost String
DNS host at the time of switching to Cloudflare
originalNameServers List<String>
Original name servers before moving to Cloudflare
originalRegistrar String
Registrar for the domain at the time of switching to Cloudflare
owner Property Map
The owner of the zone
paused Boolean
Indicates whether the zone is only using Cloudflare DNS services. A true value means the zone will not receive security or performance benefits.
status String
The zone status on Cloudflare. Available values: "initializing", "pending", "active", "moved".
verificationKey String
Verification key for partial zone setup.

Look up Existing Zone Resource

Get an existing Zone resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

public static get(name: string, id: Input<ID>, state?: ZoneState, opts?: CustomResourceOptions): Zone
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        account: Optional[ZoneAccountArgs] = None,
        activated_on: Optional[str] = None,
        created_on: Optional[str] = None,
        development_mode: Optional[float] = None,
        meta: Optional[ZoneMetaArgs] = None,
        modified_on: Optional[str] = None,
        name: Optional[str] = None,
        name_servers: Optional[Sequence[str]] = None,
        original_dnshost: Optional[str] = None,
        original_name_servers: Optional[Sequence[str]] = None,
        original_registrar: Optional[str] = None,
        owner: Optional[ZoneOwnerArgs] = None,
        paused: Optional[bool] = None,
        status: Optional[str] = None,
        type: Optional[str] = None,
        vanity_name_servers: Optional[Sequence[str]] = None,
        verification_key: Optional[str] = None) -> Zone
func GetZone(ctx *Context, name string, id IDInput, state *ZoneState, opts ...ResourceOption) (*Zone, error)
public static Zone Get(string name, Input<string> id, ZoneState? state, CustomResourceOptions? opts = null)
public static Zone get(String name, Output<String> id, ZoneState state, CustomResourceOptions options)
resources:  _:    type: cloudflare:Zone    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
The following state arguments are supported:
Account ZoneAccount
ActivatedOn string
The last time proof of ownership was detected and the zone was made active
CreatedOn string
When the zone was created
DevelopmentMode double
The interval (in seconds) from when development mode expires (positive integer) or last expired (negative integer) for the domain. If development mode has never been enabled, this value is 0.
Meta ZoneMeta
Metadata about the zone
ModifiedOn string
When the zone was last modified
Name string
The domain name
NameServers List<string>
The name servers Cloudflare assigns to a zone
OriginalDnshost string
DNS host at the time of switching to Cloudflare
OriginalNameServers List<string>
Original name servers before moving to Cloudflare
OriginalRegistrar string
Registrar for the domain at the time of switching to Cloudflare
Owner ZoneOwner
The owner of the zone
Paused bool
Indicates whether the zone is only using Cloudflare DNS services. A true value means the zone will not receive security or performance benefits.
Status string
The zone status on Cloudflare. Available values: "initializing", "pending", "active", "moved".
Type string
A full zone implies that DNS is hosted with Cloudflare. A partial zone is typically a partner-hosted zone or a CNAME setup. Available values: "full", "partial", "secondary".
VanityNameServers List<string>
An array of domains used for custom name servers. This is only available for Business and Enterprise plans.
VerificationKey string
Verification key for partial zone setup.
Account ZoneAccountArgs
ActivatedOn string
The last time proof of ownership was detected and the zone was made active
CreatedOn string
When the zone was created
DevelopmentMode float64
The interval (in seconds) from when development mode expires (positive integer) or last expired (negative integer) for the domain. If development mode has never been enabled, this value is 0.
Meta ZoneMetaArgs
Metadata about the zone
ModifiedOn string
When the zone was last modified
Name string
The domain name
NameServers []string
The name servers Cloudflare assigns to a zone
OriginalDnshost string
DNS host at the time of switching to Cloudflare
OriginalNameServers []string
Original name servers before moving to Cloudflare
OriginalRegistrar string
Registrar for the domain at the time of switching to Cloudflare
Owner ZoneOwnerArgs
The owner of the zone
Paused bool
Indicates whether the zone is only using Cloudflare DNS services. A true value means the zone will not receive security or performance benefits.
Status string
The zone status on Cloudflare. Available values: "initializing", "pending", "active", "moved".
Type string
A full zone implies that DNS is hosted with Cloudflare. A partial zone is typically a partner-hosted zone or a CNAME setup. Available values: "full", "partial", "secondary".
VanityNameServers []string
An array of domains used for custom name servers. This is only available for Business and Enterprise plans.
VerificationKey string
Verification key for partial zone setup.
account ZoneAccount
activatedOn String
The last time proof of ownership was detected and the zone was made active
createdOn String
When the zone was created
developmentMode Double
The interval (in seconds) from when development mode expires (positive integer) or last expired (negative integer) for the domain. If development mode has never been enabled, this value is 0.
meta ZoneMeta
Metadata about the zone
modifiedOn String
When the zone was last modified
name String
The domain name
nameServers List<String>
The name servers Cloudflare assigns to a zone
originalDnshost String
DNS host at the time of switching to Cloudflare
originalNameServers List<String>
Original name servers before moving to Cloudflare
originalRegistrar String
Registrar for the domain at the time of switching to Cloudflare
owner ZoneOwner
The owner of the zone
paused Boolean
Indicates whether the zone is only using Cloudflare DNS services. A true value means the zone will not receive security or performance benefits.
status String
The zone status on Cloudflare. Available values: "initializing", "pending", "active", "moved".
type String
A full zone implies that DNS is hosted with Cloudflare. A partial zone is typically a partner-hosted zone or a CNAME setup. Available values: "full", "partial", "secondary".
vanityNameServers List<String>
An array of domains used for custom name servers. This is only available for Business and Enterprise plans.
verificationKey String
Verification key for partial zone setup.
account ZoneAccount
activatedOn string
The last time proof of ownership was detected and the zone was made active
createdOn string
When the zone was created
developmentMode number
The interval (in seconds) from when development mode expires (positive integer) or last expired (negative integer) for the domain. If development mode has never been enabled, this value is 0.
meta ZoneMeta
Metadata about the zone
modifiedOn string
When the zone was last modified
name string
The domain name
nameServers string[]
The name servers Cloudflare assigns to a zone
originalDnshost string
DNS host at the time of switching to Cloudflare
originalNameServers string[]
Original name servers before moving to Cloudflare
originalRegistrar string
Registrar for the domain at the time of switching to Cloudflare
owner ZoneOwner
The owner of the zone
paused boolean
Indicates whether the zone is only using Cloudflare DNS services. A true value means the zone will not receive security or performance benefits.
status string
The zone status on Cloudflare. Available values: "initializing", "pending", "active", "moved".
type string
A full zone implies that DNS is hosted with Cloudflare. A partial zone is typically a partner-hosted zone or a CNAME setup. Available values: "full", "partial", "secondary".
vanityNameServers string[]
An array of domains used for custom name servers. This is only available for Business and Enterprise plans.
verificationKey string
Verification key for partial zone setup.
account ZoneAccountArgs
activated_on str
The last time proof of ownership was detected and the zone was made active
created_on str
When the zone was created
development_mode float
The interval (in seconds) from when development mode expires (positive integer) or last expired (negative integer) for the domain. If development mode has never been enabled, this value is 0.
meta ZoneMetaArgs
Metadata about the zone
modified_on str
When the zone was last modified
name str
The domain name
name_servers Sequence[str]
The name servers Cloudflare assigns to a zone
original_dnshost str
DNS host at the time of switching to Cloudflare
original_name_servers Sequence[str]
Original name servers before moving to Cloudflare
original_registrar str
Registrar for the domain at the time of switching to Cloudflare
owner ZoneOwnerArgs
The owner of the zone
paused bool
Indicates whether the zone is only using Cloudflare DNS services. A true value means the zone will not receive security or performance benefits.
status str
The zone status on Cloudflare. Available values: "initializing", "pending", "active", "moved".
type str
A full zone implies that DNS is hosted with Cloudflare. A partial zone is typically a partner-hosted zone or a CNAME setup. Available values: "full", "partial", "secondary".
vanity_name_servers Sequence[str]
An array of domains used for custom name servers. This is only available for Business and Enterprise plans.
verification_key str
Verification key for partial zone setup.
account Property Map
activatedOn String
The last time proof of ownership was detected and the zone was made active
createdOn String
When the zone was created
developmentMode Number
The interval (in seconds) from when development mode expires (positive integer) or last expired (negative integer) for the domain. If development mode has never been enabled, this value is 0.
meta Property Map
Metadata about the zone
modifiedOn String
When the zone was last modified
name String
The domain name
nameServers List<String>
The name servers Cloudflare assigns to a zone
originalDnshost String
DNS host at the time of switching to Cloudflare
originalNameServers List<String>
Original name servers before moving to Cloudflare
originalRegistrar String
Registrar for the domain at the time of switching to Cloudflare
owner Property Map
The owner of the zone
paused Boolean
Indicates whether the zone is only using Cloudflare DNS services. A true value means the zone will not receive security or performance benefits.
status String
The zone status on Cloudflare. Available values: "initializing", "pending", "active", "moved".
type String
A full zone implies that DNS is hosted with Cloudflare. A partial zone is typically a partner-hosted zone or a CNAME setup. Available values: "full", "partial", "secondary".
vanityNameServers List<String>
An array of domains used for custom name servers. This is only available for Business and Enterprise plans.
verificationKey String
Verification key for partial zone setup.

Supporting Types

ZoneAccount
, ZoneAccountArgs

Id string
Identifier
Id string
Identifier
id String
Identifier
id string
Identifier
id str
Identifier
id String
Identifier

ZoneMeta
, ZoneMetaArgs

CdnOnly bool
The zone is only configured for CDN
CustomCertificateQuota int
Number of Custom Certificates the zone can have
DnsOnly bool
The zone is only configured for DNS
FoundationDns bool
The zone is setup with Foundation DNS
PageRuleQuota int
Number of Page Rules a zone can have
PhishingDetected bool
The zone has been flagged for phishing
Step int
CdnOnly bool
The zone is only configured for CDN
CustomCertificateQuota int
Number of Custom Certificates the zone can have
DnsOnly bool
The zone is only configured for DNS
FoundationDns bool
The zone is setup with Foundation DNS
PageRuleQuota int
Number of Page Rules a zone can have
PhishingDetected bool
The zone has been flagged for phishing
Step int
cdnOnly Boolean
The zone is only configured for CDN
customCertificateQuota Integer
Number of Custom Certificates the zone can have
dnsOnly Boolean
The zone is only configured for DNS
foundationDns Boolean
The zone is setup with Foundation DNS
pageRuleQuota Integer
Number of Page Rules a zone can have
phishingDetected Boolean
The zone has been flagged for phishing
step Integer
cdnOnly boolean
The zone is only configured for CDN
customCertificateQuota number
Number of Custom Certificates the zone can have
dnsOnly boolean
The zone is only configured for DNS
foundationDns boolean
The zone is setup with Foundation DNS
pageRuleQuota number
Number of Page Rules a zone can have
phishingDetected boolean
The zone has been flagged for phishing
step number
cdn_only bool
The zone is only configured for CDN
custom_certificate_quota int
Number of Custom Certificates the zone can have
dns_only bool
The zone is only configured for DNS
foundation_dns bool
The zone is setup with Foundation DNS
page_rule_quota int
Number of Page Rules a zone can have
phishing_detected bool
The zone has been flagged for phishing
step int
cdnOnly Boolean
The zone is only configured for CDN
customCertificateQuota Number
Number of Custom Certificates the zone can have
dnsOnly Boolean
The zone is only configured for DNS
foundationDns Boolean
The zone is setup with Foundation DNS
pageRuleQuota Number
Number of Page Rules a zone can have
phishingDetected Boolean
The zone has been flagged for phishing
step Number

ZoneOwner
, ZoneOwnerArgs

Id string
Identifier
Name string
Name of the owner
Type string
The type of owner
Id string
Identifier
Name string
Name of the owner
Type string
The type of owner
id String
Identifier
name String
Name of the owner
type String
The type of owner
id string
Identifier
name string
Name of the owner
type string
The type of owner
id str
Identifier
name str
Name of the owner
type str
The type of owner
id String
Identifier
name String
Name of the owner
type String
The type of owner

Import

$ pulumi import cloudflare:index/zone:Zone example '<zone_id>'
Copy

To learn more about importing existing cloud resources, see Importing resources.

Package Details

Repository
Cloudflare pulumi/pulumi-cloudflare
License
Apache-2.0
Notes
This Pulumi package is based on the cloudflare Terraform Provider.