import * as pulumi from "@pulumi/pulumi"; import * as inputs from "./types/input"; import * as outputs from "./types/output"; /** * Provides a resource to create database server VMs based on the input parameters. For 1.8.0 release, only postgress database type is qualified and officially supported. * * ## Example Usage */ export declare class NdbDbserverVm extends pulumi.CustomResource { /** * Get an existing NdbDbserverVm 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?: NdbDbserverVmState, opts?: pulumi.CustomResourceOptions): NdbDbserverVm; /** * Returns true if the given object is an instance of NdbDbserverVm. 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 NdbDbserverVm; readonly clientId: pulumi.Output; /** * Compute profile id. */ readonly computeProfileId: pulumi.Output; readonly credentials: pulumi.Output; /** * database type. Valid values: postgres_database */ readonly databaseType: pulumi.Output; readonly dbserverClusterId: pulumi.Output; /** * - (Optional) Delete the VM and associated storage. Default value is true */ 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; /** * Type a description for the database server VM. */ readonly description: pulumi.Output; readonly eraDriveId: pulumi.Output; readonly eraVersion: pulumi.Output; readonly fqdns: pulumi.Output; readonly ipAddresses: pulumi.Output; readonly latestSnapshot: pulumi.Output; readonly macAddresses: pulumi.Output; /** * maintenance window configured to enable automated patching. */ readonly maintenanceTasks: pulumi.Output; readonly name: pulumi.Output; /** * Network profile id. */ readonly networkProfileId: pulumi.Output; readonly nxClusterId: pulumi.Output; /** * Postgres database server vm */ readonly postgresDatabases: pulumi.Output; /** * List of all the properties */ readonly properties: pulumi.Output; /** * - (Optional) Unregister the database from NDB. Default value is false */ readonly remove: pulumi.Output; /** * Snapshot id. If not given, it will use latest snapshot to provision db server vm. */ readonly snapshotId: pulumi.Output; /** * - (Optional) Soft remove. Default will be false */ readonly softRemove: pulumi.Output; /** * software profile id you want to provision a database server VM from an existing software profile.Required with software_profile_version_id. Conflicts with timeMachineId . */ readonly softwareProfileId: pulumi.Output; /** * SOftware Profile Version Id. */ readonly softwareProfileVersionId: pulumi.Output; readonly status: pulumi.Output; readonly tags: pulumi.Output; /** * Time Machine id you want to provision a database server VM by using the database and operating system software stored in a time machine. Conflicts with software_profile_id. */ readonly timeMachineId: pulumi.Output; readonly timezone: pulumi.Output; readonly type: pulumi.Output; readonly vmClusterName: pulumi.Output; readonly vmClusterUuid: pulumi.Output; /** * password of the NDB drive user account. */ readonly vmPassword: pulumi.Output; readonly vmTimezone: pulumi.Output; /** * Create a NdbDbserverVm 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: NdbDbserverVmArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering NdbDbserverVm resources. */ export interface NdbDbserverVmState { clientId?: pulumi.Input; /** * Compute profile id. */ computeProfileId?: pulumi.Input; credentials?: pulumi.Input[] | undefined>; /** * database type. Valid values: postgres_database */ databaseType?: pulumi.Input; dbserverClusterId?: pulumi.Input; /** * - (Optional) Delete the VM and associated storage. Default value is true */ 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; /** * Type a description for the database server VM. */ description?: pulumi.Input; eraDriveId?: pulumi.Input; eraVersion?: pulumi.Input; fqdns?: pulumi.Input; ipAddresses?: pulumi.Input[] | undefined>; latestSnapshot?: pulumi.Input; macAddresses?: pulumi.Input[] | undefined>; /** * maintenance window configured to enable automated patching. */ maintenanceTasks?: pulumi.Input; name?: pulumi.Input; /** * Network profile id. */ networkProfileId?: pulumi.Input; nxClusterId?: pulumi.Input; /** * Postgres database server vm */ postgresDatabases?: pulumi.Input[] | undefined>; /** * List of all the properties */ properties?: pulumi.Input[] | undefined>; /** * - (Optional) Unregister the database from NDB. Default value is false */ remove?: pulumi.Input; /** * Snapshot id. If not given, it will use latest snapshot to provision db server vm. */ snapshotId?: pulumi.Input; /** * - (Optional) Soft remove. Default will be false */ softRemove?: pulumi.Input; /** * software profile id you want to provision a database server VM from an existing software profile.Required with software_profile_version_id. Conflicts with timeMachineId . */ softwareProfileId?: pulumi.Input; /** * SOftware Profile Version Id. */ softwareProfileVersionId?: pulumi.Input; status?: pulumi.Input; tags?: pulumi.Input[] | undefined>; /** * Time Machine id you want to provision a database server VM by using the database and operating system software stored in a time machine. Conflicts with software_profile_id. */ timeMachineId?: pulumi.Input; timezone?: pulumi.Input; type?: pulumi.Input; vmClusterName?: pulumi.Input; vmClusterUuid?: pulumi.Input; /** * password of the NDB drive user account. */ vmPassword?: pulumi.Input; vmTimezone?: pulumi.Input; } /** * The set of arguments for constructing a NdbDbserverVm resource. */ export interface NdbDbserverVmArgs { /** * Compute profile id. */ computeProfileId: pulumi.Input; credentials?: pulumi.Input[] | undefined>; /** * database type. Valid values: postgres_database */ databaseType: pulumi.Input; /** * - (Optional) Delete the VM and associated storage. Default value is true */ 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; /** * Type a description for the database server VM. */ description?: pulumi.Input; latestSnapshot?: pulumi.Input; /** * maintenance window configured to enable automated patching. */ maintenanceTasks?: pulumi.Input; /** * Network profile id. */ networkProfileId: pulumi.Input; nxClusterId: pulumi.Input; /** * Postgres database server vm */ postgresDatabases?: pulumi.Input[] | undefined>; /** * - (Optional) Unregister the database from NDB. Default value is false */ remove?: pulumi.Input; /** * Snapshot id. If not given, it will use latest snapshot to provision db server vm. */ snapshotId?: pulumi.Input; /** * - (Optional) Soft remove. Default will be false */ softRemove?: pulumi.Input; /** * software profile id you want to provision a database server VM from an existing software profile.Required with software_profile_version_id. Conflicts with timeMachineId . */ softwareProfileId?: pulumi.Input; /** * SOftware Profile Version Id. */ softwareProfileVersionId?: pulumi.Input; tags?: pulumi.Input[] | undefined>; /** * Time Machine id you want to provision a database server VM by using the database and operating system software stored in a time machine. Conflicts with software_profile_id. */ timeMachineId?: pulumi.Input; timezone?: pulumi.Input; /** * password of the NDB drive user account. */ vmPassword?: pulumi.Input; } //# sourceMappingURL=ndbDbserverVm.d.ts.map