import * as pulumi from "@pulumi/pulumi"; import * as inputs from "./types/input"; import * as outputs from "./types/output"; /** * > If you are attempting to sign up a subdomain of a zone you must first have Subdomain Support entitlement for your account. * * ## Example Usage * * ```typescript * 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", * }); * ``` * * ## Import * * ```sh * $ pulumi import cloudflare:index/zone:Zone example '' * ``` */ export declare class Zone extends pulumi.CustomResource { /** * Get an existing Zone resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: ZoneState, opts?: pulumi.CustomResourceOptions): Zone; /** * Returns true if the given object is an instance of Zone. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is Zone; readonly account: pulumi.Output; /** * The last time proof of ownership was detected and the zone was made * active */ readonly activatedOn: pulumi.Output; /** * Allows the customer to use a custom apex. * *Tenants Only Configuration*. */ readonly cnameSuffix: pulumi.Output; /** * When the zone was created */ readonly createdOn: pulumi.Output; /** * 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. */ readonly developmentMode: pulumi.Output; /** * Metadata about the zone */ readonly meta: pulumi.Output; /** * When the zone was last modified */ readonly modifiedOn: pulumi.Output; /** * The domain name */ readonly name: pulumi.Output; /** * The name servers Cloudflare assigns to a zone */ readonly nameServers: pulumi.Output; /** * DNS host at the time of switching to Cloudflare */ readonly originalDnshost: pulumi.Output; /** * Original name servers before moving to Cloudflare */ readonly originalNameServers: pulumi.Output; /** * Registrar for the domain at the time of switching to Cloudflare */ readonly originalRegistrar: pulumi.Output; /** * The owner of the zone */ readonly owner: pulumi.Output; /** * Indicates whether the zone is only using Cloudflare DNS services. A * true value means the zone will not receive security or performance * benefits. */ readonly paused: pulumi.Output; /** * Legacy permissions based on legacy user membership information. * * @deprecated This attribute is deprecated. */ readonly permissions: pulumi.Output; /** * A Zones subscription information. * * @deprecated This attribute is deprecated. */ readonly plan: pulumi.Output; /** * The zone status on Cloudflare. * Available values: "initializing", "pending", "active", "moved". */ readonly status: pulumi.Output; /** * The root organizational unit that this zone belongs to (such as a tenant or organization). */ readonly tenant: pulumi.Output; /** * The immediate parent organizational unit that this zone belongs to (such as under a tenant or sub-organization). */ readonly tenantUnit: pulumi.Output; /** * 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", "internal". */ readonly type: pulumi.Output; /** * An array of domains used for custom name servers. This is only * available for Business and Enterprise plans. */ readonly vanityNameServers: pulumi.Output; /** * Verification key for partial zone setup. */ readonly verificationKey: pulumi.Output; /** * Create a Zone resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: ZoneArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering Zone resources. */ export interface ZoneState { account?: pulumi.Input; /** * The last time proof of ownership was detected and the zone was made * active */ activatedOn?: pulumi.Input; /** * Allows the customer to use a custom apex. * *Tenants Only Configuration*. */ cnameSuffix?: pulumi.Input; /** * When the zone was created */ createdOn?: pulumi.Input; /** * 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. */ developmentMode?: pulumi.Input; /** * Metadata about the zone */ meta?: pulumi.Input; /** * When the zone was last modified */ modifiedOn?: pulumi.Input; /** * The domain name */ name?: pulumi.Input; /** * The name servers Cloudflare assigns to a zone */ nameServers?: pulumi.Input[]>; /** * DNS host at the time of switching to Cloudflare */ originalDnshost?: pulumi.Input; /** * Original name servers before moving to Cloudflare */ originalNameServers?: pulumi.Input[]>; /** * Registrar for the domain at the time of switching to Cloudflare */ originalRegistrar?: pulumi.Input; /** * The owner of the zone */ owner?: pulumi.Input; /** * Indicates whether the zone is only using Cloudflare DNS services. A * true value means the zone will not receive security or performance * benefits. */ paused?: pulumi.Input; /** * Legacy permissions based on legacy user membership information. * * @deprecated This attribute is deprecated. */ permissions?: pulumi.Input[]>; /** * A Zones subscription information. * * @deprecated This attribute is deprecated. */ plan?: pulumi.Input; /** * The zone status on Cloudflare. * Available values: "initializing", "pending", "active", "moved". */ status?: pulumi.Input; /** * The root organizational unit that this zone belongs to (such as a tenant or organization). */ tenant?: pulumi.Input; /** * The immediate parent organizational unit that this zone belongs to (such as under a tenant or sub-organization). */ tenantUnit?: pulumi.Input; /** * 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", "internal". */ type?: pulumi.Input; /** * An array of domains used for custom name servers. This is only * available for Business and Enterprise plans. */ vanityNameServers?: pulumi.Input[]>; /** * Verification key for partial zone setup. */ verificationKey?: pulumi.Input; } /** * The set of arguments for constructing a Zone resource. */ export interface ZoneArgs { account: pulumi.Input; /** * The domain name */ name: pulumi.Input; /** * 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", "internal". */ type?: pulumi.Input; /** * An array of domains used for custom name servers. This is only * available for Business and Enterprise plans. */ vanityNameServers?: pulumi.Input[]>; }