import * as pulumi from "@pulumi/pulumi"; import * as inputs from "./types/input"; import * as outputs from "./types/output"; /** * Provides a resource to register the database based on the input parameters. */ export declare class NdbRegisterDatabase extends pulumi.CustomResource { /** * Get an existing NdbRegisterDatabase resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: NdbRegisterDatabaseState, opts?: pulumi.CustomResourceOptions): NdbRegisterDatabase; /** * Returns true if the given object is an instance of NdbRegisterDatabase. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is NdbRegisterDatabase; /** * action arguments */ readonly actionarguments: pulumi.Output; /** * auto tune staging drive. Default is true */ readonly autoTuneStagingDrive: pulumi.Output; /** * category of database. Default is "DEFAULT" */ readonly category: pulumi.Output; /** * whether instance is cloned or not */ readonly clone: pulumi.Output; /** * clustered or not. Default is false */ readonly clustered: pulumi.Output; /** * database cluster type */ readonly databaseClusterType: pulumi.Output; /** * name of database */ readonly databaseName: pulumi.Output; /** * database nodes associated with database instance */ readonly databaseNodes: pulumi.Output; /** * status of database */ readonly databaseStatus: pulumi.Output; /** * type of database. Required value: postgres_database */ readonly databaseType: pulumi.Output; /** * date created for db instance */ readonly dateCreated: pulumi.Output; /** * date modified for instance */ readonly dateModified: pulumi.Output; /** * dbserver logical cluster */ readonly dbserverLogicalCluster: pulumi.Output<{ [key: string]: string; }>; /** * dbserver logical cluster id */ readonly dbserverLogicalClusterId: pulumi.Output; /** * - (Optional) Delete the database from the VM. Default value is false */ readonly delete: pulumi.Output; /** * - (Optional) Delete the logical cluster. Default is true */ readonly deleteLogicalCluster: pulumi.Output; /** * - (Optional) Delete the database's Time Machine (snapshots/logs) from the NDB. Default value is true */ readonly deleteTimeMachine: pulumi.Output; /** * description */ readonly description: pulumi.Output; /** * - (Optional) Force delete of instance. Default is false */ readonly forced: pulumi.Output; /** * forced install. Default: true */ readonly forcedInstall: pulumi.Output; readonly groupInfo: pulumi.Output<{ [key: string]: string; }>; /** * info of instance */ readonly infos: pulumi.Output; /** * LCM config of instance */ readonly lcmConfigs: pulumi.Output; /** * linked databases within database instance */ readonly linkedDatabases: pulumi.Output; /** * Stores storage info regarding size, allocatedSize, usedSize and unit of calculation that seems to have been fetched from PRISM. */ readonly metric: pulumi.Output<{ [key: string]: string; }>; /** * Name of database instance */ readonly name: pulumi.Output; /** * cluster on which NDB is present */ readonly nxClusterId: pulumi.Output; /** * parent database id */ readonly parentDatabaseId: pulumi.Output; /** * parent source database id */ readonly parentSourceDatabaseId: pulumi.Output; /** * parent time machine id */ readonly parentTimeMachineId: pulumi.Output; /** * Postgress_Info for registering. */ readonly postgressInfos: pulumi.Output; /** * properties of database created */ readonly properties: pulumi.Output; /** * - (Optional) Unregister the database from NDB. Default value is true */ readonly remove: pulumi.Output; /** * Reset description in cluster */ readonly resetDescriptionInNxCluster: pulumi.Output; /** * - (Optional) Soft remove. Default will be false */ readonly softRemove: pulumi.Output; /** * status of instance */ readonly status: pulumi.Output; /** * tags */ readonly tags: pulumi.Output; /** * time machine id of instance */ readonly timeMachineId: pulumi.Output; /** * Time Machine info */ readonly timeMachineInfo: pulumi.Output; /** * Time Machine details of instance */ readonly timeMachines: pulumi.Output; /** * timezone on which instance is created xw */ readonly timeZone: pulumi.Output; /** * type of database */ readonly type: pulumi.Output; /** * description for VM */ readonly vmDescription: pulumi.Output; /** * IP address of dbserver VM */ readonly vmIp: pulumi.Output; /** * password of the NDB drive user account. */ readonly vmPassword: pulumi.Output; /** * ssh key for vm */ readonly vmSshkey: pulumi.Output; /** * username of the NDB drive user account that has sudo access. */ readonly vmUsername: pulumi.Output; /** * working directory. Default is /tmp */ readonly workingDirectory: pulumi.Output; /** * Create a NdbRegisterDatabase resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: NdbRegisterDatabaseArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering NdbRegisterDatabase resources. */ export interface NdbRegisterDatabaseState { /** * action arguments */ actionarguments?: pulumi.Input[] | undefined>; /** * auto tune staging drive. Default is true */ autoTuneStagingDrive?: pulumi.Input; /** * category of database. Default is "DEFAULT" */ category?: pulumi.Input; /** * whether instance is cloned or not */ clone?: pulumi.Input; /** * clustered or not. Default is false */ clustered?: pulumi.Input; /** * database cluster type */ databaseClusterType?: pulumi.Input; /** * name of database */ databaseName?: pulumi.Input; /** * database nodes associated with database instance */ databaseNodes?: pulumi.Input[] | undefined>; /** * status of database */ databaseStatus?: pulumi.Input; /** * type of database. Required value: postgres_database */ databaseType?: pulumi.Input; /** * date created for db instance */ dateCreated?: pulumi.Input; /** * date modified for instance */ dateModified?: pulumi.Input; /** * dbserver logical cluster */ dbserverLogicalCluster?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * dbserver logical cluster id */ dbserverLogicalClusterId?: pulumi.Input; /** * - (Optional) Delete the database from the VM. Default value is false */ delete?: pulumi.Input; /** * - (Optional) Delete the logical cluster. Default is true */ deleteLogicalCluster?: pulumi.Input; /** * - (Optional) Delete the database's Time Machine (snapshots/logs) from the NDB. Default value is true */ deleteTimeMachine?: pulumi.Input; /** * description */ description?: pulumi.Input; /** * - (Optional) Force delete of instance. Default is false */ forced?: pulumi.Input; /** * forced install. Default: true */ forcedInstall?: pulumi.Input; groupInfo?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * info of instance */ infos?: pulumi.Input[] | undefined>; /** * LCM config of instance */ lcmConfigs?: pulumi.Input[] | undefined>; /** * linked databases within database instance */ linkedDatabases?: pulumi.Input[] | undefined>; /** * Stores storage info regarding size, allocatedSize, usedSize and unit of calculation that seems to have been fetched from PRISM. */ metric?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * Name of database instance */ name?: pulumi.Input; /** * cluster on which NDB is present */ nxClusterId?: pulumi.Input; /** * parent database id */ parentDatabaseId?: pulumi.Input; /** * parent source database id */ parentSourceDatabaseId?: pulumi.Input; /** * parent time machine id */ parentTimeMachineId?: pulumi.Input; /** * Postgress_Info for registering. */ postgressInfos?: pulumi.Input[] | undefined>; /** * properties of database created */ properties?: pulumi.Input[] | undefined>; /** * - (Optional) Unregister the database from NDB. Default value is true */ remove?: pulumi.Input; /** * Reset description in cluster */ resetDescriptionInNxCluster?: pulumi.Input; /** * - (Optional) Soft remove. Default will be false */ softRemove?: pulumi.Input; /** * status of instance */ status?: pulumi.Input; /** * tags */ tags?: pulumi.Input[] | undefined>; /** * time machine id of instance */ timeMachineId?: pulumi.Input; /** * Time Machine info */ timeMachineInfo?: pulumi.Input; /** * Time Machine details of instance */ timeMachines?: pulumi.Input[] | undefined>; /** * timezone on which instance is created xw */ timeZone?: pulumi.Input; /** * type of database */ type?: pulumi.Input; /** * description for VM */ vmDescription?: pulumi.Input; /** * IP address of dbserver VM */ vmIp?: pulumi.Input; /** * password of the NDB drive user account. */ vmPassword?: pulumi.Input; /** * ssh key for vm */ vmSshkey?: pulumi.Input; /** * username of the NDB drive user account that has sudo access. */ vmUsername?: pulumi.Input; /** * working directory. Default is /tmp */ workingDirectory?: pulumi.Input; } /** * The set of arguments for constructing a NdbRegisterDatabase resource. */ export interface NdbRegisterDatabaseArgs { /** * action arguments */ actionarguments?: pulumi.Input[] | undefined>; /** * auto tune staging drive. Default is true */ autoTuneStagingDrive?: pulumi.Input; /** * category of database. Default is "DEFAULT" */ category?: pulumi.Input; /** * clustered or not. Default is false */ clustered?: pulumi.Input; /** * name of database */ databaseName: pulumi.Input; /** * type of database. Required value: postgres_database */ databaseType: pulumi.Input; /** * - (Optional) Delete the database from the VM. Default value is false */ delete?: pulumi.Input; /** * - (Optional) Delete the logical cluster. Default is true */ deleteLogicalCluster?: pulumi.Input; /** * - (Optional) Delete the database's Time Machine (snapshots/logs) from the NDB. Default value is true */ deleteTimeMachine?: pulumi.Input; /** * description */ description?: pulumi.Input; /** * - (Optional) Force delete of instance. Default is false */ forced?: pulumi.Input; /** * forced install. Default: true */ forcedInstall?: pulumi.Input; /** * cluster on which NDB is present */ nxClusterId?: pulumi.Input; /** * Postgress_Info for registering. */ postgressInfos?: pulumi.Input[] | undefined>; /** * - (Optional) Unregister the database from NDB. Default value is true */ remove?: pulumi.Input; /** * Reset description in cluster */ resetDescriptionInNxCluster?: pulumi.Input; /** * - (Optional) Soft remove. Default will be false */ softRemove?: pulumi.Input; /** * tags */ tags?: pulumi.Input[] | undefined>; /** * Time Machine info */ timeMachineInfo?: pulumi.Input; /** * description for VM */ vmDescription?: pulumi.Input; /** * IP address of dbserver VM */ vmIp: pulumi.Input; /** * password of the NDB drive user account. */ vmPassword?: pulumi.Input; /** * ssh key for vm */ vmSshkey?: pulumi.Input; /** * username of the NDB drive user account that has sudo access. */ vmUsername?: pulumi.Input; /** * working directory. Default is /tmp */ workingDirectory?: pulumi.Input; } //# sourceMappingURL=ndbRegisterDatabase.d.ts.map