nutanix.NdbDbserverVm
Explore with Pulumi AI
Provides a resource to create database server VMs based on the input parameters. For 1.8.0 release, only postgress database type is qualified and officially supported.
Example Usage
Create NdbDbserverVm Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new NdbDbserverVm(name: string, args: NdbDbserverVmArgs, opts?: CustomResourceOptions);
@overload
def NdbDbserverVm(resource_name: str,
args: NdbDbserverVmArgs,
opts: Optional[ResourceOptions] = None)
@overload
def NdbDbserverVm(resource_name: str,
opts: Optional[ResourceOptions] = None,
compute_profile_id: Optional[str] = None,
nx_cluster_id: Optional[str] = None,
database_type: Optional[str] = None,
network_profile_id: Optional[str] = None,
delete_vm_snapshots: Optional[bool] = None,
snapshot_id: Optional[str] = None,
description: Optional[str] = None,
latest_snapshot: Optional[bool] = None,
maintenance_tasks: Optional[NdbDbserverVmMaintenanceTasksArgs] = None,
delete: Optional[bool] = None,
credentials: Optional[Sequence[NdbDbserverVmCredentialArgs]] = None,
postgres_databases: Optional[Sequence[NdbDbserverVmPostgresDatabaseArgs]] = None,
remove: Optional[bool] = None,
delete_vgs: Optional[bool] = None,
soft_remove: Optional[bool] = None,
software_profile_id: Optional[str] = None,
software_profile_version_id: Optional[str] = None,
tags: Optional[Sequence[NdbDbserverVmTagArgs]] = None,
time_machine_id: Optional[str] = None,
timezone: Optional[str] = None,
vm_password: Optional[str] = None)
func NewNdbDbserverVm(ctx *Context, name string, args NdbDbserverVmArgs, opts ...ResourceOption) (*NdbDbserverVm, error)
public NdbDbserverVm(string name, NdbDbserverVmArgs args, CustomResourceOptions? opts = null)
public NdbDbserverVm(String name, NdbDbserverVmArgs args)
public NdbDbserverVm(String name, NdbDbserverVmArgs args, CustomResourceOptions options)
type: nutanix:NdbDbserverVm
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args NdbDbserverVmArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args NdbDbserverVmArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args NdbDbserverVmArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args NdbDbserverVmArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args NdbDbserverVmArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var ndbDbserverVmResource = new Nutanix.NdbDbserverVm("ndbDbserverVmResource", new()
{
ComputeProfileId = "string",
NxClusterId = "string",
DatabaseType = "string",
NetworkProfileId = "string",
DeleteVmSnapshots = false,
SnapshotId = "string",
Description = "string",
LatestSnapshot = false,
MaintenanceTasks = new Nutanix.Inputs.NdbDbserverVmMaintenanceTasksArgs
{
MaintenanceWindowId = "string",
Tasks = new[]
{
new Nutanix.Inputs.NdbDbserverVmMaintenanceTasksTaskArgs
{
PostCommand = "string",
PreCommand = "string",
TaskType = "string",
},
},
},
Delete = false,
Credentials = new[]
{
new Nutanix.Inputs.NdbDbserverVmCredentialArgs
{
Password = "string",
Username = "string",
Label = "string",
},
},
PostgresDatabases = new[]
{
new Nutanix.Inputs.NdbDbserverVmPostgresDatabaseArgs
{
VmName = "string",
ClientPublicKey = "string",
},
},
Remove = false,
DeleteVgs = false,
SoftRemove = false,
SoftwareProfileId = "string",
SoftwareProfileVersionId = "string",
Tags = new[]
{
new Nutanix.Inputs.NdbDbserverVmTagArgs
{
EntityId = "string",
EntityType = "string",
TagId = "string",
TagName = "string",
Value = "string",
},
},
TimeMachineId = "string",
Timezone = "string",
VmPassword = "string",
});
example, err := nutanix.NewNdbDbserverVm(ctx, "ndbDbserverVmResource", &nutanix.NdbDbserverVmArgs{
ComputeProfileId: pulumi.String("string"),
NxClusterId: pulumi.String("string"),
DatabaseType: pulumi.String("string"),
NetworkProfileId: pulumi.String("string"),
DeleteVmSnapshots: pulumi.Bool(false),
SnapshotId: pulumi.String("string"),
Description: pulumi.String("string"),
LatestSnapshot: pulumi.Bool(false),
MaintenanceTasks: &nutanix.NdbDbserverVmMaintenanceTasksArgs{
MaintenanceWindowId: pulumi.String("string"),
Tasks: nutanix.NdbDbserverVmMaintenanceTasksTaskArray{
&nutanix.NdbDbserverVmMaintenanceTasksTaskArgs{
PostCommand: pulumi.String("string"),
PreCommand: pulumi.String("string"),
TaskType: pulumi.String("string"),
},
},
},
Delete: pulumi.Bool(false),
Credentials: nutanix.NdbDbserverVmCredentialArray{
&nutanix.NdbDbserverVmCredentialArgs{
Password: pulumi.String("string"),
Username: pulumi.String("string"),
Label: pulumi.String("string"),
},
},
PostgresDatabases: nutanix.NdbDbserverVmPostgresDatabaseArray{
&nutanix.NdbDbserverVmPostgresDatabaseArgs{
VmName: pulumi.String("string"),
ClientPublicKey: pulumi.String("string"),
},
},
Remove: pulumi.Bool(false),
DeleteVgs: pulumi.Bool(false),
SoftRemove: pulumi.Bool(false),
SoftwareProfileId: pulumi.String("string"),
SoftwareProfileVersionId: pulumi.String("string"),
Tags: nutanix.NdbDbserverVmTagArray{
&nutanix.NdbDbserverVmTagArgs{
EntityId: pulumi.String("string"),
EntityType: pulumi.String("string"),
TagId: pulumi.String("string"),
TagName: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
TimeMachineId: pulumi.String("string"),
Timezone: pulumi.String("string"),
VmPassword: pulumi.String("string"),
})
var ndbDbserverVmResource = new NdbDbserverVm("ndbDbserverVmResource", NdbDbserverVmArgs.builder()
.computeProfileId("string")
.nxClusterId("string")
.databaseType("string")
.networkProfileId("string")
.deleteVmSnapshots(false)
.snapshotId("string")
.description("string")
.latestSnapshot(false)
.maintenanceTasks(NdbDbserverVmMaintenanceTasksArgs.builder()
.maintenanceWindowId("string")
.tasks(NdbDbserverVmMaintenanceTasksTaskArgs.builder()
.postCommand("string")
.preCommand("string")
.taskType("string")
.build())
.build())
.delete(false)
.credentials(NdbDbserverVmCredentialArgs.builder()
.password("string")
.username("string")
.label("string")
.build())
.postgresDatabases(NdbDbserverVmPostgresDatabaseArgs.builder()
.vmName("string")
.clientPublicKey("string")
.build())
.remove(false)
.deleteVgs(false)
.softRemove(false)
.softwareProfileId("string")
.softwareProfileVersionId("string")
.tags(NdbDbserverVmTagArgs.builder()
.entityId("string")
.entityType("string")
.tagId("string")
.tagName("string")
.value("string")
.build())
.timeMachineId("string")
.timezone("string")
.vmPassword("string")
.build());
ndb_dbserver_vm_resource = nutanix.NdbDbserverVm("ndbDbserverVmResource",
compute_profile_id="string",
nx_cluster_id="string",
database_type="string",
network_profile_id="string",
delete_vm_snapshots=False,
snapshot_id="string",
description="string",
latest_snapshot=False,
maintenance_tasks=nutanix.NdbDbserverVmMaintenanceTasksArgs(
maintenance_window_id="string",
tasks=[nutanix.NdbDbserverVmMaintenanceTasksTaskArgs(
post_command="string",
pre_command="string",
task_type="string",
)],
),
delete=False,
credentials=[nutanix.NdbDbserverVmCredentialArgs(
password="string",
username="string",
label="string",
)],
postgres_databases=[nutanix.NdbDbserverVmPostgresDatabaseArgs(
vm_name="string",
client_public_key="string",
)],
remove=False,
delete_vgs=False,
soft_remove=False,
software_profile_id="string",
software_profile_version_id="string",
tags=[nutanix.NdbDbserverVmTagArgs(
entity_id="string",
entity_type="string",
tag_id="string",
tag_name="string",
value="string",
)],
time_machine_id="string",
timezone="string",
vm_password="string")
const ndbDbserverVmResource = new nutanix.NdbDbserverVm("ndbDbserverVmResource", {
computeProfileId: "string",
nxClusterId: "string",
databaseType: "string",
networkProfileId: "string",
deleteVmSnapshots: false,
snapshotId: "string",
description: "string",
latestSnapshot: false,
maintenanceTasks: {
maintenanceWindowId: "string",
tasks: [{
postCommand: "string",
preCommand: "string",
taskType: "string",
}],
},
"delete": false,
credentials: [{
password: "string",
username: "string",
label: "string",
}],
postgresDatabases: [{
vmName: "string",
clientPublicKey: "string",
}],
remove: false,
deleteVgs: false,
softRemove: false,
softwareProfileId: "string",
softwareProfileVersionId: "string",
tags: [{
entityId: "string",
entityType: "string",
tagId: "string",
tagName: "string",
value: "string",
}],
timeMachineId: "string",
timezone: "string",
vmPassword: "string",
});
type: nutanix:NdbDbserverVm
properties:
computeProfileId: string
credentials:
- label: string
password: string
username: string
databaseType: string
delete: false
deleteVgs: false
deleteVmSnapshots: false
description: string
latestSnapshot: false
maintenanceTasks:
maintenanceWindowId: string
tasks:
- postCommand: string
preCommand: string
taskType: string
networkProfileId: string
nxClusterId: string
postgresDatabases:
- clientPublicKey: string
vmName: string
remove: false
snapshotId: string
softRemove: false
softwareProfileId: string
softwareProfileVersionId: string
tags:
- entityId: string
entityType: string
tagId: string
tagName: string
value: string
timeMachineId: string
timezone: string
vmPassword: string
NdbDbserverVm Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The NdbDbserverVm resource accepts the following input properties:
- Compute
Profile stringId - Compute profile id.
- Database
Type string - database type. Valid values: postgres_database
- Network
Profile stringId - Network profile id.
- Nx
Cluster stringId - Credentials
List<Piers
Karsenbarg. Nutanix. Inputs. Ndb Dbserver Vm Credential> - Delete bool
- (Optional) Delete the VM and associated storage. Default value is true
- Delete
Vgs bool - (Optional) Delete volume grous. Default value is true
- Delete
Vm boolSnapshots - (Optional) Delete the vm snapshots. Default is true
- Description string
- Type a description for the database server VM.
- Latest
Snapshot bool - Maintenance
Tasks PiersKarsenbarg. Nutanix. Inputs. Ndb Dbserver Vm Maintenance Tasks - maintenance window configured to enable automated patching.
- Postgres
Databases List<PiersKarsenbarg. Nutanix. Inputs. Ndb Dbserver Vm Postgres Database> - Postgres database server vm
- Remove bool
- (Optional) Unregister the database from NDB. Default value is false
- Snapshot
Id string - Snapshot id. If not given, it will use latest snapshot to provision db server vm.
- Soft
Remove bool - (Optional) Soft remove. Default will be false
- Software
Profile stringId - software profile id you want to provision a database server VM from an existing software profile.Required with software_profile_version_id. Conflicts with time_machine_id .
- Software
Profile stringVersion Id - SOftware Profile Version Id.
- List<Piers
Karsenbarg. Nutanix. Inputs. Ndb Dbserver Vm Tag> - Time
Machine stringId - Time Machine id you want to provision a database server VM by using the database and operating system software stored in a time machine. Conflicts with software_profile_id.
- Timezone string
- Vm
Password string - password of the NDB drive user account.
- Compute
Profile stringId - Compute profile id.
- Database
Type string - database type. Valid values: postgres_database
- Network
Profile stringId - Network profile id.
- Nx
Cluster stringId - Credentials
[]Ndb
Dbserver Vm Credential Args - Delete bool
- (Optional) Delete the VM and associated storage. Default value is true
- Delete
Vgs bool - (Optional) Delete volume grous. Default value is true
- Delete
Vm boolSnapshots - (Optional) Delete the vm snapshots. Default is true
- Description string
- Type a description for the database server VM.
- Latest
Snapshot bool - Maintenance
Tasks NdbDbserver Vm Maintenance Tasks Args - maintenance window configured to enable automated patching.
- Postgres
Databases []NdbDbserver Vm Postgres Database Args - Postgres database server vm
- Remove bool
- (Optional) Unregister the database from NDB. Default value is false
- Snapshot
Id string - Snapshot id. If not given, it will use latest snapshot to provision db server vm.
- Soft
Remove bool - (Optional) Soft remove. Default will be false
- Software
Profile stringId - software profile id you want to provision a database server VM from an existing software profile.Required with software_profile_version_id. Conflicts with time_machine_id .
- Software
Profile stringVersion Id - SOftware Profile Version Id.
- []Ndb
Dbserver Vm Tag Args - Time
Machine stringId - Time Machine id you want to provision a database server VM by using the database and operating system software stored in a time machine. Conflicts with software_profile_id.
- Timezone string
- Vm
Password string - password of the NDB drive user account.
- compute
Profile StringId - Compute profile id.
- database
Type String - database type. Valid values: postgres_database
- network
Profile StringId - Network profile id.
- nx
Cluster StringId - credentials
List<Ndb
Dbserver Vm Credential> - delete Boolean
- (Optional) Delete the VM and associated storage. Default value is true
- delete
Vgs Boolean - (Optional) Delete volume grous. Default value is true
- delete
Vm BooleanSnapshots - (Optional) Delete the vm snapshots. Default is true
- description String
- Type a description for the database server VM.
- latest
Snapshot Boolean - maintenance
Tasks NdbDbserver Vm Maintenance Tasks - maintenance window configured to enable automated patching.
- postgres
Databases List<NdbDbserver Vm Postgres Database> - Postgres database server vm
- remove Boolean
- (Optional) Unregister the database from NDB. Default value is false
- snapshot
Id String - Snapshot id. If not given, it will use latest snapshot to provision db server vm.
- soft
Remove Boolean - (Optional) Soft remove. Default will be false
- software
Profile StringId - software profile id you want to provision a database server VM from an existing software profile.Required with software_profile_version_id. Conflicts with time_machine_id .
- software
Profile StringVersion Id - SOftware Profile Version Id.
- List<Ndb
Dbserver Vm Tag> - time
Machine StringId - Time Machine id you want to provision a database server VM by using the database and operating system software stored in a time machine. Conflicts with software_profile_id.
- timezone String
- vm
Password String - password of the NDB drive user account.
- compute
Profile stringId - Compute profile id.
- database
Type string - database type. Valid values: postgres_database
- network
Profile stringId - Network profile id.
- nx
Cluster stringId - credentials
Ndb
Dbserver Vm Credential[] - delete boolean
- (Optional) Delete the VM and associated storage. Default value is true
- delete
Vgs boolean - (Optional) Delete volume grous. Default value is true
- delete
Vm booleanSnapshots - (Optional) Delete the vm snapshots. Default is true
- description string
- Type a description for the database server VM.
- latest
Snapshot boolean - maintenance
Tasks NdbDbserver Vm Maintenance Tasks - maintenance window configured to enable automated patching.
- postgres
Databases NdbDbserver Vm Postgres Database[] - Postgres database server vm
- remove boolean
- (Optional) Unregister the database from NDB. Default value is false
- snapshot
Id string - Snapshot id. If not given, it will use latest snapshot to provision db server vm.
- soft
Remove boolean - (Optional) Soft remove. Default will be false
- software
Profile stringId - software profile id you want to provision a database server VM from an existing software profile.Required with software_profile_version_id. Conflicts with time_machine_id .
- software
Profile stringVersion Id - SOftware Profile Version Id.
- Ndb
Dbserver Vm Tag[] - time
Machine stringId - Time Machine id you want to provision a database server VM by using the database and operating system software stored in a time machine. Conflicts with software_profile_id.
- timezone string
- vm
Password string - password of the NDB drive user account.
- compute_
profile_ strid - Compute profile id.
- database_
type str - database type. Valid values: postgres_database
- network_
profile_ strid - Network profile id.
- nx_
cluster_ strid - credentials
Sequence[Ndb
Dbserver Vm Credential Args] - delete bool
- (Optional) Delete the VM and associated storage. Default value is true
- delete_
vgs bool - (Optional) Delete volume grous. Default value is true
- delete_
vm_ boolsnapshots - (Optional) Delete the vm snapshots. Default is true
- description str
- Type a description for the database server VM.
- latest_
snapshot bool - maintenance_
tasks NdbDbserver Vm Maintenance Tasks Args - maintenance window configured to enable automated patching.
- postgres_
databases Sequence[NdbDbserver Vm Postgres Database Args] - Postgres database server vm
- remove bool
- (Optional) Unregister the database from NDB. Default value is false
- snapshot_
id str - Snapshot id. If not given, it will use latest snapshot to provision db server vm.
- soft_
remove bool - (Optional) Soft remove. Default will be false
- software_
profile_ strid - software profile id you want to provision a database server VM from an existing software profile.Required with software_profile_version_id. Conflicts with time_machine_id .
- software_
profile_ strversion_ id - SOftware Profile Version Id.
- Sequence[Ndb
Dbserver Vm Tag Args] - time_
machine_ strid - Time Machine id you want to provision a database server VM by using the database and operating system software stored in a time machine. Conflicts with software_profile_id.
- timezone str
- vm_
password str - password of the NDB drive user account.
- compute
Profile StringId - Compute profile id.
- database
Type String - database type. Valid values: postgres_database
- network
Profile StringId - Network profile id.
- nx
Cluster StringId - credentials List<Property Map>
- delete Boolean
- (Optional) Delete the VM and associated storage. Default value is true
- delete
Vgs Boolean - (Optional) Delete volume grous. Default value is true
- delete
Vm BooleanSnapshots - (Optional) Delete the vm snapshots. Default is true
- description String
- Type a description for the database server VM.
- latest
Snapshot Boolean - maintenance
Tasks Property Map - maintenance window configured to enable automated patching.
- postgres
Databases List<Property Map> - Postgres database server vm
- remove Boolean
- (Optional) Unregister the database from NDB. Default value is false
- snapshot
Id String - Snapshot id. If not given, it will use latest snapshot to provision db server vm.
- soft
Remove Boolean - (Optional) Soft remove. Default will be false
- software
Profile StringId - software profile id you want to provision a database server VM from an existing software profile.Required with software_profile_version_id. Conflicts with time_machine_id .
- software
Profile StringVersion Id - SOftware Profile Version Id.
- List<Property Map>
- time
Machine StringId - Time Machine id you want to provision a database server VM by using the database and operating system software stored in a time machine. Conflicts with software_profile_id.
- timezone String
- vm
Password String - password of the NDB drive user account.
Outputs
All input properties are implicitly available as output properties. Additionally, the NdbDbserverVm resource produces the following output properties:
- Client
Id string - Dbserver
Cluster stringId - Era
Drive stringId - Era
Version string - Fqdns string
- Id string
- The provider-assigned unique ID for this managed resource.
- Ip
Addresses List<string> - Mac
Addresses List<string> - Name string
- Properties
List<Piers
Karsenbarg. Nutanix. Outputs. Ndb Dbserver Vm Property> - List of all the properties
- Status string
- Type string
- Vm
Cluster stringName - Vm
Cluster stringUuid - Vm
Timezone string
- Client
Id string - Dbserver
Cluster stringId - Era
Drive stringId - Era
Version string - Fqdns string
- Id string
- The provider-assigned unique ID for this managed resource.
- Ip
Addresses []string - Mac
Addresses []string - Name string
- Properties
[]Ndb
Dbserver Vm Property - List of all the properties
- Status string
- Type string
- Vm
Cluster stringName - Vm
Cluster stringUuid - Vm
Timezone string
- client
Id String - dbserver
Cluster StringId - era
Drive StringId - era
Version String - fqdns String
- id String
- The provider-assigned unique ID for this managed resource.
- ip
Addresses List<String> - mac
Addresses List<String> - name String
- properties
List<Ndb
Dbserver Vm Property> - List of all the properties
- status String
- type String
- vm
Cluster StringName - vm
Cluster StringUuid - vm
Timezone String
- client
Id string - dbserver
Cluster stringId - era
Drive stringId - era
Version string - fqdns string
- id string
- The provider-assigned unique ID for this managed resource.
- ip
Addresses string[] - mac
Addresses string[] - name string
- properties
Ndb
Dbserver Vm Property[] - List of all the properties
- status string
- type string
- vm
Cluster stringName - vm
Cluster stringUuid - vm
Timezone string
- client_
id str - dbserver_
cluster_ strid - era_
drive_ strid - era_
version str - fqdns str
- id str
- The provider-assigned unique ID for this managed resource.
- ip_
addresses Sequence[str] - mac_
addresses Sequence[str] - name str
- properties
Sequence[Ndb
Dbserver Vm Property] - List of all the properties
- status str
- type str
- vm_
cluster_ strname - vm_
cluster_ struuid - vm_
timezone str
- client
Id String - dbserver
Cluster StringId - era
Drive StringId - era
Version String - fqdns String
- id String
- The provider-assigned unique ID for this managed resource.
- ip
Addresses List<String> - mac
Addresses List<String> - name String
- properties List<Property Map>
- List of all the properties
- status String
- type String
- vm
Cluster StringName - vm
Cluster StringUuid - vm
Timezone String
Look up Existing NdbDbserverVm Resource
Get an existing NdbDbserverVm resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: NdbDbserverVmState, opts?: CustomResourceOptions): NdbDbserverVm
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
client_id: Optional[str] = None,
compute_profile_id: Optional[str] = None,
credentials: Optional[Sequence[NdbDbserverVmCredentialArgs]] = None,
database_type: Optional[str] = None,
dbserver_cluster_id: Optional[str] = None,
delete: Optional[bool] = None,
delete_vgs: Optional[bool] = None,
delete_vm_snapshots: Optional[bool] = None,
description: Optional[str] = None,
era_drive_id: Optional[str] = None,
era_version: Optional[str] = None,
fqdns: Optional[str] = None,
ip_addresses: Optional[Sequence[str]] = None,
latest_snapshot: Optional[bool] = None,
mac_addresses: Optional[Sequence[str]] = None,
maintenance_tasks: Optional[NdbDbserverVmMaintenanceTasksArgs] = None,
name: Optional[str] = None,
network_profile_id: Optional[str] = None,
nx_cluster_id: Optional[str] = None,
postgres_databases: Optional[Sequence[NdbDbserverVmPostgresDatabaseArgs]] = None,
properties: Optional[Sequence[NdbDbserverVmPropertyArgs]] = None,
remove: Optional[bool] = None,
snapshot_id: Optional[str] = None,
soft_remove: Optional[bool] = None,
software_profile_id: Optional[str] = None,
software_profile_version_id: Optional[str] = None,
status: Optional[str] = None,
tags: Optional[Sequence[NdbDbserverVmTagArgs]] = None,
time_machine_id: Optional[str] = None,
timezone: Optional[str] = None,
type: Optional[str] = None,
vm_cluster_name: Optional[str] = None,
vm_cluster_uuid: Optional[str] = None,
vm_password: Optional[str] = None,
vm_timezone: Optional[str] = None) -> NdbDbserverVm
func GetNdbDbserverVm(ctx *Context, name string, id IDInput, state *NdbDbserverVmState, opts ...ResourceOption) (*NdbDbserverVm, error)
public static NdbDbserverVm Get(string name, Input<string> id, NdbDbserverVmState? state, CustomResourceOptions? opts = null)
public static NdbDbserverVm get(String name, Output<String> id, NdbDbserverVmState state, CustomResourceOptions options)
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.
- Client
Id string - Compute
Profile stringId - Compute profile id.
- Credentials
List<Piers
Karsenbarg. Nutanix. Inputs. Ndb Dbserver Vm Credential> - Database
Type string - database type. Valid values: postgres_database
- Dbserver
Cluster stringId - Delete bool
- (Optional) Delete the VM and associated storage. Default value is true
- Delete
Vgs bool - (Optional) Delete volume grous. Default value is true
- Delete
Vm boolSnapshots - (Optional) Delete the vm snapshots. Default is true
- Description string
- Type a description for the database server VM.
- Era
Drive stringId - Era
Version string - Fqdns string
- Ip
Addresses List<string> - Latest
Snapshot bool - Mac
Addresses List<string> - Maintenance
Tasks PiersKarsenbarg. Nutanix. Inputs. Ndb Dbserver Vm Maintenance Tasks - maintenance window configured to enable automated patching.
- Name string
- Network
Profile stringId - Network profile id.
- Nx
Cluster stringId - Postgres
Databases List<PiersKarsenbarg. Nutanix. Inputs. Ndb Dbserver Vm Postgres Database> - Postgres database server vm
- Properties
List<Piers
Karsenbarg. Nutanix. Inputs. Ndb Dbserver Vm Property> - List of all the properties
- Remove bool
- (Optional) Unregister the database from NDB. Default value is false
- Snapshot
Id string - Snapshot id. If not given, it will use latest snapshot to provision db server vm.
- Soft
Remove bool - (Optional) Soft remove. Default will be false
- Software
Profile stringId - software profile id you want to provision a database server VM from an existing software profile.Required with software_profile_version_id. Conflicts with time_machine_id .
- Software
Profile stringVersion Id - SOftware Profile Version Id.
- Status string
- List<Piers
Karsenbarg. Nutanix. Inputs. Ndb Dbserver Vm Tag> - Time
Machine stringId - Time Machine id you want to provision a database server VM by using the database and operating system software stored in a time machine. Conflicts with software_profile_id.
- Timezone string
- Type string
- Vm
Cluster stringName - Vm
Cluster stringUuid - Vm
Password string - password of the NDB drive user account.
- Vm
Timezone string
- Client
Id string - Compute
Profile stringId - Compute profile id.
- Credentials
[]Ndb
Dbserver Vm Credential Args - Database
Type string - database type. Valid values: postgres_database
- Dbserver
Cluster stringId - Delete bool
- (Optional) Delete the VM and associated storage. Default value is true
- Delete
Vgs bool - (Optional) Delete volume grous. Default value is true
- Delete
Vm boolSnapshots - (Optional) Delete the vm snapshots. Default is true
- Description string
- Type a description for the database server VM.
- Era
Drive stringId - Era
Version string - Fqdns string
- Ip
Addresses []string - Latest
Snapshot bool - Mac
Addresses []string - Maintenance
Tasks NdbDbserver Vm Maintenance Tasks Args - maintenance window configured to enable automated patching.
- Name string
- Network
Profile stringId - Network profile id.
- Nx
Cluster stringId - Postgres
Databases []NdbDbserver Vm Postgres Database Args - Postgres database server vm
- Properties
[]Ndb
Dbserver Vm Property Args - List of all the properties
- Remove bool
- (Optional) Unregister the database from NDB. Default value is false
- Snapshot
Id string - Snapshot id. If not given, it will use latest snapshot to provision db server vm.
- Soft
Remove bool - (Optional) Soft remove. Default will be false
- Software
Profile stringId - software profile id you want to provision a database server VM from an existing software profile.Required with software_profile_version_id. Conflicts with time_machine_id .
- Software
Profile stringVersion Id - SOftware Profile Version Id.
- Status string
- []Ndb
Dbserver Vm Tag Args - Time
Machine stringId - Time Machine id you want to provision a database server VM by using the database and operating system software stored in a time machine. Conflicts with software_profile_id.
- Timezone string
- Type string
- Vm
Cluster stringName - Vm
Cluster stringUuid - Vm
Password string - password of the NDB drive user account.
- Vm
Timezone string
- client
Id String - compute
Profile StringId - Compute profile id.
- credentials
List<Ndb
Dbserver Vm Credential> - database
Type String - database type. Valid values: postgres_database
- dbserver
Cluster StringId - delete Boolean
- (Optional) Delete the VM and associated storage. Default value is true
- delete
Vgs Boolean - (Optional) Delete volume grous. Default value is true
- delete
Vm BooleanSnapshots - (Optional) Delete the vm snapshots. Default is true
- description String
- Type a description for the database server VM.
- era
Drive StringId - era
Version String - fqdns String
- ip
Addresses List<String> - latest
Snapshot Boolean - mac
Addresses List<String> - maintenance
Tasks NdbDbserver Vm Maintenance Tasks - maintenance window configured to enable automated patching.
- name String
- network
Profile StringId - Network profile id.
- nx
Cluster StringId - postgres
Databases List<NdbDbserver Vm Postgres Database> - Postgres database server vm
- properties
List<Ndb
Dbserver Vm Property> - List of all the properties
- remove Boolean
- (Optional) Unregister the database from NDB. Default value is false
- snapshot
Id String - Snapshot id. If not given, it will use latest snapshot to provision db server vm.
- soft
Remove Boolean - (Optional) Soft remove. Default will be false
- software
Profile StringId - software profile id you want to provision a database server VM from an existing software profile.Required with software_profile_version_id. Conflicts with time_machine_id .
- software
Profile StringVersion Id - SOftware Profile Version Id.
- status String
- List<Ndb
Dbserver Vm Tag> - time
Machine StringId - Time Machine id you want to provision a database server VM by using the database and operating system software stored in a time machine. Conflicts with software_profile_id.
- timezone String
- type String
- vm
Cluster StringName - vm
Cluster StringUuid - vm
Password String - password of the NDB drive user account.
- vm
Timezone String
- client
Id string - compute
Profile stringId - Compute profile id.
- credentials
Ndb
Dbserver Vm Credential[] - database
Type string - database type. Valid values: postgres_database
- dbserver
Cluster stringId - delete boolean
- (Optional) Delete the VM and associated storage. Default value is true
- delete
Vgs boolean - (Optional) Delete volume grous. Default value is true
- delete
Vm booleanSnapshots - (Optional) Delete the vm snapshots. Default is true
- description string
- Type a description for the database server VM.
- era
Drive stringId - era
Version string - fqdns string
- ip
Addresses string[] - latest
Snapshot boolean - mac
Addresses string[] - maintenance
Tasks NdbDbserver Vm Maintenance Tasks - maintenance window configured to enable automated patching.
- name string
- network
Profile stringId - Network profile id.
- nx
Cluster stringId - postgres
Databases NdbDbserver Vm Postgres Database[] - Postgres database server vm
- properties
Ndb
Dbserver Vm Property[] - List of all the properties
- remove boolean
- (Optional) Unregister the database from NDB. Default value is false
- snapshot
Id string - Snapshot id. If not given, it will use latest snapshot to provision db server vm.
- soft
Remove boolean - (Optional) Soft remove. Default will be false
- software
Profile stringId - software profile id you want to provision a database server VM from an existing software profile.Required with software_profile_version_id. Conflicts with time_machine_id .
- software
Profile stringVersion Id - SOftware Profile Version Id.
- status string
- Ndb
Dbserver Vm Tag[] - time
Machine stringId - Time Machine id you want to provision a database server VM by using the database and operating system software stored in a time machine. Conflicts with software_profile_id.
- timezone string
- type string
- vm
Cluster stringName - vm
Cluster stringUuid - vm
Password string - password of the NDB drive user account.
- vm
Timezone string
- client_
id str - compute_
profile_ strid - Compute profile id.
- credentials
Sequence[Ndb
Dbserver Vm Credential Args] - database_
type str - database type. Valid values: postgres_database
- dbserver_
cluster_ strid - delete bool
- (Optional) Delete the VM and associated storage. Default value is true
- delete_
vgs bool - (Optional) Delete volume grous. Default value is true
- delete_
vm_ boolsnapshots - (Optional) Delete the vm snapshots. Default is true
- description str
- Type a description for the database server VM.
- era_
drive_ strid - era_
version str - fqdns str
- ip_
addresses Sequence[str] - latest_
snapshot bool - mac_
addresses Sequence[str] - maintenance_
tasks NdbDbserver Vm Maintenance Tasks Args - maintenance window configured to enable automated patching.
- name str
- network_
profile_ strid - Network profile id.
- nx_
cluster_ strid - postgres_
databases Sequence[NdbDbserver Vm Postgres Database Args] - Postgres database server vm
- properties
Sequence[Ndb
Dbserver Vm Property Args] - List of all the properties
- remove bool
- (Optional) Unregister the database from NDB. Default value is false
- snapshot_
id str - Snapshot id. If not given, it will use latest snapshot to provision db server vm.
- soft_
remove bool - (Optional) Soft remove. Default will be false
- software_
profile_ strid - software profile id you want to provision a database server VM from an existing software profile.Required with software_profile_version_id. Conflicts with time_machine_id .
- software_
profile_ strversion_ id - SOftware Profile Version Id.
- status str
- Sequence[Ndb
Dbserver Vm Tag Args] - time_
machine_ strid - Time Machine id you want to provision a database server VM by using the database and operating system software stored in a time machine. Conflicts with software_profile_id.
- timezone str
- type str
- vm_
cluster_ strname - vm_
cluster_ struuid - vm_
password str - password of the NDB drive user account.
- vm_
timezone str
- client
Id String - compute
Profile StringId - Compute profile id.
- credentials List<Property Map>
- database
Type String - database type. Valid values: postgres_database
- dbserver
Cluster StringId - delete Boolean
- (Optional) Delete the VM and associated storage. Default value is true
- delete
Vgs Boolean - (Optional) Delete volume grous. Default value is true
- delete
Vm BooleanSnapshots - (Optional) Delete the vm snapshots. Default is true
- description String
- Type a description for the database server VM.
- era
Drive StringId - era
Version String - fqdns String
- ip
Addresses List<String> - latest
Snapshot Boolean - mac
Addresses List<String> - maintenance
Tasks Property Map - maintenance window configured to enable automated patching.
- name String
- network
Profile StringId - Network profile id.
- nx
Cluster StringId - postgres
Databases List<Property Map> - Postgres database server vm
- properties List<Property Map>
- List of all the properties
- remove Boolean
- (Optional) Unregister the database from NDB. Default value is false
- snapshot
Id String - Snapshot id. If not given, it will use latest snapshot to provision db server vm.
- soft
Remove Boolean - (Optional) Soft remove. Default will be false
- software
Profile StringId - software profile id you want to provision a database server VM from an existing software profile.Required with software_profile_version_id. Conflicts with time_machine_id .
- software
Profile StringVersion Id - SOftware Profile Version Id.
- status String
- List<Property Map>
- time
Machine StringId - Time Machine id you want to provision a database server VM by using the database and operating system software stored in a time machine. Conflicts with software_profile_id.
- timezone String
- type String
- vm
Cluster StringName - vm
Cluster StringUuid - vm
Password String - password of the NDB drive user account.
- vm
Timezone String
Supporting Types
NdbDbserverVmCredential, NdbDbserverVmCredentialArgs
NdbDbserverVmMaintenanceTasks, NdbDbserverVmMaintenanceTasksArgs
- Maintenance
Window stringId - Associate an existing maintenance window id. NDB starts OS patching or database patching as per the schedule defined in the maintenance window.
- Tasks
List<Piers
Karsenbarg. Nutanix. Inputs. Ndb Dbserver Vm Maintenance Tasks Task> - Tasks for the maintenance.
tasks.task_type
: use this option if you want NDB to perform database patching or OS patching automatically. Supports [ OS_PATCHING, DB_PATCHING ].tasks.pre_command
: add pre (operating system and database patching) commands.tasks.post_command
:add post (operating system and database patching) commands.
- Maintenance
Window stringId - Associate an existing maintenance window id. NDB starts OS patching or database patching as per the schedule defined in the maintenance window.
- Tasks
[]Ndb
Dbserver Vm Maintenance Tasks Task - Tasks for the maintenance.
tasks.task_type
: use this option if you want NDB to perform database patching or OS patching automatically. Supports [ OS_PATCHING, DB_PATCHING ].tasks.pre_command
: add pre (operating system and database patching) commands.tasks.post_command
:add post (operating system and database patching) commands.
- maintenance
Window StringId - Associate an existing maintenance window id. NDB starts OS patching or database patching as per the schedule defined in the maintenance window.
- tasks
List<Ndb
Dbserver Vm Maintenance Tasks Task> - Tasks for the maintenance.
tasks.task_type
: use this option if you want NDB to perform database patching or OS patching automatically. Supports [ OS_PATCHING, DB_PATCHING ].tasks.pre_command
: add pre (operating system and database patching) commands.tasks.post_command
:add post (operating system and database patching) commands.
- maintenance
Window stringId - Associate an existing maintenance window id. NDB starts OS patching or database patching as per the schedule defined in the maintenance window.
- tasks
Ndb
Dbserver Vm Maintenance Tasks Task[] - Tasks for the maintenance.
tasks.task_type
: use this option if you want NDB to perform database patching or OS patching automatically. Supports [ OS_PATCHING, DB_PATCHING ].tasks.pre_command
: add pre (operating system and database patching) commands.tasks.post_command
:add post (operating system and database patching) commands.
- maintenance_
window_ strid - Associate an existing maintenance window id. NDB starts OS patching or database patching as per the schedule defined in the maintenance window.
- tasks
Sequence[Ndb
Dbserver Vm Maintenance Tasks Task] - Tasks for the maintenance.
tasks.task_type
: use this option if you want NDB to perform database patching or OS patching automatically. Supports [ OS_PATCHING, DB_PATCHING ].tasks.pre_command
: add pre (operating system and database patching) commands.tasks.post_command
:add post (operating system and database patching) commands.
- maintenance
Window StringId - Associate an existing maintenance window id. NDB starts OS patching or database patching as per the schedule defined in the maintenance window.
- tasks List<Property Map>
- Tasks for the maintenance.
tasks.task_type
: use this option if you want NDB to perform database patching or OS patching automatically. Supports [ OS_PATCHING, DB_PATCHING ].tasks.pre_command
: add pre (operating system and database patching) commands.tasks.post_command
:add post (operating system and database patching) commands.
NdbDbserverVmMaintenanceTasksTask, NdbDbserverVmMaintenanceTasksTaskArgs
- Post
Command string - Pre
Command string - Task
Type string
- Post
Command string - Pre
Command string - Task
Type string
- post
Command String - pre
Command String - task
Type String
- post
Command string - pre
Command string - task
Type string
- post_
command str - pre_
command str - task_
type str
- post
Command String - pre
Command String - task
Type String
NdbDbserverVmPostgresDatabase, NdbDbserverVmPostgresDatabaseArgs
- Vm
Name string - name for the database server VM.
- Client
Public stringKey - use SSH public keys to access the database server VM.
- Vm
Name string - name for the database server VM.
- Client
Public stringKey - use SSH public keys to access the database server VM.
- vm
Name String - name for the database server VM.
- client
Public StringKey - use SSH public keys to access the database server VM.
- vm
Name string - name for the database server VM.
- client
Public stringKey - use SSH public keys to access the database server VM.
- vm_
name str - name for the database server VM.
- client_
public_ strkey - use SSH public keys to access the database server VM.
- vm
Name String - name for the database server VM.
- client
Public StringKey - use SSH public keys to access the database server VM.
NdbDbserverVmProperty, NdbDbserverVmPropertyArgs
NdbDbserverVmTag, NdbDbserverVmTagArgs
- Entity
Id string - Entity
Type string - Tag
Id string - Tag
Name string - Value string
- Entity
Id string - Entity
Type string - Tag
Id string - Tag
Name string - Value string
- entity
Id String - entity
Type String - tag
Id String - tag
Name String - value String
- entity
Id string - entity
Type string - tag
Id string - tag
Name string - value string
- entity_
id str - entity_
type str - tag_
id str - tag_
name str - value str
- entity
Id String - entity
Type String - tag
Id String - tag
Name String - value String
Package Details
- Repository
- nutanix pierskarsenbarg/pulumi-nutanix
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
nutanix
Terraform Provider.