import * as pulumi from "@pulumi/pulumi"; import * as inputs from "./types/input"; import * as outputs from "./types/output"; /** * Provides a resource to scale the database instance based on the input parameters. * * ## Example Usage * * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as nutanix from "@pierskarsenbarg/nutanix"; * * // resource to scale the database * const scale = new nutanix.NdbDatabaseScale("scale", { * applicationType: "{{ Application Type }}", * databaseUuid: "{{ database_id }}", * dataStorageSize: 1, * }); * ``` * */ export declare class NdbScaleDatabase extends pulumi.CustomResource { /** * Get an existing NdbScaleDatabase 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?: NdbScaleDatabaseState, opts?: pulumi.CustomResourceOptions): NdbScaleDatabase; /** * Returns true if the given object is an instance of NdbScaleDatabase. 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 NdbScaleDatabase; /** * type of instance. eg: postgres_database */ readonly applicationType: pulumi.Output; /** * whether instance is cloned or not */ readonly clone: pulumi.Output; /** * data area (in GiB) to be added to the existing database. */ readonly dataStorageSize: pulumi.Output; /** * database cluster type */ readonly databaseClusterType: pulumi.Output; readonly databaseInstanceId: pulumi.Output; /** * name of database */ readonly databaseName: pulumi.Output; /** * database nodes associated with database instance */ readonly databaseNodes: pulumi.Output; /** * Database id */ readonly databaseUuid: pulumi.Output; /** * type of 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; /** * description of database instance */ readonly description: pulumi.Output; /** * 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; /** * parent database id */ readonly parentDatabaseId: pulumi.Output; readonly parentSourceDatabaseId: pulumi.Output; /** * post script command */ readonly postScriptCmd: pulumi.Output; /** * pre script command */ readonly preScriptCmd: pulumi.Output; /** * properties of database created */ readonly properties: pulumi.Output; /** * scale count helps to scale the same instance with same config */ readonly scaleCount: pulumi.Output; /** * status of instance */ readonly status: pulumi.Output; /** * allows you to assign metadata to entities (clones, time machines, databases, and database servers) by using tags. */ readonly tags: pulumi.Output; /** * time machine id of instance */ readonly timeMachineId: 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; /** * Create a NdbScaleDatabase 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: NdbScaleDatabaseArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering NdbScaleDatabase resources. */ export interface NdbScaleDatabaseState { /** * type of instance. eg: postgres_database */ applicationType?: pulumi.Input; /** * whether instance is cloned or not */ clone?: pulumi.Input; /** * data area (in GiB) to be added to the existing database. */ dataStorageSize?: pulumi.Input; /** * database cluster type */ databaseClusterType?: pulumi.Input; databaseInstanceId?: pulumi.Input; /** * name of database */ databaseName?: pulumi.Input; /** * database nodes associated with database instance */ databaseNodes?: pulumi.Input[] | undefined>; /** * Database id */ databaseUuid?: pulumi.Input; /** * type of 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; /** * description of database instance */ description?: pulumi.Input; /** * 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; /** * parent database id */ parentDatabaseId?: pulumi.Input; parentSourceDatabaseId?: pulumi.Input; /** * post script command */ postScriptCmd?: pulumi.Input; /** * pre script command */ preScriptCmd?: pulumi.Input; /** * properties of database created */ properties?: pulumi.Input[] | undefined>; /** * scale count helps to scale the same instance with same config */ scaleCount?: pulumi.Input; /** * status of instance */ status?: pulumi.Input; /** * allows you to assign metadata to entities (clones, time machines, databases, and database servers) by using tags. */ tags?: pulumi.Input[] | undefined>; /** * time machine id of instance */ timeMachineId?: 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; } /** * The set of arguments for constructing a NdbScaleDatabase resource. */ export interface NdbScaleDatabaseArgs { /** * type of instance. eg: postgres_database */ applicationType: pulumi.Input; /** * data area (in GiB) to be added to the existing database. */ dataStorageSize: pulumi.Input; /** * Database id */ databaseUuid: pulumi.Input; /** * post script command */ postScriptCmd?: pulumi.Input; /** * pre script command */ preScriptCmd?: pulumi.Input; /** * scale count helps to scale the same instance with same config */ scaleCount?: pulumi.Input; /** * allows you to assign metadata to entities (clones, time machines, databases, and database servers) by using tags. */ tags?: pulumi.Input[] | undefined>; } //# sourceMappingURL=ndbScaleDatabase.d.ts.map