1. Packages
  2. Nutanix
  3. API Docs
  4. NdbDatabase
Nutanix v0.5.0 published on Monday, Nov 4, 2024 by Piers Karsenbarg

nutanix.NdbDatabase

Explore with Pulumi AI

nutanix logo
Nutanix v0.5.0 published on Monday, Nov 4, 2024 by Piers Karsenbarg

    Provides a resource to create database instance based on the input parameters. For 1.8.0 release, only postgress database type is qualified and officially supported.

    Example Usage

    NDB database resource with new database server VM

    import * as pulumi from "@pulumi/pulumi";
    import * as nutanix from "@pierskarsenbarg/nutanix";
    
    const dbp = new nutanix.NdbDatabase("dbp", {
        databasetype: "postgres_database",
        description: "add description",
        softwareprofileid: "{{ software_profile_id }}",
        softwareprofileversionid: "{{ software_profile_version_id }}",
        computeprofileid: "{{ compute_profile_id }}",
        networkprofileid: "{{ network_profile_id }}",
        dbparameterprofileid: "{{ db_parameter_profile_id }}",
        postgresqlInfo: {
            listenerPort: "{{ listner_port }}",
            databaseSize: "{{ 200 }}",
            dbPassword: "password",
            databaseNames: "testdb1",
        },
        nxclusterid: local.clusters.EraCluster.id,
        sshpublickey: "{{ ssh-public-key }}",
        nodes: [{
            vmname: "test-era-vm1",
            networkprofileid: "<network-profile-uuid>",
        }],
        timemachineinfo: {
            name: "test-pg-inst",
            description: "description of time machine",
            slaid: "{{ sla_id }}",
            schedule: {
                snapshottimeofday: {
                    hours: 16,
                    minutes: 0,
                    seconds: 0,
                },
                continuousschedule: {
                    enabled: true,
                    logbackupinterval: 30,
                    snapshotsperday: 1,
                },
                weeklyschedule: {
                    enabled: true,
                    dayofweek: "WEDNESDAY",
                },
                monthlyschedule: {
                    enabled: true,
                    dayofmonth: 27,
                },
                quartelyschedule: {
                    enabled: true,
                    startmonth: "JANUARY",
                    dayofmonth: 27,
                },
                yearlyschedule: {
                    enabled: false,
                    dayofmonth: 31,
                    month: "DECEMBER",
                },
            },
        },
    });
    
    import pulumi
    import pulumi_nutanix as nutanix
    
    dbp = nutanix.NdbDatabase("dbp",
        databasetype="postgres_database",
        description="add description",
        softwareprofileid="{{ software_profile_id }}",
        softwareprofileversionid="{{ software_profile_version_id }}",
        computeprofileid="{{ compute_profile_id }}",
        networkprofileid="{{ network_profile_id }}",
        dbparameterprofileid="{{ db_parameter_profile_id }}",
        postgresql_info={
            "listener_port": "{{ listner_port }}",
            "database_size": "{{ 200 }}",
            "db_password": "password",
            "database_names": "testdb1",
        },
        nxclusterid=local["clusters"]["EraCluster"]["id"],
        sshpublickey="{{ ssh-public-key }}",
        nodes=[{
            "vmname": "test-era-vm1",
            "networkprofileid": "<network-profile-uuid>",
        }],
        timemachineinfo={
            "name": "test-pg-inst",
            "description": "description of time machine",
            "slaid": "{{ sla_id }}",
            "schedule": {
                "snapshottimeofday": {
                    "hours": 16,
                    "minutes": 0,
                    "seconds": 0,
                },
                "continuousschedule": {
                    "enabled": True,
                    "logbackupinterval": 30,
                    "snapshotsperday": 1,
                },
                "weeklyschedule": {
                    "enabled": True,
                    "dayofweek": "WEDNESDAY",
                },
                "monthlyschedule": {
                    "enabled": True,
                    "dayofmonth": 27,
                },
                "quartelyschedule": {
                    "enabled": True,
                    "startmonth": "JANUARY",
                    "dayofmonth": 27,
                },
                "yearlyschedule": {
                    "enabled": False,
                    "dayofmonth": 31,
                    "month": "DECEMBER",
                },
            },
        })
    
    package main
    
    import (
    	"github.com/pierskarsenbarg/pulumi-nutanix/sdk/go/nutanix"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := nutanix.NewNdbDatabase(ctx, "dbp", &nutanix.NdbDatabaseArgs{
    			Databasetype:             pulumi.String("postgres_database"),
    			Description:              pulumi.String("add description"),
    			Softwareprofileid:        pulumi.String("{{ software_profile_id }}"),
    			Softwareprofileversionid: pulumi.String("{{ software_profile_version_id }}"),
    			Computeprofileid:         pulumi.String("{{ compute_profile_id }}"),
    			Networkprofileid:         pulumi.String("{{ network_profile_id }}"),
    			Dbparameterprofileid:     pulumi.String("{{ db_parameter_profile_id }}"),
    			PostgresqlInfo: &nutanix.NdbDatabasePostgresqlInfoArgs{
    				ListenerPort:  pulumi.String("{{ listner_port }}"),
    				DatabaseSize:  pulumi.String("{{ 200 }}"),
    				DbPassword:    pulumi.String("password"),
    				DatabaseNames: pulumi.String("testdb1"),
    			},
    			Nxclusterid:  pulumi.Any(local.Clusters.EraCluster.Id),
    			Sshpublickey: pulumi.String("{{ ssh-public-key }}"),
    			Nodes: nutanix.NdbDatabaseNodeArray{
    				&nutanix.NdbDatabaseNodeArgs{
    					Vmname:           pulumi.String("test-era-vm1"),
    					Networkprofileid: pulumi.String("<network-profile-uuid>"),
    				},
    			},
    			Timemachineinfo: &nutanix.NdbDatabaseTimemachineinfoArgs{
    				Name:        pulumi.String("test-pg-inst"),
    				Description: pulumi.String("description of time machine"),
    				Slaid:       pulumi.String("{{ sla_id }}"),
    				Schedule: &nutanix.NdbDatabaseTimemachineinfoScheduleArgs{
    					Snapshottimeofday: &nutanix.NdbDatabaseTimemachineinfoScheduleSnapshottimeofdayArgs{
    						Hours:   pulumi.Int(16),
    						Minutes: pulumi.Int(0),
    						Seconds: pulumi.Int(0),
    					},
    					Continuousschedule: &nutanix.NdbDatabaseTimemachineinfoScheduleContinuousscheduleArgs{
    						Enabled:           pulumi.Bool(true),
    						Logbackupinterval: pulumi.Int(30),
    						Snapshotsperday:   pulumi.Int(1),
    					},
    					Weeklyschedule: &nutanix.NdbDatabaseTimemachineinfoScheduleWeeklyscheduleArgs{
    						Enabled:   pulumi.Bool(true),
    						Dayofweek: pulumi.String("WEDNESDAY"),
    					},
    					Monthlyschedule: &nutanix.NdbDatabaseTimemachineinfoScheduleMonthlyscheduleArgs{
    						Enabled:    pulumi.Bool(true),
    						Dayofmonth: pulumi.Int(27),
    					},
    					Quartelyschedule: &nutanix.NdbDatabaseTimemachineinfoScheduleQuartelyscheduleArgs{
    						Enabled:    pulumi.Bool(true),
    						Startmonth: pulumi.String("JANUARY"),
    						Dayofmonth: pulumi.Int(27),
    					},
    					Yearlyschedule: &nutanix.NdbDatabaseTimemachineinfoScheduleYearlyscheduleArgs{
    						Enabled:    pulumi.Bool(false),
    						Dayofmonth: pulumi.Int(31),
    						Month:      pulumi.String("DECEMBER"),
    					},
    				},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Nutanix = PiersKarsenbarg.Nutanix;
    
    return await Deployment.RunAsync(() => 
    {
        var dbp = new Nutanix.NdbDatabase("dbp", new()
        {
            Databasetype = "postgres_database",
            Description = "add description",
            Softwareprofileid = "{{ software_profile_id }}",
            Softwareprofileversionid = "{{ software_profile_version_id }}",
            Computeprofileid = "{{ compute_profile_id }}",
            Networkprofileid = "{{ network_profile_id }}",
            Dbparameterprofileid = "{{ db_parameter_profile_id }}",
            PostgresqlInfo = new Nutanix.Inputs.NdbDatabasePostgresqlInfoArgs
            {
                ListenerPort = "{{ listner_port }}",
                DatabaseSize = "{{ 200 }}",
                DbPassword = "password",
                DatabaseNames = "testdb1",
            },
            Nxclusterid = local.Clusters.EraCluster.Id,
            Sshpublickey = "{{ ssh-public-key }}",
            Nodes = new[]
            {
                new Nutanix.Inputs.NdbDatabaseNodeArgs
                {
                    Vmname = "test-era-vm1",
                    Networkprofileid = "<network-profile-uuid>",
                },
            },
            Timemachineinfo = new Nutanix.Inputs.NdbDatabaseTimemachineinfoArgs
            {
                Name = "test-pg-inst",
                Description = "description of time machine",
                Slaid = "{{ sla_id }}",
                Schedule = new Nutanix.Inputs.NdbDatabaseTimemachineinfoScheduleArgs
                {
                    Snapshottimeofday = new Nutanix.Inputs.NdbDatabaseTimemachineinfoScheduleSnapshottimeofdayArgs
                    {
                        Hours = 16,
                        Minutes = 0,
                        Seconds = 0,
                    },
                    Continuousschedule = new Nutanix.Inputs.NdbDatabaseTimemachineinfoScheduleContinuousscheduleArgs
                    {
                        Enabled = true,
                        Logbackupinterval = 30,
                        Snapshotsperday = 1,
                    },
                    Weeklyschedule = new Nutanix.Inputs.NdbDatabaseTimemachineinfoScheduleWeeklyscheduleArgs
                    {
                        Enabled = true,
                        Dayofweek = "WEDNESDAY",
                    },
                    Monthlyschedule = new Nutanix.Inputs.NdbDatabaseTimemachineinfoScheduleMonthlyscheduleArgs
                    {
                        Enabled = true,
                        Dayofmonth = 27,
                    },
                    Quartelyschedule = new Nutanix.Inputs.NdbDatabaseTimemachineinfoScheduleQuartelyscheduleArgs
                    {
                        Enabled = true,
                        Startmonth = "JANUARY",
                        Dayofmonth = 27,
                    },
                    Yearlyschedule = new Nutanix.Inputs.NdbDatabaseTimemachineinfoScheduleYearlyscheduleArgs
                    {
                        Enabled = false,
                        Dayofmonth = 31,
                        Month = "DECEMBER",
                    },
                },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.nutanix.NdbDatabase;
    import com.pulumi.nutanix.NdbDatabaseArgs;
    import com.pulumi.nutanix.inputs.NdbDatabasePostgresqlInfoArgs;
    import com.pulumi.nutanix.inputs.NdbDatabaseNodeArgs;
    import com.pulumi.nutanix.inputs.NdbDatabaseTimemachineinfoArgs;
    import com.pulumi.nutanix.inputs.NdbDatabaseTimemachineinfoScheduleArgs;
    import com.pulumi.nutanix.inputs.NdbDatabaseTimemachineinfoScheduleSnapshottimeofdayArgs;
    import com.pulumi.nutanix.inputs.NdbDatabaseTimemachineinfoScheduleContinuousscheduleArgs;
    import com.pulumi.nutanix.inputs.NdbDatabaseTimemachineinfoScheduleWeeklyscheduleArgs;
    import com.pulumi.nutanix.inputs.NdbDatabaseTimemachineinfoScheduleMonthlyscheduleArgs;
    import com.pulumi.nutanix.inputs.NdbDatabaseTimemachineinfoScheduleQuartelyscheduleArgs;
    import com.pulumi.nutanix.inputs.NdbDatabaseTimemachineinfoScheduleYearlyscheduleArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var dbp = new NdbDatabase("dbp", NdbDatabaseArgs.builder()
                .databasetype("postgres_database")
                .description("add description")
                .softwareprofileid("{{ software_profile_id }}")
                .softwareprofileversionid("{{ software_profile_version_id }}")
                .computeprofileid("{{ compute_profile_id }}")
                .networkprofileid("{{ network_profile_id }}")
                .dbparameterprofileid("{{ db_parameter_profile_id }}")
                .postgresqlInfo(NdbDatabasePostgresqlInfoArgs.builder()
                    .listenerPort("{{ listner_port }}")
                    .databaseSize("{{ 200 }}")
                    .dbPassword("password")
                    .databaseNames("testdb1")
                    .build())
                .nxclusterid(local.clusters().EraCluster().id())
                .sshpublickey("{{ ssh-public-key }}")
                .nodes(NdbDatabaseNodeArgs.builder()
                    .vmname("test-era-vm1")
                    .networkprofileid("<network-profile-uuid>")
                    .build())
                .timemachineinfo(NdbDatabaseTimemachineinfoArgs.builder()
                    .name("test-pg-inst")
                    .description("description of time machine")
                    .slaid("{{ sla_id }}")
                    .schedule(NdbDatabaseTimemachineinfoScheduleArgs.builder()
                        .snapshottimeofday(NdbDatabaseTimemachineinfoScheduleSnapshottimeofdayArgs.builder()
                            .hours(16)
                            .minutes(0)
                            .seconds(0)
                            .build())
                        .continuousschedule(NdbDatabaseTimemachineinfoScheduleContinuousscheduleArgs.builder()
                            .enabled(true)
                            .logbackupinterval(30)
                            .snapshotsperday(1)
                            .build())
                        .weeklyschedule(NdbDatabaseTimemachineinfoScheduleWeeklyscheduleArgs.builder()
                            .enabled(true)
                            .dayofweek("WEDNESDAY")
                            .build())
                        .monthlyschedule(NdbDatabaseTimemachineinfoScheduleMonthlyscheduleArgs.builder()
                            .enabled(true)
                            .dayofmonth("27")
                            .build())
                        .quartelyschedule(NdbDatabaseTimemachineinfoScheduleQuartelyscheduleArgs.builder()
                            .enabled(true)
                            .startmonth("JANUARY")
                            .dayofmonth(27)
                            .build())
                        .yearlyschedule(NdbDatabaseTimemachineinfoScheduleYearlyscheduleArgs.builder()
                            .enabled(false)
                            .dayofmonth(31)
                            .month("DECEMBER")
                            .build())
                        .build())
                    .build())
                .build());
    
        }
    }
    
    resources:
      dbp:
        type: nutanix:NdbDatabase
        properties:
          # name of database type
          databasetype: postgres_database
          description: add description
          # adding the profiles details
          softwareprofileid: '{{ software_profile_id }}'
          softwareprofileversionid: '{{ software_profile_version_id }}'
          computeprofileid: '{{ compute_profile_id }}'
          networkprofileid: '{{ network_profile_id }}'
          dbparameterprofileid: '{{ db_parameter_profile_id }}'
          postgresqlInfo:
            listenerPort: '{{ listner_port }}'
            databaseSize: '{{ 200 }}'
            dbPassword: password
            databaseNames: testdb1
          # era cluster id
          nxclusterid: ${local.clusters.EraCluster.id}
          # ssh-key
          sshpublickey: '{{ ssh-public-key }}'
          # node for single instance
          nodes:
            - vmname: test-era-vm1
              networkprofileid: <network-profile-uuid>
          timemachineinfo:
            name: test-pg-inst
            description: description of time machine
            slaid: '{{ sla_id }}'
            schedule:
              snapshottimeofday:
                hours: 16
                minutes: 0
                seconds: 0
              continuousschedule:
                enabled: true
                logbackupinterval: 30
                snapshotsperday: 1
              weeklyschedule:
                enabled: true
                dayofweek: WEDNESDAY
              monthlyschedule:
                enabled: true
                dayofmonth: '27'
              quartelyschedule:
                enabled: true
                startmonth: JANUARY
                dayofmonth: 27
              yearlyschedule:
                enabled: false
                dayofmonth: 31
                month: DECEMBER
    

    NDB database resource to provision HA instance with new database server VM

    Coming soon!
    
    Coming soon!
    
    Coming soon!
    
    Coming soon!
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.nutanix.NdbDatabase;
    import com.pulumi.nutanix.NdbDatabaseArgs;
    import com.pulumi.nutanix.inputs.NdbDatabaseNodeArgs;
    import com.pulumi.nutanix.inputs.NdbDatabasePostgresqlInfoArgs;
    import com.pulumi.nutanix.inputs.NdbDatabasePostgresqlInfoHaInstanceArgs;
    import com.pulumi.nutanix.inputs.NdbDatabaseTimemachineinfoArgs;
    import com.pulumi.nutanix.inputs.NdbDatabaseTimemachineinfoScheduleArgs;
    import com.pulumi.nutanix.inputs.NdbDatabaseTimemachineinfoScheduleContinuousscheduleArgs;
    import com.pulumi.nutanix.inputs.NdbDatabaseTimemachineinfoScheduleMonthlyscheduleArgs;
    import com.pulumi.nutanix.inputs.NdbDatabaseTimemachineinfoScheduleQuartelyscheduleArgs;
    import com.pulumi.nutanix.inputs.NdbDatabaseTimemachineinfoScheduleSnapshottimeofdayArgs;
    import com.pulumi.nutanix.inputs.NdbDatabaseTimemachineinfoScheduleWeeklyscheduleArgs;
    import com.pulumi.nutanix.inputs.NdbDatabaseTimemachineinfoScheduleYearlyscheduleArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var dbp = new NdbDatabase("dbp", NdbDatabaseArgs.builder()
                .autotunestagingdrive(true)
                .clustered(true)
                .computeprofileid("{{ compute_profile_id }}")
                .createdbserver(true)
                .databasetype("postgres_database")
                .dbparameterprofileid("{{ db_parameter_profile_id }}")
                .description("adding description")
                .networkprofileid("{{ network_profile_id }}")
                .nodecount(4)
                .nodes(            
                    NdbDatabaseNodeArgs.builder()
                        .nxClusterId("{{ nx_cluster_id }}")
                        .properties(NdbDatabaseNodePropertyArgs.builder()
                            .name("node_type")
                            .value("haproxy")
                            .build())
                        .vmname("{{ vm name }}")
                        .build(),
                    NdbDatabaseNodeArgs.builder()
                        .computeprofileid("{{ compute_profile_id }}")
                        .networkprofileid("{{ network_profile_id }}")
                        .nxClusterId("{{ nx_cluster_id }}")
                        .properties(                    
                            NdbDatabaseNodePropertyArgs.builder()
                                .name("role")
                                .value("Primary")
                                .build(),
                            NdbDatabaseNodePropertyArgs.builder()
                                .name("failover_mode")
                                .value("Automatic")
                                .build(),
                            NdbDatabaseNodePropertyArgs.builder()
                                .name("node_type")
                                .value("database")
                                .build())
                        .vmname("{{ name of vm }}")
                        .build(),
                    NdbDatabaseNodeArgs.builder()
                        .computeprofileid("{{ compute_profile_id }}")
                        .networkprofileid("{{ network_profile_id }}")
                        .nxClusterId("{{ nx_cluster_id }}")
                        .properties(                    
                            NdbDatabaseNodePropertyArgs.builder()
                                .name("role")
                                .value("Secondary")
                                .build(),
                            NdbDatabaseNodePropertyArgs.builder()
                                .name("failover_mode")
                                .value("Automatic")
                                .build(),
                            NdbDatabaseNodePropertyArgs.builder()
                                .name("node_type")
                                .value("database")
                                .build())
                        .vmname("{{ name of vm }}")
                        .build(),
                    NdbDatabaseNodeArgs.builder()
                        .computeprofileid("{{ compute_profile_id }}")
                        .networkprofileid("{{ network_profile_id }}")
                        .nxClusterId("{{ nx_cluster_id }}")
                        .properties(                    
                            NdbDatabaseNodePropertyArgs.builder()
                                .name("role")
                                .value("Secondary")
                                .build(),
                            NdbDatabaseNodePropertyArgs.builder()
                                .name("failover_mode")
                                .value("Automatic")
                                .build(),
                            NdbDatabaseNodePropertyArgs.builder()
                                .name("node_type")
                                .value("database")
                                .build())
                        .vmname("{{ name of vm }}")
                        .build())
                .nxclusterid("1c42ca25-32f4-42d9-a2bd-6a21f925b725")
                .postgresqlInfo(NdbDatabasePostgresqlInfoArgs.builder()
                    .databaseNames("testdb1")
                    .databaseSize("200")
                    .dbPassword("{{ database password}}")
                    .haInstance(NdbDatabasePostgresqlInfoHaInstanceArgs.builder()
                        .clusterName("{{ cluster_name }}")
                        .patroniClusterName(" {{ patroni_cluster_name }}")
                        .proxyReadPort("5001")
                        .proxyWritePort("5000")
                        .build())
                    .listenerPort("5432")
                    .build())
                .softwareprofileid("{{ software_profile_id }}")
                .softwareprofileversionid("{{ software_profile_version_id }}")
                .sshpublickey("{{ ssh_public_key }}")
                .timemachineinfo(NdbDatabaseTimemachineinfoArgs.builder()
                    .description("")
                    .name("test-pg-inst-HA")
                    .schedule(NdbDatabaseTimemachineinfoScheduleArgs.builder()
                        .continuousschedule(NdbDatabaseTimemachineinfoScheduleContinuousscheduleArgs.builder()
                            .enabled(true)
                            .logbackupinterval(30)
                            .snapshotsperday(1)
                            .build())
                        .monthlyschedule(NdbDatabaseTimemachineinfoScheduleMonthlyscheduleArgs.builder()
                            .dayofmonth("27")
                            .enabled(true)
                            .build())
                        .quartelyschedule(NdbDatabaseTimemachineinfoScheduleQuartelyscheduleArgs.builder()
                            .dayofmonth(27)
                            .enabled(true)
                            .startmonth("JANUARY")
                            .build())
                        .snapshottimeofday(NdbDatabaseTimemachineinfoScheduleSnapshottimeofdayArgs.builder()
                            .hours(16)
                            .minutes(0)
                            .seconds(0)
                            .build())
                        .weeklyschedule(NdbDatabaseTimemachineinfoScheduleWeeklyscheduleArgs.builder()
                            .dayofweek("WEDNESDAY")
                            .enabled(true)
                            .build())
                        .yearlyschedule(NdbDatabaseTimemachineinfoScheduleYearlyscheduleArgs.builder()
                            .dayofmonth(31)
                            .enabled(false)
                            .month("DECEMBER")
                            .build())
                        .build())
                    .slaDetails(NdbDatabaseTimemachineinfoSlaDetailArgs.builder()
                        .primarySla(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
                        .build())
                    .build())
                .vmPassword("{{ vm_password}}")
                .build());
    
        }
    }
    
    resources:
      dbp:
        type: nutanix:NdbDatabase
        properties:
          autotunestagingdrive: true
          clustered: true
          computeprofileid: '{{ compute_profile_id }}'
          # required for HA instance
          createdbserver: true
          databasetype: postgres_database
          dbparameterprofileid: '{{ db_parameter_profile_id }}'
          description: adding description
          networkprofileid: '{{ network_profile_id }}'
          # node count (with haproxy server node)
          nodecount: 4
          nodes:
            - nxClusterId: '{{ nx_cluster_id }}'
              properties:
                - name: node_type
                  value: haproxy
              vmname: '{{ vm name }}'
            - computeprofileid: '{{ compute_profile_id }}'
              networkprofileid: '{{ network_profile_id }}'
              nxClusterId: '{{ nx_cluster_id }}'
              properties:
                - name: role
                  value: Primary
                - name: failover_mode
                  value: Automatic
                - name: node_type
                  value: database
              vmname: '{{ name of vm }}'
            - computeprofileid: '{{ compute_profile_id }}'
              networkprofileid: '{{ network_profile_id }}'
              nxClusterId: '{{ nx_cluster_id }}'
              properties:
                - name: role
                  value: Secondary
                - name: failover_mode
                  value: Automatic
                - name: node_type
                  value: database
              vmname: '{{ name of vm }}'
            - computeprofileid: '{{ compute_profile_id }}'
              networkprofileid: '{{ network_profile_id }}'
              nxClusterId: '{{ nx_cluster_id }}'
              properties:
                - name: role
                  value: Secondary
                - name: failover_mode
                  value: Automatic
                - name: node_type
                  value: database
              vmname: '{{ name of vm }}'
          nxclusterid: 1c42ca25-32f4-42d9-a2bd-6a21f925b725
          # min required details for provisioning HA instance
          postgresqlInfo:
            databaseNames: testdb1
            databaseSize: '200'
            dbPassword: '{{ database password}}'
            haInstance:
              clusterName: '{{ cluster_name }}'
              patroniClusterName: ' {{ patroni_cluster_name }}'
              proxyReadPort: '5001'
              proxyWritePort: '5000'
            listenerPort: '5432'
          # adding the profiles details
          softwareprofileid: '{{ software_profile_id }}'
          softwareprofileversionid: '{{ software_profile_version_id }}'
          sshpublickey: '{{ ssh_public_key }}'
          # time machine required
          timemachineinfo:
            description:
            name: test-pg-inst-HA
            schedule:
              continuousschedule:
                enabled: true
                logbackupinterval: 30
                snapshotsperday: 1
              monthlyschedule:
                dayofmonth: '27'
                enabled: true
              quartelyschedule:
                dayofmonth: 27
                enabled: true
                startmonth: JANUARY
              snapshottimeofday:
                hours: 16
                minutes: 0
                seconds: 0
              weeklyschedule:
                dayofweek: WEDNESDAY
                enabled: true
              yearlyschedule:
                dayofmonth: 31
                enabled: false
                month: DECEMBER
            slaDetails:
              - primarySla:
                  - nxClusterIds:
                      - '{{ nx_cluster_id}}'
                    slaId: '{{ required SLA}}0'
          vmPassword: '{{ vm_password}}'
    

    NDB database resource with registered database server VM

    import * as pulumi from "@pulumi/pulumi";
    import * as nutanix from "@pierskarsenbarg/nutanix";
    
    const dbp = new nutanix.NdbDatabase("dbp", {
        actionarguments: [{
            name: "host_ip",
            value: "{{ hostIP }}",
        }],
        createdbserver: false,
        databasetype: "postgres_database",
        dbparameterprofileid: "{{ db_parameter_profile_id }}",
        dbserverId: "{{ dbserver_id }}",
        description: "add description",
        nodes: [{
            dbserverid: "{{ dbserver_id }}",
        }],
        postgresqlInfo: {
            databaseNames: "testdb1",
            databaseSize: "{{ 200 }}",
            dbPassword: "password",
            listenerPort: "{{ listner_port }}",
        },
        timemachineinfo: {
            description: "description of time machine",
            name: "test-pg-inst",
            schedule: {
                continuousschedule: {
                    enabled: true,
                    logbackupinterval: 30,
                    snapshotsperday: 1,
                },
                monthlyschedule: {
                    dayofmonth: 27,
                    enabled: true,
                },
                quartelyschedule: {
                    dayofmonth: 27,
                    enabled: true,
                    startmonth: "JANUARY",
                },
                snapshottimeofday: {
                    hours: 16,
                    minutes: 0,
                    seconds: 0,
                },
                weeklyschedule: {
                    dayofweek: "WEDNESDAY",
                    enabled: true,
                },
                yearlyschedule: {
                    dayofmonth: 31,
                    enabled: false,
                    month: "DECEMBER",
                },
            },
            slaid: "{{ sla_id }}",
        },
    });
    
    import pulumi
    import pulumi_nutanix as nutanix
    
    dbp = nutanix.NdbDatabase("dbp",
        actionarguments=[{
            "name": "host_ip",
            "value": "{{ hostIP }}",
        }],
        createdbserver=False,
        databasetype="postgres_database",
        dbparameterprofileid="{{ db_parameter_profile_id }}",
        dbserver_id="{{ dbserver_id }}",
        description="add description",
        nodes=[{
            "dbserverid": "{{ dbserver_id }}",
        }],
        postgresql_info={
            "database_names": "testdb1",
            "database_size": "{{ 200 }}",
            "db_password": "password",
            "listener_port": "{{ listner_port }}",
        },
        timemachineinfo={
            "description": "description of time machine",
            "name": "test-pg-inst",
            "schedule": {
                "continuousschedule": {
                    "enabled": True,
                    "logbackupinterval": 30,
                    "snapshotsperday": 1,
                },
                "monthlyschedule": {
                    "dayofmonth": 27,
                    "enabled": True,
                },
                "quartelyschedule": {
                    "dayofmonth": 27,
                    "enabled": True,
                    "startmonth": "JANUARY",
                },
                "snapshottimeofday": {
                    "hours": 16,
                    "minutes": 0,
                    "seconds": 0,
                },
                "weeklyschedule": {
                    "dayofweek": "WEDNESDAY",
                    "enabled": True,
                },
                "yearlyschedule": {
                    "dayofmonth": 31,
                    "enabled": False,
                    "month": "DECEMBER",
                },
            },
            "slaid": "{{ sla_id }}",
        })
    
    package main
    
    import (
    	"github.com/pierskarsenbarg/pulumi-nutanix/sdk/go/nutanix"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := nutanix.NewNdbDatabase(ctx, "dbp", &nutanix.NdbDatabaseArgs{
    			Actionarguments: nutanix.NdbDatabaseActionargumentArray{
    				&nutanix.NdbDatabaseActionargumentArgs{
    					Name:  pulumi.String("host_ip"),
    					Value: pulumi.String("{{ hostIP }}"),
    				},
    			},
    			Createdbserver:       pulumi.Bool(false),
    			Databasetype:         pulumi.String("postgres_database"),
    			Dbparameterprofileid: pulumi.String("{{ db_parameter_profile_id }}"),
    			DbserverId:           pulumi.String("{{ dbserver_id }}"),
    			Description:          pulumi.String("add description"),
    			Nodes: nutanix.NdbDatabaseNodeArray{
    				&nutanix.NdbDatabaseNodeArgs{
    					Dbserverid: pulumi.String("{{ dbserver_id }}"),
    				},
    			},
    			PostgresqlInfo: &nutanix.NdbDatabasePostgresqlInfoArgs{
    				DatabaseNames: pulumi.String("testdb1"),
    				DatabaseSize:  pulumi.String("{{ 200 }}"),
    				DbPassword:    pulumi.String("password"),
    				ListenerPort:  pulumi.String("{{ listner_port }}"),
    			},
    			Timemachineinfo: &nutanix.NdbDatabaseTimemachineinfoArgs{
    				Description: pulumi.String("description of time machine"),
    				Name:        pulumi.String("test-pg-inst"),
    				Schedule: &nutanix.NdbDatabaseTimemachineinfoScheduleArgs{
    					Continuousschedule: &nutanix.NdbDatabaseTimemachineinfoScheduleContinuousscheduleArgs{
    						Enabled:           pulumi.Bool(true),
    						Logbackupinterval: pulumi.Int(30),
    						Snapshotsperday:   pulumi.Int(1),
    					},
    					Monthlyschedule: &nutanix.NdbDatabaseTimemachineinfoScheduleMonthlyscheduleArgs{
    						Dayofmonth: pulumi.Int(27),
    						Enabled:    pulumi.Bool(true),
    					},
    					Quartelyschedule: &nutanix.NdbDatabaseTimemachineinfoScheduleQuartelyscheduleArgs{
    						Dayofmonth: pulumi.Int(27),
    						Enabled:    pulumi.Bool(true),
    						Startmonth: pulumi.String("JANUARY"),
    					},
    					Snapshottimeofday: &nutanix.NdbDatabaseTimemachineinfoScheduleSnapshottimeofdayArgs{
    						Hours:   pulumi.Int(16),
    						Minutes: pulumi.Int(0),
    						Seconds: pulumi.Int(0),
    					},
    					Weeklyschedule: &nutanix.NdbDatabaseTimemachineinfoScheduleWeeklyscheduleArgs{
    						Dayofweek: pulumi.String("WEDNESDAY"),
    						Enabled:   pulumi.Bool(true),
    					},
    					Yearlyschedule: &nutanix.NdbDatabaseTimemachineinfoScheduleYearlyscheduleArgs{
    						Dayofmonth: pulumi.Int(31),
    						Enabled:    pulumi.Bool(false),
    						Month:      pulumi.String("DECEMBER"),
    					},
    				},
    				Slaid: pulumi.String("{{ sla_id }}"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Nutanix = PiersKarsenbarg.Nutanix;
    
    return await Deployment.RunAsync(() => 
    {
        var dbp = new Nutanix.NdbDatabase("dbp", new()
        {
            Actionarguments = new[]
            {
                new Nutanix.Inputs.NdbDatabaseActionargumentArgs
                {
                    Name = "host_ip",
                    Value = "{{ hostIP }}",
                },
            },
            Createdbserver = false,
            Databasetype = "postgres_database",
            Dbparameterprofileid = "{{ db_parameter_profile_id }}",
            DbserverId = "{{ dbserver_id }}",
            Description = "add description",
            Nodes = new[]
            {
                new Nutanix.Inputs.NdbDatabaseNodeArgs
                {
                    Dbserverid = "{{ dbserver_id }}",
                },
            },
            PostgresqlInfo = new Nutanix.Inputs.NdbDatabasePostgresqlInfoArgs
            {
                DatabaseNames = "testdb1",
                DatabaseSize = "{{ 200 }}",
                DbPassword = "password",
                ListenerPort = "{{ listner_port }}",
            },
            Timemachineinfo = new Nutanix.Inputs.NdbDatabaseTimemachineinfoArgs
            {
                Description = "description of time machine",
                Name = "test-pg-inst",
                Schedule = new Nutanix.Inputs.NdbDatabaseTimemachineinfoScheduleArgs
                {
                    Continuousschedule = new Nutanix.Inputs.NdbDatabaseTimemachineinfoScheduleContinuousscheduleArgs
                    {
                        Enabled = true,
                        Logbackupinterval = 30,
                        Snapshotsperday = 1,
                    },
                    Monthlyschedule = new Nutanix.Inputs.NdbDatabaseTimemachineinfoScheduleMonthlyscheduleArgs
                    {
                        Dayofmonth = 27,
                        Enabled = true,
                    },
                    Quartelyschedule = new Nutanix.Inputs.NdbDatabaseTimemachineinfoScheduleQuartelyscheduleArgs
                    {
                        Dayofmonth = 27,
                        Enabled = true,
                        Startmonth = "JANUARY",
                    },
                    Snapshottimeofday = new Nutanix.Inputs.NdbDatabaseTimemachineinfoScheduleSnapshottimeofdayArgs
                    {
                        Hours = 16,
                        Minutes = 0,
                        Seconds = 0,
                    },
                    Weeklyschedule = new Nutanix.Inputs.NdbDatabaseTimemachineinfoScheduleWeeklyscheduleArgs
                    {
                        Dayofweek = "WEDNESDAY",
                        Enabled = true,
                    },
                    Yearlyschedule = new Nutanix.Inputs.NdbDatabaseTimemachineinfoScheduleYearlyscheduleArgs
                    {
                        Dayofmonth = 31,
                        Enabled = false,
                        Month = "DECEMBER",
                    },
                },
                Slaid = "{{ sla_id }}",
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.nutanix.NdbDatabase;
    import com.pulumi.nutanix.NdbDatabaseArgs;
    import com.pulumi.nutanix.inputs.NdbDatabaseActionargumentArgs;
    import com.pulumi.nutanix.inputs.NdbDatabaseNodeArgs;
    import com.pulumi.nutanix.inputs.NdbDatabasePostgresqlInfoArgs;
    import com.pulumi.nutanix.inputs.NdbDatabaseTimemachineinfoArgs;
    import com.pulumi.nutanix.inputs.NdbDatabaseTimemachineinfoScheduleArgs;
    import com.pulumi.nutanix.inputs.NdbDatabaseTimemachineinfoScheduleContinuousscheduleArgs;
    import com.pulumi.nutanix.inputs.NdbDatabaseTimemachineinfoScheduleMonthlyscheduleArgs;
    import com.pulumi.nutanix.inputs.NdbDatabaseTimemachineinfoScheduleQuartelyscheduleArgs;
    import com.pulumi.nutanix.inputs.NdbDatabaseTimemachineinfoScheduleSnapshottimeofdayArgs;
    import com.pulumi.nutanix.inputs.NdbDatabaseTimemachineinfoScheduleWeeklyscheduleArgs;
    import com.pulumi.nutanix.inputs.NdbDatabaseTimemachineinfoScheduleYearlyscheduleArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var dbp = new NdbDatabase("dbp", NdbDatabaseArgs.builder()
                .actionarguments(NdbDatabaseActionargumentArgs.builder()
                    .name("host_ip")
                    .value("{{ hostIP }}")
                    .build())
                .createdbserver(false)
                .databasetype("postgres_database")
                .dbparameterprofileid("{{ db_parameter_profile_id }}")
                .dbserverId("{{ dbserver_id }}")
                .description("add description")
                .nodes(NdbDatabaseNodeArgs.builder()
                    .dbserverid("{{ dbserver_id }}")
                    .build())
                .postgresqlInfo(NdbDatabasePostgresqlInfoArgs.builder()
                    .databaseNames("testdb1")
                    .databaseSize("{{ 200 }}")
                    .dbPassword("password")
                    .listenerPort("{{ listner_port }}")
                    .build())
                .timemachineinfo(NdbDatabaseTimemachineinfoArgs.builder()
                    .description("description of time machine")
                    .name("test-pg-inst")
                    .schedule(NdbDatabaseTimemachineinfoScheduleArgs.builder()
                        .continuousschedule(NdbDatabaseTimemachineinfoScheduleContinuousscheduleArgs.builder()
                            .enabled(true)
                            .logbackupinterval(30)
                            .snapshotsperday(1)
                            .build())
                        .monthlyschedule(NdbDatabaseTimemachineinfoScheduleMonthlyscheduleArgs.builder()
                            .dayofmonth("27")
                            .enabled(true)
                            .build())
                        .quartelyschedule(NdbDatabaseTimemachineinfoScheduleQuartelyscheduleArgs.builder()
                            .dayofmonth(27)
                            .enabled(true)
                            .startmonth("JANUARY")
                            .build())
                        .snapshottimeofday(NdbDatabaseTimemachineinfoScheduleSnapshottimeofdayArgs.builder()
                            .hours(16)
                            .minutes(0)
                            .seconds(0)
                            .build())
                        .weeklyschedule(NdbDatabaseTimemachineinfoScheduleWeeklyscheduleArgs.builder()
                            .dayofweek("WEDNESDAY")
                            .enabled(true)
                            .build())
                        .yearlyschedule(NdbDatabaseTimemachineinfoScheduleYearlyscheduleArgs.builder()
                            .dayofmonth(31)
                            .enabled(false)
                            .month("DECEMBER")
                            .build())
                        .build())
                    .slaid("{{ sla_id }}")
                    .build())
                .build());
    
        }
    }
    
    resources:
      dbp:
        type: nutanix:NdbDatabase
        properties:
          actionarguments:
            - name: host_ip
              value: '{{ hostIP }}'
          createdbserver: false
          # name of database type
          databasetype: postgres_database
          # adding the profiles details
          dbparameterprofileid: '{{ db_parameter_profile_id }}'
          # required dbserver id
          dbserverId: '{{ dbserver_id }}'
          description: add description
          # node for single instance
          nodes:
            - dbserverid: '{{ dbserver_id }}'
          # postgreSQL Info
          postgresqlInfo:
            databaseNames: testdb1
            databaseSize: '{{ 200 }}'
            dbPassword: password
            listenerPort: '{{ listner_port }}'
          # time machine info
          timemachineinfo:
            description: description of time machine
            name: test-pg-inst
            schedule:
              continuousschedule:
                enabled: true
                logbackupinterval: 30
                snapshotsperday: 1
              monthlyschedule:
                dayofmonth: '27'
                enabled: true
              quartelyschedule:
                dayofmonth: 27
                enabled: true
                startmonth: JANUARY
              snapshottimeofday:
                hours: 16
                minutes: 0
                seconds: 0
              weeklyschedule:
                dayofweek: WEDNESDAY
                enabled: true
              yearlyschedule:
                dayofmonth: 31
                enabled: false
                month: DECEMBER
            slaid: '{{ sla_id }}'
    

    lifecycle

    • Update : - Currently only update of instance’s name and description is supported using this resource

    See detailed information in NDB Database Instance.

    Create NdbDatabase Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new NdbDatabase(name: string, args?: NdbDatabaseArgs, opts?: CustomResourceOptions);
    @overload
    def NdbDatabase(resource_name: str,
                    args: Optional[NdbDatabaseArgs] = None,
                    opts: Optional[ResourceOptions] = None)
    
    @overload
    def NdbDatabase(resource_name: str,
                    opts: Optional[ResourceOptions] = None,
                    actionarguments: Optional[Sequence[NdbDatabaseActionargumentArgs]] = None,
                    autotunestagingdrive: Optional[bool] = None,
                    cluster_infos: Optional[Sequence[NdbDatabaseClusterInfoArgs]] = None,
                    clustered: Optional[bool] = None,
                    computeprofileid: Optional[str] = None,
                    createdbserver: Optional[bool] = None,
                    database_instance_id: Optional[str] = None,
                    databasetype: Optional[str] = None,
                    dbparameterprofileid: Optional[str] = None,
                    dbserverid: Optional[str] = None,
                    delete: Optional[bool] = None,
                    delete_logical_cluster: Optional[bool] = None,
                    delete_time_machine: Optional[bool] = None,
                    description: Optional[str] = None,
                    forced: Optional[bool] = None,
                    maintenance_tasks: Optional[NdbDatabaseMaintenanceTasksArgs] = None,
                    name: Optional[str] = None,
                    networkprofileid: Optional[str] = None,
                    newdbservertimezone: Optional[str] = None,
                    nodecount: Optional[int] = None,
                    nodes: Optional[Sequence[NdbDatabaseNodeArgs]] = None,
                    nxclusterid: Optional[str] = None,
                    postgresql_info: Optional[NdbDatabasePostgresqlInfoArgs] = None,
                    remove: Optional[bool] = None,
                    soft_remove: Optional[bool] = None,
                    softwareprofileid: Optional[str] = None,
                    softwareprofileversionid: Optional[str] = None,
                    sshpublickey: Optional[str] = None,
                    tags: Optional[Sequence[NdbDatabaseTagArgs]] = None,
                    timemachineinfo: Optional[NdbDatabaseTimemachineinfoArgs] = None,
                    vm_password: Optional[str] = None)
    func NewNdbDatabase(ctx *Context, name string, args *NdbDatabaseArgs, opts ...ResourceOption) (*NdbDatabase, error)
    public NdbDatabase(string name, NdbDatabaseArgs? args = null, CustomResourceOptions? opts = null)
    public NdbDatabase(String name, NdbDatabaseArgs args)
    public NdbDatabase(String name, NdbDatabaseArgs args, CustomResourceOptions options)
    
    type: nutanix:NdbDatabase
    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 NdbDatabaseArgs
    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 NdbDatabaseArgs
    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 NdbDatabaseArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args NdbDatabaseArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args NdbDatabaseArgs
    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 ndbDatabaseResource = new Nutanix.NdbDatabase("ndbDatabaseResource", new()
    {
        Actionarguments = new[]
        {
            new Nutanix.Inputs.NdbDatabaseActionargumentArgs
            {
                Name = "string",
                Value = "string",
            },
        },
        Autotunestagingdrive = false,
        ClusterInfos = new[]
        {
            new Nutanix.Inputs.NdbDatabaseClusterInfoArgs
            {
                ClusterIpInfos = new[]
                {
                    new Nutanix.Inputs.NdbDatabaseClusterInfoClusterIpInfoArgs
                    {
                        NxClusterId = "string",
                        IpInfos = new[]
                        {
                            new Nutanix.Inputs.NdbDatabaseClusterInfoClusterIpInfoIpInfoArgs
                            {
                                IpAddresses = new[]
                                {
                                    "string",
                                },
                                IpType = "string",
                            },
                        },
                    },
                },
            },
        },
        Clustered = false,
        Computeprofileid = "string",
        Createdbserver = false,
        DatabaseInstanceId = "string",
        Databasetype = "string",
        Dbparameterprofileid = "string",
        Dbserverid = "string",
        Delete = false,
        DeleteLogicalCluster = false,
        DeleteTimeMachine = false,
        Description = "string",
        Forced = false,
        MaintenanceTasks = new Nutanix.Inputs.NdbDatabaseMaintenanceTasksArgs
        {
            MaintenanceWindowId = "string",
            Tasks = new[]
            {
                new Nutanix.Inputs.NdbDatabaseMaintenanceTasksTaskArgs
                {
                    PostCommand = "string",
                    PreCommand = "string",
                    TaskType = "string",
                },
            },
        },
        Name = "string",
        Networkprofileid = "string",
        Newdbservertimezone = "string",
        Nodecount = 0,
        Nodes = new[]
        {
            new Nutanix.Inputs.NdbDatabaseNodeArgs
            {
                Vmname = "string",
                Computeprofileid = "string",
                Dbserverid = "string",
                IpInfos = new[]
                {
                    new Nutanix.Inputs.NdbDatabaseNodeIpInfoArgs
                    {
                        IpAddresses = new[]
                        {
                            "string",
                        },
                        IpType = "string",
                    },
                },
                Networkprofileid = "string",
                NxClusterId = "string",
                Properties = new[]
                {
                    new Nutanix.Inputs.NdbDatabaseNodePropertyArgs
                    {
                        Name = "string",
                        Value = "string",
                    },
                },
            },
        },
        Nxclusterid = "string",
        PostgresqlInfo = new Nutanix.Inputs.NdbDatabasePostgresqlInfoArgs
        {
            DatabaseNames = "string",
            DatabaseSize = "string",
            DbPassword = "string",
            ListenerPort = "string",
            AllocatePgHugepage = false,
            AuthMethod = "string",
            AutoTuneStagingDrive = false,
            ClusterDatabase = false,
            HaInstance = new Nutanix.Inputs.NdbDatabasePostgresqlInfoHaInstanceArgs
            {
                PatroniClusterName = "string",
                ClusterName = "string",
                ProxyReadPort = "string",
                ProxyWritePort = "string",
                BackupPolicy = "string",
                ClusterDescription = "string",
                DeployHaproxy = false,
                EnablePeerAuth = false,
                EnableSynchronousMode = false,
                FailoverMode = "string",
                NodeType = "string",
                ArchiveWalExpireDays = 0,
                ProvisionVirtualIp = false,
            },
            PostCreateScript = "string",
            PreCreateScript = "string",
        },
        Remove = false,
        SoftRemove = false,
        Softwareprofileid = "string",
        Softwareprofileversionid = "string",
        Sshpublickey = "string",
        Tags = new[]
        {
            new Nutanix.Inputs.NdbDatabaseTagArgs
            {
                EntityId = "string",
                EntityType = "string",
                TagId = "string",
                TagName = "string",
                Value = "string",
            },
        },
        Timemachineinfo = new Nutanix.Inputs.NdbDatabaseTimemachineinfoArgs
        {
            Name = "string",
            Schedule = new Nutanix.Inputs.NdbDatabaseTimemachineinfoScheduleArgs
            {
                Continuousschedule = new Nutanix.Inputs.NdbDatabaseTimemachineinfoScheduleContinuousscheduleArgs
                {
                    Enabled = false,
                    Logbackupinterval = 0,
                    Snapshotsperday = 0,
                },
                Monthlyschedule = new Nutanix.Inputs.NdbDatabaseTimemachineinfoScheduleMonthlyscheduleArgs
                {
                    Dayofmonth = 0,
                    Enabled = false,
                },
                Quartelyschedule = new Nutanix.Inputs.NdbDatabaseTimemachineinfoScheduleQuartelyscheduleArgs
                {
                    Dayofmonth = 0,
                    Enabled = false,
                    Startmonth = "string",
                },
                Snapshottimeofday = new Nutanix.Inputs.NdbDatabaseTimemachineinfoScheduleSnapshottimeofdayArgs
                {
                    Hours = 0,
                    Minutes = 0,
                    Seconds = 0,
                },
                Weeklyschedule = new Nutanix.Inputs.NdbDatabaseTimemachineinfoScheduleWeeklyscheduleArgs
                {
                    Dayofweek = "string",
                    Enabled = false,
                },
                Yearlyschedule = new Nutanix.Inputs.NdbDatabaseTimemachineinfoScheduleYearlyscheduleArgs
                {
                    Dayofmonth = 0,
                    Enabled = false,
                    Month = "string",
                },
            },
            Autotunelogdrive = false,
            Description = "string",
            SlaDetails = new[]
            {
                new Nutanix.Inputs.NdbDatabaseTimemachineinfoSlaDetailArgs
                {
                    PrimarySlas = new[]
                    {
                        new Nutanix.Inputs.NdbDatabaseTimemachineinfoSlaDetailPrimarySlaArgs
                        {
                            SlaId = "string",
                            NxClusterIds = new[]
                            {
                                "string",
                            },
                        },
                    },
                },
            },
            Slaid = "string",
            Tags = new[]
            {
                new Nutanix.Inputs.NdbDatabaseTimemachineinfoTagArgs
                {
                    EntityId = "string",
                    EntityType = "string",
                    TagId = "string",
                    TagName = "string",
                    Value = "string",
                },
            },
        },
        VmPassword = "string",
    });
    
    example, err := nutanix.NewNdbDatabase(ctx, "ndbDatabaseResource", &nutanix.NdbDatabaseArgs{
    	Actionarguments: nutanix.NdbDatabaseActionargumentArray{
    		&nutanix.NdbDatabaseActionargumentArgs{
    			Name:  pulumi.String("string"),
    			Value: pulumi.String("string"),
    		},
    	},
    	Autotunestagingdrive: pulumi.Bool(false),
    	ClusterInfos: nutanix.NdbDatabaseClusterInfoArray{
    		&nutanix.NdbDatabaseClusterInfoArgs{
    			ClusterIpInfos: nutanix.NdbDatabaseClusterInfoClusterIpInfoArray{
    				&nutanix.NdbDatabaseClusterInfoClusterIpInfoArgs{
    					NxClusterId: pulumi.String("string"),
    					IpInfos: nutanix.NdbDatabaseClusterInfoClusterIpInfoIpInfoArray{
    						&nutanix.NdbDatabaseClusterInfoClusterIpInfoIpInfoArgs{
    							IpAddresses: pulumi.StringArray{
    								pulumi.String("string"),
    							},
    							IpType: pulumi.String("string"),
    						},
    					},
    				},
    			},
    		},
    	},
    	Clustered:            pulumi.Bool(false),
    	Computeprofileid:     pulumi.String("string"),
    	Createdbserver:       pulumi.Bool(false),
    	DatabaseInstanceId:   pulumi.String("string"),
    	Databasetype:         pulumi.String("string"),
    	Dbparameterprofileid: pulumi.String("string"),
    	Dbserverid:           pulumi.String("string"),
    	Delete:               pulumi.Bool(false),
    	DeleteLogicalCluster: pulumi.Bool(false),
    	DeleteTimeMachine:    pulumi.Bool(false),
    	Description:          pulumi.String("string"),
    	Forced:               pulumi.Bool(false),
    	MaintenanceTasks: &nutanix.NdbDatabaseMaintenanceTasksArgs{
    		MaintenanceWindowId: pulumi.String("string"),
    		Tasks: nutanix.NdbDatabaseMaintenanceTasksTaskArray{
    			&nutanix.NdbDatabaseMaintenanceTasksTaskArgs{
    				PostCommand: pulumi.String("string"),
    				PreCommand:  pulumi.String("string"),
    				TaskType:    pulumi.String("string"),
    			},
    		},
    	},
    	Name:                pulumi.String("string"),
    	Networkprofileid:    pulumi.String("string"),
    	Newdbservertimezone: pulumi.String("string"),
    	Nodecount:           pulumi.Int(0),
    	Nodes: nutanix.NdbDatabaseNodeArray{
    		&nutanix.NdbDatabaseNodeArgs{
    			Vmname:           pulumi.String("string"),
    			Computeprofileid: pulumi.String("string"),
    			Dbserverid:       pulumi.String("string"),
    			IpInfos: nutanix.NdbDatabaseNodeIpInfoArray{
    				&nutanix.NdbDatabaseNodeIpInfoArgs{
    					IpAddresses: pulumi.StringArray{
    						pulumi.String("string"),
    					},
    					IpType: pulumi.String("string"),
    				},
    			},
    			Networkprofileid: pulumi.String("string"),
    			NxClusterId:      pulumi.String("string"),
    			Properties: nutanix.NdbDatabaseNodePropertyArray{
    				&nutanix.NdbDatabaseNodePropertyArgs{
    					Name:  pulumi.String("string"),
    					Value: pulumi.String("string"),
    				},
    			},
    		},
    	},
    	Nxclusterid: pulumi.String("string"),
    	PostgresqlInfo: &nutanix.NdbDatabasePostgresqlInfoArgs{
    		DatabaseNames:        pulumi.String("string"),
    		DatabaseSize:         pulumi.String("string"),
    		DbPassword:           pulumi.String("string"),
    		ListenerPort:         pulumi.String("string"),
    		AllocatePgHugepage:   pulumi.Bool(false),
    		AuthMethod:           pulumi.String("string"),
    		AutoTuneStagingDrive: pulumi.Bool(false),
    		ClusterDatabase:      pulumi.Bool(false),
    		HaInstance: &nutanix.NdbDatabasePostgresqlInfoHaInstanceArgs{
    			PatroniClusterName:    pulumi.String("string"),
    			ClusterName:           pulumi.String("string"),
    			ProxyReadPort:         pulumi.String("string"),
    			ProxyWritePort:        pulumi.String("string"),
    			BackupPolicy:          pulumi.String("string"),
    			ClusterDescription:    pulumi.String("string"),
    			DeployHaproxy:         pulumi.Bool(false),
    			EnablePeerAuth:        pulumi.Bool(false),
    			EnableSynchronousMode: pulumi.Bool(false),
    			FailoverMode:          pulumi.String("string"),
    			NodeType:              pulumi.String("string"),
    			ArchiveWalExpireDays:  pulumi.Int(0),
    			ProvisionVirtualIp:    pulumi.Bool(false),
    		},
    		PostCreateScript: pulumi.String("string"),
    		PreCreateScript:  pulumi.String("string"),
    	},
    	Remove:                   pulumi.Bool(false),
    	SoftRemove:               pulumi.Bool(false),
    	Softwareprofileid:        pulumi.String("string"),
    	Softwareprofileversionid: pulumi.String("string"),
    	Sshpublickey:             pulumi.String("string"),
    	Tags: nutanix.NdbDatabaseTagArray{
    		&nutanix.NdbDatabaseTagArgs{
    			EntityId:   pulumi.String("string"),
    			EntityType: pulumi.String("string"),
    			TagId:      pulumi.String("string"),
    			TagName:    pulumi.String("string"),
    			Value:      pulumi.String("string"),
    		},
    	},
    	Timemachineinfo: &nutanix.NdbDatabaseTimemachineinfoArgs{
    		Name: pulumi.String("string"),
    		Schedule: &nutanix.NdbDatabaseTimemachineinfoScheduleArgs{
    			Continuousschedule: &nutanix.NdbDatabaseTimemachineinfoScheduleContinuousscheduleArgs{
    				Enabled:           pulumi.Bool(false),
    				Logbackupinterval: pulumi.Int(0),
    				Snapshotsperday:   pulumi.Int(0),
    			},
    			Monthlyschedule: &nutanix.NdbDatabaseTimemachineinfoScheduleMonthlyscheduleArgs{
    				Dayofmonth: pulumi.Int(0),
    				Enabled:    pulumi.Bool(false),
    			},
    			Quartelyschedule: &nutanix.NdbDatabaseTimemachineinfoScheduleQuartelyscheduleArgs{
    				Dayofmonth: pulumi.Int(0),
    				Enabled:    pulumi.Bool(false),
    				Startmonth: pulumi.String("string"),
    			},
    			Snapshottimeofday: &nutanix.NdbDatabaseTimemachineinfoScheduleSnapshottimeofdayArgs{
    				Hours:   pulumi.Int(0),
    				Minutes: pulumi.Int(0),
    				Seconds: pulumi.Int(0),
    			},
    			Weeklyschedule: &nutanix.NdbDatabaseTimemachineinfoScheduleWeeklyscheduleArgs{
    				Dayofweek: pulumi.String("string"),
    				Enabled:   pulumi.Bool(false),
    			},
    			Yearlyschedule: &nutanix.NdbDatabaseTimemachineinfoScheduleYearlyscheduleArgs{
    				Dayofmonth: pulumi.Int(0),
    				Enabled:    pulumi.Bool(false),
    				Month:      pulumi.String("string"),
    			},
    		},
    		Autotunelogdrive: pulumi.Bool(false),
    		Description:      pulumi.String("string"),
    		SlaDetails: nutanix.NdbDatabaseTimemachineinfoSlaDetailArray{
    			&nutanix.NdbDatabaseTimemachineinfoSlaDetailArgs{
    				PrimarySlas: nutanix.NdbDatabaseTimemachineinfoSlaDetailPrimarySlaArray{
    					&nutanix.NdbDatabaseTimemachineinfoSlaDetailPrimarySlaArgs{
    						SlaId: pulumi.String("string"),
    						NxClusterIds: pulumi.StringArray{
    							pulumi.String("string"),
    						},
    					},
    				},
    			},
    		},
    		Slaid: pulumi.String("string"),
    		Tags: nutanix.NdbDatabaseTimemachineinfoTagArray{
    			&nutanix.NdbDatabaseTimemachineinfoTagArgs{
    				EntityId:   pulumi.String("string"),
    				EntityType: pulumi.String("string"),
    				TagId:      pulumi.String("string"),
    				TagName:    pulumi.String("string"),
    				Value:      pulumi.String("string"),
    			},
    		},
    	},
    	VmPassword: pulumi.String("string"),
    })
    
    var ndbDatabaseResource = new NdbDatabase("ndbDatabaseResource", NdbDatabaseArgs.builder()
        .actionarguments(NdbDatabaseActionargumentArgs.builder()
            .name("string")
            .value("string")
            .build())
        .autotunestagingdrive(false)
        .clusterInfos(NdbDatabaseClusterInfoArgs.builder()
            .clusterIpInfos(NdbDatabaseClusterInfoClusterIpInfoArgs.builder()
                .nxClusterId("string")
                .ipInfos(NdbDatabaseClusterInfoClusterIpInfoIpInfoArgs.builder()
                    .ipAddresses("string")
                    .ipType("string")
                    .build())
                .build())
            .build())
        .clustered(false)
        .computeprofileid("string")
        .createdbserver(false)
        .databaseInstanceId("string")
        .databasetype("string")
        .dbparameterprofileid("string")
        .dbserverid("string")
        .delete(false)
        .deleteLogicalCluster(false)
        .deleteTimeMachine(false)
        .description("string")
        .forced(false)
        .maintenanceTasks(NdbDatabaseMaintenanceTasksArgs.builder()
            .maintenanceWindowId("string")
            .tasks(NdbDatabaseMaintenanceTasksTaskArgs.builder()
                .postCommand("string")
                .preCommand("string")
                .taskType("string")
                .build())
            .build())
        .name("string")
        .networkprofileid("string")
        .newdbservertimezone("string")
        .nodecount(0)
        .nodes(NdbDatabaseNodeArgs.builder()
            .vmname("string")
            .computeprofileid("string")
            .dbserverid("string")
            .ipInfos(NdbDatabaseNodeIpInfoArgs.builder()
                .ipAddresses("string")
                .ipType("string")
                .build())
            .networkprofileid("string")
            .nxClusterId("string")
            .properties(NdbDatabaseNodePropertyArgs.builder()
                .name("string")
                .value("string")
                .build())
            .build())
        .nxclusterid("string")
        .postgresqlInfo(NdbDatabasePostgresqlInfoArgs.builder()
            .databaseNames("string")
            .databaseSize("string")
            .dbPassword("string")
            .listenerPort("string")
            .allocatePgHugepage(false)
            .authMethod("string")
            .autoTuneStagingDrive(false)
            .clusterDatabase(false)
            .haInstance(NdbDatabasePostgresqlInfoHaInstanceArgs.builder()
                .patroniClusterName("string")
                .clusterName("string")
                .proxyReadPort("string")
                .proxyWritePort("string")
                .backupPolicy("string")
                .clusterDescription("string")
                .deployHaproxy(false)
                .enablePeerAuth(false)
                .enableSynchronousMode(false)
                .failoverMode("string")
                .nodeType("string")
                .archiveWalExpireDays(0)
                .provisionVirtualIp(false)
                .build())
            .postCreateScript("string")
            .preCreateScript("string")
            .build())
        .remove(false)
        .softRemove(false)
        .softwareprofileid("string")
        .softwareprofileversionid("string")
        .sshpublickey("string")
        .tags(NdbDatabaseTagArgs.builder()
            .entityId("string")
            .entityType("string")
            .tagId("string")
            .tagName("string")
            .value("string")
            .build())
        .timemachineinfo(NdbDatabaseTimemachineinfoArgs.builder()
            .name("string")
            .schedule(NdbDatabaseTimemachineinfoScheduleArgs.builder()
                .continuousschedule(NdbDatabaseTimemachineinfoScheduleContinuousscheduleArgs.builder()
                    .enabled(false)
                    .logbackupinterval(0)
                    .snapshotsperday(0)
                    .build())
                .monthlyschedule(NdbDatabaseTimemachineinfoScheduleMonthlyscheduleArgs.builder()
                    .dayofmonth(0)
                    .enabled(false)
                    .build())
                .quartelyschedule(NdbDatabaseTimemachineinfoScheduleQuartelyscheduleArgs.builder()
                    .dayofmonth(0)
                    .enabled(false)
                    .startmonth("string")
                    .build())
                .snapshottimeofday(NdbDatabaseTimemachineinfoScheduleSnapshottimeofdayArgs.builder()
                    .hours(0)
                    .minutes(0)
                    .seconds(0)
                    .build())
                .weeklyschedule(NdbDatabaseTimemachineinfoScheduleWeeklyscheduleArgs.builder()
                    .dayofweek("string")
                    .enabled(false)
                    .build())
                .yearlyschedule(NdbDatabaseTimemachineinfoScheduleYearlyscheduleArgs.builder()
                    .dayofmonth(0)
                    .enabled(false)
                    .month("string")
                    .build())
                .build())
            .autotunelogdrive(false)
            .description("string")
            .slaDetails(NdbDatabaseTimemachineinfoSlaDetailArgs.builder()
                .primarySlas(NdbDatabaseTimemachineinfoSlaDetailPrimarySlaArgs.builder()
                    .slaId("string")
                    .nxClusterIds("string")
                    .build())
                .build())
            .slaid("string")
            .tags(NdbDatabaseTimemachineinfoTagArgs.builder()
                .entityId("string")
                .entityType("string")
                .tagId("string")
                .tagName("string")
                .value("string")
                .build())
            .build())
        .vmPassword("string")
        .build());
    
    ndb_database_resource = nutanix.NdbDatabase("ndbDatabaseResource",
        actionarguments=[{
            "name": "string",
            "value": "string",
        }],
        autotunestagingdrive=False,
        cluster_infos=[{
            "cluster_ip_infos": [{
                "nx_cluster_id": "string",
                "ip_infos": [{
                    "ip_addresses": ["string"],
                    "ip_type": "string",
                }],
            }],
        }],
        clustered=False,
        computeprofileid="string",
        createdbserver=False,
        database_instance_id="string",
        databasetype="string",
        dbparameterprofileid="string",
        dbserverid="string",
        delete=False,
        delete_logical_cluster=False,
        delete_time_machine=False,
        description="string",
        forced=False,
        maintenance_tasks={
            "maintenance_window_id": "string",
            "tasks": [{
                "post_command": "string",
                "pre_command": "string",
                "task_type": "string",
            }],
        },
        name="string",
        networkprofileid="string",
        newdbservertimezone="string",
        nodecount=0,
        nodes=[{
            "vmname": "string",
            "computeprofileid": "string",
            "dbserverid": "string",
            "ip_infos": [{
                "ip_addresses": ["string"],
                "ip_type": "string",
            }],
            "networkprofileid": "string",
            "nx_cluster_id": "string",
            "properties": [{
                "name": "string",
                "value": "string",
            }],
        }],
        nxclusterid="string",
        postgresql_info={
            "database_names": "string",
            "database_size": "string",
            "db_password": "string",
            "listener_port": "string",
            "allocate_pg_hugepage": False,
            "auth_method": "string",
            "auto_tune_staging_drive": False,
            "cluster_database": False,
            "ha_instance": {
                "patroni_cluster_name": "string",
                "cluster_name": "string",
                "proxy_read_port": "string",
                "proxy_write_port": "string",
                "backup_policy": "string",
                "cluster_description": "string",
                "deploy_haproxy": False,
                "enable_peer_auth": False,
                "enable_synchronous_mode": False,
                "failover_mode": "string",
                "node_type": "string",
                "archive_wal_expire_days": 0,
                "provision_virtual_ip": False,
            },
            "post_create_script": "string",
            "pre_create_script": "string",
        },
        remove=False,
        soft_remove=False,
        softwareprofileid="string",
        softwareprofileversionid="string",
        sshpublickey="string",
        tags=[{
            "entity_id": "string",
            "entity_type": "string",
            "tag_id": "string",
            "tag_name": "string",
            "value": "string",
        }],
        timemachineinfo={
            "name": "string",
            "schedule": {
                "continuousschedule": {
                    "enabled": False,
                    "logbackupinterval": 0,
                    "snapshotsperday": 0,
                },
                "monthlyschedule": {
                    "dayofmonth": 0,
                    "enabled": False,
                },
                "quartelyschedule": {
                    "dayofmonth": 0,
                    "enabled": False,
                    "startmonth": "string",
                },
                "snapshottimeofday": {
                    "hours": 0,
                    "minutes": 0,
                    "seconds": 0,
                },
                "weeklyschedule": {
                    "dayofweek": "string",
                    "enabled": False,
                },
                "yearlyschedule": {
                    "dayofmonth": 0,
                    "enabled": False,
                    "month": "string",
                },
            },
            "autotunelogdrive": False,
            "description": "string",
            "sla_details": [{
                "primary_slas": [{
                    "sla_id": "string",
                    "nx_cluster_ids": ["string"],
                }],
            }],
            "slaid": "string",
            "tags": [{
                "entity_id": "string",
                "entity_type": "string",
                "tag_id": "string",
                "tag_name": "string",
                "value": "string",
            }],
        },
        vm_password="string")
    
    const ndbDatabaseResource = new nutanix.NdbDatabase("ndbDatabaseResource", {
        actionarguments: [{
            name: "string",
            value: "string",
        }],
        autotunestagingdrive: false,
        clusterInfos: [{
            clusterIpInfos: [{
                nxClusterId: "string",
                ipInfos: [{
                    ipAddresses: ["string"],
                    ipType: "string",
                }],
            }],
        }],
        clustered: false,
        computeprofileid: "string",
        createdbserver: false,
        databaseInstanceId: "string",
        databasetype: "string",
        dbparameterprofileid: "string",
        dbserverid: "string",
        "delete": false,
        deleteLogicalCluster: false,
        deleteTimeMachine: false,
        description: "string",
        forced: false,
        maintenanceTasks: {
            maintenanceWindowId: "string",
            tasks: [{
                postCommand: "string",
                preCommand: "string",
                taskType: "string",
            }],
        },
        name: "string",
        networkprofileid: "string",
        newdbservertimezone: "string",
        nodecount: 0,
        nodes: [{
            vmname: "string",
            computeprofileid: "string",
            dbserverid: "string",
            ipInfos: [{
                ipAddresses: ["string"],
                ipType: "string",
            }],
            networkprofileid: "string",
            nxClusterId: "string",
            properties: [{
                name: "string",
                value: "string",
            }],
        }],
        nxclusterid: "string",
        postgresqlInfo: {
            databaseNames: "string",
            databaseSize: "string",
            dbPassword: "string",
            listenerPort: "string",
            allocatePgHugepage: false,
            authMethod: "string",
            autoTuneStagingDrive: false,
            clusterDatabase: false,
            haInstance: {
                patroniClusterName: "string",
                clusterName: "string",
                proxyReadPort: "string",
                proxyWritePort: "string",
                backupPolicy: "string",
                clusterDescription: "string",
                deployHaproxy: false,
                enablePeerAuth: false,
                enableSynchronousMode: false,
                failoverMode: "string",
                nodeType: "string",
                archiveWalExpireDays: 0,
                provisionVirtualIp: false,
            },
            postCreateScript: "string",
            preCreateScript: "string",
        },
        remove: false,
        softRemove: false,
        softwareprofileid: "string",
        softwareprofileversionid: "string",
        sshpublickey: "string",
        tags: [{
            entityId: "string",
            entityType: "string",
            tagId: "string",
            tagName: "string",
            value: "string",
        }],
        timemachineinfo: {
            name: "string",
            schedule: {
                continuousschedule: {
                    enabled: false,
                    logbackupinterval: 0,
                    snapshotsperday: 0,
                },
                monthlyschedule: {
                    dayofmonth: 0,
                    enabled: false,
                },
                quartelyschedule: {
                    dayofmonth: 0,
                    enabled: false,
                    startmonth: "string",
                },
                snapshottimeofday: {
                    hours: 0,
                    minutes: 0,
                    seconds: 0,
                },
                weeklyschedule: {
                    dayofweek: "string",
                    enabled: false,
                },
                yearlyschedule: {
                    dayofmonth: 0,
                    enabled: false,
                    month: "string",
                },
            },
            autotunelogdrive: false,
            description: "string",
            slaDetails: [{
                primarySlas: [{
                    slaId: "string",
                    nxClusterIds: ["string"],
                }],
            }],
            slaid: "string",
            tags: [{
                entityId: "string",
                entityType: "string",
                tagId: "string",
                tagName: "string",
                value: "string",
            }],
        },
        vmPassword: "string",
    });
    
    type: nutanix:NdbDatabase
    properties:
        actionarguments:
            - name: string
              value: string
        autotunestagingdrive: false
        clusterInfos:
            - clusterIpInfos:
                - ipInfos:
                    - ipAddresses:
                        - string
                      ipType: string
                  nxClusterId: string
        clustered: false
        computeprofileid: string
        createdbserver: false
        databaseInstanceId: string
        databasetype: string
        dbparameterprofileid: string
        dbserverid: string
        delete: false
        deleteLogicalCluster: false
        deleteTimeMachine: false
        description: string
        forced: false
        maintenanceTasks:
            maintenanceWindowId: string
            tasks:
                - postCommand: string
                  preCommand: string
                  taskType: string
        name: string
        networkprofileid: string
        newdbservertimezone: string
        nodecount: 0
        nodes:
            - computeprofileid: string
              dbserverid: string
              ipInfos:
                - ipAddresses:
                    - string
                  ipType: string
              networkprofileid: string
              nxClusterId: string
              properties:
                - name: string
                  value: string
              vmname: string
        nxclusterid: string
        postgresqlInfo:
            allocatePgHugepage: false
            authMethod: string
            autoTuneStagingDrive: false
            clusterDatabase: false
            databaseNames: string
            databaseSize: string
            dbPassword: string
            haInstance:
                archiveWalExpireDays: 0
                backupPolicy: string
                clusterDescription: string
                clusterName: string
                deployHaproxy: false
                enablePeerAuth: false
                enableSynchronousMode: false
                failoverMode: string
                nodeType: string
                patroniClusterName: string
                provisionVirtualIp: false
                proxyReadPort: string
                proxyWritePort: string
            listenerPort: string
            postCreateScript: string
            preCreateScript: string
        remove: false
        softRemove: false
        softwareprofileid: string
        softwareprofileversionid: string
        sshpublickey: string
        tags:
            - entityId: string
              entityType: string
              tagId: string
              tagName: string
              value: string
        timemachineinfo:
            autotunelogdrive: false
            description: string
            name: string
            schedule:
                continuousschedule:
                    enabled: false
                    logbackupinterval: 0
                    snapshotsperday: 0
                monthlyschedule:
                    dayofmonth: 0
                    enabled: false
                quartelyschedule:
                    dayofmonth: 0
                    enabled: false
                    startmonth: string
                snapshottimeofday:
                    hours: 0
                    minutes: 0
                    seconds: 0
                weeklyschedule:
                    dayofweek: string
                    enabled: false
                yearlyschedule:
                    dayofmonth: 0
                    enabled: false
                    month: string
            slaDetails:
                - primarySlas:
                    - nxClusterIds:
                        - string
                      slaId: string
            slaid: string
            tags:
                - entityId: string
                  entityType: string
                  tagId: string
                  tagName: string
                  value: string
        vmPassword: string
    

    NdbDatabase 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 NdbDatabase resource accepts the following input properties:

    Actionarguments List<PiersKarsenbarg.Nutanix.Inputs.NdbDatabaseActionargument>
    • (Optional) action arguments for database. For postgress, you can use postgresql_info
    Autotunestagingdrive bool
    • (Optional) Enable auto tuning of staging drive. Default: true
    ClusterInfos List<PiersKarsenbarg.Nutanix.Inputs.NdbDatabaseClusterInfo>
    Clustered bool
    • (Optional) If clustered database. Default: false
    Computeprofileid string
    • (Optional) ID of compute profile
    Createdbserver bool
    • (Optional) Set this to create new DB server VM. Default: true
    DatabaseInstanceId string
    Databasetype string
    • (Required) Type of database. Valid values: postgres_database
    Dbparameterprofileid string
    • (Optional) DB parameters profile ID
    Dbserverid string
    • (Optional) DB server VM ID for creating instance on registered DB server VM
    Delete bool
    • (Optional) Delete the database from the VM. Default value is true
    DeleteLogicalCluster bool
    • (Optional) Delete the logical cluster. Default is true
    DeleteTimeMachine bool
    • (Optional) Delete the database's Time Machine (snapshots/logs) from the NDB. Default value is true
    Description string
    • (Optional) The description
    Forced bool
    • (Optional) Force delete of instance. Default is false
    MaintenanceTasks PiersKarsenbarg.Nutanix.Inputs.NdbDatabaseMaintenanceTasks
    Name string
    • (Required) Name of the instance.
    Networkprofileid string
    • (Optional) ID of network profile
    Newdbservertimezone string
    • (Optional) Timezone of new DB server VM
    Nodecount int
    • (Optional) No. of nodes/db server vms. Default: 1
    Nodes List<PiersKarsenbarg.Nutanix.Inputs.NdbDatabaseNode>
    • (Optional) nodes info
    Nxclusterid string
    • (Optional) Cluster ID for DB server VM
    PostgresqlInfo PiersKarsenbarg.Nutanix.Inputs.NdbDatabasePostgresqlInfo
    • (Optional) action arguments for postgress type database.
    Remove bool
    • (Optional) Unregister the database from NDB. Default value is true
    SoftRemove bool
    • (Optional) Soft remove. Default will be false
    Softwareprofileid string
    • (Optional) ID of software profile
    Softwareprofileversionid string
    • (Optional) ID of version in software profile
    Sshpublickey string
    • (Optional) public key for ssh access to DB server VM
    Tags List<PiersKarsenbarg.Nutanix.Inputs.NdbDatabaseTag>
    Timemachineinfo PiersKarsenbarg.Nutanix.Inputs.NdbDatabaseTimemachineinfo
    • (Optional) time machine config
    VmPassword string
    • (Optional) password for DB server VM and era drive user
    Actionarguments []NdbDatabaseActionargumentArgs
    • (Optional) action arguments for database. For postgress, you can use postgresql_info
    Autotunestagingdrive bool
    • (Optional) Enable auto tuning of staging drive. Default: true
    ClusterInfos []NdbDatabaseClusterInfoArgs
    Clustered bool
    • (Optional) If clustered database. Default: false
    Computeprofileid string
    • (Optional) ID of compute profile
    Createdbserver bool
    • (Optional) Set this to create new DB server VM. Default: true
    DatabaseInstanceId string
    Databasetype string
    • (Required) Type of database. Valid values: postgres_database
    Dbparameterprofileid string
    • (Optional) DB parameters profile ID
    Dbserverid string
    • (Optional) DB server VM ID for creating instance on registered DB server VM
    Delete bool
    • (Optional) Delete the database from the VM. Default value is true
    DeleteLogicalCluster bool
    • (Optional) Delete the logical cluster. Default is true
    DeleteTimeMachine bool
    • (Optional) Delete the database's Time Machine (snapshots/logs) from the NDB. Default value is true
    Description string
    • (Optional) The description
    Forced bool
    • (Optional) Force delete of instance. Default is false
    MaintenanceTasks NdbDatabaseMaintenanceTasksArgs
    Name string
    • (Required) Name of the instance.
    Networkprofileid string
    • (Optional) ID of network profile
    Newdbservertimezone string
    • (Optional) Timezone of new DB server VM
    Nodecount int
    • (Optional) No. of nodes/db server vms. Default: 1
    Nodes []NdbDatabaseNodeArgs
    • (Optional) nodes info
    Nxclusterid string
    • (Optional) Cluster ID for DB server VM
    PostgresqlInfo NdbDatabasePostgresqlInfoArgs
    • (Optional) action arguments for postgress type database.
    Remove bool
    • (Optional) Unregister the database from NDB. Default value is true
    SoftRemove bool
    • (Optional) Soft remove. Default will be false
    Softwareprofileid string
    • (Optional) ID of software profile
    Softwareprofileversionid string
    • (Optional) ID of version in software profile
    Sshpublickey string
    • (Optional) public key for ssh access to DB server VM
    Tags []NdbDatabaseTagArgs
    Timemachineinfo NdbDatabaseTimemachineinfoArgs
    • (Optional) time machine config
    VmPassword string
    • (Optional) password for DB server VM and era drive user
    actionarguments List<NdbDatabaseActionargument>
    • (Optional) action arguments for database. For postgress, you can use postgresql_info
    autotunestagingdrive Boolean
    • (Optional) Enable auto tuning of staging drive. Default: true
    clusterInfos List<NdbDatabaseClusterInfo>
    clustered Boolean
    • (Optional) If clustered database. Default: false
    computeprofileid String
    • (Optional) ID of compute profile
    createdbserver Boolean
    • (Optional) Set this to create new DB server VM. Default: true
    databaseInstanceId String
    databasetype String
    • (Required) Type of database. Valid values: postgres_database
    dbparameterprofileid String
    • (Optional) DB parameters profile ID
    dbserverid String
    • (Optional) DB server VM ID for creating instance on registered DB server VM
    delete Boolean
    • (Optional) Delete the database from the VM. Default value is true
    deleteLogicalCluster Boolean
    • (Optional) Delete the logical cluster. Default is true
    deleteTimeMachine Boolean
    • (Optional) Delete the database's Time Machine (snapshots/logs) from the NDB. Default value is true
    description String
    • (Optional) The description
    forced Boolean
    • (Optional) Force delete of instance. Default is false
    maintenanceTasks NdbDatabaseMaintenanceTasks
    name String
    • (Required) Name of the instance.
    networkprofileid String
    • (Optional) ID of network profile
    newdbservertimezone String
    • (Optional) Timezone of new DB server VM
    nodecount Integer
    • (Optional) No. of nodes/db server vms. Default: 1
    nodes List<NdbDatabaseNode>
    • (Optional) nodes info
    nxclusterid String
    • (Optional) Cluster ID for DB server VM
    postgresqlInfo NdbDatabasePostgresqlInfo
    • (Optional) action arguments for postgress type database.
    remove Boolean
    • (Optional) Unregister the database from NDB. Default value is true
    softRemove Boolean
    • (Optional) Soft remove. Default will be false
    softwareprofileid String
    • (Optional) ID of software profile
    softwareprofileversionid String
    • (Optional) ID of version in software profile
    sshpublickey String
    • (Optional) public key for ssh access to DB server VM
    tags List<NdbDatabaseTag>
    timemachineinfo NdbDatabaseTimemachineinfo
    • (Optional) time machine config
    vmPassword String
    • (Optional) password for DB server VM and era drive user
    actionarguments NdbDatabaseActionargument[]
    • (Optional) action arguments for database. For postgress, you can use postgresql_info
    autotunestagingdrive boolean
    • (Optional) Enable auto tuning of staging drive. Default: true
    clusterInfos NdbDatabaseClusterInfo[]
    clustered boolean
    • (Optional) If clustered database. Default: false
    computeprofileid string
    • (Optional) ID of compute profile
    createdbserver boolean
    • (Optional) Set this to create new DB server VM. Default: true
    databaseInstanceId string
    databasetype string
    • (Required) Type of database. Valid values: postgres_database
    dbparameterprofileid string
    • (Optional) DB parameters profile ID
    dbserverid string
    • (Optional) DB server VM ID for creating instance on registered DB server VM
    delete boolean
    • (Optional) Delete the database from the VM. Default value is true
    deleteLogicalCluster boolean
    • (Optional) Delete the logical cluster. Default is true
    deleteTimeMachine boolean
    • (Optional) Delete the database's Time Machine (snapshots/logs) from the NDB. Default value is true
    description string
    • (Optional) The description
    forced boolean
    • (Optional) Force delete of instance. Default is false
    maintenanceTasks NdbDatabaseMaintenanceTasks
    name string
    • (Required) Name of the instance.
    networkprofileid string
    • (Optional) ID of network profile
    newdbservertimezone string
    • (Optional) Timezone of new DB server VM
    nodecount number
    • (Optional) No. of nodes/db server vms. Default: 1
    nodes NdbDatabaseNode[]
    • (Optional) nodes info
    nxclusterid string
    • (Optional) Cluster ID for DB server VM
    postgresqlInfo NdbDatabasePostgresqlInfo
    • (Optional) action arguments for postgress type database.
    remove boolean
    • (Optional) Unregister the database from NDB. Default value is true
    softRemove boolean
    • (Optional) Soft remove. Default will be false
    softwareprofileid string
    • (Optional) ID of software profile
    softwareprofileversionid string
    • (Optional) ID of version in software profile
    sshpublickey string
    • (Optional) public key for ssh access to DB server VM
    tags NdbDatabaseTag[]
    timemachineinfo NdbDatabaseTimemachineinfo
    • (Optional) time machine config
    vmPassword string
    • (Optional) password for DB server VM and era drive user
    actionarguments Sequence[NdbDatabaseActionargumentArgs]
    • (Optional) action arguments for database. For postgress, you can use postgresql_info
    autotunestagingdrive bool
    • (Optional) Enable auto tuning of staging drive. Default: true
    cluster_infos Sequence[NdbDatabaseClusterInfoArgs]
    clustered bool
    • (Optional) If clustered database. Default: false
    computeprofileid str
    • (Optional) ID of compute profile
    createdbserver bool
    • (Optional) Set this to create new DB server VM. Default: true
    database_instance_id str
    databasetype str
    • (Required) Type of database. Valid values: postgres_database
    dbparameterprofileid str
    • (Optional) DB parameters profile ID
    dbserverid str
    • (Optional) DB server VM ID for creating instance on registered DB server VM
    delete bool
    • (Optional) Delete the database from the VM. Default value is true
    delete_logical_cluster bool
    • (Optional) Delete the logical cluster. Default is true
    delete_time_machine bool
    • (Optional) Delete the database's Time Machine (snapshots/logs) from the NDB. Default value is true
    description str
    • (Optional) The description
    forced bool
    • (Optional) Force delete of instance. Default is false
    maintenance_tasks NdbDatabaseMaintenanceTasksArgs
    name str
    • (Required) Name of the instance.
    networkprofileid str
    • (Optional) ID of network profile
    newdbservertimezone str
    • (Optional) Timezone of new DB server VM
    nodecount int
    • (Optional) No. of nodes/db server vms. Default: 1
    nodes Sequence[NdbDatabaseNodeArgs]
    • (Optional) nodes info
    nxclusterid str
    • (Optional) Cluster ID for DB server VM
    postgresql_info NdbDatabasePostgresqlInfoArgs
    • (Optional) action arguments for postgress type database.
    remove bool
    • (Optional) Unregister the database from NDB. Default value is true
    soft_remove bool
    • (Optional) Soft remove. Default will be false
    softwareprofileid str
    • (Optional) ID of software profile
    softwareprofileversionid str
    • (Optional) ID of version in software profile
    sshpublickey str
    • (Optional) public key for ssh access to DB server VM
    tags Sequence[NdbDatabaseTagArgs]
    timemachineinfo NdbDatabaseTimemachineinfoArgs
    • (Optional) time machine config
    vm_password str
    • (Optional) password for DB server VM and era drive user
    actionarguments List<Property Map>
    • (Optional) action arguments for database. For postgress, you can use postgresql_info
    autotunestagingdrive Boolean
    • (Optional) Enable auto tuning of staging drive. Default: true
    clusterInfos List<Property Map>
    clustered Boolean
    • (Optional) If clustered database. Default: false
    computeprofileid String
    • (Optional) ID of compute profile
    createdbserver Boolean
    • (Optional) Set this to create new DB server VM. Default: true
    databaseInstanceId String
    databasetype String
    • (Required) Type of database. Valid values: postgres_database
    dbparameterprofileid String
    • (Optional) DB parameters profile ID
    dbserverid String
    • (Optional) DB server VM ID for creating instance on registered DB server VM
    delete Boolean
    • (Optional) Delete the database from the VM. Default value is true
    deleteLogicalCluster Boolean
    • (Optional) Delete the logical cluster. Default is true
    deleteTimeMachine Boolean
    • (Optional) Delete the database's Time Machine (snapshots/logs) from the NDB. Default value is true
    description String
    • (Optional) The description
    forced Boolean
    • (Optional) Force delete of instance. Default is false
    maintenanceTasks Property Map
    name String
    • (Required) Name of the instance.
    networkprofileid String
    • (Optional) ID of network profile
    newdbservertimezone String
    • (Optional) Timezone of new DB server VM
    nodecount Number
    • (Optional) No. of nodes/db server vms. Default: 1
    nodes List<Property Map>
    • (Optional) nodes info
    nxclusterid String
    • (Optional) Cluster ID for DB server VM
    postgresqlInfo Property Map
    • (Optional) action arguments for postgress type database.
    remove Boolean
    • (Optional) Unregister the database from NDB. Default value is true
    softRemove Boolean
    • (Optional) Soft remove. Default will be false
    softwareprofileid String
    • (Optional) ID of software profile
    softwareprofileversionid String
    • (Optional) ID of version in software profile
    sshpublickey String
    • (Optional) public key for ssh access to DB server VM
    tags List<Property Map>
    timemachineinfo Property Map
    • (Optional) time machine config
    vmPassword String
    • (Optional) password for DB server VM and era drive user

    Outputs

    All input properties are implicitly available as output properties. Additionally, the NdbDatabase resource produces the following output properties:

    Clone bool
    DatabaseClusterType string
    DatabaseName string
    DatabaseNodes List<PiersKarsenbarg.Nutanix.Outputs.NdbDatabaseDatabaseNode>
    DateCreated string
    DateModified string
    DbserverLogicalCluster Dictionary<string, string>
    DbserverLogicalClusterId string
    Id string
    The provider-assigned unique ID for this managed resource.
    Infos List<PiersKarsenbarg.Nutanix.Outputs.NdbDatabaseInfo>
    LcmConfigs List<PiersKarsenbarg.Nutanix.Outputs.NdbDatabaseLcmConfig>
    LinkedDatabases List<PiersKarsenbarg.Nutanix.Outputs.NdbDatabaseLinkedDatabase>
    Metric Dictionary<string, string>
    ParentDatabaseId string
    Properties List<PiersKarsenbarg.Nutanix.Outputs.NdbDatabaseProperty>
    List of all the properties
    Status string
    TimeMachineId string
    TimeMachines List<PiersKarsenbarg.Nutanix.Outputs.NdbDatabaseTimeMachine>
    TimeZone string
    Type string

    Look up Existing NdbDatabase Resource

    Get an existing NdbDatabase 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?: NdbDatabaseState, opts?: CustomResourceOptions): NdbDatabase
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            actionarguments: Optional[Sequence[NdbDatabaseActionargumentArgs]] = None,
            autotunestagingdrive: Optional[bool] = None,
            clone: Optional[bool] = None,
            cluster_infos: Optional[Sequence[NdbDatabaseClusterInfoArgs]] = None,
            clustered: Optional[bool] = None,
            computeprofileid: Optional[str] = None,
            createdbserver: Optional[bool] = None,
            database_cluster_type: Optional[str] = None,
            database_instance_id: Optional[str] = None,
            database_name: Optional[str] = None,
            database_nodes: Optional[Sequence[NdbDatabaseDatabaseNodeArgs]] = None,
            databasetype: Optional[str] = None,
            date_created: Optional[str] = None,
            date_modified: Optional[str] = None,
            dbparameterprofileid: Optional[str] = None,
            dbserver_logical_cluster: Optional[Mapping[str, str]] = None,
            dbserver_logical_cluster_id: Optional[str] = None,
            dbserverid: Optional[str] = None,
            delete: Optional[bool] = None,
            delete_logical_cluster: Optional[bool] = None,
            delete_time_machine: Optional[bool] = None,
            description: Optional[str] = None,
            forced: Optional[bool] = None,
            infos: Optional[Sequence[NdbDatabaseInfoArgs]] = None,
            lcm_configs: Optional[Sequence[NdbDatabaseLcmConfigArgs]] = None,
            linked_databases: Optional[Sequence[NdbDatabaseLinkedDatabaseArgs]] = None,
            maintenance_tasks: Optional[NdbDatabaseMaintenanceTasksArgs] = None,
            metric: Optional[Mapping[str, str]] = None,
            name: Optional[str] = None,
            networkprofileid: Optional[str] = None,
            newdbservertimezone: Optional[str] = None,
            nodecount: Optional[int] = None,
            nodes: Optional[Sequence[NdbDatabaseNodeArgs]] = None,
            nxclusterid: Optional[str] = None,
            parent_database_id: Optional[str] = None,
            postgresql_info: Optional[NdbDatabasePostgresqlInfoArgs] = None,
            properties: Optional[Sequence[NdbDatabasePropertyArgs]] = None,
            remove: Optional[bool] = None,
            soft_remove: Optional[bool] = None,
            softwareprofileid: Optional[str] = None,
            softwareprofileversionid: Optional[str] = None,
            sshpublickey: Optional[str] = None,
            status: Optional[str] = None,
            tags: Optional[Sequence[NdbDatabaseTagArgs]] = None,
            time_machine_id: Optional[str] = None,
            time_machines: Optional[Sequence[NdbDatabaseTimeMachineArgs]] = None,
            time_zone: Optional[str] = None,
            timemachineinfo: Optional[NdbDatabaseTimemachineinfoArgs] = None,
            type: Optional[str] = None,
            vm_password: Optional[str] = None) -> NdbDatabase
    func GetNdbDatabase(ctx *Context, name string, id IDInput, state *NdbDatabaseState, opts ...ResourceOption) (*NdbDatabase, error)
    public static NdbDatabase Get(string name, Input<string> id, NdbDatabaseState? state, CustomResourceOptions? opts = null)
    public static NdbDatabase get(String name, Output<String> id, NdbDatabaseState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    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.
    The following state arguments are supported:
    Actionarguments List<PiersKarsenbarg.Nutanix.Inputs.NdbDatabaseActionargument>
    • (Optional) action arguments for database. For postgress, you can use postgresql_info
    Autotunestagingdrive bool
    • (Optional) Enable auto tuning of staging drive. Default: true
    Clone bool
    ClusterInfos List<PiersKarsenbarg.Nutanix.Inputs.NdbDatabaseClusterInfo>
    Clustered bool
    • (Optional) If clustered database. Default: false
    Computeprofileid string
    • (Optional) ID of compute profile
    Createdbserver bool
    • (Optional) Set this to create new DB server VM. Default: true
    DatabaseClusterType string
    DatabaseInstanceId string
    DatabaseName string
    DatabaseNodes List<PiersKarsenbarg.Nutanix.Inputs.NdbDatabaseDatabaseNode>
    Databasetype string
    • (Required) Type of database. Valid values: postgres_database
    DateCreated string
    DateModified string
    Dbparameterprofileid string
    • (Optional) DB parameters profile ID
    DbserverLogicalCluster Dictionary<string, string>
    DbserverLogicalClusterId string
    Dbserverid string
    • (Optional) DB server VM ID for creating instance on registered DB server VM
    Delete bool
    • (Optional) Delete the database from the VM. Default value is true
    DeleteLogicalCluster bool
    • (Optional) Delete the logical cluster. Default is true
    DeleteTimeMachine bool
    • (Optional) Delete the database's Time Machine (snapshots/logs) from the NDB. Default value is true
    Description string
    • (Optional) The description
    Forced bool
    • (Optional) Force delete of instance. Default is false
    Infos List<PiersKarsenbarg.Nutanix.Inputs.NdbDatabaseInfo>
    LcmConfigs List<PiersKarsenbarg.Nutanix.Inputs.NdbDatabaseLcmConfig>
    LinkedDatabases List<PiersKarsenbarg.Nutanix.Inputs.NdbDatabaseLinkedDatabase>
    MaintenanceTasks PiersKarsenbarg.Nutanix.Inputs.NdbDatabaseMaintenanceTasks
    Metric Dictionary<string, string>
    Name string
    • (Required) Name of the instance.
    Networkprofileid string
    • (Optional) ID of network profile
    Newdbservertimezone string
    • (Optional) Timezone of new DB server VM
    Nodecount int
    • (Optional) No. of nodes/db server vms. Default: 1
    Nodes List<PiersKarsenbarg.Nutanix.Inputs.NdbDatabaseNode>
    • (Optional) nodes info
    Nxclusterid string
    • (Optional) Cluster ID for DB server VM
    ParentDatabaseId string
    PostgresqlInfo PiersKarsenbarg.Nutanix.Inputs.NdbDatabasePostgresqlInfo
    • (Optional) action arguments for postgress type database.
    Properties List<PiersKarsenbarg.Nutanix.Inputs.NdbDatabaseProperty>
    List of all the properties
    Remove bool
    • (Optional) Unregister the database from NDB. Default value is true
    SoftRemove bool
    • (Optional) Soft remove. Default will be false
    Softwareprofileid string
    • (Optional) ID of software profile
    Softwareprofileversionid string
    • (Optional) ID of version in software profile
    Sshpublickey string
    • (Optional) public key for ssh access to DB server VM
    Status string
    Tags List<PiersKarsenbarg.Nutanix.Inputs.NdbDatabaseTag>
    TimeMachineId string
    TimeMachines List<PiersKarsenbarg.Nutanix.Inputs.NdbDatabaseTimeMachine>
    TimeZone string
    Timemachineinfo PiersKarsenbarg.Nutanix.Inputs.NdbDatabaseTimemachineinfo
    • (Optional) time machine config
    Type string
    VmPassword string
    • (Optional) password for DB server VM and era drive user
    Actionarguments []NdbDatabaseActionargumentArgs
    • (Optional) action arguments for database. For postgress, you can use postgresql_info
    Autotunestagingdrive bool
    • (Optional) Enable auto tuning of staging drive. Default: true
    Clone bool
    ClusterInfos []NdbDatabaseClusterInfoArgs
    Clustered bool
    • (Optional) If clustered database. Default: false
    Computeprofileid string
    • (Optional) ID of compute profile
    Createdbserver bool
    • (Optional) Set this to create new DB server VM. Default: true
    DatabaseClusterType string
    DatabaseInstanceId string
    DatabaseName string
    DatabaseNodes []NdbDatabaseDatabaseNodeArgs
    Databasetype string
    • (Required) Type of database. Valid values: postgres_database
    DateCreated string
    DateModified string
    Dbparameterprofileid string
    • (Optional) DB parameters profile ID
    DbserverLogicalCluster map[string]string
    DbserverLogicalClusterId string
    Dbserverid string
    • (Optional) DB server VM ID for creating instance on registered DB server VM
    Delete bool
    • (Optional) Delete the database from the VM. Default value is true
    DeleteLogicalCluster bool
    • (Optional) Delete the logical cluster. Default is true
    DeleteTimeMachine bool
    • (Optional) Delete the database's Time Machine (snapshots/logs) from the NDB. Default value is true
    Description string
    • (Optional) The description
    Forced bool
    • (Optional) Force delete of instance. Default is false
    Infos []NdbDatabaseInfoArgs
    LcmConfigs []NdbDatabaseLcmConfigArgs
    LinkedDatabases []NdbDatabaseLinkedDatabaseArgs
    MaintenanceTasks NdbDatabaseMaintenanceTasksArgs
    Metric map[string]string
    Name string
    • (Required) Name of the instance.
    Networkprofileid string
    • (Optional) ID of network profile
    Newdbservertimezone string
    • (Optional) Timezone of new DB server VM
    Nodecount int
    • (Optional) No. of nodes/db server vms. Default: 1
    Nodes []NdbDatabaseNodeArgs
    • (Optional) nodes info
    Nxclusterid string
    • (Optional) Cluster ID for DB server VM
    ParentDatabaseId string
    PostgresqlInfo NdbDatabasePostgresqlInfoArgs
    • (Optional) action arguments for postgress type database.
    Properties []NdbDatabasePropertyArgs
    List of all the properties
    Remove bool
    • (Optional) Unregister the database from NDB. Default value is true
    SoftRemove bool
    • (Optional) Soft remove. Default will be false
    Softwareprofileid string
    • (Optional) ID of software profile
    Softwareprofileversionid string
    • (Optional) ID of version in software profile
    Sshpublickey string
    • (Optional) public key for ssh access to DB server VM
    Status string
    Tags []NdbDatabaseTagArgs
    TimeMachineId string
    TimeMachines []NdbDatabaseTimeMachineArgs
    TimeZone string
    Timemachineinfo NdbDatabaseTimemachineinfoArgs
    • (Optional) time machine config
    Type string
    VmPassword string
    • (Optional) password for DB server VM and era drive user
    actionarguments List<NdbDatabaseActionargument>
    • (Optional) action arguments for database. For postgress, you can use postgresql_info
    autotunestagingdrive Boolean
    • (Optional) Enable auto tuning of staging drive. Default: true
    clone_ Boolean
    clusterInfos List<NdbDatabaseClusterInfo>
    clustered Boolean
    • (Optional) If clustered database. Default: false
    computeprofileid String
    • (Optional) ID of compute profile
    createdbserver Boolean
    • (Optional) Set this to create new DB server VM. Default: true
    databaseClusterType String
    databaseInstanceId String
    databaseName String
    databaseNodes List<NdbDatabaseDatabaseNode>
    databasetype String
    • (Required) Type of database. Valid values: postgres_database
    dateCreated String
    dateModified String
    dbparameterprofileid String
    • (Optional) DB parameters profile ID
    dbserverLogicalCluster Map<String,String>
    dbserverLogicalClusterId String
    dbserverid String
    • (Optional) DB server VM ID for creating instance on registered DB server VM
    delete Boolean
    • (Optional) Delete the database from the VM. Default value is true
    deleteLogicalCluster Boolean
    • (Optional) Delete the logical cluster. Default is true
    deleteTimeMachine Boolean
    • (Optional) Delete the database's Time Machine (snapshots/logs) from the NDB. Default value is true
    description String
    • (Optional) The description
    forced Boolean
    • (Optional) Force delete of instance. Default is false
    infos List<NdbDatabaseInfo>
    lcmConfigs List<NdbDatabaseLcmConfig>
    linkedDatabases List<NdbDatabaseLinkedDatabase>
    maintenanceTasks NdbDatabaseMaintenanceTasks
    metric Map<String,String>
    name String
    • (Required) Name of the instance.
    networkprofileid String
    • (Optional) ID of network profile
    newdbservertimezone String
    • (Optional) Timezone of new DB server VM
    nodecount Integer
    • (Optional) No. of nodes/db server vms. Default: 1
    nodes List<NdbDatabaseNode>
    • (Optional) nodes info
    nxclusterid String
    • (Optional) Cluster ID for DB server VM
    parentDatabaseId String
    postgresqlInfo NdbDatabasePostgresqlInfo
    • (Optional) action arguments for postgress type database.
    properties List<NdbDatabaseProperty>
    List of all the properties
    remove Boolean
    • (Optional) Unregister the database from NDB. Default value is true
    softRemove Boolean
    • (Optional) Soft remove. Default will be false
    softwareprofileid String
    • (Optional) ID of software profile
    softwareprofileversionid String
    • (Optional) ID of version in software profile
    sshpublickey String
    • (Optional) public key for ssh access to DB server VM
    status String
    tags List<NdbDatabaseTag>
    timeMachineId String
    timeMachines List<NdbDatabaseTimeMachine>
    timeZone String
    timemachineinfo NdbDatabaseTimemachineinfo
    • (Optional) time machine config
    type String
    vmPassword String
    • (Optional) password for DB server VM and era drive user
    actionarguments NdbDatabaseActionargument[]
    • (Optional) action arguments for database. For postgress, you can use postgresql_info
    autotunestagingdrive boolean
    • (Optional) Enable auto tuning of staging drive. Default: true
    clone boolean
    clusterInfos NdbDatabaseClusterInfo[]
    clustered boolean
    • (Optional) If clustered database. Default: false
    computeprofileid string
    • (Optional) ID of compute profile
    createdbserver boolean
    • (Optional) Set this to create new DB server VM. Default: true
    databaseClusterType string
    databaseInstanceId string
    databaseName string
    databaseNodes NdbDatabaseDatabaseNode[]
    databasetype string
    • (Required) Type of database. Valid values: postgres_database
    dateCreated string
    dateModified string
    dbparameterprofileid string
    • (Optional) DB parameters profile ID
    dbserverLogicalCluster {[key: string]: string}
    dbserverLogicalClusterId string
    dbserverid string
    • (Optional) DB server VM ID for creating instance on registered DB server VM
    delete boolean
    • (Optional) Delete the database from the VM. Default value is true
    deleteLogicalCluster boolean
    • (Optional) Delete the logical cluster. Default is true
    deleteTimeMachine boolean
    • (Optional) Delete the database's Time Machine (snapshots/logs) from the NDB. Default value is true
    description string
    • (Optional) The description
    forced boolean
    • (Optional) Force delete of instance. Default is false
    infos NdbDatabaseInfo[]
    lcmConfigs NdbDatabaseLcmConfig[]
    linkedDatabases NdbDatabaseLinkedDatabase[]
    maintenanceTasks NdbDatabaseMaintenanceTasks
    metric {[key: string]: string}
    name string
    • (Required) Name of the instance.
    networkprofileid string
    • (Optional) ID of network profile
    newdbservertimezone string
    • (Optional) Timezone of new DB server VM
    nodecount number
    • (Optional) No. of nodes/db server vms. Default: 1
    nodes NdbDatabaseNode[]
    • (Optional) nodes info
    nxclusterid string
    • (Optional) Cluster ID for DB server VM
    parentDatabaseId string
    postgresqlInfo NdbDatabasePostgresqlInfo
    • (Optional) action arguments for postgress type database.
    properties NdbDatabaseProperty[]
    List of all the properties
    remove boolean
    • (Optional) Unregister the database from NDB. Default value is true
    softRemove boolean
    • (Optional) Soft remove. Default will be false
    softwareprofileid string
    • (Optional) ID of software profile
    softwareprofileversionid string
    • (Optional) ID of version in software profile
    sshpublickey string
    • (Optional) public key for ssh access to DB server VM
    status string
    tags NdbDatabaseTag[]
    timeMachineId string
    timeMachines NdbDatabaseTimeMachine[]
    timeZone string
    timemachineinfo NdbDatabaseTimemachineinfo
    • (Optional) time machine config
    type string
    vmPassword string
    • (Optional) password for DB server VM and era drive user
    actionarguments Sequence[NdbDatabaseActionargumentArgs]
    • (Optional) action arguments for database. For postgress, you can use postgresql_info
    autotunestagingdrive bool
    • (Optional) Enable auto tuning of staging drive. Default: true
    clone bool
    cluster_infos Sequence[NdbDatabaseClusterInfoArgs]
    clustered bool
    • (Optional) If clustered database. Default: false
    computeprofileid str
    • (Optional) ID of compute profile
    createdbserver bool
    • (Optional) Set this to create new DB server VM. Default: true
    database_cluster_type str
    database_instance_id str
    database_name str
    database_nodes Sequence[NdbDatabaseDatabaseNodeArgs]
    databasetype str
    • (Required) Type of database. Valid values: postgres_database
    date_created str
    date_modified str
    dbparameterprofileid str
    • (Optional) DB parameters profile ID
    dbserver_logical_cluster Mapping[str, str]
    dbserver_logical_cluster_id str
    dbserverid str
    • (Optional) DB server VM ID for creating instance on registered DB server VM
    delete bool
    • (Optional) Delete the database from the VM. Default value is true
    delete_logical_cluster bool
    • (Optional) Delete the logical cluster. Default is true
    delete_time_machine bool
    • (Optional) Delete the database's Time Machine (snapshots/logs) from the NDB. Default value is true
    description str
    • (Optional) The description
    forced bool
    • (Optional) Force delete of instance. Default is false
    infos Sequence[NdbDatabaseInfoArgs]
    lcm_configs Sequence[NdbDatabaseLcmConfigArgs]
    linked_databases Sequence[NdbDatabaseLinkedDatabaseArgs]
    maintenance_tasks NdbDatabaseMaintenanceTasksArgs
    metric Mapping[str, str]
    name str
    • (Required) Name of the instance.
    networkprofileid str
    • (Optional) ID of network profile
    newdbservertimezone str
    • (Optional) Timezone of new DB server VM
    nodecount int
    • (Optional) No. of nodes/db server vms. Default: 1
    nodes Sequence[NdbDatabaseNodeArgs]
    • (Optional) nodes info
    nxclusterid str
    • (Optional) Cluster ID for DB server VM
    parent_database_id str
    postgresql_info NdbDatabasePostgresqlInfoArgs
    • (Optional) action arguments for postgress type database.
    properties Sequence[NdbDatabasePropertyArgs]
    List of all the properties
    remove bool
    • (Optional) Unregister the database from NDB. Default value is true
    soft_remove bool
    • (Optional) Soft remove. Default will be false
    softwareprofileid str
    • (Optional) ID of software profile
    softwareprofileversionid str
    • (Optional) ID of version in software profile
    sshpublickey str
    • (Optional) public key for ssh access to DB server VM
    status str
    tags Sequence[NdbDatabaseTagArgs]
    time_machine_id str
    time_machines Sequence[NdbDatabaseTimeMachineArgs]
    time_zone str
    timemachineinfo NdbDatabaseTimemachineinfoArgs
    • (Optional) time machine config
    type str
    vm_password str
    • (Optional) password for DB server VM and era drive user
    actionarguments List<Property Map>
    • (Optional) action arguments for database. For postgress, you can use postgresql_info
    autotunestagingdrive Boolean
    • (Optional) Enable auto tuning of staging drive. Default: true
    clone Boolean
    clusterInfos List<Property Map>
    clustered Boolean
    • (Optional) If clustered database. Default: false
    computeprofileid String
    • (Optional) ID of compute profile
    createdbserver Boolean
    • (Optional) Set this to create new DB server VM. Default: true
    databaseClusterType String
    databaseInstanceId String
    databaseName String
    databaseNodes List<Property Map>
    databasetype String
    • (Required) Type of database. Valid values: postgres_database
    dateCreated String
    dateModified String
    dbparameterprofileid String
    • (Optional) DB parameters profile ID
    dbserverLogicalCluster Map<String>
    dbserverLogicalClusterId String
    dbserverid String
    • (Optional) DB server VM ID for creating instance on registered DB server VM
    delete Boolean
    • (Optional) Delete the database from the VM. Default value is true
    deleteLogicalCluster Boolean
    • (Optional) Delete the logical cluster. Default is true
    deleteTimeMachine Boolean
    • (Optional) Delete the database's Time Machine (snapshots/logs) from the NDB. Default value is true
    description String
    • (Optional) The description
    forced Boolean
    • (Optional) Force delete of instance. Default is false
    infos List<Property Map>
    lcmConfigs List<Property Map>
    linkedDatabases List<Property Map>
    maintenanceTasks Property Map
    metric Map<String>
    name String
    • (Required) Name of the instance.
    networkprofileid String
    • (Optional) ID of network profile
    newdbservertimezone String
    • (Optional) Timezone of new DB server VM
    nodecount Number
    • (Optional) No. of nodes/db server vms. Default: 1
    nodes List<Property Map>
    • (Optional) nodes info
    nxclusterid String
    • (Optional) Cluster ID for DB server VM
    parentDatabaseId String
    postgresqlInfo Property Map
    • (Optional) action arguments for postgress type database.
    properties List<Property Map>
    List of all the properties
    remove Boolean
    • (Optional) Unregister the database from NDB. Default value is true
    softRemove Boolean
    • (Optional) Soft remove. Default will be false
    softwareprofileid String
    • (Optional) ID of software profile
    softwareprofileversionid String
    • (Optional) ID of version in software profile
    sshpublickey String
    • (Optional) public key for ssh access to DB server VM
    status String
    tags List<Property Map>
    timeMachineId String
    timeMachines List<Property Map>
    timeZone String
    timemachineinfo Property Map
    • (Optional) time machine config
    type String
    vmPassword String
    • (Optional) password for DB server VM and era drive user

    Supporting Types

    NdbDatabaseActionargument, NdbDatabaseActionargumentArgs

    Name string
    • (Required) name of argument
    Value string
    • (Required) value for argument
    Name string
    • (Required) name of argument
    Value string
    • (Required) value for argument
    name String
    • (Required) name of argument
    value String
    • (Required) value for argument
    name string
    • (Required) name of argument
    value string
    • (Required) value for argument
    name str
    • (Required) name of argument
    value str
    • (Required) value for argument
    name String
    • (Required) name of argument
    value String
    • (Required) value for argument

    NdbDatabaseClusterInfo, NdbDatabaseClusterInfoArgs

    NdbDatabaseClusterInfoClusterIpInfo, NdbDatabaseClusterInfoClusterIpInfoArgs

    NxClusterId string
    • (Optional) cluster id.
    IpInfos List<PiersKarsenbarg.Nutanix.Inputs.NdbDatabaseClusterInfoClusterIpInfoIpInfo>
    • (Optional) IP infos for custom network profile.
    NxClusterId string
    • (Optional) cluster id.
    IpInfos []NdbDatabaseClusterInfoClusterIpInfoIpInfo
    • (Optional) IP infos for custom network profile.
    nxClusterId String
    • (Optional) cluster id.
    ipInfos List<NdbDatabaseClusterInfoClusterIpInfoIpInfo>
    • (Optional) IP infos for custom network profile.
    nxClusterId string
    • (Optional) cluster id.
    ipInfos NdbDatabaseClusterInfoClusterIpInfoIpInfo[]
    • (Optional) IP infos for custom network profile.
    nx_cluster_id str
    • (Optional) cluster id.
    ip_infos Sequence[NdbDatabaseClusterInfoClusterIpInfoIpInfo]
    • (Optional) IP infos for custom network profile.
    nxClusterId String
    • (Optional) cluster id.
    ipInfos List<Property Map>
    • (Optional) IP infos for custom network profile.

    NdbDatabaseClusterInfoClusterIpInfoIpInfo, NdbDatabaseClusterInfoClusterIpInfoIpInfoArgs

    IpAddresses List<string>
    IpType string
    IpAddresses []string
    IpType string
    ipAddresses List<String>
    ipType String
    ipAddresses string[]
    ipType string
    ip_addresses Sequence[str]
    ip_type str
    ipAddresses List<String>
    ipType String

    NdbDatabaseDatabaseNode, NdbDatabaseDatabaseNodeArgs

    AccessLevel map[string]string
    DatabaseId string
    DatabaseStatus string
    DateCreated string
    DateModified string
    Dbserver map[string]string
    DbserverId string
    Description string
    • (Optional) The description
    Id string
    Infos []NdbDatabaseDatabaseNodeInfo
    Name string
    • (Required) Name of the instance.
    Primary bool
    Properties []NdbDatabaseDatabaseNodeProperty
    List of all the properties
    ProtectionDomainId string
    ProtectionDomains []NdbDatabaseDatabaseNodeProtectionDomain
    SoftwareInstallationId string
    Status string
    Tags []NdbDatabaseDatabaseNodeTag
    • (Optional) tags
    accessLevel Map<String,String>
    databaseId String
    databaseStatus String
    dateCreated String
    dateModified String
    dbserver Map<String,String>
    dbserverId String
    description String
    • (Optional) The description
    id String
    infos List<NdbDatabaseDatabaseNodeInfo>
    name String
    • (Required) Name of the instance.
    primary Boolean
    properties List<NdbDatabaseDatabaseNodeProperty>
    List of all the properties
    protectionDomainId String
    protectionDomains List<NdbDatabaseDatabaseNodeProtectionDomain>
    softwareInstallationId String
    status String
    tags List<NdbDatabaseDatabaseNodeTag>
    • (Optional) tags
    accessLevel {[key: string]: string}
    databaseId string
    databaseStatus string
    dateCreated string
    dateModified string
    dbserver {[key: string]: string}
    dbserverId string
    description string
    • (Optional) The description
    id string
    infos NdbDatabaseDatabaseNodeInfo[]
    name string
    • (Required) Name of the instance.
    primary boolean
    properties NdbDatabaseDatabaseNodeProperty[]
    List of all the properties
    protectionDomainId string
    protectionDomains NdbDatabaseDatabaseNodeProtectionDomain[]
    softwareInstallationId string
    status string
    tags NdbDatabaseDatabaseNodeTag[]
    • (Optional) tags
    accessLevel Map<String>
    databaseId String
    databaseStatus String
    dateCreated String
    dateModified String
    dbserver Map<String>
    dbserverId String
    description String
    • (Optional) The description
    id String
    infos List<Property Map>
    name String
    • (Required) Name of the instance.
    primary Boolean
    properties List<Property Map>
    List of all the properties
    protectionDomainId String
    protectionDomains List<Property Map>
    softwareInstallationId String
    status String
    tags List<Property Map>
    • (Optional) tags

    NdbDatabaseDatabaseNodeInfo, NdbDatabaseDatabaseNodeInfoArgs

    Info Dictionary<string, string>
    SecureInfo Dictionary<string, string>
    Info map[string]string
    SecureInfo map[string]string
    info Map<String,String>
    secureInfo Map<String,String>
    info {[key: string]: string}
    secureInfo {[key: string]: string}
    info Mapping[str, str]
    secure_info Mapping[str, str]
    info Map<String>
    secureInfo Map<String>

    NdbDatabaseDatabaseNodeProperty, NdbDatabaseDatabaseNodePropertyArgs

    Description string
    • (Optional) The description
    Name string
    • (Required) Name of the instance.
    RefId string
    Secure bool
    Value string
    • (Required) value for argument
    Description string
    • (Optional) The description
    Name string
    • (Required) Name of the instance.
    RefId string
    Secure bool
    Value string
    • (Required) value for argument
    description String
    • (Optional) The description
    name String
    • (Required) Name of the instance.
    refId String
    secure Boolean
    value String
    • (Required) value for argument
    description string
    • (Optional) The description
    name string
    • (Required) Name of the instance.
    refId string
    secure boolean
    value string
    • (Required) value for argument
    description str
    • (Optional) The description
    name str
    • (Required) Name of the instance.
    ref_id str
    secure bool
    value str
    • (Required) value for argument
    description String
    • (Optional) The description
    name String
    • (Required) Name of the instance.
    refId String
    secure Boolean
    value String
    • (Required) value for argument

    NdbDatabaseDatabaseNodeProtectionDomain, NdbDatabaseDatabaseNodeProtectionDomainArgs

    AssocEntities List<string>
    CloudId string
    DateCreated string
    DateModified string
    Description string
    • (Optional) The description
    EraCreated bool
    Id string
    Name string
    • (Required) Name of the instance.
    OwnerId string
    PrimaryHost string
    Properties List<PiersKarsenbarg.Nutanix.Inputs.NdbDatabaseDatabaseNodeProtectionDomainProperty>
    List of all the properties
    Status string
    Type string
    AssocEntities []string
    CloudId string
    DateCreated string
    DateModified string
    Description string
    • (Optional) The description
    EraCreated bool
    Id string
    Name string
    • (Required) Name of the instance.
    OwnerId string
    PrimaryHost string
    Properties []NdbDatabaseDatabaseNodeProtectionDomainProperty
    List of all the properties
    Status string
    Type string
    assocEntities List<String>
    cloudId String
    dateCreated String
    dateModified String
    description String
    • (Optional) The description
    eraCreated Boolean
    id String
    name String
    • (Required) Name of the instance.
    ownerId String
    primaryHost String
    properties List<NdbDatabaseDatabaseNodeProtectionDomainProperty>
    List of all the properties
    status String
    type String
    assocEntities string[]
    cloudId string
    dateCreated string
    dateModified string
    description string
    • (Optional) The description
    eraCreated boolean
    id string
    name string
    • (Required) Name of the instance.
    ownerId string
    primaryHost string
    properties NdbDatabaseDatabaseNodeProtectionDomainProperty[]
    List of all the properties
    status string
    type string
    assoc_entities Sequence[str]
    cloud_id str
    date_created str
    date_modified str
    description str
    • (Optional) The description
    era_created bool
    id str
    name str
    • (Required) Name of the instance.
    owner_id str
    primary_host str
    properties Sequence[NdbDatabaseDatabaseNodeProtectionDomainProperty]
    List of all the properties
    status str
    type str
    assocEntities List<String>
    cloudId String
    dateCreated String
    dateModified String
    description String
    • (Optional) The description
    eraCreated Boolean
    id String
    name String
    • (Required) Name of the instance.
    ownerId String
    primaryHost String
    properties List<Property Map>
    List of all the properties
    status String
    type String

    NdbDatabaseDatabaseNodeProtectionDomainProperty, NdbDatabaseDatabaseNodeProtectionDomainPropertyArgs

    Description string
    • (Optional) The description
    Name string
    • (Required) Name of the instance.
    RefId string
    Secure bool
    Value string
    • (Required) value for argument
    Description string
    • (Optional) The description
    Name string
    • (Required) Name of the instance.
    RefId string
    Secure bool
    Value string
    • (Required) value for argument
    description String
    • (Optional) The description
    name String
    • (Required) Name of the instance.
    refId String
    secure Boolean
    value String
    • (Required) value for argument
    description string
    • (Optional) The description
    name string
    • (Required) Name of the instance.
    refId string
    secure boolean
    value string
    • (Required) value for argument
    description str
    • (Optional) The description
    name str
    • (Required) Name of the instance.
    ref_id str
    secure bool
    value str
    • (Required) value for argument
    description String
    • (Optional) The description
    name String
    • (Required) Name of the instance.
    refId String
    secure Boolean
    value String
    • (Required) value for argument

    NdbDatabaseDatabaseNodeTag, NdbDatabaseDatabaseNodeTagArgs

    EntityId string
    EntityType string
    TagId string
    TagName string
    Value string
    • (Required) value for argument
    EntityId string
    EntityType string
    TagId string
    TagName string
    Value string
    • (Required) value for argument
    entityId String
    entityType String
    tagId String
    tagName String
    value String
    • (Required) value for argument
    entityId string
    entityType string
    tagId string
    tagName string
    value string
    • (Required) value for argument
    entity_id str
    entity_type str
    tag_id str
    tag_name str
    value str
    • (Required) value for argument
    entityId String
    entityType String
    tagId String
    tagName String
    value String
    • (Required) value for argument

    NdbDatabaseInfo, NdbDatabaseInfoArgs

    NdbDatabaseInfoBpgConfig, NdbDatabaseInfoBpgConfigArgs

    NdbDatabaseInfoBpgConfigBpgDbParam, NdbDatabaseInfoBpgConfigBpgDbParamArgs

    NdbDatabaseInfoBpgConfigStorage, NdbDatabaseInfoBpgConfigStorageArgs

    NdbDatabaseInfoBpgConfigStorageArchiveStorage, NdbDatabaseInfoBpgConfigStorageArchiveStorageArgs

    Size double
    Size float64
    size Double
    size number
    size float
    size Number

    NdbDatabaseInfoBpgConfigStorageDataDisk, NdbDatabaseInfoBpgConfigStorageDataDiskArgs

    Count double
    Count float64
    count Double
    count number
    count float
    count Number

    NdbDatabaseInfoBpgConfigStorageLogDisk, NdbDatabaseInfoBpgConfigStorageLogDiskArgs

    Count double
    Size double
    Count float64
    Size float64
    count Double
    size Double
    count number
    size number
    count float
    size float
    count Number
    size Number

    NdbDatabaseInfoBpgConfigVmProperty, NdbDatabaseInfoBpgConfigVmPropertyArgs

    NdbDatabaseLcmConfig, NdbDatabaseLcmConfigArgs

    NdbDatabaseLcmConfigExpiryDetail, NdbDatabaseLcmConfigExpiryDetailArgs

    DeleteDatabase bool
    DeleteTimeMachine bool
    • (Optional) Delete the database's Time Machine (snapshots/logs) from the NDB. Default value is true
    DeleteVm bool
    EffectiveTimestamp string
    ExpireInDays int
    ExpiryDateTimezone string
    ExpiryTimestamp string
    RemindBeforeInDays int
    UserCreated bool
    DeleteDatabase bool
    DeleteTimeMachine bool
    • (Optional) Delete the database's Time Machine (snapshots/logs) from the NDB. Default value is true
    DeleteVm bool
    EffectiveTimestamp string
    ExpireInDays int
    ExpiryDateTimezone string
    ExpiryTimestamp string
    RemindBeforeInDays int
    UserCreated bool
    deleteDatabase Boolean
    deleteTimeMachine Boolean
    • (Optional) Delete the database's Time Machine (snapshots/logs) from the NDB. Default value is true
    deleteVm Boolean
    effectiveTimestamp String
    expireInDays Integer
    expiryDateTimezone String
    expiryTimestamp String
    remindBeforeInDays Integer
    userCreated Boolean
    deleteDatabase boolean
    deleteTimeMachine boolean
    • (Optional) Delete the database's Time Machine (snapshots/logs) from the NDB. Default value is true
    deleteVm boolean
    effectiveTimestamp string
    expireInDays number
    expiryDateTimezone string
    expiryTimestamp string
    remindBeforeInDays number
    userCreated boolean
    delete_database bool
    delete_time_machine bool
    • (Optional) Delete the database's Time Machine (snapshots/logs) from the NDB. Default value is true
    delete_vm bool
    effective_timestamp str
    expire_in_days int
    expiry_date_timezone str
    expiry_timestamp str
    remind_before_in_days int
    user_created bool
    deleteDatabase Boolean
    deleteTimeMachine Boolean
    • (Optional) Delete the database's Time Machine (snapshots/logs) from the NDB. Default value is true
    deleteVm Boolean
    effectiveTimestamp String
    expireInDays Number
    expiryDateTimezone String
    expiryTimestamp String
    remindBeforeInDays Number
    userCreated Boolean

    NdbDatabaseLcmConfigPostDeleteCommand, NdbDatabaseLcmConfigPostDeleteCommandArgs

    Command string
    Command string
    command String
    command string
    command String

    NdbDatabaseLcmConfigPreDeleteCommand, NdbDatabaseLcmConfigPreDeleteCommandArgs

    Command string
    Command string
    command String
    command string
    command String

    NdbDatabaseLcmConfigRefreshDetail, NdbDatabaseLcmConfigRefreshDetailArgs

    NdbDatabaseLinkedDatabase, NdbDatabaseLinkedDatabaseArgs

    DatabaseName string
    DatabaseStatus string
    DateCreated string
    DateModified string
    Description string
    • (Optional) The description
    Id string
    Infos List<PiersKarsenbarg.Nutanix.Inputs.NdbDatabaseLinkedDatabaseInfo>
    Metric Dictionary<string, string>
    Name string
    • (Required) Name of the instance.
    ParentDatabaseId string
    ParentLinkedDatabaseId string
    SnapshotId string
    Status string
    Timezone string
    DatabaseName string
    DatabaseStatus string
    DateCreated string
    DateModified string
    Description string
    • (Optional) The description
    Id string
    Infos []NdbDatabaseLinkedDatabaseInfo
    Metric map[string]string
    Name string
    • (Required) Name of the instance.
    ParentDatabaseId string
    ParentLinkedDatabaseId string
    SnapshotId string
    Status string
    Timezone string
    databaseName String
    databaseStatus String
    dateCreated String
    dateModified String
    description String
    • (Optional) The description
    id String
    infos List<NdbDatabaseLinkedDatabaseInfo>
    metric Map<String,String>
    name String
    • (Required) Name of the instance.
    parentDatabaseId String
    parentLinkedDatabaseId String
    snapshotId String
    status String
    timezone String
    databaseName string
    databaseStatus string
    dateCreated string
    dateModified string
    description string
    • (Optional) The description
    id string
    infos NdbDatabaseLinkedDatabaseInfo[]
    metric {[key: string]: string}
    name string
    • (Required) Name of the instance.
    parentDatabaseId string
    parentLinkedDatabaseId string
    snapshotId string
    status string
    timezone string
    databaseName String
    databaseStatus String
    dateCreated String
    dateModified String
    description String
    • (Optional) The description
    id String
    infos List<Property Map>
    metric Map<String>
    name String
    • (Required) Name of the instance.
    parentDatabaseId String
    parentLinkedDatabaseId String
    snapshotId String
    status String
    timezone String

    NdbDatabaseLinkedDatabaseInfo, NdbDatabaseLinkedDatabaseInfoArgs

    Info Dictionary<string, string>
    SecureInfo Dictionary<string, string>
    Info map[string]string
    SecureInfo map[string]string
    info Map<String,String>
    secureInfo Map<String,String>
    info {[key: string]: string}
    secureInfo {[key: string]: string}
    info Mapping[str, str]
    secure_info Mapping[str, str]
    info Map<String>
    secureInfo Map<String>

    NdbDatabaseMaintenanceTasks, NdbDatabaseMaintenanceTasksArgs

    NdbDatabaseMaintenanceTasksTask, NdbDatabaseMaintenanceTasksTaskArgs

    PostCommand string
    PreCommand string
    TaskType string
    PostCommand string
    PreCommand string
    TaskType string
    postCommand String
    preCommand String
    taskType String
    postCommand string
    preCommand string
    taskType string
    postCommand String
    preCommand String
    taskType String

    NdbDatabaseNode, NdbDatabaseNodeArgs

    Vmname string
    • (Required) name of vm
    Computeprofileid string
    • (Optional) compute profile id
    Dbserverid string
    • (Optional) Database server ID required for existing VM
    IpInfos List<PiersKarsenbarg.Nutanix.Inputs.NdbDatabaseNodeIpInfo>
    • (Optional) IP infos for custom network profile.
    Networkprofileid string
    • (Required) network profile ID
    NxClusterId string
    • (Optional) cluster id.
    Properties List<PiersKarsenbarg.Nutanix.Inputs.NdbDatabaseNodeProperty>
    • (Optional) list of additional properties
    Vmname string
    • (Required) name of vm
    Computeprofileid string
    • (Optional) compute profile id
    Dbserverid string
    • (Optional) Database server ID required for existing VM
    IpInfos []NdbDatabaseNodeIpInfo
    • (Optional) IP infos for custom network profile.
    Networkprofileid string
    • (Required) network profile ID
    NxClusterId string
    • (Optional) cluster id.
    Properties []NdbDatabaseNodeProperty
    • (Optional) list of additional properties
    vmname String
    • (Required) name of vm
    computeprofileid String
    • (Optional) compute profile id
    dbserverid String
    • (Optional) Database server ID required for existing VM
    ipInfos List<NdbDatabaseNodeIpInfo>
    • (Optional) IP infos for custom network profile.
    networkprofileid String
    • (Required) network profile ID
    nxClusterId String
    • (Optional) cluster id.
    properties List<NdbDatabaseNodeProperty>
    • (Optional) list of additional properties
    vmname string
    • (Required) name of vm
    computeprofileid string
    • (Optional) compute profile id
    dbserverid string
    • (Optional) Database server ID required for existing VM
    ipInfos NdbDatabaseNodeIpInfo[]
    • (Optional) IP infos for custom network profile.
    networkprofileid string
    • (Required) network profile ID
    nxClusterId string
    • (Optional) cluster id.
    properties NdbDatabaseNodeProperty[]
    • (Optional) list of additional properties
    vmname str
    • (Required) name of vm
    computeprofileid str
    • (Optional) compute profile id
    dbserverid str
    • (Optional) Database server ID required for existing VM
    ip_infos Sequence[NdbDatabaseNodeIpInfo]
    • (Optional) IP infos for custom network profile.
    networkprofileid str
    • (Required) network profile ID
    nx_cluster_id str
    • (Optional) cluster id.
    properties Sequence[NdbDatabaseNodeProperty]
    • (Optional) list of additional properties
    vmname String
    • (Required) name of vm
    computeprofileid String
    • (Optional) compute profile id
    dbserverid String
    • (Optional) Database server ID required for existing VM
    ipInfos List<Property Map>
    • (Optional) IP infos for custom network profile.
    networkprofileid String
    • (Required) network profile ID
    nxClusterId String
    • (Optional) cluster id.
    properties List<Property Map>
    • (Optional) list of additional properties

    NdbDatabaseNodeIpInfo, NdbDatabaseNodeIpInfoArgs

    IpAddresses List<string>
    IpType string
    IpAddresses []string
    IpType string
    ipAddresses List<String>
    ipType String
    ipAddresses string[]
    ipType string
    ip_addresses Sequence[str]
    ip_type str
    ipAddresses List<String>
    ipType String

    NdbDatabaseNodeProperty, NdbDatabaseNodePropertyArgs

    Name string
    • (Required) Name of the instance.
    Value string
    • (Required) value for argument
    Name string
    • (Required) Name of the instance.
    Value string
    • (Required) value for argument
    name String
    • (Required) Name of the instance.
    value String
    • (Required) value for argument
    name string
    • (Required) Name of the instance.
    value string
    • (Required) value for argument
    name str
    • (Required) Name of the instance.
    value str
    • (Required) value for argument
    name String
    • (Required) Name of the instance.
    value String
    • (Required) value for argument

    NdbDatabasePostgresqlInfo, NdbDatabasePostgresqlInfoArgs

    DatabaseNames string
    • (Required) name of initial database to be created
    DatabaseSize string
    • (Required) initial database size
    DbPassword string
    • (Required) database instance password
    ListenerPort string
    • (Required) listener port for database instance
    AllocatePgHugepage bool
    • (Optional) allocate huge page. Default: false
    AuthMethod string
    • (Optional) auth methods. Default: md5
    AutoTuneStagingDrive bool
    • (Optional) enable auto tuning of staging drive. Default: false
    ClusterDatabase bool
    • (Optional) if clustered database. Default: false
    HaInstance PiersKarsenbarg.Nutanix.Inputs.NdbDatabasePostgresqlInfoHaInstance
    • (Optional) High Availability instance
    PostCreateScript string
    • (Optional) post instance create script
    PreCreateScript string
    • (Optional) pre instance create script
    DatabaseNames string
    • (Required) name of initial database to be created
    DatabaseSize string
    • (Required) initial database size
    DbPassword string
    • (Required) database instance password
    ListenerPort string
    • (Required) listener port for database instance
    AllocatePgHugepage bool
    • (Optional) allocate huge page. Default: false
    AuthMethod string
    • (Optional) auth methods. Default: md5
    AutoTuneStagingDrive bool
    • (Optional) enable auto tuning of staging drive. Default: false
    ClusterDatabase bool
    • (Optional) if clustered database. Default: false
    HaInstance NdbDatabasePostgresqlInfoHaInstance
    • (Optional) High Availability instance
    PostCreateScript string
    • (Optional) post instance create script
    PreCreateScript string
    • (Optional) pre instance create script
    databaseNames String
    • (Required) name of initial database to be created
    databaseSize String
    • (Required) initial database size
    dbPassword String
    • (Required) database instance password
    listenerPort String
    • (Required) listener port for database instance
    allocatePgHugepage Boolean
    • (Optional) allocate huge page. Default: false
    authMethod String
    • (Optional) auth methods. Default: md5
    autoTuneStagingDrive Boolean
    • (Optional) enable auto tuning of staging drive. Default: false
    clusterDatabase Boolean
    • (Optional) if clustered database. Default: false
    haInstance NdbDatabasePostgresqlInfoHaInstance
    • (Optional) High Availability instance
    postCreateScript String
    • (Optional) post instance create script
    preCreateScript String
    • (Optional) pre instance create script
    databaseNames string
    • (Required) name of initial database to be created
    databaseSize string
    • (Required) initial database size
    dbPassword string
    • (Required) database instance password
    listenerPort string
    • (Required) listener port for database instance
    allocatePgHugepage boolean
    • (Optional) allocate huge page. Default: false
    authMethod string
    • (Optional) auth methods. Default: md5
    autoTuneStagingDrive boolean
    • (Optional) enable auto tuning of staging drive. Default: false
    clusterDatabase boolean
    • (Optional) if clustered database. Default: false
    haInstance NdbDatabasePostgresqlInfoHaInstance
    • (Optional) High Availability instance
    postCreateScript string
    • (Optional) post instance create script
    preCreateScript string
    • (Optional) pre instance create script
    database_names str
    • (Required) name of initial database to be created
    database_size str
    • (Required) initial database size
    db_password str
    • (Required) database instance password
    listener_port str
    • (Required) listener port for database instance
    allocate_pg_hugepage bool
    • (Optional) allocate huge page. Default: false
    auth_method str
    • (Optional) auth methods. Default: md5
    auto_tune_staging_drive bool
    • (Optional) enable auto tuning of staging drive. Default: false
    cluster_database bool
    • (Optional) if clustered database. Default: false
    ha_instance NdbDatabasePostgresqlInfoHaInstance
    • (Optional) High Availability instance
    post_create_script str
    • (Optional) post instance create script
    pre_create_script str
    • (Optional) pre instance create script
    databaseNames String
    • (Required) name of initial database to be created
    databaseSize String
    • (Required) initial database size
    dbPassword String
    • (Required) database instance password
    listenerPort String
    • (Required) listener port for database instance
    allocatePgHugepage Boolean
    • (Optional) allocate huge page. Default: false
    authMethod String
    • (Optional) auth methods. Default: md5
    autoTuneStagingDrive Boolean
    • (Optional) enable auto tuning of staging drive. Default: false
    clusterDatabase Boolean
    • (Optional) if clustered database. Default: false
    haInstance Property Map
    • (Optional) High Availability instance
    postCreateScript String
    • (Optional) post instance create script
    preCreateScript String
    • (Optional) pre instance create script

    NdbDatabasePostgresqlInfoHaInstance, NdbDatabasePostgresqlInfoHaInstanceArgs

    ClusterName string
    • (Required) cluster name
    PatroniClusterName string
    • (Required) patroni cluster name
    ProxyReadPort string
    • (Required) proxy read port
    ProxyWritePort string
    • (Required) proxy write port
    ArchiveWalExpireDays int
    • (Optional) archive wal expire days. Default is set to -1
    BackupPolicy string
    • (Optional) backup policy for instance. Default is "primary_only"
    ClusterDescription string
    DeployHaproxy bool
    • (Optional) HA proxy node. Default is set to false
    EnablePeerAuth bool
    • (Optional) enable peer auth . Default is set to false.
    EnableSynchronousMode bool
    • (Optional) enable synchronous mode. Default is set to true
    FailoverMode string
    • (Optional) failover mode of nodes.
    NodeType string
    • (Optional) node type of instance. Default is set to database
    ProvisionVirtualIp bool
    • (Optional) provisional virtual ip. Default is set to true
    ClusterName string
    • (Required) cluster name
    PatroniClusterName string
    • (Required) patroni cluster name
    ProxyReadPort string
    • (Required) proxy read port
    ProxyWritePort string
    • (Required) proxy write port
    ArchiveWalExpireDays int
    • (Optional) archive wal expire days. Default is set to -1
    BackupPolicy string
    • (Optional) backup policy for instance. Default is "primary_only"
    ClusterDescription string
    DeployHaproxy bool
    • (Optional) HA proxy node. Default is set to false
    EnablePeerAuth bool
    • (Optional) enable peer auth . Default is set to false.
    EnableSynchronousMode bool
    • (Optional) enable synchronous mode. Default is set to true
    FailoverMode string
    • (Optional) failover mode of nodes.
    NodeType string
    • (Optional) node type of instance. Default is set to database
    ProvisionVirtualIp bool
    • (Optional) provisional virtual ip. Default is set to true
    clusterName String
    • (Required) cluster name
    patroniClusterName String
    • (Required) patroni cluster name
    proxyReadPort String
    • (Required) proxy read port
    proxyWritePort String
    • (Required) proxy write port
    archiveWalExpireDays Integer
    • (Optional) archive wal expire days. Default is set to -1
    backupPolicy String
    • (Optional) backup policy for instance. Default is "primary_only"
    clusterDescription String
    deployHaproxy Boolean
    • (Optional) HA proxy node. Default is set to false
    enablePeerAuth Boolean
    • (Optional) enable peer auth . Default is set to false.
    enableSynchronousMode Boolean
    • (Optional) enable synchronous mode. Default is set to true
    failoverMode String
    • (Optional) failover mode of nodes.
    nodeType String
    • (Optional) node type of instance. Default is set to database
    provisionVirtualIp Boolean
    • (Optional) provisional virtual ip. Default is set to true
    clusterName string
    • (Required) cluster name
    patroniClusterName string
    • (Required) patroni cluster name
    proxyReadPort string
    • (Required) proxy read port
    proxyWritePort string
    • (Required) proxy write port
    archiveWalExpireDays number
    • (Optional) archive wal expire days. Default is set to -1
    backupPolicy string
    • (Optional) backup policy for instance. Default is "primary_only"
    clusterDescription string
    deployHaproxy boolean
    • (Optional) HA proxy node. Default is set to false
    enablePeerAuth boolean
    • (Optional) enable peer auth . Default is set to false.
    enableSynchronousMode boolean
    • (Optional) enable synchronous mode. Default is set to true
    failoverMode string
    • (Optional) failover mode of nodes.
    nodeType string
    • (Optional) node type of instance. Default is set to database
    provisionVirtualIp boolean
    • (Optional) provisional virtual ip. Default is set to true
    cluster_name str
    • (Required) cluster name
    patroni_cluster_name str
    • (Required) patroni cluster name
    proxy_read_port str
    • (Required) proxy read port
    proxy_write_port str
    • (Required) proxy write port
    archive_wal_expire_days int
    • (Optional) archive wal expire days. Default is set to -1
    backup_policy str
    • (Optional) backup policy for instance. Default is "primary_only"
    cluster_description str
    deploy_haproxy bool
    • (Optional) HA proxy node. Default is set to false
    enable_peer_auth bool
    • (Optional) enable peer auth . Default is set to false.
    enable_synchronous_mode bool
    • (Optional) enable synchronous mode. Default is set to true
    failover_mode str
    • (Optional) failover mode of nodes.
    node_type str
    • (Optional) node type of instance. Default is set to database
    provision_virtual_ip bool
    • (Optional) provisional virtual ip. Default is set to true
    clusterName String
    • (Required) cluster name
    patroniClusterName String
    • (Required) patroni cluster name
    proxyReadPort String
    • (Required) proxy read port
    proxyWritePort String
    • (Required) proxy write port
    archiveWalExpireDays Number
    • (Optional) archive wal expire days. Default is set to -1
    backupPolicy String
    • (Optional) backup policy for instance. Default is "primary_only"
    clusterDescription String
    deployHaproxy Boolean
    • (Optional) HA proxy node. Default is set to false
    enablePeerAuth Boolean
    • (Optional) enable peer auth . Default is set to false.
    enableSynchronousMode Boolean
    • (Optional) enable synchronous mode. Default is set to true
    failoverMode String
    • (Optional) failover mode of nodes.
    nodeType String
    • (Optional) node type of instance. Default is set to database
    provisionVirtualIp Boolean
    • (Optional) provisional virtual ip. Default is set to true

    NdbDatabaseProperty, NdbDatabasePropertyArgs

    Name string
    • (Required) Name of the instance.
    Value string
    • (Required) value for argument
    Name string
    • (Required) Name of the instance.
    Value string
    • (Required) value for argument
    name String
    • (Required) Name of the instance.
    value String
    • (Required) value for argument
    name string
    • (Required) Name of the instance.
    value string
    • (Required) value for argument
    name str
    • (Required) Name of the instance.
    value str
    • (Required) value for argument
    name String
    • (Required) Name of the instance.
    value String
    • (Required) value for argument

    NdbDatabaseTag, NdbDatabaseTagArgs

    EntityId string
    EntityType string
    TagId string
    TagName string
    Value string
    • (Required) value for argument
    EntityId string
    EntityType string
    TagId string
    TagName string
    Value string
    • (Required) value for argument
    entityId String
    entityType String
    tagId String
    tagName String
    value String
    • (Required) value for argument
    entityId string
    entityType string
    tagId string
    tagName string
    value string
    • (Required) value for argument
    entity_id str
    entity_type str
    tag_id str
    tag_name str
    value str
    • (Required) value for argument
    entityId String
    entityType String
    tagId String
    tagName String
    value String
    • (Required) value for argument

    NdbDatabaseTimeMachine, NdbDatabaseTimeMachineArgs

    AccessLevel string
    Clone bool
    Clones string
    Clustered bool
    • (Optional) If clustered database. Default: false
    Database string
    DatabaseId string
    DateCreated string
    DateModified string
    Description string
    • (Optional) The description
    EaStatus string
    Id string
    Metric string
    Name string
    • (Required) Name of the instance.
    Properties List<PiersKarsenbarg.Nutanix.Inputs.NdbDatabaseTimeMachineProperty>
    List of all the properties
    ScheduleId string
    Schedules List<PiersKarsenbarg.Nutanix.Inputs.NdbDatabaseTimeMachineSchedule>
    • (Optional) schedule for snapshots
    Scope string
    SlaId string
    SlaUpdateInProgress bool
    SlaUpdateMetadata string
    Slas List<PiersKarsenbarg.Nutanix.Inputs.NdbDatabaseTimeMachineSla>
    SourceNxClusters List<string>
    Status string
    Tags List<PiersKarsenbarg.Nutanix.Inputs.NdbDatabaseTimeMachineTag>
    • (Optional) tags
    Type string
    AccessLevel string
    Clone bool
    Clones string
    Clustered bool
    • (Optional) If clustered database. Default: false
    Database string
    DatabaseId string
    DateCreated string
    DateModified string
    Description string
    • (Optional) The description
    EaStatus string
    Id string
    Metric string
    Name string
    • (Required) Name of the instance.
    Properties []NdbDatabaseTimeMachineProperty
    List of all the properties
    ScheduleId string
    Schedules []NdbDatabaseTimeMachineSchedule
    • (Optional) schedule for snapshots
    Scope string
    SlaId string
    SlaUpdateInProgress bool
    SlaUpdateMetadata string
    Slas []NdbDatabaseTimeMachineSla
    SourceNxClusters []string
    Status string
    Tags []NdbDatabaseTimeMachineTag
    • (Optional) tags
    Type string
    accessLevel String
    clone_ Boolean
    clones String
    clustered Boolean
    • (Optional) If clustered database. Default: false
    database String
    databaseId String
    dateCreated String
    dateModified String
    description String
    • (Optional) The description
    eaStatus String
    id String
    metric String
    name String
    • (Required) Name of the instance.
    properties List<NdbDatabaseTimeMachineProperty>
    List of all the properties
    scheduleId String
    schedules List<NdbDatabaseTimeMachineSchedule>
    • (Optional) schedule for snapshots
    scope String
    slaId String
    slaUpdateInProgress Boolean
    slaUpdateMetadata String
    slas List<NdbDatabaseTimeMachineSla>
    sourceNxClusters List<String>
    status String
    tags List<NdbDatabaseTimeMachineTag>
    • (Optional) tags
    type String
    accessLevel string
    clone boolean
    clones string
    clustered boolean
    • (Optional) If clustered database. Default: false
    database string
    databaseId string
    dateCreated string
    dateModified string
    description string
    • (Optional) The description
    eaStatus string
    id string
    metric string
    name string
    • (Required) Name of the instance.
    properties NdbDatabaseTimeMachineProperty[]
    List of all the properties
    scheduleId string
    schedules NdbDatabaseTimeMachineSchedule[]
    • (Optional) schedule for snapshots
    scope string
    slaId string
    slaUpdateInProgress boolean
    slaUpdateMetadata string
    slas NdbDatabaseTimeMachineSla[]
    sourceNxClusters string[]
    status string
    tags NdbDatabaseTimeMachineTag[]
    • (Optional) tags
    type string
    access_level str
    clone bool
    clones str
    clustered bool
    • (Optional) If clustered database. Default: false
    database str
    database_id str
    date_created str
    date_modified str
    description str
    • (Optional) The description
    ea_status str
    id str
    metric str
    name str
    • (Required) Name of the instance.
    properties Sequence[NdbDatabaseTimeMachineProperty]
    List of all the properties
    schedule_id str
    schedules Sequence[NdbDatabaseTimeMachineSchedule]
    • (Optional) schedule for snapshots
    scope str
    sla_id str
    sla_update_in_progress bool
    sla_update_metadata str
    slas Sequence[NdbDatabaseTimeMachineSla]
    source_nx_clusters Sequence[str]
    status str
    tags Sequence[NdbDatabaseTimeMachineTag]
    • (Optional) tags
    type str
    accessLevel String
    clone Boolean
    clones String
    clustered Boolean
    • (Optional) If clustered database. Default: false
    database String
    databaseId String
    dateCreated String
    dateModified String
    description String
    • (Optional) The description
    eaStatus String
    id String
    metric String
    name String
    • (Required) Name of the instance.
    properties List<Property Map>
    List of all the properties
    scheduleId String
    schedules List<Property Map>
    • (Optional) schedule for snapshots
    scope String
    slaId String
    slaUpdateInProgress Boolean
    slaUpdateMetadata String
    slas List<Property Map>
    sourceNxClusters List<String>
    status String
    tags List<Property Map>
    • (Optional) tags
    type String

    NdbDatabaseTimeMachineProperty, NdbDatabaseTimeMachinePropertyArgs

    Description string
    • (Optional) The description
    Name string
    • (Required) Name of the instance.
    RefId string
    Secure bool
    Value string
    • (Required) value for argument
    Description string
    • (Optional) The description
    Name string
    • (Required) Name of the instance.
    RefId string
    Secure bool
    Value string
    • (Required) value for argument
    description String
    • (Optional) The description
    name String
    • (Required) Name of the instance.
    refId String
    secure Boolean
    value String
    • (Required) value for argument
    description string
    • (Optional) The description
    name string
    • (Required) Name of the instance.
    refId string
    secure boolean
    value string
    • (Required) value for argument
    description str
    • (Optional) The description
    name str
    • (Required) Name of the instance.
    ref_id str
    secure bool
    value str
    • (Required) value for argument
    description String
    • (Optional) The description
    name String
    • (Required) Name of the instance.
    refId String
    secure Boolean
    value String
    • (Required) value for argument

    NdbDatabaseTimeMachineSchedule, NdbDatabaseTimeMachineScheduleArgs

    ContinuousSchedules List<PiersKarsenbarg.Nutanix.Inputs.NdbDatabaseTimeMachineScheduleContinuousSchedule>
    DailySchedules List<PiersKarsenbarg.Nutanix.Inputs.NdbDatabaseTimeMachineScheduleDailySchedule>
    DateCreated string
    DateModified string
    Description string
    • (Optional) The description
    GlobalPolicy bool
    Id string
    MonthlySchedules List<PiersKarsenbarg.Nutanix.Inputs.NdbDatabaseTimeMachineScheduleMonthlySchedule>
    Name string
    • (Required) Name of the instance.
    OwnerId string
    QuartelySchedules List<PiersKarsenbarg.Nutanix.Inputs.NdbDatabaseTimeMachineScheduleQuartelySchedule>
    ReferenceCount int
    SnapshotTimeOfDays List<PiersKarsenbarg.Nutanix.Inputs.NdbDatabaseTimeMachineScheduleSnapshotTimeOfDay>
    StartTime string
    SystemPolicy bool
    TimeZone string
    UniqueName string
    WeeklySchedules List<PiersKarsenbarg.Nutanix.Inputs.NdbDatabaseTimeMachineScheduleWeeklySchedule>
    YearlySchedules List<PiersKarsenbarg.Nutanix.Inputs.NdbDatabaseTimeMachineScheduleYearlySchedule>

    NdbDatabaseTimeMachineScheduleContinuousSchedule, NdbDatabaseTimeMachineScheduleContinuousScheduleArgs

    NdbDatabaseTimeMachineScheduleDailySchedule, NdbDatabaseTimeMachineScheduleDailyScheduleArgs

    Enabled bool
    Enabled bool
    enabled Boolean
    enabled boolean
    enabled bool
    enabled Boolean

    NdbDatabaseTimeMachineScheduleMonthlySchedule, NdbDatabaseTimeMachineScheduleMonthlyScheduleArgs

    dayOfMonth Integer
    enabled Boolean
    dayOfMonth number
    enabled boolean
    dayOfMonth Number
    enabled Boolean

    NdbDatabaseTimeMachineScheduleQuartelySchedule, NdbDatabaseTimeMachineScheduleQuartelyScheduleArgs

    dayOfMonth Integer
    enabled Boolean
    startMonth String
    startMonthValue String
    dayOfMonth number
    enabled boolean
    startMonth string
    startMonthValue string
    dayOfMonth Number
    enabled Boolean
    startMonth String
    startMonthValue String

    NdbDatabaseTimeMachineScheduleSnapshotTimeOfDay, NdbDatabaseTimeMachineScheduleSnapshotTimeOfDayArgs

    Extra bool
    Hours int
    • (Required) hours
    Minutes int
    • (Required) minutes
    Seconds int
    • (Required) seconds
    Extra bool
    Hours int
    • (Required) hours
    Minutes int
    • (Required) minutes
    Seconds int
    • (Required) seconds
    extra Boolean
    hours Integer
    • (Required) hours
    minutes Integer
    • (Required) minutes
    seconds Integer
    • (Required) seconds
    extra boolean
    hours number
    • (Required) hours
    minutes number
    • (Required) minutes
    seconds number
    • (Required) seconds
    extra bool
    hours int
    • (Required) hours
    minutes int
    • (Required) minutes
    seconds int
    • (Required) seconds
    extra Boolean
    hours Number
    • (Required) hours
    minutes Number
    • (Required) minutes
    seconds Number
    • (Required) seconds

    NdbDatabaseTimeMachineScheduleWeeklySchedule, NdbDatabaseTimeMachineScheduleWeeklyScheduleArgs

    dayOfWeek String
    dayOfWeekValue String
    enabled Boolean
    dayOfWeek string
    dayOfWeekValue string
    enabled boolean
    dayOfWeek String
    dayOfWeekValue String
    enabled Boolean

    NdbDatabaseTimeMachineScheduleYearlySchedule, NdbDatabaseTimeMachineScheduleYearlyScheduleArgs

    DayOfMonth int
    Enabled bool
    Month string
    • (Required) month for snapshot
    MonthValue string
    DayOfMonth int
    Enabled bool
    Month string
    • (Required) month for snapshot
    MonthValue string
    dayOfMonth Integer
    enabled Boolean
    month String
    • (Required) month for snapshot
    monthValue String
    dayOfMonth number
    enabled boolean
    month string
    • (Required) month for snapshot
    monthValue string
    day_of_month int
    enabled bool
    month str
    • (Required) month for snapshot
    month_value str
    dayOfMonth Number
    enabled Boolean
    month String
    • (Required) month for snapshot
    monthValue String

    NdbDatabaseTimeMachineSla, NdbDatabaseTimeMachineSlaArgs

    ContinuousRetention int
    CurrentActiveFrequency string
    DailyRetention int
    DateCreated string
    DateModified string
    Description string
    • (Optional) The description
    Id string
    MonthlyRetention int
    Name string
    • (Required) Name of the instance.
    OwnerId string
    PitrEnabled bool
    QuarterlyRetention int
    ReferenceCount int
    SystemSla bool
    UniqueName string
    WeeklyRetention int
    YearlyRetention int
    ContinuousRetention int
    CurrentActiveFrequency string
    DailyRetention int
    DateCreated string
    DateModified string
    Description string
    • (Optional) The description
    Id string
    MonthlyRetention int
    Name string
    • (Required) Name of the instance.
    OwnerId string
    PitrEnabled bool
    QuarterlyRetention int
    ReferenceCount int
    SystemSla bool
    UniqueName string
    WeeklyRetention int
    YearlyRetention int
    continuousRetention Integer
    currentActiveFrequency String
    dailyRetention Integer
    dateCreated String
    dateModified String
    description String
    • (Optional) The description
    id String
    monthlyRetention Integer
    name String
    • (Required) Name of the instance.
    ownerId String
    pitrEnabled Boolean
    quarterlyRetention Integer
    referenceCount Integer
    systemSla Boolean
    uniqueName String
    weeklyRetention Integer
    yearlyRetention Integer
    continuousRetention number
    currentActiveFrequency string
    dailyRetention number
    dateCreated string
    dateModified string
    description string
    • (Optional) The description
    id string
    monthlyRetention number
    name string
    • (Required) Name of the instance.
    ownerId string
    pitrEnabled boolean
    quarterlyRetention number
    referenceCount number
    systemSla boolean
    uniqueName string
    weeklyRetention number
    yearlyRetention number
    continuousRetention Number
    currentActiveFrequency String
    dailyRetention Number
    dateCreated String
    dateModified String
    description String
    • (Optional) The description
    id String
    monthlyRetention Number
    name String
    • (Required) Name of the instance.
    ownerId String
    pitrEnabled Boolean
    quarterlyRetention Number
    referenceCount Number
    systemSla Boolean
    uniqueName String
    weeklyRetention Number
    yearlyRetention Number

    NdbDatabaseTimeMachineTag, NdbDatabaseTimeMachineTagArgs

    EntityId string
    EntityType string
    TagId string
    TagName string
    Value string
    • (Required) value for argument
    EntityId string
    EntityType string
    TagId string
    TagName string
    Value string
    • (Required) value for argument
    entityId String
    entityType String
    tagId String
    tagName String
    value String
    • (Required) value for argument
    entityId string
    entityType string
    tagId string
    tagName string
    value string
    • (Required) value for argument
    entity_id str
    entity_type str
    tag_id str
    tag_name str
    value str
    • (Required) value for argument
    entityId String
    entityType String
    tagId String
    tagName String
    value String
    • (Required) value for argument

    NdbDatabaseTimemachineinfo, NdbDatabaseTimemachineinfoArgs

    Name string
    • (Required) name of time machine
    Schedule PiersKarsenbarg.Nutanix.Inputs.NdbDatabaseTimemachineinfoSchedule
    • (Optional) schedule for snapshots
    Autotunelogdrive bool
    • (Optional) enable auto tune log drive. Default: true
    Description string
    • (Optional) description of time machine
    SlaDetails List<PiersKarsenbarg.Nutanix.Inputs.NdbDatabaseTimemachineinfoSlaDetail>
    • (optional) SLA details for HA instance
    Slaid string
    • (Optional) SLA ID for single instance
    Tags List<PiersKarsenbarg.Nutanix.Inputs.NdbDatabaseTimemachineinfoTag>
    • (Optional) tags
    Name string
    • (Required) name of time machine
    Schedule NdbDatabaseTimemachineinfoSchedule
    • (Optional) schedule for snapshots
    Autotunelogdrive bool
    • (Optional) enable auto tune log drive. Default: true
    Description string
    • (Optional) description of time machine
    SlaDetails []NdbDatabaseTimemachineinfoSlaDetail
    • (optional) SLA details for HA instance
    Slaid string
    • (Optional) SLA ID for single instance
    Tags []NdbDatabaseTimemachineinfoTag
    • (Optional) tags
    name String
    • (Required) name of time machine
    schedule NdbDatabaseTimemachineinfoSchedule
    • (Optional) schedule for snapshots
    autotunelogdrive Boolean
    • (Optional) enable auto tune log drive. Default: true
    description String
    • (Optional) description of time machine
    slaDetails List<NdbDatabaseTimemachineinfoSlaDetail>
    • (optional) SLA details for HA instance
    slaid String
    • (Optional) SLA ID for single instance
    tags List<NdbDatabaseTimemachineinfoTag>
    • (Optional) tags
    name string
    • (Required) name of time machine
    schedule NdbDatabaseTimemachineinfoSchedule
    • (Optional) schedule for snapshots
    autotunelogdrive boolean
    • (Optional) enable auto tune log drive. Default: true
    description string
    • (Optional) description of time machine
    slaDetails NdbDatabaseTimemachineinfoSlaDetail[]
    • (optional) SLA details for HA instance
    slaid string
    • (Optional) SLA ID for single instance
    tags NdbDatabaseTimemachineinfoTag[]
    • (Optional) tags
    name str
    • (Required) name of time machine
    schedule NdbDatabaseTimemachineinfoSchedule
    • (Optional) schedule for snapshots
    autotunelogdrive bool
    • (Optional) enable auto tune log drive. Default: true
    description str
    • (Optional) description of time machine
    sla_details Sequence[NdbDatabaseTimemachineinfoSlaDetail]
    • (optional) SLA details for HA instance
    slaid str
    • (Optional) SLA ID for single instance
    tags Sequence[NdbDatabaseTimemachineinfoTag]
    • (Optional) tags
    name String
    • (Required) name of time machine
    schedule Property Map
    • (Optional) schedule for snapshots
    autotunelogdrive Boolean
    • (Optional) enable auto tune log drive. Default: true
    description String
    • (Optional) description of time machine
    slaDetails List<Property Map>
    • (optional) SLA details for HA instance
    slaid String
    • (Optional) SLA ID for single instance
    tags List<Property Map>
    • (Optional) tags

    NdbDatabaseTimemachineinfoSchedule, NdbDatabaseTimemachineinfoScheduleArgs

    continuousschedule Property Map
    • (Optional) snapshot freq and log config
    monthlyschedule Property Map
    • (Optional) monthly snapshot config
    quartelyschedule Property Map
    • (Optional) quaterly snapshot config
    snapshottimeofday Property Map
    • (Optional) daily snapshot config
    weeklyschedule Property Map
    • (Optional) weekly snapshot config
    yearlyschedule Property Map
    • (Optional) yearly snapshot config

    NdbDatabaseTimemachineinfoScheduleContinuousschedule, NdbDatabaseTimemachineinfoScheduleContinuousscheduleArgs

    Enabled bool
    • (Required) to enable
    Logbackupinterval int
    • (Required) log catchup interval for database
    Snapshotsperday int
    • (Required) num of snapshots per day
    Enabled bool
    • (Required) to enable
    Logbackupinterval int
    • (Required) log catchup interval for database
    Snapshotsperday int
    • (Required) num of snapshots per day
    enabled Boolean
    • (Required) to enable
    logbackupinterval Integer
    • (Required) log catchup interval for database
    snapshotsperday Integer
    • (Required) num of snapshots per day
    enabled boolean
    • (Required) to enable
    logbackupinterval number
    • (Required) log catchup interval for database
    snapshotsperday number
    • (Required) num of snapshots per day
    enabled bool
    • (Required) to enable
    logbackupinterval int
    • (Required) log catchup interval for database
    snapshotsperday int
    • (Required) num of snapshots per day
    enabled Boolean
    • (Required) to enable
    logbackupinterval Number
    • (Required) log catchup interval for database
    snapshotsperday Number
    • (Required) num of snapshots per day

    NdbDatabaseTimemachineinfoScheduleMonthlyschedule, NdbDatabaseTimemachineinfoScheduleMonthlyscheduleArgs

    Dayofmonth int
    • (Required) day of month to take snapshot
    Enabled bool
    • (Required) to enable
    Dayofmonth int
    • (Required) day of month to take snapshot
    Enabled bool
    • (Required) to enable
    dayofmonth Integer
    • (Required) day of month to take snapshot
    enabled Boolean
    • (Required) to enable
    dayofmonth number
    • (Required) day of month to take snapshot
    enabled boolean
    • (Required) to enable
    dayofmonth int
    • (Required) day of month to take snapshot
    enabled bool
    • (Required) to enable
    dayofmonth Number
    • (Required) day of month to take snapshot
    enabled Boolean
    • (Required) to enable

    NdbDatabaseTimemachineinfoScheduleQuartelyschedule, NdbDatabaseTimemachineinfoScheduleQuartelyscheduleArgs

    Dayofmonth int
    • (Required) month's day for snapshot
    Enabled bool
    • (Required) to enable
    Startmonth string
    • (Required) quarter start month
    Dayofmonth int
    • (Required) month's day for snapshot
    Enabled bool
    • (Required) to enable
    Startmonth string
    • (Required) quarter start month
    dayofmonth Integer
    • (Required) month's day for snapshot
    enabled Boolean
    • (Required) to enable
    startmonth String
    • (Required) quarter start month
    dayofmonth number
    • (Required) month's day for snapshot
    enabled boolean
    • (Required) to enable
    startmonth string
    • (Required) quarter start month
    dayofmonth int
    • (Required) month's day for snapshot
    enabled bool
    • (Required) to enable
    startmonth str
    • (Required) quarter start month
    dayofmonth Number
    • (Required) month's day for snapshot
    enabled Boolean
    • (Required) to enable
    startmonth String
    • (Required) quarter start month

    NdbDatabaseTimemachineinfoScheduleSnapshottimeofday, NdbDatabaseTimemachineinfoScheduleSnapshottimeofdayArgs

    Hours int
    • (Required) hours
    Minutes int
    • (Required) minutes
    Seconds int
    • (Required) seconds
    Hours int
    • (Required) hours
    Minutes int
    • (Required) minutes
    Seconds int
    • (Required) seconds
    hours Integer
    • (Required) hours
    minutes Integer
    • (Required) minutes
    seconds Integer
    • (Required) seconds
    hours number
    • (Required) hours
    minutes number
    • (Required) minutes
    seconds number
    • (Required) seconds
    hours int
    • (Required) hours
    minutes int
    • (Required) minutes
    seconds int
    • (Required) seconds
    hours Number
    • (Required) hours
    minutes Number
    • (Required) minutes
    seconds Number
    • (Required) seconds

    NdbDatabaseTimemachineinfoScheduleWeeklyschedule, NdbDatabaseTimemachineinfoScheduleWeeklyscheduleArgs

    Dayofweek string
    • (Required) day of week to take snaphsot. Eg. "WEDNESDAY"
    Enabled bool
    • (Required) to enable
    Dayofweek string
    • (Required) day of week to take snaphsot. Eg. "WEDNESDAY"
    Enabled bool
    • (Required) to enable
    dayofweek String
    • (Required) day of week to take snaphsot. Eg. "WEDNESDAY"
    enabled Boolean
    • (Required) to enable
    dayofweek string
    • (Required) day of week to take snaphsot. Eg. "WEDNESDAY"
    enabled boolean
    • (Required) to enable
    dayofweek str
    • (Required) day of week to take snaphsot. Eg. "WEDNESDAY"
    enabled bool
    • (Required) to enable
    dayofweek String
    • (Required) day of week to take snaphsot. Eg. "WEDNESDAY"
    enabled Boolean
    • (Required) to enable

    NdbDatabaseTimemachineinfoScheduleYearlyschedule, NdbDatabaseTimemachineinfoScheduleYearlyscheduleArgs

    Dayofmonth int
    • (Required) day of month to take snapshot
    Enabled bool
    • (Required) to enable
    Month string
    • (Required) month for snapshot
    Dayofmonth int
    • (Required) day of month to take snapshot
    Enabled bool
    • (Required) to enable
    Month string
    • (Required) month for snapshot
    dayofmonth Integer
    • (Required) day of month to take snapshot
    enabled Boolean
    • (Required) to enable
    month String
    • (Required) month for snapshot
    dayofmonth number
    • (Required) day of month to take snapshot
    enabled boolean
    • (Required) to enable
    month string
    • (Required) month for snapshot
    dayofmonth int
    • (Required) day of month to take snapshot
    enabled bool
    • (Required) to enable
    month str
    • (Required) month for snapshot
    dayofmonth Number
    • (Required) day of month to take snapshot
    enabled Boolean
    • (Required) to enable
    month String
    • (Required) month for snapshot

    NdbDatabaseTimemachineinfoSlaDetail, NdbDatabaseTimemachineinfoSlaDetailArgs

    PrimarySlas List<PiersKarsenbarg.Nutanix.Inputs.NdbDatabaseTimemachineinfoSlaDetailPrimarySla>
    • (Required) primary sla details
    • primary_sla.sla_id :- (Required) sla id
    • primary_sla.nx_cluster_ids -: (Optioanl) cluster ids
    PrimarySlas []NdbDatabaseTimemachineinfoSlaDetailPrimarySla
    • (Required) primary sla details
    • primary_sla.sla_id :- (Required) sla id
    • primary_sla.nx_cluster_ids -: (Optioanl) cluster ids
    primarySlas List<NdbDatabaseTimemachineinfoSlaDetailPrimarySla>
    • (Required) primary sla details
    • primary_sla.sla_id :- (Required) sla id
    • primary_sla.nx_cluster_ids -: (Optioanl) cluster ids
    primarySlas NdbDatabaseTimemachineinfoSlaDetailPrimarySla[]
    • (Required) primary sla details
    • primary_sla.sla_id :- (Required) sla id
    • primary_sla.nx_cluster_ids -: (Optioanl) cluster ids
    primary_slas Sequence[NdbDatabaseTimemachineinfoSlaDetailPrimarySla]
    • (Required) primary sla details
    • primary_sla.sla_id :- (Required) sla id
    • primary_sla.nx_cluster_ids -: (Optioanl) cluster ids
    primarySlas List<Property Map>
    • (Required) primary sla details
    • primary_sla.sla_id :- (Required) sla id
    • primary_sla.nx_cluster_ids -: (Optioanl) cluster ids

    NdbDatabaseTimemachineinfoSlaDetailPrimarySla, NdbDatabaseTimemachineinfoSlaDetailPrimarySlaArgs

    SlaId string
    description of SLA ID.
    NxClusterIds List<string>
    SlaId string
    description of SLA ID.
    NxClusterIds []string
    slaId String
    description of SLA ID.
    nxClusterIds List<String>
    slaId string
    description of SLA ID.
    nxClusterIds string[]
    sla_id str
    description of SLA ID.
    nx_cluster_ids Sequence[str]
    slaId String
    description of SLA ID.
    nxClusterIds List<String>

    NdbDatabaseTimemachineinfoTag, NdbDatabaseTimemachineinfoTagArgs

    EntityId string
    EntityType string
    TagId string
    TagName string
    Value string
    • (Required) value for argument
    EntityId string
    EntityType string
    TagId string
    TagName string
    Value string
    • (Required) value for argument
    entityId String
    entityType String
    tagId String
    tagName String
    value String
    • (Required) value for argument
    entityId string
    entityType string
    tagId string
    tagName string
    value string
    • (Required) value for argument
    entity_id str
    entity_type str
    tag_id str
    tag_name str
    value str
    • (Required) value for argument
    entityId String
    entityType String
    tagId String
    tagName String
    value String
    • (Required) value for argument

    Package Details

    Repository
    nutanix pierskarsenbarg/pulumi-nutanix
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the nutanix Terraform Provider.
    nutanix logo
    Nutanix v0.5.0 published on Monday, Nov 4, 2024 by Piers Karsenbarg