1. Packages
  2. Packages
  3. AWS
  4. API Docs
  5. odb
  6. getDbNodes
Viewing docs for AWS v7.42.0
published on Thursday, Aug 13, 2026 by Pulumi
aws logo aws logo
Viewing docs for AWS v7.42.0
published on Thursday, Aug 13, 2026 by Pulumi

    Data source for manging db nodes linked to cloud vm cluster of Oracle Database@AWS.

    You can find out more about Oracle Database@AWS from User Guide.

    Example Usage

    Basic Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as aws from "@pulumi/aws";
    
    const example = aws.odb.getDbNodes({
        cloudVmClusterId: "example",
    });
    
    import pulumi
    import pulumi_aws as aws
    
    example = aws.odb.get_db_nodes(cloud_vm_cluster_id="example")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-aws/sdk/v7/go/aws/odb"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := odb.GetDbNodes(ctx, &odb.GetDbNodesArgs{
    			CloudVmClusterId: "example",
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Aws = Pulumi.Aws;
    
    return await Deployment.RunAsync(() => 
    {
        var example = Aws.Odb.GetDbNodes.Invoke(new()
        {
            CloudVmClusterId = "example",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.aws.odb.OdbFunctions;
    import com.pulumi.aws.odb.inputs.GetDbNodesArgs;
    import java.util.ArrayList;
    import java.util.Arrays;
    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) {
            final var example = OdbFunctions.getDbNodes(GetDbNodesArgs.builder()
                .cloudVmClusterId("example")
                .build());
    
        }
    }
    
    variables:
      example:
        fn::invoke:
          function: aws:odb:getDbNodes
          arguments:
            cloudVmClusterId: example
    
    pulumi {
      required_providers {
        aws = {
          source = "pulumi/aws"
        }
      }
    }
    
    data "aws_odb_getdbnodes" "example" {
      cloud_vm_cluster_id = "example"
    }
    

    Using getDbNodes

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getDbNodes(args: GetDbNodesArgs, opts?: InvokeOptions): Promise<GetDbNodesResult>
    function getDbNodesOutput(args: GetDbNodesOutputArgs, opts?: InvokeOptions): Output<GetDbNodesResult>
    def get_db_nodes(cloud_vm_cluster_id: Optional[str] = None,
                     region: Optional[str] = None,
                     opts: Optional[InvokeOptions] = None) -> GetDbNodesResult
    def get_db_nodes_output(cloud_vm_cluster_id: pulumi.Input[Optional[str]] = None,
                     region: pulumi.Input[Optional[str]] = None,
                     opts: Optional[InvokeOptions] = None) -> Output[GetDbNodesResult]
    func GetDbNodes(ctx *Context, args *GetDbNodesArgs, opts ...InvokeOption) (*GetDbNodesResult, error)
    func GetDbNodesOutput(ctx *Context, args *GetDbNodesOutputArgs, opts ...InvokeOption) GetDbNodesResultOutput

    > Note: This function is named GetDbNodes in the Go SDK.

    public static class GetDbNodes 
    {
        public static Task<GetDbNodesResult> InvokeAsync(GetDbNodesArgs args, InvokeOptions? opts = null)
        public static Output<GetDbNodesResult> Invoke(GetDbNodesInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetDbNodesResult> getDbNodes(GetDbNodesArgs args, InvokeOptions options)
    public static Output<GetDbNodesResult> getDbNodes(GetDbNodesArgs args, InvokeOptions options)
    
    fn::invoke:
      function: aws:odb/getDbNodes:getDbNodes
      arguments:
        # arguments dictionary
    data "aws_odb_get_db_nodes" "name" {
        # arguments
    }

    The following arguments are supported:

    CloudVmClusterId string

    Unique identifier of the cloud vm cluster.

    The following arguments are optional:

    Region string
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    CloudVmClusterId string

    Unique identifier of the cloud vm cluster.

    The following arguments are optional:

    Region string
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    cloud_vm_cluster_id string

    Unique identifier of the cloud vm cluster.

    The following arguments are optional:

    region string
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    cloudVmClusterId String

    Unique identifier of the cloud vm cluster.

    The following arguments are optional:

    region String
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    cloudVmClusterId string

    Unique identifier of the cloud vm cluster.

    The following arguments are optional:

    region string
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    cloud_vm_cluster_id str

    Unique identifier of the cloud vm cluster.

    The following arguments are optional:

    region str
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    cloudVmClusterId String

    Unique identifier of the cloud vm cluster.

    The following arguments are optional:

    region String
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.

    getDbNodes Result

    The following output properties are available:

    CloudVmClusterId string
    DbNodes List<GetDbNodesDbNode>
    List of DB nodes along with their properties.
    Region string
    CloudVmClusterId string
    DbNodes []GetDbNodesDbNode
    List of DB nodes along with their properties.
    Region string
    cloud_vm_cluster_id string
    db_nodes list(object)
    List of DB nodes along with their properties.
    region string
    cloudVmClusterId String
    dbNodes List<GetDbNodesDbNode>
    List of DB nodes along with their properties.
    region String
    cloudVmClusterId string
    dbNodes GetDbNodesDbNode[]
    List of DB nodes along with their properties.
    region string
    cloud_vm_cluster_id str
    db_nodes Sequence[GetDbNodesDbNode]
    List of DB nodes along with their properties.
    region str
    cloudVmClusterId String
    dbNodes List<Property Map>
    List of DB nodes along with their properties.
    region String

    Supporting Types

    GetDbNodesDbNode

    AdditionalDetails string
    Additional information about the planned maintenance.
    Arn string
    Amazon Resource Name (ARN) of the DB node.
    BackupIpId string
    Oracle Cloud ID (OCID) of the backup IP address that's associated with the DB node.
    BackupVnic2Id string
    OCID of the second backup virtual network interface card (VNIC) for the DB node.
    BackupVnicId string
    OCID of the backup VNIC for the DB node.
    CpuCoreCount int
    Number of CPU cores enabled on the DB node.
    CreatedAt string
    Date and time when the DB node was created.
    DbNodeStorageSize int
    Amount of local node storage, in gigabytes (GB), that's allocated on the DB node.
    DbServerId string
    Unique identifier of the database server that's associated with the DB node.
    DbSystemId string
    OCID of the DB system.
    FaultDomain string
    Name of the fault domain where the DB node is located.
    HostIpId string
    OCID of the host IP address that's associated with the DB node.
    Hostname string
    Host name for the DB node.
    Id string
    Unique identifier of the DB node.
    MaintenanceType string
    Type of maintenance the DB node is undergoing.
    MemorySize int
    Amount of memory, in gigabytes (GB), that's allocated on the DB node.
    OciResourceAnchorName string
    Name of the OCI resource anchor for the DB node.
    Ocid string
    OCID of the DB node.
    SoftwareStorageSize int
    Size of the block storage volume, in gigabytes (GB), that's allocated for the DB system. This attribute applies only for virtual machine DB systems.
    Status string
    Current status of the DB node.
    StatusReason string
    Additional information about the status of the DB node.
    TimeMaintenanceWindowEnd string
    End date and time of the maintenance window.
    TimeMaintenanceWindowStart string
    Start date and time of the maintenance window.
    TotalCpuCoreCount int
    Total number of CPU cores reserved on the DB node.
    Vnic2Id string
    OCID of the second VNIC.
    VnicId string
    OCID of the VNIC.
    AdditionalDetails string
    Additional information about the planned maintenance.
    Arn string
    Amazon Resource Name (ARN) of the DB node.
    BackupIpId string
    Oracle Cloud ID (OCID) of the backup IP address that's associated with the DB node.
    BackupVnic2Id string
    OCID of the second backup virtual network interface card (VNIC) for the DB node.
    BackupVnicId string
    OCID of the backup VNIC for the DB node.
    CpuCoreCount int
    Number of CPU cores enabled on the DB node.
    CreatedAt string
    Date and time when the DB node was created.
    DbNodeStorageSize int
    Amount of local node storage, in gigabytes (GB), that's allocated on the DB node.
    DbServerId string
    Unique identifier of the database server that's associated with the DB node.
    DbSystemId string
    OCID of the DB system.
    FaultDomain string
    Name of the fault domain where the DB node is located.
    HostIpId string
    OCID of the host IP address that's associated with the DB node.
    Hostname string
    Host name for the DB node.
    Id string
    Unique identifier of the DB node.
    MaintenanceType string
    Type of maintenance the DB node is undergoing.
    MemorySize int
    Amount of memory, in gigabytes (GB), that's allocated on the DB node.
    OciResourceAnchorName string
    Name of the OCI resource anchor for the DB node.
    Ocid string
    OCID of the DB node.
    SoftwareStorageSize int
    Size of the block storage volume, in gigabytes (GB), that's allocated for the DB system. This attribute applies only for virtual machine DB systems.
    Status string
    Current status of the DB node.
    StatusReason string
    Additional information about the status of the DB node.
    TimeMaintenanceWindowEnd string
    End date and time of the maintenance window.
    TimeMaintenanceWindowStart string
    Start date and time of the maintenance window.
    TotalCpuCoreCount int
    Total number of CPU cores reserved on the DB node.
    Vnic2Id string
    OCID of the second VNIC.
    VnicId string
    OCID of the VNIC.
    additional_details string
    Additional information about the planned maintenance.
    arn string
    Amazon Resource Name (ARN) of the DB node.
    backup_ip_id string
    Oracle Cloud ID (OCID) of the backup IP address that's associated with the DB node.
    backup_vnic2_id string
    OCID of the second backup virtual network interface card (VNIC) for the DB node.
    backup_vnic_id string
    OCID of the backup VNIC for the DB node.
    cpu_core_count number
    Number of CPU cores enabled on the DB node.
    created_at string
    Date and time when the DB node was created.
    db_node_storage_size number
    Amount of local node storage, in gigabytes (GB), that's allocated on the DB node.
    db_server_id string
    Unique identifier of the database server that's associated with the DB node.
    db_system_id string
    OCID of the DB system.
    fault_domain string
    Name of the fault domain where the DB node is located.
    host_ip_id string
    OCID of the host IP address that's associated with the DB node.
    hostname string
    Host name for the DB node.
    id string
    Unique identifier of the DB node.
    maintenance_type string
    Type of maintenance the DB node is undergoing.
    memory_size number
    Amount of memory, in gigabytes (GB), that's allocated on the DB node.
    oci_resource_anchor_name string
    Name of the OCI resource anchor for the DB node.
    ocid string
    OCID of the DB node.
    software_storage_size number
    Size of the block storage volume, in gigabytes (GB), that's allocated for the DB system. This attribute applies only for virtual machine DB systems.
    status string
    Current status of the DB node.
    status_reason string
    Additional information about the status of the DB node.
    time_maintenance_window_end string
    End date and time of the maintenance window.
    time_maintenance_window_start string
    Start date and time of the maintenance window.
    total_cpu_core_count number
    Total number of CPU cores reserved on the DB node.
    vnic2_id string
    OCID of the second VNIC.
    vnic_id string
    OCID of the VNIC.
    additionalDetails String
    Additional information about the planned maintenance.
    arn String
    Amazon Resource Name (ARN) of the DB node.
    backupIpId String
    Oracle Cloud ID (OCID) of the backup IP address that's associated with the DB node.
    backupVnic2Id String
    OCID of the second backup virtual network interface card (VNIC) for the DB node.
    backupVnicId String
    OCID of the backup VNIC for the DB node.
    cpuCoreCount Integer
    Number of CPU cores enabled on the DB node.
    createdAt String
    Date and time when the DB node was created.
    dbNodeStorageSize Integer
    Amount of local node storage, in gigabytes (GB), that's allocated on the DB node.
    dbServerId String
    Unique identifier of the database server that's associated with the DB node.
    dbSystemId String
    OCID of the DB system.
    faultDomain String
    Name of the fault domain where the DB node is located.
    hostIpId String
    OCID of the host IP address that's associated with the DB node.
    hostname String
    Host name for the DB node.
    id String
    Unique identifier of the DB node.
    maintenanceType String
    Type of maintenance the DB node is undergoing.
    memorySize Integer
    Amount of memory, in gigabytes (GB), that's allocated on the DB node.
    ociResourceAnchorName String
    Name of the OCI resource anchor for the DB node.
    ocid String
    OCID of the DB node.
    softwareStorageSize Integer
    Size of the block storage volume, in gigabytes (GB), that's allocated for the DB system. This attribute applies only for virtual machine DB systems.
    status String
    Current status of the DB node.
    statusReason String
    Additional information about the status of the DB node.
    timeMaintenanceWindowEnd String
    End date and time of the maintenance window.
    timeMaintenanceWindowStart String
    Start date and time of the maintenance window.
    totalCpuCoreCount Integer
    Total number of CPU cores reserved on the DB node.
    vnic2Id String
    OCID of the second VNIC.
    vnicId String
    OCID of the VNIC.
    additionalDetails string
    Additional information about the planned maintenance.
    arn string
    Amazon Resource Name (ARN) of the DB node.
    backupIpId string
    Oracle Cloud ID (OCID) of the backup IP address that's associated with the DB node.
    backupVnic2Id string
    OCID of the second backup virtual network interface card (VNIC) for the DB node.
    backupVnicId string
    OCID of the backup VNIC for the DB node.
    cpuCoreCount number
    Number of CPU cores enabled on the DB node.
    createdAt string
    Date and time when the DB node was created.
    dbNodeStorageSize number
    Amount of local node storage, in gigabytes (GB), that's allocated on the DB node.
    dbServerId string
    Unique identifier of the database server that's associated with the DB node.
    dbSystemId string
    OCID of the DB system.
    faultDomain string
    Name of the fault domain where the DB node is located.
    hostIpId string
    OCID of the host IP address that's associated with the DB node.
    hostname string
    Host name for the DB node.
    id string
    Unique identifier of the DB node.
    maintenanceType string
    Type of maintenance the DB node is undergoing.
    memorySize number
    Amount of memory, in gigabytes (GB), that's allocated on the DB node.
    ociResourceAnchorName string
    Name of the OCI resource anchor for the DB node.
    ocid string
    OCID of the DB node.
    softwareStorageSize number
    Size of the block storage volume, in gigabytes (GB), that's allocated for the DB system. This attribute applies only for virtual machine DB systems.
    status string
    Current status of the DB node.
    statusReason string
    Additional information about the status of the DB node.
    timeMaintenanceWindowEnd string
    End date and time of the maintenance window.
    timeMaintenanceWindowStart string
    Start date and time of the maintenance window.
    totalCpuCoreCount number
    Total number of CPU cores reserved on the DB node.
    vnic2Id string
    OCID of the second VNIC.
    vnicId string
    OCID of the VNIC.
    additional_details str
    Additional information about the planned maintenance.
    arn str
    Amazon Resource Name (ARN) of the DB node.
    backup_ip_id str
    Oracle Cloud ID (OCID) of the backup IP address that's associated with the DB node.
    backup_vnic2_id str
    OCID of the second backup virtual network interface card (VNIC) for the DB node.
    backup_vnic_id str
    OCID of the backup VNIC for the DB node.
    cpu_core_count int
    Number of CPU cores enabled on the DB node.
    created_at str
    Date and time when the DB node was created.
    db_node_storage_size int
    Amount of local node storage, in gigabytes (GB), that's allocated on the DB node.
    db_server_id str
    Unique identifier of the database server that's associated with the DB node.
    db_system_id str
    OCID of the DB system.
    fault_domain str
    Name of the fault domain where the DB node is located.
    host_ip_id str
    OCID of the host IP address that's associated with the DB node.
    hostname str
    Host name for the DB node.
    id str
    Unique identifier of the DB node.
    maintenance_type str
    Type of maintenance the DB node is undergoing.
    memory_size int
    Amount of memory, in gigabytes (GB), that's allocated on the DB node.
    oci_resource_anchor_name str
    Name of the OCI resource anchor for the DB node.
    ocid str
    OCID of the DB node.
    software_storage_size int
    Size of the block storage volume, in gigabytes (GB), that's allocated for the DB system. This attribute applies only for virtual machine DB systems.
    status str
    Current status of the DB node.
    status_reason str
    Additional information about the status of the DB node.
    time_maintenance_window_end str
    End date and time of the maintenance window.
    time_maintenance_window_start str
    Start date and time of the maintenance window.
    total_cpu_core_count int
    Total number of CPU cores reserved on the DB node.
    vnic2_id str
    OCID of the second VNIC.
    vnic_id str
    OCID of the VNIC.
    additionalDetails String
    Additional information about the planned maintenance.
    arn String
    Amazon Resource Name (ARN) of the DB node.
    backupIpId String
    Oracle Cloud ID (OCID) of the backup IP address that's associated with the DB node.
    backupVnic2Id String
    OCID of the second backup virtual network interface card (VNIC) for the DB node.
    backupVnicId String
    OCID of the backup VNIC for the DB node.
    cpuCoreCount Number
    Number of CPU cores enabled on the DB node.
    createdAt String
    Date and time when the DB node was created.
    dbNodeStorageSize Number
    Amount of local node storage, in gigabytes (GB), that's allocated on the DB node.
    dbServerId String
    Unique identifier of the database server that's associated with the DB node.
    dbSystemId String
    OCID of the DB system.
    faultDomain String
    Name of the fault domain where the DB node is located.
    hostIpId String
    OCID of the host IP address that's associated with the DB node.
    hostname String
    Host name for the DB node.
    id String
    Unique identifier of the DB node.
    maintenanceType String
    Type of maintenance the DB node is undergoing.
    memorySize Number
    Amount of memory, in gigabytes (GB), that's allocated on the DB node.
    ociResourceAnchorName String
    Name of the OCI resource anchor for the DB node.
    ocid String
    OCID of the DB node.
    softwareStorageSize Number
    Size of the block storage volume, in gigabytes (GB), that's allocated for the DB system. This attribute applies only for virtual machine DB systems.
    status String
    Current status of the DB node.
    statusReason String
    Additional information about the status of the DB node.
    timeMaintenanceWindowEnd String
    End date and time of the maintenance window.
    timeMaintenanceWindowStart String
    Start date and time of the maintenance window.
    totalCpuCoreCount Number
    Total number of CPU cores reserved on the DB node.
    vnic2Id String
    OCID of the second VNIC.
    vnicId String
    OCID of the VNIC.

    Package Details

    Repository
    AWS Classic pulumi/pulumi-aws
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the aws Terraform Provider.
    aws logo aws logo
    Viewing docs for AWS v7.42.0
    published on Thursday, Aug 13, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial