import * as pulumi from "@pulumi/pulumi"; import * as inputs from "./types/input"; import * as outputs from "./types/output"; /** * Describes a database instance in Nutanix Database Service * * ## Example Usage * * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as nutanix from "@pierskarsenbarg/nutanix"; * * const db1 = nutanix.getNdbDatabase({ * databaseId: "", * }); * export const db1Output = db1; * ``` * */ export declare function getNdbDatabase(args: GetNdbDatabaseArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getNdbDatabase. */ export interface GetNdbDatabaseArgs { /** * ID of database instance */ databaseId: string; /** * - tags attached */ tags?: inputs.GetNdbDatabaseTag[]; } /** * A collection of values returned by getNdbDatabase. */ export interface GetNdbDatabaseResult { /** * - if cloned */ readonly clone: boolean; /** * - if clustered or not */ readonly clustered: boolean; readonly databaseClusterType: string; readonly databaseId: string; /** * - database instance name */ readonly databaseName: string; /** * - nodes info */ readonly databaseNodes: outputs.GetNdbDatabaseDatabaseNode[]; readonly databases: { [key: string]: string; }; /** * - creation date */ readonly dateCreated: string; /** * - date modified */ readonly dateModified: string; /** * - NA */ readonly dbserverLogicalCluster: { [key: string]: string; }; /** * - NA */ readonly dbserverLogicalClusterId: string; /** * - description */ readonly description: string; readonly eraCreated: boolean; /** * - id of database instance */ readonly id: string; /** * - info regarding disks, vm, storage, etc. */ readonly infos: outputs.GetNdbDatabaseInfo[]; /** * - lcm configuration */ readonly lcmConfigs: outputs.GetNdbDatabaseLcmConfig[]; /** * - list of databases created in instance with info */ readonly linkedDatabases: outputs.GetNdbDatabaseLinkedDatabase[]; /** * - metrics */ readonly metric: { [key: string]: string; }; /** * - name of database instance */ readonly name: string; /** * - parent database ID */ readonly parentDatabaseId: string; /** * - properties */ readonly properties: outputs.GetNdbDatabaseProperty[]; /** * - status of database instance */ readonly status: string; /** * - tags attached */ readonly tags: outputs.GetNdbDatabaseTag[]; /** * - time machine ID */ readonly timeMachineId: string; /** * - time machine related config info */ readonly timeMachines: outputs.GetNdbDatabaseTimeMachine[]; /** * - timezone */ readonly timeZone: string; /** * - database engine type */ readonly type: string; } /** * Describes a database instance in Nutanix Database Service * * ## Example Usage * * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as nutanix from "@pierskarsenbarg/nutanix"; * * const db1 = nutanix.getNdbDatabase({ * databaseId: "", * }); * export const db1Output = db1; * ``` * */ export declare function getNdbDatabaseOutput(args: GetNdbDatabaseOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getNdbDatabase. */ export interface GetNdbDatabaseOutputArgs { /** * ID of database instance */ databaseId: pulumi.Input; /** * - tags attached */ tags?: pulumi.Input[] | undefined>; } //# sourceMappingURL=getNdbDatabase.d.ts.map