We recommend using Azure Native.
Azure v6.10.0 published on Tuesday, Nov 19, 2024 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)
// Output-based functions aren't available in Java yet
fn::invoke:
function: azure:oracle/getDbNodes:getDbNodes
arguments:
# arguments dictionary
The following arguments are supported:
- Cloud
Vm stringCluster Id - The id of the Cloud VM cluster.
- Cloud
Vm stringCluster Id - The id of the Cloud VM cluster.
- cloud
Vm StringCluster Id - The id of the Cloud VM cluster.
- cloud
Vm stringCluster Id - The id of the Cloud VM cluster.
- cloud_
vm_ strcluster_ id - The id of the Cloud VM cluster.
- cloud
Vm StringCluster Id - 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 string - Additional information about the planned maintenance.
- Backup
Ip 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.
- Backup
Vnic2Id string - Backup
Vnic stringId - 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 stringId - The OCID of the ExaCC DB server associated with the database node.
- Db
System stringId - The OCID of the DB system.
- Fault
Domain string - The name of the Fault Domain the instance is contained in.
- Host
Ip 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
- Lifecycle
Details string - Information about the current lifecycle details.
- Lifecycle
State string - Information about the current lifecycle state.
- Maintenance
Type string - The type of database node maintenance.
- Memory
Size intIn Gbs - The allocated memory in GBs on the DB Node.
- Ocid string
- 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 string - The date and time that the DB node was created.
- Time
Maintenance stringWindow End - End date and time of maintenance window.
- Time
Maintenance stringWindow Start - Start date and time of maintenance window.
- Vnic2Id string
- Vnic
Id string - The OCID of the VNIC.
- Additional
Details string - Additional information about the planned maintenance.
- Backup
Ip 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.
- Backup
Vnic2Id string - Backup
Vnic stringId - 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 stringId - The OCID of the ExaCC DB server associated with the database node.
- Db
System stringId - The OCID of the DB system.
- Fault
Domain string - The name of the Fault Domain the instance is contained in.
- Host
Ip 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
- Lifecycle
Details string - Information about the current lifecycle details.
- Lifecycle
State string - Information about the current lifecycle state.
- Maintenance
Type string - The type of database node maintenance.
- Memory
Size intIn Gbs - The allocated memory in GBs on the DB Node.
- Ocid string
- 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 string - The date and time that the DB node was created.
- Time
Maintenance stringWindow End - End date and time of maintenance window.
- Time
Maintenance stringWindow Start - Start date and time of maintenance window.
- Vnic2Id string
- Vnic
Id string - The OCID of the VNIC.
- additional
Details String - Additional information about the planned maintenance.
- backup
Ip 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.
- backup
Vnic2Id String - backup
Vnic StringId - The OCID of the backup VNIC.
- cpu
Core IntegerCount - The number of CPU cores enabled on the DB node.
- db
Node IntegerStorage Size In Gbs - The allocated local node storage in GBs on the DB node.
- db
Server StringId - The OCID of the ExaCC DB server associated with the database node.
- db
System StringId - The OCID of the DB system.
- fault
Domain String - The name of the Fault Domain the instance is contained in.
- host
Ip 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
- lifecycle
Details String - Information about the current lifecycle details.
- lifecycle
State String - Information about the current lifecycle state.
- maintenance
Type String - The type of database node maintenance.
- memory
Size IntegerIn Gbs - The allocated memory in GBs on the DB Node.
- ocid String
- The OCID of the DB node.
- software
Storage 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.
- time
Created String - The date and time that the DB node was created.
- time
Maintenance StringWindow End - End date and time of maintenance window.
- time
Maintenance StringWindow Start - Start date and time of maintenance window.
- vnic2Id String
- vnic
Id String - The OCID of the VNIC.
- additional
Details string - Additional information about the planned maintenance.
- backup
Ip 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.
- backup
Vnic2Id string - backup
Vnic stringId - The OCID of the backup VNIC.
- cpu
Core numberCount - The number of CPU cores enabled on the DB node.
- db
Node numberStorage Size In Gbs - The allocated local node storage in GBs on the DB node.
- db
Server stringId - The OCID of the ExaCC DB server associated with the database node.
- db
System stringId - The OCID of the DB system.
- fault
Domain string - The name of the Fault Domain the instance is contained in.
- host
Ip 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
- lifecycle
Details string - Information about the current lifecycle details.
- lifecycle
State string - Information about the current lifecycle state.
- maintenance
Type string - The type of database node maintenance.
- memory
Size numberIn Gbs - The allocated memory in GBs on the DB Node.
- ocid string
- The OCID of the DB node.
- software
Storage 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.
- time
Created string - The date and time that the DB node was created.
- time
Maintenance stringWindow End - End date and time of maintenance window.
- time
Maintenance stringWindow Start - Start date and time of maintenance window.
- vnic2Id string
- vnic
Id 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.
- additional
Details String - Additional information about the planned maintenance.
- backup
Ip 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.
- backup
Vnic2Id String - backup
Vnic StringId - The OCID of the backup VNIC.
- cpu
Core NumberCount - The number of CPU cores enabled on the DB node.
- db
Node NumberStorage Size In Gbs - The allocated local node storage in GBs on the DB node.
- db
Server StringId - The OCID of the ExaCC DB server associated with the database node.
- db
System StringId - The OCID of the DB system.
- fault
Domain String - The name of the Fault Domain the instance is contained in.
- host
Ip 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
- lifecycle
Details String - Information about the current lifecycle details.
- lifecycle
State String - Information about the current lifecycle state.
- maintenance
Type String - The type of database node maintenance.
- memory
Size NumberIn Gbs - The allocated memory in GBs on the DB Node.
- ocid String
- The OCID of the DB node.
- software
Storage 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.
- time
Created String - The date and time that the DB node was created.
- time
Maintenance StringWindow End - End date and time of maintenance window.
- time
Maintenance StringWindow Start - Start date and time of maintenance window.
- vnic2Id String
- vnic
Id 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.