import * as pulumi from "@pulumi/pulumi"; /** * Get information on a domain. This data source provides the name and the id. * * An error will be raised if the provided domain name is not in your Civo account. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as civo from "@pulumi/civo"; * * const domain = civo.getDnsDomainName({ * name: "domain.com", * }); * export const domainOutput = domain.then(domain => domain.name); * export const domainIdOutput = domain.then(domain => domain.id); * ``` */ export declare function getDnsDomainName(args?: GetDnsDomainNameArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getDnsDomainName. */ export interface GetDnsDomainNameArgs { /** * The ID of this resource. */ id?: string; /** * The name of the domain */ name?: string; } /** * A collection of values returned by getDnsDomainName. */ export interface GetDnsDomainNameResult { /** * The ID of this resource. */ readonly id?: string; /** * The name of the domain */ readonly name?: string; } /** * Get information on a domain. This data source provides the name and the id. * * An error will be raised if the provided domain name is not in your Civo account. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as civo from "@pulumi/civo"; * * const domain = civo.getDnsDomainName({ * name: "domain.com", * }); * export const domainOutput = domain.then(domain => domain.name); * export const domainIdOutput = domain.then(domain => domain.id); * ``` */ export declare function getDnsDomainNameOutput(args?: GetDnsDomainNameOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getDnsDomainName. */ export interface GetDnsDomainNameOutputArgs { /** * The ID of this resource. */ id?: pulumi.Input; /** * The name of the domain */ name?: pulumi.Input; }