import * as pulumi from "@pulumi/pulumi"; import * as inputs from "./types/input"; import * as outputs from "./types/output"; /** * Provides a Hetzner Cloud Zone resource. * * This can be used to create, modify, and delete Zones. * * For Internationalized domain names (IDN), see the `provider::hcloud::idna` function. * * See the [Zones API documentation](https://docs.hetzner.cloud/reference/cloud#zones) for more details. * * ## Import * * The `pulumi import` command can be used, for example: * * ```sh * $ pulumi import hcloud:index/zone:Zone example "$ZONE_ID_OR_NAME" * ``` */ 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; /** * Authoritative nameservers of the Zone. */ readonly authoritativeNameservers: pulumi.Output; /** * Whether delete protection is enabled. */ readonly deleteProtection: pulumi.Output; /** * User-defined [labels](https://docs.hetzner.cloud/reference/cloud#labels) (key-value pairs) for the resource. */ readonly labels: pulumi.Output<{ [key: string]: string; }>; /** * Mode of the Zone. */ readonly mode: pulumi.Output; /** * Name of the Zone. */ readonly name: pulumi.Output; /** * Primary nameservers of the Zone. Forbidden when mode is primary and required when mode is secondary. */ readonly primaryNameservers: pulumi.Output; /** * Registrar of the Zone. */ readonly registrar: pulumi.Output; /** * Default Time To Live (TTL) of the Zone. */ readonly ttl: 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 { /** * Authoritative nameservers of the Zone. */ authoritativeNameservers?: pulumi.Input; /** * Whether delete protection is enabled. */ deleteProtection?: pulumi.Input; /** * User-defined [labels](https://docs.hetzner.cloud/reference/cloud#labels) (key-value pairs) for the resource. */ labels?: pulumi.Input<{ [key: string]: pulumi.Input; }>; /** * Mode of the Zone. */ mode?: pulumi.Input; /** * Name of the Zone. */ name?: pulumi.Input; /** * Primary nameservers of the Zone. Forbidden when mode is primary and required when mode is secondary. */ primaryNameservers?: pulumi.Input[]>; /** * Registrar of the Zone. */ registrar?: pulumi.Input; /** * Default Time To Live (TTL) of the Zone. */ ttl?: pulumi.Input; } /** * The set of arguments for constructing a Zone resource. */ export interface ZoneArgs { /** * Whether delete protection is enabled. */ deleteProtection?: pulumi.Input; /** * User-defined [labels](https://docs.hetzner.cloud/reference/cloud#labels) (key-value pairs) for the resource. */ labels?: pulumi.Input<{ [key: string]: pulumi.Input; }>; /** * Mode of the Zone. */ mode: pulumi.Input; /** * Name of the Zone. */ name?: pulumi.Input; /** * Primary nameservers of the Zone. Forbidden when mode is primary and required when mode is secondary. */ primaryNameservers?: pulumi.Input[]>; /** * Default Time To Live (TTL) of the Zone. */ ttl?: pulumi.Input; }