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",
 * });
 * ```
 */
/** @deprecated scaleway.index/getwebhosting.getWebhosting has been deprecated in favor of scaleway.hosting/gethosting.getHosting */
export declare function getWebhosting(args?: GetWebhostingArgs, opts?: pulumi.InvokeOptions): Promise<GetWebhostingResult>;
/**
 * A collection of arguments for invoking getWebhosting.
 */
export interface GetWebhostingArgs {
    /**
     * 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 getWebhosting.
 */
export interface GetWebhostingResult {
    readonly cpanelUrls: outputs.GetWebhostingCpanelUrl[];
    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.GetWebhostingNameServer[];
    readonly offerId: string;
    readonly offerName: string;
    readonly optionIds: string[];
    readonly options: outputs.GetWebhostingOption[];
    readonly organizationId: string;
    readonly platformHostname: string;
    readonly platformNumber: number;
    readonly projectId?: string;
    readonly records: outputs.GetWebhostingRecord[];
    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",
 * });
 * ```
 */
/** @deprecated scaleway.index/getwebhosting.getWebhosting has been deprecated in favor of scaleway.hosting/gethosting.getHosting */
export declare function getWebhostingOutput(args?: GetWebhostingOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetWebhostingResult>;
/**
 * A collection of arguments for invoking getWebhosting.
 */
export interface GetWebhostingOutputArgs {
    /**
     * 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>;
}
