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) */ export declare function getRdbInstance(args?: GetRdbInstanceArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getRdbInstance. */ export interface GetRdbInstanceArgs { /** * 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 getRdbInstance. */ export interface GetRdbInstanceResult { 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.GetRdbInstanceLoadBalancer[]; readonly logsPolicies: outputs.GetRdbInstanceLogsPolicy[]; readonly name?: string; readonly nodeType: string; readonly organizationId: string; readonly password: string; readonly privateNetworks: outputs.GetRdbInstancePrivateNetwork[]; readonly projectId?: string; readonly readReplicas: outputs.GetRdbInstanceReadReplica[]; readonly region?: string; readonly settings: { [key: string]: string; }; readonly tags: string[]; 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) */ export declare function getRdbInstanceOutput(args?: GetRdbInstanceOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getRdbInstance. */ export interface GetRdbInstanceOutputArgs { /** * The RDB instance ID. * * > **Note** You must specify at least one: `name` and/or `instanceId`. */ instanceId?: pulumi.Input; /** * The name of the RDB instance. */ name?: pulumi.Input; /** * The ID of the project the Database Instance is in. Can be used to filter instances when using `name`. */ projectId?: pulumi.Input; /** * `region`) The region in which the Database Instance exists. */ region?: pulumi.Input; }