import * as pulumi from "@pulumi/pulumi"; import * as inputs from "./types/input"; import * as outputs from "./types/output"; /** * Provides a resource to register database server VMs based on the input parameters. For 1.8.0 release, only postgress database type is qualified and officially supported. */ export declare class NdbRegisterDbserver extends pulumi.CustomResource { /** * Get an existing NdbRegisterDbserver 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?: NdbRegisterDbserverState, opts?: pulumi.CustomResourceOptions): NdbRegisterDbserver; /** * Returns true if the given object is an instance of NdbRegisterDbserver. 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 NdbRegisterDbserver; readonly clientId: pulumi.Output; readonly credentials: pulumi.Output; /** * database type i.e. postgres_database */ readonly databaseType: pulumi.Output; readonly dbserverClusterId: pulumi.Output; /** * - (Optional) Delete the VM and associated storage. Default value is false */ readonly delete: pulumi.Output; /** * - (Optional) Delete volume grous. Default value is true */ readonly deleteVgs: pulumi.Output; /** * - (Optional) Delete the vm snapshots. Default is true */ readonly deleteVmSnapshots: pulumi.Output; /** * description of db server vm. Should be used in update Method only . */ readonly description: pulumi.Output; readonly eraCreated: pulumi.Output; readonly eraDriveId: pulumi.Output; readonly eraVersion: pulumi.Output; /** * forced install the packages. Default is true */ readonly forcedInstall: pulumi.Output; readonly fqdns: pulumi.Output; readonly internal: pulumi.Output; readonly ipAddresses: pulumi.Output; readonly macAddresses: pulumi.Output; /** * Name of db server vm. Should be used in Update Method only. */ readonly name: pulumi.Output; /** * cluster on which you want to register the database server VM. */ readonly nxclusterId: pulumi.Output; /** * password of the NDB drive user account. Conflicts with ssh_key. */ readonly password: pulumi.Output; /** * postgres info for dbserver */ readonly postgresDatabases: pulumi.Output; /** * List of all the properties */ readonly properties: pulumi.Output; /** * - (Optional) Unregister the database from NDB. Default value is true */ readonly remove: pulumi.Output; /** * - (Optional) Soft remove. Default will be false */ readonly softRemove: pulumi.Output; /** * the private key. Conflicts with password. */ readonly sshKey: pulumi.Output; readonly status: pulumi.Output; readonly tags: pulumi.Output; readonly type: pulumi.Output; /** * Updates the name and description in cluster. Should be used in Update Method only. */ readonly updateNameDescriptionInCluster: pulumi.Output; /** * username of the NDB drive user account that has sudo access */ readonly username: pulumi.Output; readonly vmClusterName: pulumi.Output; readonly vmClusterUuid: pulumi.Output; /** * IP address of the database server VM */ readonly vmIp: pulumi.Output; readonly vmTimezone: pulumi.Output; /** * working directory of postgres. Default is "/tmp" */ readonly workingDirectory: pulumi.Output; /** * Create a NdbRegisterDbserver 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: NdbRegisterDbserverArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering NdbRegisterDbserver resources. */ export interface NdbRegisterDbserverState { clientId?: pulumi.Input; credentials?: pulumi.Input[] | undefined>; /** * database type i.e. postgres_database */ databaseType?: pulumi.Input; dbserverClusterId?: pulumi.Input; /** * - (Optional) Delete the VM and associated storage. Default value is false */ delete?: pulumi.Input; /** * - (Optional) Delete volume grous. Default value is true */ deleteVgs?: pulumi.Input; /** * - (Optional) Delete the vm snapshots. Default is true */ deleteVmSnapshots?: pulumi.Input; /** * description of db server vm. Should be used in update Method only . */ description?: pulumi.Input; eraCreated?: pulumi.Input; eraDriveId?: pulumi.Input; eraVersion?: pulumi.Input; /** * forced install the packages. Default is true */ forcedInstall?: pulumi.Input; fqdns?: pulumi.Input; internal?: pulumi.Input; ipAddresses?: pulumi.Input[] | undefined>; macAddresses?: pulumi.Input[] | undefined>; /** * Name of db server vm. Should be used in Update Method only. */ name?: pulumi.Input; /** * cluster on which you want to register the database server VM. */ nxclusterId?: pulumi.Input; /** * password of the NDB drive user account. Conflicts with ssh_key. */ password?: pulumi.Input; /** * postgres info for dbserver */ postgresDatabases?: pulumi.Input[] | undefined>; /** * List of all the properties */ properties?: pulumi.Input[] | undefined>; /** * - (Optional) Unregister the database from NDB. Default value is true */ remove?: pulumi.Input; /** * - (Optional) Soft remove. Default will be false */ softRemove?: pulumi.Input; /** * the private key. Conflicts with password. */ sshKey?: pulumi.Input; status?: pulumi.Input; tags?: pulumi.Input[] | undefined>; type?: pulumi.Input; /** * Updates the name and description in cluster. Should be used in Update Method only. */ updateNameDescriptionInCluster?: pulumi.Input; /** * username of the NDB drive user account that has sudo access */ username?: pulumi.Input; vmClusterName?: pulumi.Input; vmClusterUuid?: pulumi.Input; /** * IP address of the database server VM */ vmIp?: pulumi.Input; vmTimezone?: pulumi.Input; /** * working directory of postgres. Default is "/tmp" */ workingDirectory?: pulumi.Input; } /** * The set of arguments for constructing a NdbRegisterDbserver resource. */ export interface NdbRegisterDbserverArgs { credentials?: pulumi.Input[] | undefined>; /** * database type i.e. postgres_database */ databaseType: pulumi.Input; /** * - (Optional) Delete the VM and associated storage. Default value is false */ delete?: pulumi.Input; /** * - (Optional) Delete volume grous. Default value is true */ deleteVgs?: pulumi.Input; /** * - (Optional) Delete the vm snapshots. Default is true */ deleteVmSnapshots?: pulumi.Input; /** * description of db server vm. Should be used in update Method only . */ description?: pulumi.Input; /** * forced install the packages. Default is true */ forcedInstall?: pulumi.Input; /** * Name of db server vm. Should be used in Update Method only. */ name?: pulumi.Input; /** * cluster on which you want to register the database server VM. */ nxclusterId?: pulumi.Input; /** * password of the NDB drive user account. Conflicts with ssh_key. */ password?: pulumi.Input; /** * postgres info for dbserver */ postgresDatabases?: pulumi.Input[] | undefined>; /** * - (Optional) Unregister the database from NDB. Default value is true */ remove?: pulumi.Input; /** * - (Optional) Soft remove. Default will be false */ softRemove?: pulumi.Input; /** * the private key. Conflicts with password. */ sshKey?: pulumi.Input; tags?: pulumi.Input[] | undefined>; /** * Updates the name and description in cluster. Should be used in Update Method only. */ updateNameDescriptionInCluster?: pulumi.Input; /** * username of the NDB drive user account that has sudo access */ username?: pulumi.Input; /** * IP address of the database server VM */ vmIp: pulumi.Input; /** * working directory of postgres. Default is "/tmp" */ workingDirectory?: pulumi.Input; } //# sourceMappingURL=ndbRegisterDbserver.d.ts.map