import * as pulumi from "@pulumi/pulumi"; import * as inputs from "./types/input"; import * as outputs from "./types/output"; /** * Provides a resource to restore the database instance based on the input parameters. */ export declare class NdbDatabaseRestore extends pulumi.CustomResource { /** * Get an existing NdbDatabaseRestore 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?: NdbDatabaseRestoreState, opts?: pulumi.CustomResourceOptions): NdbDatabaseRestore; /** * Returns true if the given object is an instance of NdbDatabaseRestore. 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 NdbDatabaseRestore; /** * whether instance is cloned or not */ readonly clone: pulumi.Output; /** * database cluster type */ readonly databaseClusterType: pulumi.Output; /** * database id */ readonly databaseId: pulumi.Output; readonly databaseInstanceId: pulumi.Output; /** * name of database */ readonly databaseName: pulumi.Output; /** * database nodes associated with database instance */ readonly databaseNodes: 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; /** * latest snapshot id */ readonly latestSnapshot: 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; /** * properties of database created */ readonly properties: pulumi.Output; /** * helps to restore the database with same config. */ readonly restoreVersion: pulumi.Output; /** * snapshot id from you want to use for restoring the instance */ readonly snapshotId: 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; /** * timezone . Should be used with `userPitrTimestamp` */ readonly timeZonePitr: pulumi.Output; /** * type of database */ readonly type: pulumi.Output; /** * the time to which you want to restore your instance. */ readonly userPitrTimestamp: pulumi.Output; /** * Create a NdbDatabaseRestore 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: NdbDatabaseRestoreArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering NdbDatabaseRestore resources. */ export interface NdbDatabaseRestoreState { /** * whether instance is cloned or not */ clone?: pulumi.Input; /** * database cluster type */ databaseClusterType?: pulumi.Input; /** * database id */ databaseId?: pulumi.Input; databaseInstanceId?: pulumi.Input; /** * name of database */ databaseName?: pulumi.Input; /** * database nodes associated with database instance */ databaseNodes?: pulumi.Input[] | undefined>; /** * 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>; /** * latest snapshot id */ latestSnapshot?: pulumi.Input; /** * 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; /** * properties of database created */ properties?: pulumi.Input[] | undefined>; /** * helps to restore the database with same config. */ restoreVersion?: pulumi.Input; /** * snapshot id from you want to use for restoring the instance */ snapshotId?: 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; /** * timezone . Should be used with `userPitrTimestamp` */ timeZonePitr?: pulumi.Input; /** * type of database */ type?: pulumi.Input; /** * the time to which you want to restore your instance. */ userPitrTimestamp?: pulumi.Input; } /** * The set of arguments for constructing a NdbDatabaseRestore resource. */ export interface NdbDatabaseRestoreArgs { /** * database id */ databaseId: pulumi.Input; /** * latest snapshot id */ latestSnapshot?: pulumi.Input; /** * helps to restore the database with same config. */ restoreVersion?: pulumi.Input; /** * snapshot id from you want to use for restoring the instance */ snapshotId?: pulumi.Input; /** * allows you to assign metadata to entities (clones, time machines, databases, and database servers) by using tags. */ tags?: pulumi.Input[] | undefined>; /** * timezone . Should be used with `userPitrTimestamp` */ timeZonePitr?: pulumi.Input; /** * the time to which you want to restore your instance. */ userPitrTimestamp?: pulumi.Input; } //# sourceMappingURL=ndbDatabaseRestore.d.ts.map