import * as pulumi from "@pulumi/pulumi"; /** * Use this data source to retrieve information about an hosting privatedatabase whitelist. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as ovh from "@ovhcloud/pulumi-ovh"; * * const whitelist = ovh.Hosting.getPrivateDatabaseAllowlist({ * serviceName: "XXXXXX", * ip: "XXXXXX", * }); * ``` */ export declare function getPrivateDatabaseAllowlist(args: GetPrivateDatabaseAllowlistArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getPrivateDatabaseAllowlist. */ export interface GetPrivateDatabaseAllowlistArgs { /** * The whitelisted IP in your instance */ ip?: string; /** * The internal name of your private database */ serviceName: string; } /** * A collection of values returned by getPrivateDatabaseAllowlist. */ export interface GetPrivateDatabaseAllowlistResult { /** * Creation date of the database */ readonly creationDate: string; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; readonly ip?: string; /** * The last update date of this whitelist */ readonly lastUpdate: string; /** * Custom name for your Whitelisted IP */ readonly name: string; /** * Authorize this IP to access service port */ readonly service: boolean; readonly serviceName: string; /** * Authorize this IP to access SFTP port */ readonly sftp: boolean; /** * Whitelist status */ readonly status: string; } /** * Use this data source to retrieve information about an hosting privatedatabase whitelist. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as ovh from "@ovhcloud/pulumi-ovh"; * * const whitelist = ovh.Hosting.getPrivateDatabaseAllowlist({ * serviceName: "XXXXXX", * ip: "XXXXXX", * }); * ``` */ export declare function getPrivateDatabaseAllowlistOutput(args: GetPrivateDatabaseAllowlistOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getPrivateDatabaseAllowlist. */ export interface GetPrivateDatabaseAllowlistOutputArgs { /** * The whitelisted IP in your instance */ ip?: pulumi.Input; /** * The internal name of your private database */ serviceName: pulumi.Input; }