We recommend using Azure Native.
Azure v6.21.0 published on Friday, Mar 7, 2025 by Pulumi
azure.oracle.getDbNodes
Explore with Pulumi AI
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,
    };
}
import pulumi
import pulumi_azure as azure
example = azure.oracle.get_db_nodes(cloud_vm_cluster_id="existing")
pulumi.export("example", example)
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
	})
}
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,
    };
});
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));
    }
}
variables:
  example:
    fn::invoke:
      function: azure:oracle:getDbNodes
      arguments:
        cloudVmClusterId: existing
outputs:
  example: ${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,
                 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]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: azure:oracle/getDbNodes:getDbNodes
  arguments:
    # arguments dictionaryThe following arguments are supported:
- CloudVm stringCluster Id 
- The id of the Cloud VM cluster.
- CloudVm stringCluster Id 
- The id of the Cloud VM cluster.
- cloudVm StringCluster Id 
- The id of the Cloud VM cluster.
- cloudVm stringCluster Id 
- The id of the Cloud VM cluster.
- cloud_vm_ strcluster_ id 
- The id of the Cloud VM cluster.
- cloudVm StringCluster Id 
- The id of the Cloud VM cluster.
getDbNodes Result
The following output properties are available:
- CloudVm stringCluster Id 
- DbNodes List<GetDb Nodes Db Node> 
- A db_nodesblock as defined below.
- Id string
- The provider-assigned unique ID for this managed resource.
- CloudVm stringCluster Id 
- DbNodes []GetDb Nodes Db Node 
- A db_nodesblock as defined below.
- Id string
- The provider-assigned unique ID for this managed resource.
- cloudVm StringCluster Id 
- dbNodes List<GetDb Nodes Db Node> 
- A db_nodesblock as defined below.
- id String
- The provider-assigned unique ID for this managed resource.
- cloudVm stringCluster Id 
- dbNodes GetDb Nodes Db Node[] 
- A db_nodesblock as defined below.
- id string
- The provider-assigned unique ID for this managed resource.
- cloud_vm_ strcluster_ id 
- db_nodes Sequence[GetDb Nodes Db Node] 
- A db_nodesblock as defined below.
- id str
- The provider-assigned unique ID for this managed resource.
- cloudVm StringCluster Id 
- dbNodes List<Property Map>
- A db_nodesblock as defined below.
- id String
- The provider-assigned unique ID for this managed resource.
Supporting Types
GetDbNodesDbNode    
- AdditionalDetails string
- Additional information about the planned maintenance.
- BackupIp stringId 
- 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 string
- BackupVnic stringId 
- The OCID of the backup VNIC.
- CpuCore intCount 
- The number of CPU cores enabled on the DB node.
- DbNode intStorage Size In Gbs 
- The allocated local node storage in GBs on the DB node.
- DbServer stringId 
- The OCID of the ExaCC DB server associated with the database node.
- DbSystem stringId 
- The OCID of the DB system.
- FaultDomain string
- The name of the Fault Domain the instance is contained in.
- HostIp stringId 
- 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 string
- LifecycleDetails string
- Information about the current lifecycle details.
- LifecycleState string
- Information about the current lifecycle state.
- MaintenanceType string
- The type of database node maintenance.
- MemorySize intIn Gbs 
- The allocated memory in GBs on the DB Node.
- Ocid string
- The OCID of the DB node.
- SoftwareStorage intSize In Gb 
- The size (in GB) of the block storage volume allocation for the DB system. This attribute applies only for virtual machine DB systems.
- TimeCreated string
- The date and time that the DB node was created.
- TimeMaintenance stringWindow End 
- End date and time of maintenance window.
- TimeMaintenance stringWindow Start 
- Start date and time of maintenance window.
- Vnic2Id string
- VnicId string
- The OCID of the VNIC.
- AdditionalDetails string
- Additional information about the planned maintenance.
- BackupIp stringId 
- 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 string
- BackupVnic stringId 
- The OCID of the backup VNIC.
- CpuCore intCount 
- The number of CPU cores enabled on the DB node.
- DbNode intStorage Size In Gbs 
- The allocated local node storage in GBs on the DB node.
- DbServer stringId 
- The OCID of the ExaCC DB server associated with the database node.
- DbSystem stringId 
- The OCID of the DB system.
- FaultDomain string
- The name of the Fault Domain the instance is contained in.
- HostIp stringId 
- 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 string
- LifecycleDetails string
- Information about the current lifecycle details.
- LifecycleState string
- Information about the current lifecycle state.
- MaintenanceType string
- The type of database node maintenance.
- MemorySize intIn Gbs 
- The allocated memory in GBs on the DB Node.
- Ocid string
- The OCID of the DB node.
- SoftwareStorage intSize In Gb 
- The size (in GB) of the block storage volume allocation for the DB system. This attribute applies only for virtual machine DB systems.
- TimeCreated string
- The date and time that the DB node was created.
- TimeMaintenance stringWindow End 
- End date and time of maintenance window.
- TimeMaintenance stringWindow Start 
- Start date and time of maintenance window.
- Vnic2Id string
- VnicId string
- The OCID of the VNIC.
- additionalDetails String
- Additional information about the planned maintenance.
- backupIp StringId 
- 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 String
- backupVnic StringId 
- The OCID of the backup VNIC.
- cpuCore IntegerCount 
- The number of CPU cores enabled on the DB node.
- dbNode IntegerStorage Size In Gbs 
- The allocated local node storage in GBs on the DB node.
- dbServer StringId 
- The OCID of the ExaCC DB server associated with the database node.
- dbSystem StringId 
- The OCID of the DB system.
- faultDomain String
- The name of the Fault Domain the instance is contained in.
- hostIp StringId 
- 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 String
- lifecycleDetails String
- Information about the current lifecycle details.
- lifecycleState String
- Information about the current lifecycle state.
- maintenanceType String
- The type of database node maintenance.
- memorySize IntegerIn Gbs 
- The allocated memory in GBs on the DB Node.
- ocid String
- The OCID of the DB node.
- softwareStorage IntegerSize In Gb 
- The size (in GB) of the block storage volume allocation for the DB system. This attribute applies only for virtual machine DB systems.
- timeCreated String
- The date and time that the DB node was created.
- timeMaintenance StringWindow End 
- End date and time of maintenance window.
- timeMaintenance StringWindow Start 
- Start date and time of maintenance window.
- vnic2Id String
- vnicId String
- The OCID of the VNIC.
- additionalDetails string
- Additional information about the planned maintenance.
- backupIp stringId 
- 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 string
- backupVnic stringId 
- The OCID of the backup VNIC.
- cpuCore numberCount 
- The number of CPU cores enabled on the DB node.
- dbNode numberStorage Size In Gbs 
- The allocated local node storage in GBs on the DB node.
- dbServer stringId 
- The OCID of the ExaCC DB server associated with the database node.
- dbSystem stringId 
- The OCID of the DB system.
- faultDomain string
- The name of the Fault Domain the instance is contained in.
- hostIp stringId 
- 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 string
- lifecycleDetails string
- Information about the current lifecycle details.
- lifecycleState string
- Information about the current lifecycle state.
- maintenanceType string
- The type of database node maintenance.
- memorySize numberIn Gbs 
- The allocated memory in GBs on the DB Node.
- ocid string
- The OCID of the DB node.
- softwareStorage numberSize In Gb 
- The size (in GB) of the block storage volume allocation for the DB system. This attribute applies only for virtual machine DB systems.
- timeCreated string
- The date and time that the DB node was created.
- timeMaintenance stringWindow End 
- End date and time of maintenance window.
- timeMaintenance stringWindow Start 
- Start date and time of maintenance window.
- vnic2Id string
- vnicId string
- The OCID of the VNIC.
- additional_details str
- Additional information about the planned maintenance.
- backup_ip_ strid 
- 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_ strid 
- backup_vnic_ strid 
- The OCID of the backup VNIC.
- cpu_core_ intcount 
- The number of CPU cores enabled on the DB node.
- db_node_ intstorage_ size_ in_ gbs 
- The allocated local node storage in GBs on the DB node.
- db_server_ strid 
- The OCID of the ExaCC DB server associated with the database node.
- db_system_ strid 
- The OCID of the DB system.
- fault_domain str
- The name of the Fault Domain the instance is contained in.
- host_ip_ strid 
- 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 str
- lifecycle_details str
- Information about the current lifecycle details.
- lifecycle_state str
- Information about the current lifecycle state.
- maintenance_type str
- The type of database node maintenance.
- memory_size_ intin_ gbs 
- The allocated memory in GBs on the DB Node.
- ocid str
- The OCID of the DB node.
- software_storage_ intsize_ in_ gb 
- 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 str
- The date and time that the DB node was created.
- time_maintenance_ strwindow_ end 
- End date and time of maintenance window.
- time_maintenance_ strwindow_ start 
- Start date and time of maintenance window.
- vnic2_id str
- vnic_id str
- The OCID of the VNIC.
- additionalDetails String
- Additional information about the planned maintenance.
- backupIp StringId 
- 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 String
- backupVnic StringId 
- The OCID of the backup VNIC.
- cpuCore NumberCount 
- The number of CPU cores enabled on the DB node.
- dbNode NumberStorage Size In Gbs 
- The allocated local node storage in GBs on the DB node.
- dbServer StringId 
- The OCID of the ExaCC DB server associated with the database node.
- dbSystem StringId 
- The OCID of the DB system.
- faultDomain String
- The name of the Fault Domain the instance is contained in.
- hostIp StringId 
- 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 String
- lifecycleDetails String
- Information about the current lifecycle details.
- lifecycleState String
- Information about the current lifecycle state.
- maintenanceType String
- The type of database node maintenance.
- memorySize NumberIn Gbs 
- The allocated memory in GBs on the DB Node.
- ocid String
- The OCID of the DB node.
- softwareStorage NumberSize In Gb 
- The size (in GB) of the block storage volume allocation for the DB system. This attribute applies only for virtual machine DB systems.
- timeCreated String
- The date and time that the DB node was created.
- timeMaintenance StringWindow End 
- End date and time of maintenance window.
- timeMaintenance StringWindow Start 
- Start date and time of maintenance window.
- vnic2Id String
- vnicId 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 azurermTerraform Provider.