import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
 * Gets information about a webhosting.
 *
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as scaleway from "@pulumi/scaleway";
 *
 * // Get info by offer domain
 * const byDomain = scaleway.hosting.getHosting({
 *     domain: "foobar.com",
 * });
 * // Get info by id
 * const byId = scaleway.hosting.getHosting({
 *     webhostingId: "11111111-1111-1111-1111-111111111111",
 * });
 * ```
 */
export declare function getHosting(args?: GetHostingArgs, opts?: pulumi.InvokeOptions): Promise<GetHostingResult>;
/**
 * A collection of arguments for invoking getHosting.
 */
export interface GetHostingArgs {
    /**
     * The hosting domain name. Only one of `domain` and `webhostingId` should be specified.
     */
    domain?: string;
    /**
     * The ID of the organization the hosting is associated with.
     */
    organizationId?: string;
    /**
     * `projectId`) The ID of the project the hosting is associated with.
     */
    projectId?: string;
    /**
     * The hosting id. Only one of `domain` and `webhostingId` should be specified.
     */
    webhostingId?: string;
}
/**
 * A collection of values returned by getHosting.
 */
export interface GetHostingResult {
    readonly cpanelUrls: outputs.hosting.GetHostingCpanelUrl[];
    readonly createdAt: string;
    readonly dnsStatus: string;
    readonly domain?: string;
    readonly email: string;
    /**
     * The provider-assigned unique ID for this managed resource.
     */
    readonly id: string;
    readonly nameServers: outputs.hosting.GetHostingNameServer[];
    readonly offerId: string;
    readonly offerName: string;
    readonly optionIds: string[];
    readonly options: outputs.hosting.GetHostingOption[];
    readonly organizationId: string;
    readonly platformHostname: string;
    readonly platformNumber: number;
    readonly projectId?: string;
    readonly records: outputs.hosting.GetHostingRecord[];
    readonly region: string;
    readonly status: string;
    readonly tags: string[];
    readonly updatedAt: string;
    readonly username: string;
    readonly webhostingId?: string;
}
/**
 * Gets information about a webhosting.
 *
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as scaleway from "@pulumi/scaleway";
 *
 * // Get info by offer domain
 * const byDomain = scaleway.hosting.getHosting({
 *     domain: "foobar.com",
 * });
 * // Get info by id
 * const byId = scaleway.hosting.getHosting({
 *     webhostingId: "11111111-1111-1111-1111-111111111111",
 * });
 * ```
 */
export declare function getHostingOutput(args?: GetHostingOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetHostingResult>;
/**
 * A collection of arguments for invoking getHosting.
 */
export interface GetHostingOutputArgs {
    /**
     * The hosting domain name. Only one of `domain` and `webhostingId` should be specified.
     */
    domain?: pulumi.Input<string>;
    /**
     * The ID of the organization the hosting is associated with.
     */
    organizationId?: pulumi.Input<string>;
    /**
     * `projectId`) The ID of the project the hosting is associated with.
     */
    projectId?: pulumi.Input<string>;
    /**
     * The hosting id. Only one of `domain` and `webhostingId` should be specified.
     */
    webhostingId?: pulumi.Input<string>;
}
