import * as pulumi from "@pulumi/pulumi";
import * as outputs from "./types/output";
/**
 * Gets information about an Database Instance.
 *
 * For further information refer the Managed Databases for PostgreSQL and MySQL [API documentation](https://developers.scaleway.com/en/products/rdb/api/#database-instance)
 */
/** @deprecated scaleway.index/getdatabaseinstance.getDatabaseInstance has been deprecated in favor of scaleway.databases/getinstance.getInstance */
export declare function getDatabaseInstance(args?: GetDatabaseInstanceArgs, opts?: pulumi.InvokeOptions): Promise<GetDatabaseInstanceResult>;
/**
 * A collection of arguments for invoking getDatabaseInstance.
 */
export interface GetDatabaseInstanceArgs {
    /**
     * The RDB instance ID.
     *
     * > **Note** You must specify at least one: `name` and/or `instanceId`.
     */
    instanceId?: string;
    /**
     * The name of the RDB instance.
     */
    name?: string;
    /**
     * The ID of the project the Database Instance is in. Can be used to filter instances when using `name`.
     */
    projectId?: string;
    /**
     * `region`) The region in which the Database Instance exists.
     */
    region?: string;
}
/**
 * A collection of values returned by getDatabaseInstance.
 */
export interface GetDatabaseInstanceResult {
    readonly backupSameRegion: boolean;
    readonly backupScheduleFrequency: number;
    readonly backupScheduleRetention: number;
    readonly certificate: string;
    readonly disableBackup: boolean;
    readonly encryptionAtRest: boolean;
    readonly endpointIp: string;
    readonly endpointPort: number;
    readonly engine: string;
    /**
     * The provider-assigned unique ID for this managed resource.
     */
    readonly id: string;
    readonly initSettings: {
        [key: string]: string;
    };
    readonly instanceId?: string;
    readonly isHaCluster: boolean;
    readonly loadBalancers: outputs.GetDatabaseInstanceLoadBalancer[];
    readonly logsPolicies: outputs.GetDatabaseInstanceLogsPolicy[];
    readonly maintenances: outputs.GetDatabaseInstanceMaintenance[];
    readonly name?: string;
    readonly nodeType: string;
    readonly organizationId: string;
    readonly password: string;
    readonly passwordWo: string;
    readonly passwordWoVersion: number;
    readonly privateIps: outputs.GetDatabaseInstancePrivateIp[];
    readonly privateNetworks: outputs.GetDatabaseInstancePrivateNetwork[];
    readonly projectId?: string;
    readonly readReplicas: outputs.GetDatabaseInstanceReadReplica[];
    readonly region?: string;
    readonly settings: {
        [key: string]: string;
    };
    readonly snapshotId: string;
    readonly tags: string[];
    readonly upgradableVersions: outputs.GetDatabaseInstanceUpgradableVersion[];
    readonly userName: string;
    readonly volumeSizeInGb: number;
    readonly volumeType: string;
}
/**
 * Gets information about an Database Instance.
 *
 * For further information refer the Managed Databases for PostgreSQL and MySQL [API documentation](https://developers.scaleway.com/en/products/rdb/api/#database-instance)
 */
/** @deprecated scaleway.index/getdatabaseinstance.getDatabaseInstance has been deprecated in favor of scaleway.databases/getinstance.getInstance */
export declare function getDatabaseInstanceOutput(args?: GetDatabaseInstanceOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetDatabaseInstanceResult>;
/**
 * A collection of arguments for invoking getDatabaseInstance.
 */
export interface GetDatabaseInstanceOutputArgs {
    /**
     * The RDB instance ID.
     *
     * > **Note** You must specify at least one: `name` and/or `instanceId`.
     */
    instanceId?: pulumi.Input<string | undefined>;
    /**
     * The name of the RDB instance.
     */
    name?: pulumi.Input<string | undefined>;
    /**
     * The ID of the project the Database Instance is in. Can be used to filter instances when using `name`.
     */
    projectId?: pulumi.Input<string | undefined>;
    /**
     * `region`) The region in which the Database Instance exists.
     */
    region?: pulumi.Input<string | undefined>;
}
//# sourceMappingURL=getDatabaseInstance.d.ts.map