import * as pulumi from "@pulumi/pulumi"; /** * Use this data source to retrieve information about a domain zone. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as ovh from "@ovhcloud/pulumi-ovh"; * * const rootZone = ovh.Domain.getZone({ * name: "mysite.ovh", * }); * ``` */ export declare function getZone(args: GetZoneArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getZone. */ export interface GetZoneArgs { /** * The name of the domain zone. */ name: string; } /** * A collection of values returned by getZone. */ export interface GetZoneResult { /** * URN of the DNS Zone to be used inside an IAM policy */ readonly ZoneURN: string; /** * Is DNSSEC supported by this zone */ readonly dnssecSupported: boolean; /** * hasDnsAnycast flag of the DNS zone */ readonly hasDnsAnycast: boolean; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * Last update date of the DNS zone */ readonly lastUpdate: string; readonly name: string; /** * Name servers that host the DNS zone */ readonly nameServers: string[]; } /** * Use this data source to retrieve information about a domain zone. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as ovh from "@ovhcloud/pulumi-ovh"; * * const rootZone = ovh.Domain.getZone({ * name: "mysite.ovh", * }); * ``` */ export declare function getZoneOutput(args: GetZoneOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getZone. */ export interface GetZoneOutputArgs { /** * The name of the domain zone. */ name: pulumi.Input; }