nutanix.NdbDbserverVm
Explore with Pulumi AI
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
Create NdbDbserverVm Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new NdbDbserverVm(name: string, args: NdbDbserverVmArgs, opts?: CustomResourceOptions);@overload
def NdbDbserverVm(resource_name: str,
                  args: NdbDbserverVmArgs,
                  opts: Optional[ResourceOptions] = None)
@overload
def NdbDbserverVm(resource_name: str,
                  opts: Optional[ResourceOptions] = None,
                  compute_profile_id: Optional[str] = None,
                  nx_cluster_id: Optional[str] = None,
                  database_type: Optional[str] = None,
                  network_profile_id: Optional[str] = None,
                  delete_vm_snapshots: Optional[bool] = None,
                  snapshot_id: Optional[str] = None,
                  description: Optional[str] = None,
                  latest_snapshot: Optional[bool] = None,
                  maintenance_tasks: Optional[NdbDbserverVmMaintenanceTasksArgs] = None,
                  delete: Optional[bool] = None,
                  credentials: Optional[Sequence[NdbDbserverVmCredentialArgs]] = None,
                  postgres_databases: Optional[Sequence[NdbDbserverVmPostgresDatabaseArgs]] = None,
                  remove: Optional[bool] = None,
                  delete_vgs: Optional[bool] = None,
                  soft_remove: Optional[bool] = None,
                  software_profile_id: Optional[str] = None,
                  software_profile_version_id: Optional[str] = None,
                  tags: Optional[Sequence[NdbDbserverVmTagArgs]] = None,
                  time_machine_id: Optional[str] = None,
                  timezone: Optional[str] = None,
                  vm_password: Optional[str] = None)func NewNdbDbserverVm(ctx *Context, name string, args NdbDbserverVmArgs, opts ...ResourceOption) (*NdbDbserverVm, error)public NdbDbserverVm(string name, NdbDbserverVmArgs args, CustomResourceOptions? opts = null)
public NdbDbserverVm(String name, NdbDbserverVmArgs args)
public NdbDbserverVm(String name, NdbDbserverVmArgs args, CustomResourceOptions options)
type: nutanix:NdbDbserverVm
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args NdbDbserverVmArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args NdbDbserverVmArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args NdbDbserverVmArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args NdbDbserverVmArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args NdbDbserverVmArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var ndbDbserverVmResource = new Nutanix.NdbDbserverVm("ndbDbserverVmResource", new()
{
    ComputeProfileId = "string",
    NxClusterId = "string",
    DatabaseType = "string",
    NetworkProfileId = "string",
    DeleteVmSnapshots = false,
    SnapshotId = "string",
    Description = "string",
    LatestSnapshot = false,
    MaintenanceTasks = new Nutanix.Inputs.NdbDbserverVmMaintenanceTasksArgs
    {
        MaintenanceWindowId = "string",
        Tasks = new[]
        {
            new Nutanix.Inputs.NdbDbserverVmMaintenanceTasksTaskArgs
            {
                PostCommand = "string",
                PreCommand = "string",
                TaskType = "string",
            },
        },
    },
    Delete = false,
    Credentials = new[]
    {
        new Nutanix.Inputs.NdbDbserverVmCredentialArgs
        {
            Password = "string",
            Username = "string",
            Label = "string",
        },
    },
    PostgresDatabases = new[]
    {
        new Nutanix.Inputs.NdbDbserverVmPostgresDatabaseArgs
        {
            VmName = "string",
            ClientPublicKey = "string",
        },
    },
    Remove = false,
    DeleteVgs = false,
    SoftRemove = false,
    SoftwareProfileId = "string",
    SoftwareProfileVersionId = "string",
    Tags = new[]
    {
        new Nutanix.Inputs.NdbDbserverVmTagArgs
        {
            EntityId = "string",
            EntityType = "string",
            TagId = "string",
            TagName = "string",
            Value = "string",
        },
    },
    TimeMachineId = "string",
    Timezone = "string",
    VmPassword = "string",
});
example, err := nutanix.NewNdbDbserverVm(ctx, "ndbDbserverVmResource", &nutanix.NdbDbserverVmArgs{
	ComputeProfileId:  pulumi.String("string"),
	NxClusterId:       pulumi.String("string"),
	DatabaseType:      pulumi.String("string"),
	NetworkProfileId:  pulumi.String("string"),
	DeleteVmSnapshots: pulumi.Bool(false),
	SnapshotId:        pulumi.String("string"),
	Description:       pulumi.String("string"),
	LatestSnapshot:    pulumi.Bool(false),
	MaintenanceTasks: &nutanix.NdbDbserverVmMaintenanceTasksArgs{
		MaintenanceWindowId: pulumi.String("string"),
		Tasks: nutanix.NdbDbserverVmMaintenanceTasksTaskArray{
			&nutanix.NdbDbserverVmMaintenanceTasksTaskArgs{
				PostCommand: pulumi.String("string"),
				PreCommand:  pulumi.String("string"),
				TaskType:    pulumi.String("string"),
			},
		},
	},
	Delete: pulumi.Bool(false),
	Credentials: nutanix.NdbDbserverVmCredentialArray{
		&nutanix.NdbDbserverVmCredentialArgs{
			Password: pulumi.String("string"),
			Username: pulumi.String("string"),
			Label:    pulumi.String("string"),
		},
	},
	PostgresDatabases: nutanix.NdbDbserverVmPostgresDatabaseArray{
		&nutanix.NdbDbserverVmPostgresDatabaseArgs{
			VmName:          pulumi.String("string"),
			ClientPublicKey: pulumi.String("string"),
		},
	},
	Remove:                   pulumi.Bool(false),
	DeleteVgs:                pulumi.Bool(false),
	SoftRemove:               pulumi.Bool(false),
	SoftwareProfileId:        pulumi.String("string"),
	SoftwareProfileVersionId: pulumi.String("string"),
	Tags: nutanix.NdbDbserverVmTagArray{
		&nutanix.NdbDbserverVmTagArgs{
			EntityId:   pulumi.String("string"),
			EntityType: pulumi.String("string"),
			TagId:      pulumi.String("string"),
			TagName:    pulumi.String("string"),
			Value:      pulumi.String("string"),
		},
	},
	TimeMachineId: pulumi.String("string"),
	Timezone:      pulumi.String("string"),
	VmPassword:    pulumi.String("string"),
})
var ndbDbserverVmResource = new NdbDbserverVm("ndbDbserverVmResource", NdbDbserverVmArgs.builder()
    .computeProfileId("string")
    .nxClusterId("string")
    .databaseType("string")
    .networkProfileId("string")
    .deleteVmSnapshots(false)
    .snapshotId("string")
    .description("string")
    .latestSnapshot(false)
    .maintenanceTasks(NdbDbserverVmMaintenanceTasksArgs.builder()
        .maintenanceWindowId("string")
        .tasks(NdbDbserverVmMaintenanceTasksTaskArgs.builder()
            .postCommand("string")
            .preCommand("string")
            .taskType("string")
            .build())
        .build())
    .delete(false)
    .credentials(NdbDbserverVmCredentialArgs.builder()
        .password("string")
        .username("string")
        .label("string")
        .build())
    .postgresDatabases(NdbDbserverVmPostgresDatabaseArgs.builder()
        .vmName("string")
        .clientPublicKey("string")
        .build())
    .remove(false)
    .deleteVgs(false)
    .softRemove(false)
    .softwareProfileId("string")
    .softwareProfileVersionId("string")
    .tags(NdbDbserverVmTagArgs.builder()
        .entityId("string")
        .entityType("string")
        .tagId("string")
        .tagName("string")
        .value("string")
        .build())
    .timeMachineId("string")
    .timezone("string")
    .vmPassword("string")
    .build());
ndb_dbserver_vm_resource = nutanix.NdbDbserverVm("ndbDbserverVmResource",
    compute_profile_id="string",
    nx_cluster_id="string",
    database_type="string",
    network_profile_id="string",
    delete_vm_snapshots=False,
    snapshot_id="string",
    description="string",
    latest_snapshot=False,
    maintenance_tasks={
        "maintenance_window_id": "string",
        "tasks": [{
            "post_command": "string",
            "pre_command": "string",
            "task_type": "string",
        }],
    },
    delete=False,
    credentials=[{
        "password": "string",
        "username": "string",
        "label": "string",
    }],
    postgres_databases=[{
        "vm_name": "string",
        "client_public_key": "string",
    }],
    remove=False,
    delete_vgs=False,
    soft_remove=False,
    software_profile_id="string",
    software_profile_version_id="string",
    tags=[{
        "entity_id": "string",
        "entity_type": "string",
        "tag_id": "string",
        "tag_name": "string",
        "value": "string",
    }],
    time_machine_id="string",
    timezone="string",
    vm_password="string")
const ndbDbserverVmResource = new nutanix.NdbDbserverVm("ndbDbserverVmResource", {
    computeProfileId: "string",
    nxClusterId: "string",
    databaseType: "string",
    networkProfileId: "string",
    deleteVmSnapshots: false,
    snapshotId: "string",
    description: "string",
    latestSnapshot: false,
    maintenanceTasks: {
        maintenanceWindowId: "string",
        tasks: [{
            postCommand: "string",
            preCommand: "string",
            taskType: "string",
        }],
    },
    "delete": false,
    credentials: [{
        password: "string",
        username: "string",
        label: "string",
    }],
    postgresDatabases: [{
        vmName: "string",
        clientPublicKey: "string",
    }],
    remove: false,
    deleteVgs: false,
    softRemove: false,
    softwareProfileId: "string",
    softwareProfileVersionId: "string",
    tags: [{
        entityId: "string",
        entityType: "string",
        tagId: "string",
        tagName: "string",
        value: "string",
    }],
    timeMachineId: "string",
    timezone: "string",
    vmPassword: "string",
});
type: nutanix:NdbDbserverVm
properties:
    computeProfileId: string
    credentials:
        - label: string
          password: string
          username: string
    databaseType: string
    delete: false
    deleteVgs: false
    deleteVmSnapshots: false
    description: string
    latestSnapshot: false
    maintenanceTasks:
        maintenanceWindowId: string
        tasks:
            - postCommand: string
              preCommand: string
              taskType: string
    networkProfileId: string
    nxClusterId: string
    postgresDatabases:
        - clientPublicKey: string
          vmName: string
    remove: false
    snapshotId: string
    softRemove: false
    softwareProfileId: string
    softwareProfileVersionId: string
    tags:
        - entityId: string
          entityType: string
          tagId: string
          tagName: string
          value: string
    timeMachineId: string
    timezone: string
    vmPassword: string
NdbDbserverVm Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The NdbDbserverVm resource accepts the following input properties:
- ComputeProfile stringId 
- Compute profile id.
- DatabaseType string
- database type. Valid values: postgres_database
- NetworkProfile stringId 
- Network profile id.
- NxCluster stringId 
- Credentials
List<PiersKarsenbarg. Nutanix. Inputs. Ndb Dbserver Vm Credential> 
- Delete bool
- (Optional) Delete the VM and associated storage. Default value is true
 
- DeleteVgs bool
- (Optional) Delete volume grous. Default value is true
 
- DeleteVm boolSnapshots 
- (Optional) Delete the vm snapshots. Default is true
 
- Description string
- Type a description for the database server VM.
- LatestSnapshot bool
- MaintenanceTasks PiersKarsenbarg. Nutanix. Inputs. Ndb Dbserver Vm Maintenance Tasks 
- maintenance window configured to enable automated patching.
- PostgresDatabases List<PiersKarsenbarg. Nutanix. Inputs. Ndb Dbserver Vm Postgres Database> 
- Postgres database server vm
- Remove bool
- (Optional) Unregister the database from NDB. Default value is false
 
- SnapshotId string
- Snapshot id. If not given, it will use latest snapshot to provision db server vm.
- SoftRemove bool
- (Optional) Soft remove. Default will be false
 
- SoftwareProfile stringId 
- software profile id you want to provision a database server VM from an existing software profile.Required with software_profile_version_id. Conflicts with time_machine_id .
- SoftwareProfile stringVersion Id 
- SOftware Profile Version Id.
- 
List<PiersKarsenbarg. Nutanix. Inputs. Ndb Dbserver Vm Tag> 
- TimeMachine stringId 
- 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.
- Timezone string
- VmPassword string
- password of the NDB drive user account.
- ComputeProfile stringId 
- Compute profile id.
- DatabaseType string
- database type. Valid values: postgres_database
- NetworkProfile stringId 
- Network profile id.
- NxCluster stringId 
- Credentials
[]NdbDbserver Vm Credential Args 
- Delete bool
- (Optional) Delete the VM and associated storage. Default value is true
 
- DeleteVgs bool
- (Optional) Delete volume grous. Default value is true
 
- DeleteVm boolSnapshots 
- (Optional) Delete the vm snapshots. Default is true
 
- Description string
- Type a description for the database server VM.
- LatestSnapshot bool
- MaintenanceTasks NdbDbserver Vm Maintenance Tasks Args 
- maintenance window configured to enable automated patching.
- PostgresDatabases []NdbDbserver Vm Postgres Database Args 
- Postgres database server vm
- Remove bool
- (Optional) Unregister the database from NDB. Default value is false
 
- SnapshotId string
- Snapshot id. If not given, it will use latest snapshot to provision db server vm.
- SoftRemove bool
- (Optional) Soft remove. Default will be false
 
- SoftwareProfile stringId 
- software profile id you want to provision a database server VM from an existing software profile.Required with software_profile_version_id. Conflicts with time_machine_id .
- SoftwareProfile stringVersion Id 
- SOftware Profile Version Id.
- 
[]NdbDbserver Vm Tag Args 
- TimeMachine stringId 
- 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.
- Timezone string
- VmPassword string
- password of the NDB drive user account.
- computeProfile StringId 
- Compute profile id.
- databaseType String
- database type. Valid values: postgres_database
- networkProfile StringId 
- Network profile id.
- nxCluster StringId 
- credentials
List<NdbDbserver Vm Credential> 
- delete Boolean
- (Optional) Delete the VM and associated storage. Default value is true
 
- deleteVgs Boolean
- (Optional) Delete volume grous. Default value is true
 
- deleteVm BooleanSnapshots 
- (Optional) Delete the vm snapshots. Default is true
 
- description String
- Type a description for the database server VM.
- latestSnapshot Boolean
- maintenanceTasks NdbDbserver Vm Maintenance Tasks 
- maintenance window configured to enable automated patching.
- postgresDatabases List<NdbDbserver Vm Postgres Database> 
- Postgres database server vm
- remove Boolean
- (Optional) Unregister the database from NDB. Default value is false
 
- snapshotId String
- Snapshot id. If not given, it will use latest snapshot to provision db server vm.
- softRemove Boolean
- (Optional) Soft remove. Default will be false
 
- softwareProfile StringId 
- software profile id you want to provision a database server VM from an existing software profile.Required with software_profile_version_id. Conflicts with time_machine_id .
- softwareProfile StringVersion Id 
- SOftware Profile Version Id.
- 
List<NdbDbserver Vm Tag> 
- timeMachine StringId 
- 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.
- timezone String
- vmPassword String
- password of the NDB drive user account.
- computeProfile stringId 
- Compute profile id.
- databaseType string
- database type. Valid values: postgres_database
- networkProfile stringId 
- Network profile id.
- nxCluster stringId 
- credentials
NdbDbserver Vm Credential[] 
- delete boolean
- (Optional) Delete the VM and associated storage. Default value is true
 
- deleteVgs boolean
- (Optional) Delete volume grous. Default value is true
 
- deleteVm booleanSnapshots 
- (Optional) Delete the vm snapshots. Default is true
 
- description string
- Type a description for the database server VM.
- latestSnapshot boolean
- maintenanceTasks NdbDbserver Vm Maintenance Tasks 
- maintenance window configured to enable automated patching.
- postgresDatabases NdbDbserver Vm Postgres Database[] 
- Postgres database server vm
- remove boolean
- (Optional) Unregister the database from NDB. Default value is false
 
- snapshotId string
- Snapshot id. If not given, it will use latest snapshot to provision db server vm.
- softRemove boolean
- (Optional) Soft remove. Default will be false
 
- softwareProfile stringId 
- software profile id you want to provision a database server VM from an existing software profile.Required with software_profile_version_id. Conflicts with time_machine_id .
- softwareProfile stringVersion Id 
- SOftware Profile Version Id.
- 
NdbDbserver Vm Tag[] 
- timeMachine stringId 
- 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.
- timezone string
- vmPassword string
- password of the NDB drive user account.
- compute_profile_ strid 
- Compute profile id.
- database_type str
- database type. Valid values: postgres_database
- network_profile_ strid 
- Network profile id.
- nx_cluster_ strid 
- credentials
Sequence[NdbDbserver Vm Credential Args] 
- delete bool
- (Optional) Delete the VM and associated storage. Default value is true
 
- delete_vgs bool
- (Optional) Delete volume grous. Default value is true
 
- delete_vm_ boolsnapshots 
- (Optional) Delete the vm snapshots. Default is true
 
- description str
- Type a description for the database server VM.
- latest_snapshot bool
- maintenance_tasks NdbDbserver Vm Maintenance Tasks Args 
- maintenance window configured to enable automated patching.
- postgres_databases Sequence[NdbDbserver Vm Postgres Database Args] 
- Postgres database server vm
- remove bool
- (Optional) Unregister the database from NDB. Default value is false
 
- snapshot_id str
- Snapshot id. If not given, it will use latest snapshot to provision db server vm.
- soft_remove bool
- (Optional) Soft remove. Default will be false
 
- software_profile_ strid 
- software profile id you want to provision a database server VM from an existing software profile.Required with software_profile_version_id. Conflicts with time_machine_id .
- software_profile_ strversion_ id 
- SOftware Profile Version Id.
- 
Sequence[NdbDbserver Vm Tag Args] 
- time_machine_ strid 
- 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.
- timezone str
- vm_password str
- password of the NDB drive user account.
- computeProfile StringId 
- Compute profile id.
- databaseType String
- database type. Valid values: postgres_database
- networkProfile StringId 
- Network profile id.
- nxCluster StringId 
- credentials List<Property Map>
- delete Boolean
- (Optional) Delete the VM and associated storage. Default value is true
 
- deleteVgs Boolean
- (Optional) Delete volume grous. Default value is true
 
- deleteVm BooleanSnapshots 
- (Optional) Delete the vm snapshots. Default is true
 
- description String
- Type a description for the database server VM.
- latestSnapshot Boolean
- maintenanceTasks Property Map
- maintenance window configured to enable automated patching.
- postgresDatabases List<Property Map>
- Postgres database server vm
- remove Boolean
- (Optional) Unregister the database from NDB. Default value is false
 
- snapshotId String
- Snapshot id. If not given, it will use latest snapshot to provision db server vm.
- softRemove Boolean
- (Optional) Soft remove. Default will be false
 
- softwareProfile StringId 
- software profile id you want to provision a database server VM from an existing software profile.Required with software_profile_version_id. Conflicts with time_machine_id .
- softwareProfile StringVersion Id 
- SOftware Profile Version Id.
- List<Property Map>
- timeMachine StringId 
- 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.
- timezone String
- vmPassword String
- password of the NDB drive user account.
Outputs
All input properties are implicitly available as output properties. Additionally, the NdbDbserverVm resource produces the following output properties:
- ClientId string
- DbserverCluster stringId 
- EraDrive stringId 
- EraVersion string
- Fqdns string
- Id string
- The provider-assigned unique ID for this managed resource.
- IpAddresses List<string>
- MacAddresses List<string>
- Name string
- Properties
List<PiersKarsenbarg. Nutanix. Outputs. Ndb Dbserver Vm Property> 
- List of all the properties
- Status string
- Type string
- VmCluster stringName 
- VmCluster stringUuid 
- VmTimezone string
- ClientId string
- DbserverCluster stringId 
- EraDrive stringId 
- EraVersion string
- Fqdns string
- Id string
- The provider-assigned unique ID for this managed resource.
- IpAddresses []string
- MacAddresses []string
- Name string
- Properties
[]NdbDbserver Vm Property 
- List of all the properties
- Status string
- Type string
- VmCluster stringName 
- VmCluster stringUuid 
- VmTimezone string
- clientId String
- dbserverCluster StringId 
- eraDrive StringId 
- eraVersion String
- fqdns String
- id String
- The provider-assigned unique ID for this managed resource.
- ipAddresses List<String>
- macAddresses List<String>
- name String
- properties
List<NdbDbserver Vm Property> 
- List of all the properties
- status String
- type String
- vmCluster StringName 
- vmCluster StringUuid 
- vmTimezone String
- clientId string
- dbserverCluster stringId 
- eraDrive stringId 
- eraVersion string
- fqdns string
- id string
- The provider-assigned unique ID for this managed resource.
- ipAddresses string[]
- macAddresses string[]
- name string
- properties
NdbDbserver Vm Property[] 
- List of all the properties
- status string
- type string
- vmCluster stringName 
- vmCluster stringUuid 
- vmTimezone string
- client_id str
- dbserver_cluster_ strid 
- era_drive_ strid 
- era_version str
- fqdns str
- id str
- The provider-assigned unique ID for this managed resource.
- ip_addresses Sequence[str]
- mac_addresses Sequence[str]
- name str
- properties
Sequence[NdbDbserver Vm Property] 
- List of all the properties
- status str
- type str
- vm_cluster_ strname 
- vm_cluster_ struuid 
- vm_timezone str
- clientId String
- dbserverCluster StringId 
- eraDrive StringId 
- eraVersion String
- fqdns String
- id String
- The provider-assigned unique ID for this managed resource.
- ipAddresses List<String>
- macAddresses List<String>
- name String
- properties List<Property Map>
- List of all the properties
- status String
- type String
- vmCluster StringName 
- vmCluster StringUuid 
- vmTimezone String
Look up Existing NdbDbserverVm Resource
Get an existing NdbDbserverVm resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: NdbDbserverVmState, opts?: CustomResourceOptions): NdbDbserverVm@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        client_id: Optional[str] = None,
        compute_profile_id: Optional[str] = None,
        credentials: Optional[Sequence[NdbDbserverVmCredentialArgs]] = None,
        database_type: Optional[str] = None,
        dbserver_cluster_id: Optional[str] = None,
        delete: Optional[bool] = None,
        delete_vgs: Optional[bool] = None,
        delete_vm_snapshots: Optional[bool] = None,
        description: Optional[str] = None,
        era_drive_id: Optional[str] = None,
        era_version: Optional[str] = None,
        fqdns: Optional[str] = None,
        ip_addresses: Optional[Sequence[str]] = None,
        latest_snapshot: Optional[bool] = None,
        mac_addresses: Optional[Sequence[str]] = None,
        maintenance_tasks: Optional[NdbDbserverVmMaintenanceTasksArgs] = None,
        name: Optional[str] = None,
        network_profile_id: Optional[str] = None,
        nx_cluster_id: Optional[str] = None,
        postgres_databases: Optional[Sequence[NdbDbserverVmPostgresDatabaseArgs]] = None,
        properties: Optional[Sequence[NdbDbserverVmPropertyArgs]] = None,
        remove: Optional[bool] = None,
        snapshot_id: Optional[str] = None,
        soft_remove: Optional[bool] = None,
        software_profile_id: Optional[str] = None,
        software_profile_version_id: Optional[str] = None,
        status: Optional[str] = None,
        tags: Optional[Sequence[NdbDbserverVmTagArgs]] = None,
        time_machine_id: Optional[str] = None,
        timezone: Optional[str] = None,
        type: Optional[str] = None,
        vm_cluster_name: Optional[str] = None,
        vm_cluster_uuid: Optional[str] = None,
        vm_password: Optional[str] = None,
        vm_timezone: Optional[str] = None) -> NdbDbserverVmfunc GetNdbDbserverVm(ctx *Context, name string, id IDInput, state *NdbDbserverVmState, opts ...ResourceOption) (*NdbDbserverVm, error)public static NdbDbserverVm Get(string name, Input<string> id, NdbDbserverVmState? state, CustomResourceOptions? opts = null)public static NdbDbserverVm get(String name, Output<String> id, NdbDbserverVmState state, CustomResourceOptions options)resources:  _:    type: nutanix:NdbDbserverVm    get:      id: ${id}- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- ClientId string
- ComputeProfile stringId 
- Compute profile id.
- Credentials
List<PiersKarsenbarg. Nutanix. Inputs. Ndb Dbserver Vm Credential> 
- DatabaseType string
- database type. Valid values: postgres_database
- DbserverCluster stringId 
- Delete bool
- (Optional) Delete the VM and associated storage. Default value is true
 
- DeleteVgs bool
- (Optional) Delete volume grous. Default value is true
 
- DeleteVm boolSnapshots 
- (Optional) Delete the vm snapshots. Default is true
 
- Description string
- Type a description for the database server VM.
- EraDrive stringId 
- EraVersion string
- Fqdns string
- IpAddresses List<string>
- LatestSnapshot bool
- MacAddresses List<string>
- MaintenanceTasks PiersKarsenbarg. Nutanix. Inputs. Ndb Dbserver Vm Maintenance Tasks 
- maintenance window configured to enable automated patching.
- Name string
- NetworkProfile stringId 
- Network profile id.
- NxCluster stringId 
- PostgresDatabases List<PiersKarsenbarg. Nutanix. Inputs. Ndb Dbserver Vm Postgres Database> 
- Postgres database server vm
- Properties
List<PiersKarsenbarg. Nutanix. Inputs. Ndb Dbserver Vm Property> 
- List of all the properties
- Remove bool
- (Optional) Unregister the database from NDB. Default value is false
 
- SnapshotId string
- Snapshot id. If not given, it will use latest snapshot to provision db server vm.
- SoftRemove bool
- (Optional) Soft remove. Default will be false
 
- SoftwareProfile stringId 
- software profile id you want to provision a database server VM from an existing software profile.Required with software_profile_version_id. Conflicts with time_machine_id .
- SoftwareProfile stringVersion Id 
- SOftware Profile Version Id.
- Status string
- 
List<PiersKarsenbarg. Nutanix. Inputs. Ndb Dbserver Vm Tag> 
- TimeMachine stringId 
- 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.
- Timezone string
- Type string
- VmCluster stringName 
- VmCluster stringUuid 
- VmPassword string
- password of the NDB drive user account.
- VmTimezone string
- ClientId string
- ComputeProfile stringId 
- Compute profile id.
- Credentials
[]NdbDbserver Vm Credential Args 
- DatabaseType string
- database type. Valid values: postgres_database
- DbserverCluster stringId 
- Delete bool
- (Optional) Delete the VM and associated storage. Default value is true
 
- DeleteVgs bool
- (Optional) Delete volume grous. Default value is true
 
- DeleteVm boolSnapshots 
- (Optional) Delete the vm snapshots. Default is true
 
- Description string
- Type a description for the database server VM.
- EraDrive stringId 
- EraVersion string
- Fqdns string
- IpAddresses []string
- LatestSnapshot bool
- MacAddresses []string
- MaintenanceTasks NdbDbserver Vm Maintenance Tasks Args 
- maintenance window configured to enable automated patching.
- Name string
- NetworkProfile stringId 
- Network profile id.
- NxCluster stringId 
- PostgresDatabases []NdbDbserver Vm Postgres Database Args 
- Postgres database server vm
- Properties
[]NdbDbserver Vm Property Args 
- List of all the properties
- Remove bool
- (Optional) Unregister the database from NDB. Default value is false
 
- SnapshotId string
- Snapshot id. If not given, it will use latest snapshot to provision db server vm.
- SoftRemove bool
- (Optional) Soft remove. Default will be false
 
- SoftwareProfile stringId 
- software profile id you want to provision a database server VM from an existing software profile.Required with software_profile_version_id. Conflicts with time_machine_id .
- SoftwareProfile stringVersion Id 
- SOftware Profile Version Id.
- Status string
- 
[]NdbDbserver Vm Tag Args 
- TimeMachine stringId 
- 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.
- Timezone string
- Type string
- VmCluster stringName 
- VmCluster stringUuid 
- VmPassword string
- password of the NDB drive user account.
- VmTimezone string
- clientId String
- computeProfile StringId 
- Compute profile id.
- credentials
List<NdbDbserver Vm Credential> 
- databaseType String
- database type. Valid values: postgres_database
- dbserverCluster StringId 
- delete Boolean
- (Optional) Delete the VM and associated storage. Default value is true
 
- deleteVgs Boolean
- (Optional) Delete volume grous. Default value is true
 
- deleteVm BooleanSnapshots 
- (Optional) Delete the vm snapshots. Default is true
 
- description String
- Type a description for the database server VM.
- eraDrive StringId 
- eraVersion String
- fqdns String
- ipAddresses List<String>
- latestSnapshot Boolean
- macAddresses List<String>
- maintenanceTasks NdbDbserver Vm Maintenance Tasks 
- maintenance window configured to enable automated patching.
- name String
- networkProfile StringId 
- Network profile id.
- nxCluster StringId 
- postgresDatabases List<NdbDbserver Vm Postgres Database> 
- Postgres database server vm
- properties
List<NdbDbserver Vm Property> 
- List of all the properties
- remove Boolean
- (Optional) Unregister the database from NDB. Default value is false
 
- snapshotId String
- Snapshot id. If not given, it will use latest snapshot to provision db server vm.
- softRemove Boolean
- (Optional) Soft remove. Default will be false
 
- softwareProfile StringId 
- software profile id you want to provision a database server VM from an existing software profile.Required with software_profile_version_id. Conflicts with time_machine_id .
- softwareProfile StringVersion Id 
- SOftware Profile Version Id.
- status String
- 
List<NdbDbserver Vm Tag> 
- timeMachine StringId 
- 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.
- timezone String
- type String
- vmCluster StringName 
- vmCluster StringUuid 
- vmPassword String
- password of the NDB drive user account.
- vmTimezone String
- clientId string
- computeProfile stringId 
- Compute profile id.
- credentials
NdbDbserver Vm Credential[] 
- databaseType string
- database type. Valid values: postgres_database
- dbserverCluster stringId 
- delete boolean
- (Optional) Delete the VM and associated storage. Default value is true
 
- deleteVgs boolean
- (Optional) Delete volume grous. Default value is true
 
- deleteVm booleanSnapshots 
- (Optional) Delete the vm snapshots. Default is true
 
- description string
- Type a description for the database server VM.
- eraDrive stringId 
- eraVersion string
- fqdns string
- ipAddresses string[]
- latestSnapshot boolean
- macAddresses string[]
- maintenanceTasks NdbDbserver Vm Maintenance Tasks 
- maintenance window configured to enable automated patching.
- name string
- networkProfile stringId 
- Network profile id.
- nxCluster stringId 
- postgresDatabases NdbDbserver Vm Postgres Database[] 
- Postgres database server vm
- properties
NdbDbserver Vm Property[] 
- List of all the properties
- remove boolean
- (Optional) Unregister the database from NDB. Default value is false
 
- snapshotId string
- Snapshot id. If not given, it will use latest snapshot to provision db server vm.
- softRemove boolean
- (Optional) Soft remove. Default will be false
 
- softwareProfile stringId 
- software profile id you want to provision a database server VM from an existing software profile.Required with software_profile_version_id. Conflicts with time_machine_id .
- softwareProfile stringVersion Id 
- SOftware Profile Version Id.
- status string
- 
NdbDbserver Vm Tag[] 
- timeMachine stringId 
- 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.
- timezone string
- type string
- vmCluster stringName 
- vmCluster stringUuid 
- vmPassword string
- password of the NDB drive user account.
- vmTimezone string
- client_id str
- compute_profile_ strid 
- Compute profile id.
- credentials
Sequence[NdbDbserver Vm Credential Args] 
- database_type str
- database type. Valid values: postgres_database
- dbserver_cluster_ strid 
- delete bool
- (Optional) Delete the VM and associated storage. Default value is true
 
- delete_vgs bool
- (Optional) Delete volume grous. Default value is true
 
- delete_vm_ boolsnapshots 
- (Optional) Delete the vm snapshots. Default is true
 
- description str
- Type a description for the database server VM.
- era_drive_ strid 
- era_version str
- fqdns str
- ip_addresses Sequence[str]
- latest_snapshot bool
- mac_addresses Sequence[str]
- maintenance_tasks NdbDbserver Vm Maintenance Tasks Args 
- maintenance window configured to enable automated patching.
- name str
- network_profile_ strid 
- Network profile id.
- nx_cluster_ strid 
- postgres_databases Sequence[NdbDbserver Vm Postgres Database Args] 
- Postgres database server vm
- properties
Sequence[NdbDbserver Vm Property Args] 
- List of all the properties
- remove bool
- (Optional) Unregister the database from NDB. Default value is false
 
- snapshot_id str
- Snapshot id. If not given, it will use latest snapshot to provision db server vm.
- soft_remove bool
- (Optional) Soft remove. Default will be false
 
- software_profile_ strid 
- software profile id you want to provision a database server VM from an existing software profile.Required with software_profile_version_id. Conflicts with time_machine_id .
- software_profile_ strversion_ id 
- SOftware Profile Version Id.
- status str
- 
Sequence[NdbDbserver Vm Tag Args] 
- time_machine_ strid 
- 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.
- timezone str
- type str
- vm_cluster_ strname 
- vm_cluster_ struuid 
- vm_password str
- password of the NDB drive user account.
- vm_timezone str
- clientId String
- computeProfile StringId 
- Compute profile id.
- credentials List<Property Map>
- databaseType String
- database type. Valid values: postgres_database
- dbserverCluster StringId 
- delete Boolean
- (Optional) Delete the VM and associated storage. Default value is true
 
- deleteVgs Boolean
- (Optional) Delete volume grous. Default value is true
 
- deleteVm BooleanSnapshots 
- (Optional) Delete the vm snapshots. Default is true
 
- description String
- Type a description for the database server VM.
- eraDrive StringId 
- eraVersion String
- fqdns String
- ipAddresses List<String>
- latestSnapshot Boolean
- macAddresses List<String>
- maintenanceTasks Property Map
- maintenance window configured to enable automated patching.
- name String
- networkProfile StringId 
- Network profile id.
- nxCluster StringId 
- postgresDatabases List<Property Map>
- Postgres database server vm
- properties List<Property Map>
- List of all the properties
- remove Boolean
- (Optional) Unregister the database from NDB. Default value is false
 
- snapshotId String
- Snapshot id. If not given, it will use latest snapshot to provision db server vm.
- softRemove Boolean
- (Optional) Soft remove. Default will be false
 
- softwareProfile StringId 
- software profile id you want to provision a database server VM from an existing software profile.Required with software_profile_version_id. Conflicts with time_machine_id .
- softwareProfile StringVersion Id 
- SOftware Profile Version Id.
- status String
- List<Property Map>
- timeMachine StringId 
- 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.
- timezone String
- type String
- vmCluster StringName 
- vmCluster StringUuid 
- vmPassword String
- password of the NDB drive user account.
- vmTimezone String
Supporting Types
NdbDbserverVmCredential, NdbDbserverVmCredentialArgs        
NdbDbserverVmMaintenanceTasks, NdbDbserverVmMaintenanceTasksArgs          
- MaintenanceWindow stringId 
- Associate an existing maintenance window id. NDB starts OS patching or database patching as per the schedule defined in the maintenance window.
- Tasks
List<PiersKarsenbarg. Nutanix. Inputs. Ndb Dbserver Vm Maintenance Tasks Task> 
- Tasks for the maintenance.- tasks.task_type: use this option if you want NDB to perform database patching or OS patching automatically. Supports [ OS_PATCHING, DB_PATCHING ].
- tasks.pre_command: add pre (operating system and database patching) commands.
- tasks.post_command:add post (operating system and database patching) commands.
 
- MaintenanceWindow stringId 
- Associate an existing maintenance window id. NDB starts OS patching or database patching as per the schedule defined in the maintenance window.
- Tasks
[]NdbDbserver Vm Maintenance Tasks Task 
- Tasks for the maintenance.- tasks.task_type: use this option if you want NDB to perform database patching or OS patching automatically. Supports [ OS_PATCHING, DB_PATCHING ].
- tasks.pre_command: add pre (operating system and database patching) commands.
- tasks.post_command:add post (operating system and database patching) commands.
 
- maintenanceWindow StringId 
- Associate an existing maintenance window id. NDB starts OS patching or database patching as per the schedule defined in the maintenance window.
- tasks
List<NdbDbserver Vm Maintenance Tasks Task> 
- Tasks for the maintenance.- tasks.task_type: use this option if you want NDB to perform database patching or OS patching automatically. Supports [ OS_PATCHING, DB_PATCHING ].
- tasks.pre_command: add pre (operating system and database patching) commands.
- tasks.post_command:add post (operating system and database patching) commands.
 
- maintenanceWindow stringId 
- Associate an existing maintenance window id. NDB starts OS patching or database patching as per the schedule defined in the maintenance window.
- tasks
NdbDbserver Vm Maintenance Tasks Task[] 
- Tasks for the maintenance.- tasks.task_type: use this option if you want NDB to perform database patching or OS patching automatically. Supports [ OS_PATCHING, DB_PATCHING ].
- tasks.pre_command: add pre (operating system and database patching) commands.
- tasks.post_command:add post (operating system and database patching) commands.
 
- maintenance_window_ strid 
- Associate an existing maintenance window id. NDB starts OS patching or database patching as per the schedule defined in the maintenance window.
- tasks
Sequence[NdbDbserver Vm Maintenance Tasks Task] 
- Tasks for the maintenance.- tasks.task_type: use this option if you want NDB to perform database patching or OS patching automatically. Supports [ OS_PATCHING, DB_PATCHING ].
- tasks.pre_command: add pre (operating system and database patching) commands.
- tasks.post_command:add post (operating system and database patching) commands.
 
- maintenanceWindow StringId 
- Associate an existing maintenance window id. NDB starts OS patching or database patching as per the schedule defined in the maintenance window.
- tasks List<Property Map>
- Tasks for the maintenance.- tasks.task_type: use this option if you want NDB to perform database patching or OS patching automatically. Supports [ OS_PATCHING, DB_PATCHING ].
- tasks.pre_command: add pre (operating system and database patching) commands.
- tasks.post_command:add post (operating system and database patching) commands.
 
NdbDbserverVmMaintenanceTasksTask, NdbDbserverVmMaintenanceTasksTaskArgs            
- PostCommand string
- PreCommand string
- TaskType string
- PostCommand string
- PreCommand string
- TaskType string
- postCommand String
- preCommand String
- taskType String
- postCommand string
- preCommand string
- taskType string
- post_command str
- pre_command str
- task_type str
- postCommand String
- preCommand String
- taskType String
NdbDbserverVmPostgresDatabase, NdbDbserverVmPostgresDatabaseArgs          
- VmName string
- name for the database server VM.
- ClientPublic stringKey 
- use SSH public keys to access the database server VM.
- VmName string
- name for the database server VM.
- ClientPublic stringKey 
- use SSH public keys to access the database server VM.
- vmName String
- name for the database server VM.
- clientPublic StringKey 
- use SSH public keys to access the database server VM.
- vmName string
- name for the database server VM.
- clientPublic stringKey 
- use SSH public keys to access the database server VM.
- vm_name str
- name for the database server VM.
- client_public_ strkey 
- use SSH public keys to access the database server VM.
- vmName String
- name for the database server VM.
- clientPublic StringKey 
- use SSH public keys to access the database server VM.
NdbDbserverVmProperty, NdbDbserverVmPropertyArgs        
NdbDbserverVmTag, NdbDbserverVmTagArgs        
- EntityId string
- EntityType string
- TagId string
- TagName string
- Value string
- EntityId string
- EntityType string
- TagId string
- TagName string
- Value string
- entityId String
- entityType String
- tagId String
- tagName String
- value String
- entityId string
- entityType string
- tagId string
- tagName string
- value string
- entity_id str
- entity_type str
- tag_id str
- tag_name str
- value str
- entityId String
- entityType String
- tagId String
- tagName String
- value String
Package Details
- Repository
- nutanix pierskarsenbarg/pulumi-nutanix
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the nutanixTerraform Provider.
