1. Packages
  2. Azure Classic
  3. API Docs
  4. oracle
  5. getDbNodes

We recommend using Azure Native.

Azure v6.22.0 published on Tuesday, Apr 1, 2025 by Pulumi

azure.oracle.getDbNodes

Explore with Pulumi AI

We recommend using Azure Native.

Azure v6.22.0 published on Tuesday, Apr 1, 2025 by Pulumi

Lists the database nodes for the specified Cloud VM Cluster.

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as azure from "@pulumi/azure";

export = async () => {
    const example = await azure.oracle.getDbNodes({
        cloudVmClusterId: "existing",
    });
    return {
        example: example,
    };
}
Copy
import pulumi
import pulumi_azure as azure

example = azure.oracle.get_db_nodes(cloud_vm_cluster_id="existing")
pulumi.export("example", example)
Copy
package main

import (
	"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/oracle"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := oracle.GetDbNodes(ctx, &oracle.GetDbNodesArgs{
			CloudVmClusterId: "existing",
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("example", example)
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Azure = Pulumi.Azure;

return await Deployment.RunAsync(() => 
{
    var example = Azure.Oracle.GetDbNodes.Invoke(new()
    {
        CloudVmClusterId = "existing",
    });

    return new Dictionary<string, object?>
    {
        ["example"] = example,
    };
});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azure.oracle.OracleFunctions;
import com.pulumi.azure.oracle.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 = OracleFunctions.getDbNodes(GetDbNodesArgs.builder()
            .cloudVmClusterId("existing")
            .build());

        ctx.export("example", example.applyValue(getDbNodesResult -> getDbNodesResult));
    }
}
Copy
variables:
  example:
    fn::invoke:
      function: azure:oracle:getDbNodes
      arguments:
        cloudVmClusterId: existing
outputs:
  example: ${example}
Copy

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>
Copy
def get_db_nodes(cloud_vm_cluster_id: Optional[str] = None,
                 opts: Optional[InvokeOptions] = None) -> GetDbNodesResult
def get_db_nodes_output(cloud_vm_cluster_id: Optional[pulumi.Input[str]] = None,
                 opts: Optional[InvokeOptions] = None) -> Output[GetDbNodesResult]
Copy
func GetDbNodes(ctx *Context, args *GetDbNodesArgs, opts ...InvokeOption) (*GetDbNodesResult, error)
func GetDbNodesOutput(ctx *Context, args *GetDbNodesOutputArgs, opts ...InvokeOption) GetDbNodesResultOutput
Copy

> 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)
}
Copy
public static CompletableFuture<GetDbNodesResult> getDbNodes(GetDbNodesArgs args, InvokeOptions options)
public static Output<GetDbNodesResult> getDbNodes(GetDbNodesArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: azure:oracle/getDbNodes:getDbNodes
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

CloudVmClusterId This property is required. string
The id of the Cloud VM cluster.
CloudVmClusterId This property is required. string
The id of the Cloud VM cluster.
cloudVmClusterId This property is required. String
The id of the Cloud VM cluster.
cloudVmClusterId This property is required. string
The id of the Cloud VM cluster.
cloud_vm_cluster_id This property is required. str
The id of the Cloud VM cluster.
cloudVmClusterId This property is required. String
The id of the Cloud VM cluster.

getDbNodes Result

The following output properties are available:

CloudVmClusterId string
DbNodes List<GetDbNodesDbNode>
A db_nodes block as defined below.
Id string
The provider-assigned unique ID for this managed resource.
CloudVmClusterId string
DbNodes []GetDbNodesDbNode
A db_nodes block as defined below.
Id string
The provider-assigned unique ID for this managed resource.
cloudVmClusterId String
dbNodes List<GetDbNodesDbNode>
A db_nodes block as defined below.
id String
The provider-assigned unique ID for this managed resource.
cloudVmClusterId string
dbNodes GetDbNodesDbNode[]
A db_nodes block as defined below.
id string
The provider-assigned unique ID for this managed resource.
cloud_vm_cluster_id str
db_nodes Sequence[GetDbNodesDbNode]
A db_nodes block as defined below.
id str
The provider-assigned unique ID for this managed resource.
cloudVmClusterId String
dbNodes List<Property Map>
A db_nodes block as defined below.
id String
The provider-assigned unique ID for this managed resource.

Supporting Types

GetDbNodesDbNode

AdditionalDetails This property is required. string
Additional information about the planned maintenance.
BackupIpId This property is required. string
The OCID of the backup IP address associated with the database node. Use this OCID with either the GetPrivateIp or the GetPublicIpByPrivateIpId API to get the IP address needed to make a database connection.
BackupVnic2Id This property is required. string
BackupVnicId This property is required. string
The OCID of the backup VNIC.
CpuCoreCount This property is required. int
The number of CPU cores enabled on the DB node.
DbNodeStorageSizeInGbs This property is required. int
The allocated local node storage in GBs on the DB node.
DbServerId This property is required. string
The OCID of the ExaCC DB server associated with the database node.
DbSystemId This property is required. string
The OCID of the DB system.
FaultDomain This property is required. string
The name of the Fault Domain the instance is contained in.
HostIpId This property is required. string
The OCID of the host IP address associated with the database node. Use this OCID with either the GetPrivateIp or the GetPublicIpByPrivateIpId API to get the IP address needed to make a database connection.
Hostname This property is required. string
LifecycleDetails This property is required. string
Information about the current lifecycle details.
LifecycleState This property is required. string
Information about the current lifecycle state.
MaintenanceType This property is required. string
The type of database node maintenance.
MemorySizeInGbs This property is required. int
The allocated memory in GBs on the DB Node.
Ocid This property is required. string
The OCID of the DB node.
SoftwareStorageSizeInGb This property is required. int
The size (in GB) of the block storage volume allocation for the DB system. This attribute applies only for virtual machine DB systems.
TimeCreated This property is required. string
The date and time that the DB node was created.
TimeMaintenanceWindowEnd This property is required. string
End date and time of maintenance window.
TimeMaintenanceWindowStart This property is required. string
Start date and time of maintenance window.
Vnic2Id This property is required. string
VnicId This property is required. string
The OCID of the VNIC.
AdditionalDetails This property is required. string
Additional information about the planned maintenance.
BackupIpId This property is required. string
The OCID of the backup IP address associated with the database node. Use this OCID with either the GetPrivateIp or the GetPublicIpByPrivateIpId API to get the IP address needed to make a database connection.
BackupVnic2Id This property is required. string
BackupVnicId This property is required. string
The OCID of the backup VNIC.
CpuCoreCount This property is required. int
The number of CPU cores enabled on the DB node.
DbNodeStorageSizeInGbs This property is required. int
The allocated local node storage in GBs on the DB node.
DbServerId This property is required. string
The OCID of the ExaCC DB server associated with the database node.
DbSystemId This property is required. string
The OCID of the DB system.
FaultDomain This property is required. string
The name of the Fault Domain the instance is contained in.
HostIpId This property is required. string
The OCID of the host IP address associated with the database node. Use this OCID with either the GetPrivateIp or the GetPublicIpByPrivateIpId API to get the IP address needed to make a database connection.
Hostname This property is required. string
LifecycleDetails This property is required. string
Information about the current lifecycle details.
LifecycleState This property is required. string
Information about the current lifecycle state.
MaintenanceType This property is required. string
The type of database node maintenance.
MemorySizeInGbs This property is required. int
The allocated memory in GBs on the DB Node.
Ocid This property is required. string
The OCID of the DB node.
SoftwareStorageSizeInGb This property is required. int
The size (in GB) of the block storage volume allocation for the DB system. This attribute applies only for virtual machine DB systems.
TimeCreated This property is required. string
The date and time that the DB node was created.
TimeMaintenanceWindowEnd This property is required. string
End date and time of maintenance window.
TimeMaintenanceWindowStart This property is required. string
Start date and time of maintenance window.
Vnic2Id This property is required. string
VnicId This property is required. string
The OCID of the VNIC.
additionalDetails This property is required. String
Additional information about the planned maintenance.
backupIpId This property is required. String
The OCID of the backup IP address associated with the database node. Use this OCID with either the GetPrivateIp or the GetPublicIpByPrivateIpId API to get the IP address needed to make a database connection.
backupVnic2Id This property is required. String
backupVnicId This property is required. String
The OCID of the backup VNIC.
cpuCoreCount This property is required. Integer
The number of CPU cores enabled on the DB node.
dbNodeStorageSizeInGbs This property is required. Integer
The allocated local node storage in GBs on the DB node.
dbServerId This property is required. String
The OCID of the ExaCC DB server associated with the database node.
dbSystemId This property is required. String
The OCID of the DB system.
faultDomain This property is required. String
The name of the Fault Domain the instance is contained in.
hostIpId This property is required. String
The OCID of the host IP address associated with the database node. Use this OCID with either the GetPrivateIp or the GetPublicIpByPrivateIpId API to get the IP address needed to make a database connection.
hostname This property is required. String
lifecycleDetails This property is required. String
Information about the current lifecycle details.
lifecycleState This property is required. String
Information about the current lifecycle state.
maintenanceType This property is required. String
The type of database node maintenance.
memorySizeInGbs This property is required. Integer
The allocated memory in GBs on the DB Node.
ocid This property is required. String
The OCID of the DB node.
softwareStorageSizeInGb This property is required. Integer
The size (in GB) of the block storage volume allocation for the DB system. This attribute applies only for virtual machine DB systems.
timeCreated This property is required. String
The date and time that the DB node was created.
timeMaintenanceWindowEnd This property is required. String
End date and time of maintenance window.
timeMaintenanceWindowStart This property is required. String
Start date and time of maintenance window.
vnic2Id This property is required. String
vnicId This property is required. String
The OCID of the VNIC.
additionalDetails This property is required. string
Additional information about the planned maintenance.
backupIpId This property is required. string
The OCID of the backup IP address associated with the database node. Use this OCID with either the GetPrivateIp or the GetPublicIpByPrivateIpId API to get the IP address needed to make a database connection.
backupVnic2Id This property is required. string
backupVnicId This property is required. string
The OCID of the backup VNIC.
cpuCoreCount This property is required. number
The number of CPU cores enabled on the DB node.
dbNodeStorageSizeInGbs This property is required. number
The allocated local node storage in GBs on the DB node.
dbServerId This property is required. string
The OCID of the ExaCC DB server associated with the database node.
dbSystemId This property is required. string
The OCID of the DB system.
faultDomain This property is required. string
The name of the Fault Domain the instance is contained in.
hostIpId This property is required. string
The OCID of the host IP address associated with the database node. Use this OCID with either the GetPrivateIp or the GetPublicIpByPrivateIpId API to get the IP address needed to make a database connection.
hostname This property is required. string
lifecycleDetails This property is required. string
Information about the current lifecycle details.
lifecycleState This property is required. string
Information about the current lifecycle state.
maintenanceType This property is required. string
The type of database node maintenance.
memorySizeInGbs This property is required. number
The allocated memory in GBs on the DB Node.
ocid This property is required. string
The OCID of the DB node.
softwareStorageSizeInGb This property is required. number
The size (in GB) of the block storage volume allocation for the DB system. This attribute applies only for virtual machine DB systems.
timeCreated This property is required. string
The date and time that the DB node was created.
timeMaintenanceWindowEnd This property is required. string
End date and time of maintenance window.
timeMaintenanceWindowStart This property is required. string
Start date and time of maintenance window.
vnic2Id This property is required. string
vnicId This property is required. string
The OCID of the VNIC.
additional_details This property is required. str
Additional information about the planned maintenance.
backup_ip_id This property is required. str
The OCID of the backup IP address associated with the database node. Use this OCID with either the GetPrivateIp or the GetPublicIpByPrivateIpId API to get the IP address needed to make a database connection.
backup_vnic2_id This property is required. str
backup_vnic_id This property is required. str
The OCID of the backup VNIC.
cpu_core_count This property is required. int
The number of CPU cores enabled on the DB node.
db_node_storage_size_in_gbs This property is required. int
The allocated local node storage in GBs on the DB node.
db_server_id This property is required. str
The OCID of the ExaCC DB server associated with the database node.
db_system_id This property is required. str
The OCID of the DB system.
fault_domain This property is required. str
The name of the Fault Domain the instance is contained in.
host_ip_id This property is required. str
The OCID of the host IP address associated with the database node. Use this OCID with either the GetPrivateIp or the GetPublicIpByPrivateIpId API to get the IP address needed to make a database connection.
hostname This property is required. str
lifecycle_details This property is required. str
Information about the current lifecycle details.
lifecycle_state This property is required. str
Information about the current lifecycle state.
maintenance_type This property is required. str
The type of database node maintenance.
memory_size_in_gbs This property is required. int
The allocated memory in GBs on the DB Node.
ocid This property is required. str
The OCID of the DB node.
software_storage_size_in_gb This property is required. int
The size (in GB) of the block storage volume allocation for the DB system. This attribute applies only for virtual machine DB systems.
time_created This property is required. str
The date and time that the DB node was created.
time_maintenance_window_end This property is required. str
End date and time of maintenance window.
time_maintenance_window_start This property is required. str
Start date and time of maintenance window.
vnic2_id This property is required. str
vnic_id This property is required. str
The OCID of the VNIC.
additionalDetails This property is required. String
Additional information about the planned maintenance.
backupIpId This property is required. String
The OCID of the backup IP address associated with the database node. Use this OCID with either the GetPrivateIp or the GetPublicIpByPrivateIpId API to get the IP address needed to make a database connection.
backupVnic2Id This property is required. String
backupVnicId This property is required. String
The OCID of the backup VNIC.
cpuCoreCount This property is required. Number
The number of CPU cores enabled on the DB node.
dbNodeStorageSizeInGbs This property is required. Number
The allocated local node storage in GBs on the DB node.
dbServerId This property is required. String
The OCID of the ExaCC DB server associated with the database node.
dbSystemId This property is required. String
The OCID of the DB system.
faultDomain This property is required. String
The name of the Fault Domain the instance is contained in.
hostIpId This property is required. String
The OCID of the host IP address associated with the database node. Use this OCID with either the GetPrivateIp or the GetPublicIpByPrivateIpId API to get the IP address needed to make a database connection.
hostname This property is required. String
lifecycleDetails This property is required. String
Information about the current lifecycle details.
lifecycleState This property is required. String
Information about the current lifecycle state.
maintenanceType This property is required. String
The type of database node maintenance.
memorySizeInGbs This property is required. Number
The allocated memory in GBs on the DB Node.
ocid This property is required. String
The OCID of the DB node.
softwareStorageSizeInGb This property is required. Number
The size (in GB) of the block storage volume allocation for the DB system. This attribute applies only for virtual machine DB systems.
timeCreated This property is required. String
The date and time that the DB node was created.
timeMaintenanceWindowEnd This property is required. String
End date and time of maintenance window.
timeMaintenanceWindowStart This property is required. String
Start date and time of maintenance window.
vnic2Id This property is required. String
vnicId This property is required. String
The OCID of the VNIC.

Package Details

Repository
Azure Classic pulumi/pulumi-azure
License
Apache-2.0
Notes
This Pulumi package is based on the azurerm Terraform Provider.

We recommend using Azure Native.

Azure v6.22.0 published on Tuesday, Apr 1, 2025 by Pulumi