import * as pulumi from "@pulumi/pulumi"; /** * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as cloudflare from "@pulumi/cloudflare"; * * const example = new cloudflare.Zone("example", { * zone: "example.com", * }); * ``` * * ## Import * * Zone resource can be imported using a zone ID, e.g. * * ```sh * $ pulumi import cloudflare:index/zone:Zone example d41d8cd98f00b204e9800998ecf8427e * ``` * * where* `d41d8cd98f00b204e9800998ecf8427e` - zone ID, as returned from [API](https://api.cloudflare.com/#zone-list-zones) */ 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; /** * Boolean of whether to scan for DNS records on creation. Ignored after zone is created. Default: false. */ readonly jumpStart: pulumi.Output; readonly meta: pulumi.Output<{ [key: string]: boolean; }>; /** * Cloudflare-assigned name servers. This is only populated for zones that use Cloudflare DNS. */ readonly nameServers: pulumi.Output; /** * Boolean of whether this zone is paused (traffic bypasses Cloudflare). Default: false. */ readonly paused: pulumi.Output; /** * The name of the commercial plan to apply to the zone, can be updated once the zone is created; one of `free`, `pro`, `business`, `enterprise`, `partnersFree`, `partnersPro`, `partnersBusiness`, `partnersEnterprise`, `partnersWorkersSs`, `imageResizingEnterprise`. */ readonly plan: pulumi.Output; /** * Status of the zone. Valid values: `active`, `pending`, `initializing`, `moved`, `deleted`, `deactivated`. */ readonly status: 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. Valid values: `full`, `partial`. Default is `full`. */ readonly type: pulumi.Output; /** * List of Vanity Nameservers (if set). * * `meta.wildcard_proxiable` - Indicates whether wildcard DNS records can receive Cloudflare security and performance features. * * `meta.phishing_detected` - Indicates if URLs on the zone have been identified as hosting phishing content. */ readonly vanityNameServers: pulumi.Output; /** * Contains the TXT record value to validate domain ownership. This is only populated for zones of type `partial`. */ readonly verificationKey: pulumi.Output; /** * The DNS zone name which will be added. */ readonly zone: 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 { /** * Boolean of whether to scan for DNS records on creation. Ignored after zone is created. Default: false. */ jumpStart?: pulumi.Input; meta?: pulumi.Input<{ [key: string]: pulumi.Input; }>; /** * Cloudflare-assigned name servers. This is only populated for zones that use Cloudflare DNS. */ nameServers?: pulumi.Input[]>; /** * Boolean of whether this zone is paused (traffic bypasses Cloudflare). Default: false. */ paused?: pulumi.Input; /** * The name of the commercial plan to apply to the zone, can be updated once the zone is created; one of `free`, `pro`, `business`, `enterprise`, `partnersFree`, `partnersPro`, `partnersBusiness`, `partnersEnterprise`, `partnersWorkersSs`, `imageResizingEnterprise`. */ plan?: pulumi.Input; /** * Status of the zone. Valid values: `active`, `pending`, `initializing`, `moved`, `deleted`, `deactivated`. */ status?: 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. Valid values: `full`, `partial`. Default is `full`. */ type?: pulumi.Input; /** * List of Vanity Nameservers (if set). * * `meta.wildcard_proxiable` - Indicates whether wildcard DNS records can receive Cloudflare security and performance features. * * `meta.phishing_detected` - Indicates if URLs on the zone have been identified as hosting phishing content. */ vanityNameServers?: pulumi.Input[]>; /** * Contains the TXT record value to validate domain ownership. This is only populated for zones of type `partial`. */ verificationKey?: pulumi.Input; /** * The DNS zone name which will be added. */ zone?: pulumi.Input; } /** * The set of arguments for constructing a Zone resource. */ export interface ZoneArgs { /** * Boolean of whether to scan for DNS records on creation. Ignored after zone is created. Default: false. */ jumpStart?: pulumi.Input; /** * Boolean of whether this zone is paused (traffic bypasses Cloudflare). Default: false. */ paused?: pulumi.Input; /** * The name of the commercial plan to apply to the zone, can be updated once the zone is created; one of `free`, `pro`, `business`, `enterprise`, `partnersFree`, `partnersPro`, `partnersBusiness`, `partnersEnterprise`, `partnersWorkersSs`, `imageResizingEnterprise`. */ plan?: 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. Valid values: `full`, `partial`. Default is `full`. */ type?: pulumi.Input; /** * The DNS zone name which will be added. */ zone: pulumi.Input; }