1. Packages
  2. AWS
  3. API Docs
  4. odb
  5. getDbNodes
AWS v7.8.0 published on Tuesday, Oct 7, 2025 by Pulumi

aws.odb.getDbNodes

Deploy with Pulumi
aws logo
AWS v7.8.0 published on Tuesday, Oct 7, 2025 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.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) {
            final var example = OdbFunctions.getDbNodes(GetDbNodesArgs.builder()
                .cloudVmClusterId("example")
                .build());
    
        }
    }
    
    variables:
      example:
        fn::invoke:
          function: aws:odb:getDbNodes
          arguments:
            cloudVmClusterId: 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: Optional[pulumi.Input[str]] = None,
                     region: Optional[pulumi.Input[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

    The following arguments are supported:

    CloudVmClusterId string

    The 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

    The 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

    The 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

    The 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

    The 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

    The 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>
    The list of DB nodes along with their properties.
    Id string
    The provider-assigned unique ID for this managed resource.
    Region string
    CloudVmClusterId string
    DbNodes []GetDbNodesDbNode
    The list of DB nodes along with their properties.
    Id string
    The provider-assigned unique ID for this managed resource.
    Region string
    cloudVmClusterId String
    dbNodes List<GetDbNodesDbNode>
    The list of DB nodes along with their properties.
    id String
    The provider-assigned unique ID for this managed resource.
    region String
    cloudVmClusterId string
    dbNodes GetDbNodesDbNode[]
    The list of DB nodes along with their properties.
    id string
    The provider-assigned unique ID for this managed resource.
    region string
    cloud_vm_cluster_id str
    db_nodes Sequence[GetDbNodesDbNode]
    The list of DB nodes along with their properties.
    id str
    The provider-assigned unique ID for this managed resource.
    region str
    cloudVmClusterId String
    dbNodes List<Property Map>
    The list of DB nodes along with their properties.
    id String
    The provider-assigned unique ID for this managed resource.
    region String

    Supporting Types

    GetDbNodesDbNode

    AdditionalDetails string
    Additional information about the planned maintenance.
    Arn string
    BackupIpId string
    The Oracle Cloud ID (OCID) of the backup IP address that's associated with the DB node.
    BackupVnic2Id string
    BackupVnicId string
    The OCID of the backup VNIC for the DB node.
    CpuCoreCount int
    The number of CPU cores enabled on the DB node.
    CreatedAt string
    The date and time when the DB node was created.
    DbNodeStorageSize int
    DbServerId string
    The unique identifier of the database server that's associated with the DB node.
    DbSystemId string
    The OCID of the DB system.
    FaultDomain string
    The name of the fault domain where the DB node is located.
    HostIpId string
    The OCID of the host IP address that's associated with the DB node.
    Hostname string
    The host name for the DB node.
    Id string
    MaintenanceType string
    The type of maintenance the DB node is undergoing.
    MemorySize int
    OciResourceAnchorName string
    The name of the OCI resource anchor for the DB node.
    Ocid string
    The OCID of the DB node.
    SoftwareStorageSize int
    Status string
    The current status of the DB node.
    StatusReason string
    Additional information about the status of the DB node.
    TimeMaintenanceWindowEnd string
    The end date and time of the maintenance window.
    TimeMaintenanceWindowStart string
    The start date and time of the maintenance window.
    TotalCpuCoreCount int
    The total number of CPU cores reserved on the DB node.
    Vnic2Id string
    VnicId string
    The OCID of the VNIC.
    AdditionalDetails string
    Additional information about the planned maintenance.
    Arn string
    BackupIpId string
    The Oracle Cloud ID (OCID) of the backup IP address that's associated with the DB node.
    BackupVnic2Id string
    BackupVnicId string
    The OCID of the backup VNIC for the DB node.
    CpuCoreCount int
    The number of CPU cores enabled on the DB node.
    CreatedAt string
    The date and time when the DB node was created.
    DbNodeStorageSize int
    DbServerId string
    The unique identifier of the database server that's associated with the DB node.
    DbSystemId string
    The OCID of the DB system.
    FaultDomain string
    The name of the fault domain where the DB node is located.
    HostIpId string
    The OCID of the host IP address that's associated with the DB node.
    Hostname string
    The host name for the DB node.
    Id string
    MaintenanceType string
    The type of maintenance the DB node is undergoing.
    MemorySize int
    OciResourceAnchorName string
    The name of the OCI resource anchor for the DB node.
    Ocid string
    The OCID of the DB node.
    SoftwareStorageSize int
    Status string
    The current status of the DB node.
    StatusReason string
    Additional information about the status of the DB node.
    TimeMaintenanceWindowEnd string
    The end date and time of the maintenance window.
    TimeMaintenanceWindowStart string
    The start date and time of the maintenance window.
    TotalCpuCoreCount int
    The total number of CPU cores reserved on the DB node.
    Vnic2Id string
    VnicId string
    The OCID of the VNIC.
    additionalDetails String
    Additional information about the planned maintenance.
    arn String
    backupIpId String
    The Oracle Cloud ID (OCID) of the backup IP address that's associated with the DB node.
    backupVnic2Id String
    backupVnicId String
    The OCID of the backup VNIC for the DB node.
    cpuCoreCount Integer
    The number of CPU cores enabled on the DB node.
    createdAt String
    The date and time when the DB node was created.
    dbNodeStorageSize Integer
    dbServerId String
    The unique identifier of the database server that's associated with the DB node.
    dbSystemId String
    The OCID of the DB system.
    faultDomain String
    The name of the fault domain where the DB node is located.
    hostIpId String
    The OCID of the host IP address that's associated with the DB node.
    hostname String
    The host name for the DB node.
    id String
    maintenanceType String
    The type of maintenance the DB node is undergoing.
    memorySize Integer
    ociResourceAnchorName String
    The name of the OCI resource anchor for the DB node.
    ocid String
    The OCID of the DB node.
    softwareStorageSize Integer
    status String
    The current status of the DB node.
    statusReason String
    Additional information about the status of the DB node.
    timeMaintenanceWindowEnd String
    The end date and time of the maintenance window.
    timeMaintenanceWindowStart String
    The start date and time of the maintenance window.
    totalCpuCoreCount Integer
    The total number of CPU cores reserved on the DB node.
    vnic2Id String
    vnicId String
    The OCID of the VNIC.
    additionalDetails string
    Additional information about the planned maintenance.
    arn string
    backupIpId string
    The Oracle Cloud ID (OCID) of the backup IP address that's associated with the DB node.
    backupVnic2Id string
    backupVnicId string
    The OCID of the backup VNIC for the DB node.
    cpuCoreCount number
    The number of CPU cores enabled on the DB node.
    createdAt string
    The date and time when the DB node was created.
    dbNodeStorageSize number
    dbServerId string
    The unique identifier of the database server that's associated with the DB node.
    dbSystemId string
    The OCID of the DB system.
    faultDomain string
    The name of the fault domain where the DB node is located.
    hostIpId string
    The OCID of the host IP address that's associated with the DB node.
    hostname string
    The host name for the DB node.
    id string
    maintenanceType string
    The type of maintenance the DB node is undergoing.
    memorySize number
    ociResourceAnchorName string
    The name of the OCI resource anchor for the DB node.
    ocid string
    The OCID of the DB node.
    softwareStorageSize number
    status string
    The current status of the DB node.
    statusReason string
    Additional information about the status of the DB node.
    timeMaintenanceWindowEnd string
    The end date and time of the maintenance window.
    timeMaintenanceWindowStart string
    The start date and time of the maintenance window.
    totalCpuCoreCount number
    The total number of CPU cores reserved on the DB node.
    vnic2Id string
    vnicId string
    The OCID of the VNIC.
    additional_details str
    Additional information about the planned maintenance.
    arn str
    backup_ip_id str
    The Oracle Cloud ID (OCID) of the backup IP address that's associated with the DB node.
    backup_vnic2_id str
    backup_vnic_id str
    The OCID of the backup VNIC for the DB node.
    cpu_core_count int
    The number of CPU cores enabled on the DB node.
    created_at str
    The date and time when the DB node was created.
    db_node_storage_size int
    db_server_id str
    The unique identifier of the database server that's associated with the DB node.
    db_system_id str
    The OCID of the DB system.
    fault_domain str
    The name of the fault domain where the DB node is located.
    host_ip_id str
    The OCID of the host IP address that's associated with the DB node.
    hostname str
    The host name for the DB node.
    id str
    maintenance_type str
    The type of maintenance the DB node is undergoing.
    memory_size int
    oci_resource_anchor_name str
    The name of the OCI resource anchor for the DB node.
    ocid str
    The OCID of the DB node.
    software_storage_size int
    status str
    The current status of the DB node.
    status_reason str
    Additional information about the status of the DB node.
    time_maintenance_window_end str
    The end date and time of the maintenance window.
    time_maintenance_window_start str
    The start date and time of the maintenance window.
    total_cpu_core_count int
    The total number of CPU cores reserved on the DB node.
    vnic2_id str
    vnic_id str
    The OCID of the VNIC.
    additionalDetails String
    Additional information about the planned maintenance.
    arn String
    backupIpId String
    The Oracle Cloud ID (OCID) of the backup IP address that's associated with the DB node.
    backupVnic2Id String
    backupVnicId String
    The OCID of the backup VNIC for the DB node.
    cpuCoreCount Number
    The number of CPU cores enabled on the DB node.
    createdAt String
    The date and time when the DB node was created.
    dbNodeStorageSize Number
    dbServerId String
    The unique identifier of the database server that's associated with the DB node.
    dbSystemId String
    The OCID of the DB system.
    faultDomain String
    The name of the fault domain where the DB node is located.
    hostIpId String
    The OCID of the host IP address that's associated with the DB node.
    hostname String
    The host name for the DB node.
    id String
    maintenanceType String
    The type of maintenance the DB node is undergoing.
    memorySize Number
    ociResourceAnchorName String
    The name of the OCI resource anchor for the DB node.
    ocid String
    The OCID of the DB node.
    softwareStorageSize Number
    status String
    The current status of the DB node.
    statusReason String
    Additional information about the status of the DB node.
    timeMaintenanceWindowEnd String
    The end date and time of the maintenance window.
    timeMaintenanceWindowStart String
    The start date and time of the maintenance window.
    totalCpuCoreCount Number
    The total number of CPU cores reserved on the DB node.
    vnic2Id String
    vnicId String
    The 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 v7.8.0 published on Tuesday, Oct 7, 2025 by Pulumi
      Meet Neo: Your AI Platform Teammate