We recommend using Azure Native.
Azure v6.22.0 published on Tuesday, Apr 1, 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 dictionary
The following arguments are supported:
- Cloud
Vm Cluster Id This property is required. string - The id of the Cloud VM cluster.
- Cloud
Vm Cluster Id This property is required. string - The id of the Cloud VM cluster.
- cloud
Vm Cluster Id This property is required. String - The id of the Cloud VM cluster.
- cloud
Vm Cluster Id 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.
- cloud
Vm Cluster Id This property is required. String - The id of the Cloud VM cluster.
getDbNodes Result
The following output properties are available:
- Cloud
Vm stringCluster Id - Db
Nodes List<GetDb Nodes Db Node> - A
db_nodes
block as defined below. - Id string
- The provider-assigned unique ID for this managed resource.
- Cloud
Vm stringCluster Id - Db
Nodes []GetDb Nodes Db Node - A
db_nodes
block as defined below. - Id string
- The provider-assigned unique ID for this managed resource.
- cloud
Vm StringCluster Id - db
Nodes List<GetDb Nodes Db Node> - A
db_nodes
block as defined below. - id String
- The provider-assigned unique ID for this managed resource.
- cloud
Vm stringCluster Id - db
Nodes GetDb Nodes Db Node[] - A
db_nodes
block 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_nodes
block as defined below. - id str
- The provider-assigned unique ID for this managed resource.
- cloud
Vm StringCluster Id - db
Nodes List<Property Map> - A
db_nodes
block as defined below. - id String
- The provider-assigned unique ID for this managed resource.
Supporting Types
GetDbNodesDbNode
- Additional
Details This property is required. string - Additional information about the planned maintenance.
- Backup
Ip Id 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.
- Backup
Vnic2Id This property is required. string - Backup
Vnic Id This property is required. string - 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. string - The OCID of the ExaCC DB server associated with the database node.
- Db
System Id This property is required. string - The OCID of the DB system.
- Fault
Domain This property is required. string - The name of the Fault Domain the instance is contained in.
- Host
Ip Id 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 - Lifecycle
Details This property is required. string - Information about the current lifecycle details.
- Lifecycle
State This property is required. string - Information about the current lifecycle state.
- Maintenance
Type This property is required. string - 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. string - 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. string - The date and time that the DB node was created.
- Time
Maintenance Window End This property is required. string - End date and time of maintenance window.
- Time
Maintenance Window Start This property is required. string - Start date and time of maintenance window.
- Vnic2Id
This property is required. string - Vnic
Id This property is required. string - The OCID of the VNIC.
- Additional
Details This property is required. string - Additional information about the planned maintenance.
- Backup
Ip Id 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.
- Backup
Vnic2Id This property is required. string - Backup
Vnic Id This property is required. string - 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. string - The OCID of the ExaCC DB server associated with the database node.
- Db
System Id This property is required. string - The OCID of the DB system.
- Fault
Domain This property is required. string - The name of the Fault Domain the instance is contained in.
- Host
Ip Id 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 - Lifecycle
Details This property is required. string - Information about the current lifecycle details.
- Lifecycle
State This property is required. string - Information about the current lifecycle state.
- Maintenance
Type This property is required. string - 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. string - 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. string - The date and time that the DB node was created.
- Time
Maintenance Window End This property is required. string - End date and time of maintenance window.
- Time
Maintenance Window Start This property is required. string - Start date and time of maintenance window.
- Vnic2Id
This property is required. string - Vnic
Id This property is required. string - The OCID of the VNIC.
- additional
Details This property is required. String - Additional information about the planned maintenance.
- backup
Ip Id 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.
- backup
Vnic2Id This property is required. String - backup
Vnic Id This property is required. String - The OCID of the backup VNIC.
- cpu
Core Count This property is required. Integer - The number of CPU cores enabled on the DB node.
- db
Node Storage Size In Gbs This property is required. Integer - The allocated local node storage in GBs on the DB node.
- db
Server Id This property is required. String - The OCID of the ExaCC DB server associated with the database node.
- db
System Id This property is required. String - The OCID of the DB system.
- fault
Domain This property is required. String - The name of the Fault Domain the instance is contained in.
- host
Ip Id 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 - lifecycle
Details This property is required. String - Information about the current lifecycle details.
- lifecycle
State This property is required. String - Information about the current lifecycle state.
- maintenance
Type This property is required. String - The type of database node maintenance.
- memory
Size In Gbs 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.
- software
Storage Size In Gb 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.
- time
Created This property is required. String - The date and time that the DB node was created.
- time
Maintenance Window End This property is required. String - End date and time of maintenance window.
- time
Maintenance Window Start This property is required. String - Start date and time of maintenance window.
- vnic2Id
This property is required. String - vnic
Id This property is required. String - The OCID of the VNIC.
- additional
Details This property is required. string - Additional information about the planned maintenance.
- backup
Ip Id 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.
- backup
Vnic2Id This property is required. string - backup
Vnic Id This property is required. string - The OCID of the backup VNIC.
- cpu
Core Count This property is required. number - The number of CPU cores enabled on the DB node.
- db
Node Storage Size In Gbs This property is required. number - The allocated local node storage in GBs on the DB node.
- db
Server Id This property is required. string - The OCID of the ExaCC DB server associated with the database node.
- db
System Id This property is required. string - The OCID of the DB system.
- fault
Domain This property is required. string - The name of the Fault Domain the instance is contained in.
- host
Ip Id 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 - lifecycle
Details This property is required. string - Information about the current lifecycle details.
- lifecycle
State This property is required. string - Information about the current lifecycle state.
- maintenance
Type This property is required. string - The type of database node maintenance.
- memory
Size In Gbs 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.
- software
Storage Size In Gb 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.
- time
Created This property is required. string - The date and time that the DB node was created.
- time
Maintenance Window End This property is required. string - End date and time of maintenance window.
- time
Maintenance Window Start This property is required. string - Start date and time of maintenance window.
- vnic2Id
This property is required. string - vnic
Id 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.
- additional
Details This property is required. String - Additional information about the planned maintenance.
- backup
Ip Id 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.
- backup
Vnic2Id This property is required. String - backup
Vnic Id This property is required. String - The OCID of the backup VNIC.
- cpu
Core Count This property is required. Number - The number of CPU cores enabled on the DB node.
- db
Node Storage Size In Gbs This property is required. Number - The allocated local node storage in GBs on the DB node.
- db
Server Id This property is required. String - The OCID of the ExaCC DB server associated with the database node.
- db
System Id This property is required. String - The OCID of the DB system.
- fault
Domain This property is required. String - The name of the Fault Domain the instance is contained in.
- host
Ip Id 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 - lifecycle
Details This property is required. String - Information about the current lifecycle details.
- lifecycle
State This property is required. String - Information about the current lifecycle state.
- maintenance
Type This property is required. String - The type of database node maintenance.
- memory
Size In Gbs 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.
- software
Storage Size In Gb 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.
- time
Created This property is required. String - The date and time that the DB node was created.
- time
Maintenance Window End This property is required. String - End date and time of maintenance window.
- time
Maintenance Window Start This property is required. String - Start date and time of maintenance window.
- vnic2Id
This property is required. String - vnic
Id 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.