Oracle Cloud Infrastructure

Pulumi Official
Package maintained by Pulumi
v0.1.1 published on Tuesday, May 3, 2022 by Pulumi

getDbNode

This data source provides details about a specific Db Node resource in Oracle Cloud Infrastructure Database service.

Gets information about the specified database node.

Example Usage

using Pulumi;
using Oci = Pulumi.Oci;

class MyStack : Stack
{
    public MyStack()
    {
        var testDbNode = Output.Create(Oci.Database.GetDbNode.InvokeAsync(new Oci.Database.GetDbNodeArgs
        {
            DbNodeId = @var.Db_node_id,
        }));
    }

}
package main

import (
	"github.com/pulumi/pulumi-oci/sdk/go/oci/Database"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := Database.GetDbNode(ctx, &database.GetDbNodeArgs{
			DbNodeId: _var.Db_node_id,
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

Coming soon!

import pulumi
import pulumi_oci as oci

test_db_node = oci.Database.get_db_node(db_node_id=var["db_node_id"])
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";

const testDbNode = oci.Database.getDbNode({
    dbNodeId: _var.db_node_id,
});

Coming soon!

Using getDbNode

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 getDbNode(args: GetDbNodeArgs, opts?: InvokeOptions): Promise<GetDbNodeResult>
function getDbNodeOutput(args: GetDbNodeOutputArgs, opts?: InvokeOptions): Output<GetDbNodeResult>
def get_db_node(db_node_id: Optional[str] = None,
                opts: Optional[InvokeOptions] = None) -> GetDbNodeResult
def get_db_node_output(db_node_id: Optional[pulumi.Input[str]] = None,
                opts: Optional[InvokeOptions] = None) -> Output[GetDbNodeResult]
func GetDbNode(ctx *Context, args *GetDbNodeArgs, opts ...InvokeOption) (*GetDbNodeResult, error)
func GetDbNodeOutput(ctx *Context, args *GetDbNodeOutputArgs, opts ...InvokeOption) GetDbNodeResultOutput

> Note: This function is named GetDbNode in the Go SDK.

public static class GetDbNode 
{
    public static Task<GetDbNodeResult> InvokeAsync(GetDbNodeArgs args, InvokeOptions? opts = null)
    public static Output<GetDbNodeResult> Invoke(GetDbNodeInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetDbNodeResult> getDbNode(GetDbNodeArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
Fn::Invoke:
  Function: oci:Database/getDbNode:getDbNode
  Arguments:
    # Arguments dictionary

The following arguments are supported:

DbNodeId string

The database node OCID.

DbNodeId string

The database node OCID.

dbNodeId String

The database node OCID.

dbNodeId string

The database node OCID.

db_node_id str

The database node OCID.

dbNodeId String

The database node OCID.

getDbNode Result

The following output properties are available:

AdditionalDetails string

Additional information about the planned maintenance.

BackupIpId string

The OCID of the backup IP address associated with the database node.

BackupVnic2id string

The OCID of the second backup VNIC.

BackupVnicId string

The OCID of the backup VNIC.

CpuCoreCount int

The number of CPU cores enabled on the Db node.

DbNodeId string
DbNodeStorageSizeInGbs int

The allocated local node storage in GBs on the Db node.

DbServerId string

The OCID of the Exacc Db server associated with the database node.

DbSystemId string

The OCID of the DB system.

FaultDomain string

The name of the Fault Domain the instance is contained in.

HostIpId string

The OCID of the host IP address associated with the database node.

Hostname string

The host name for the database node.

Id string

The provider-assigned unique ID for this managed resource.

MaintenanceType string

The type of database node maintenance.

MemorySizeInGbs int

The allocated memory in GBs on the Db node.

SoftwareStorageSizeInGb int

The size (in GB) of the block storage volume allocation for the DB system. This attribute applies only for virtual machine DB systems.

State string

The current state of the database node.

TimeCreated string

The date and time that the database node was created.

TimeMaintenanceWindowEnd string

End date and time of maintenance window.

TimeMaintenanceWindowStart string

Start date and time of maintenance window.

Vnic2id string

The OCID of the second VNIC.

VnicId string

The OCID of the VNIC.

AdditionalDetails string

Additional information about the planned maintenance.

BackupIpId string

The OCID of the backup IP address associated with the database node.

BackupVnic2id string

The OCID of the second backup VNIC.

BackupVnicId string

The OCID of the backup VNIC.

CpuCoreCount int

The number of CPU cores enabled on the Db node.

DbNodeId string
DbNodeStorageSizeInGbs int

The allocated local node storage in GBs on the Db node.

DbServerId string

The OCID of the Exacc Db server associated with the database node.

DbSystemId string

The OCID of the DB system.

FaultDomain string

The name of the Fault Domain the instance is contained in.

HostIpId string

The OCID of the host IP address associated with the database node.

Hostname string

The host name for the database node.

Id string

The provider-assigned unique ID for this managed resource.

MaintenanceType string

The type of database node maintenance.

MemorySizeInGbs int

The allocated memory in GBs on the Db node.

SoftwareStorageSizeInGb int

The size (in GB) of the block storage volume allocation for the DB system. This attribute applies only for virtual machine DB systems.

State string

The current state of the database node.

TimeCreated string

The date and time that the database node was created.

TimeMaintenanceWindowEnd string

End date and time of maintenance window.

TimeMaintenanceWindowStart string

Start date and time of maintenance window.

Vnic2id string

The OCID of the second VNIC.

VnicId string

The OCID of the VNIC.

additionalDetails String

Additional information about the planned maintenance.

backupIpId String

The OCID of the backup IP address associated with the database node.

backupVnic2id String

The OCID of the second backup VNIC.

backupVnicId String

The OCID of the backup VNIC.

cpuCoreCount Integer

The number of CPU cores enabled on the Db node.

dbNodeId String
dbNodeStorageSizeInGbs Integer

The allocated local node storage in GBs on the Db node.

dbServerId String

The OCID of the Exacc Db server associated with the database node.

dbSystemId String

The OCID of the DB system.

faultDomain String

The name of the Fault Domain the instance is contained in.

hostIpId String

The OCID of the host IP address associated with the database node.

hostname String

The host name for the database node.

id String

The provider-assigned unique ID for this managed resource.

maintenanceType String

The type of database node maintenance.

memorySizeInGbs Integer

The allocated memory in GBs on the Db node.

softwareStorageSizeInGb Integer

The size (in GB) of the block storage volume allocation for the DB system. This attribute applies only for virtual machine DB systems.

state String

The current state of the database node.

timeCreated String

The date and time that the database node was created.

timeMaintenanceWindowEnd String

End date and time of maintenance window.

timeMaintenanceWindowStart String

Start date and time of maintenance window.

vnic2id String

The OCID of the second VNIC.

vnicId String

The OCID of the VNIC.

additionalDetails string

Additional information about the planned maintenance.

backupIpId string

The OCID of the backup IP address associated with the database node.

backupVnic2id string

The OCID of the second backup VNIC.

backupVnicId string

The OCID of the backup VNIC.

cpuCoreCount number

The number of CPU cores enabled on the Db node.

dbNodeId string
dbNodeStorageSizeInGbs number

The allocated local node storage in GBs on the Db node.

dbServerId string

The OCID of the Exacc Db server associated with the database node.

dbSystemId string

The OCID of the DB system.

faultDomain string

The name of the Fault Domain the instance is contained in.

hostIpId string

The OCID of the host IP address associated with the database node.

hostname string

The host name for the database node.

id string

The provider-assigned unique ID for this managed resource.

maintenanceType string

The type of database node maintenance.

memorySizeInGbs number

The allocated memory in GBs on the Db node.

softwareStorageSizeInGb number

The size (in GB) of the block storage volume allocation for the DB system. This attribute applies only for virtual machine DB systems.

state string

The current state of the database node.

timeCreated string

The date and time that the database node was created.

timeMaintenanceWindowEnd string

End date and time of maintenance window.

timeMaintenanceWindowStart string

Start date and time of maintenance window.

vnic2id string

The OCID of the second VNIC.

vnicId string

The OCID of the VNIC.

additional_details str

Additional information about the planned maintenance.

backup_ip_id str

The OCID of the backup IP address associated with the database node.

backup_vnic2id str

The OCID of the second backup VNIC.

backup_vnic_id str

The OCID of the backup VNIC.

cpu_core_count int

The number of CPU cores enabled on the Db node.

db_node_id str
db_node_storage_size_in_gbs int

The allocated local node storage in GBs on the Db node.

db_server_id str

The OCID of the Exacc Db server associated with the database node.

db_system_id str

The OCID of the DB system.

fault_domain str

The name of the Fault Domain the instance is contained in.

host_ip_id str

The OCID of the host IP address associated with the database node.

hostname str

The host name for the database node.

id str

The provider-assigned unique ID for this managed resource.

maintenance_type str

The type of database node maintenance.

memory_size_in_gbs int

The allocated memory in GBs on the Db node.

software_storage_size_in_gb int

The size (in GB) of the block storage volume allocation for the DB system. This attribute applies only for virtual machine DB systems.

state str

The current state of the database node.

time_created str

The date and time that the database node was created.

time_maintenance_window_end str

End date and time of maintenance window.

time_maintenance_window_start str

Start date and time of maintenance window.

vnic2id str

The OCID of the second VNIC.

vnic_id str

The OCID of the VNIC.

additionalDetails String

Additional information about the planned maintenance.

backupIpId String

The OCID of the backup IP address associated with the database node.

backupVnic2id String

The OCID of the second backup VNIC.

backupVnicId String

The OCID of the backup VNIC.

cpuCoreCount Number

The number of CPU cores enabled on the Db node.

dbNodeId String
dbNodeStorageSizeInGbs Number

The allocated local node storage in GBs on the Db node.

dbServerId String

The OCID of the Exacc Db server associated with the database node.

dbSystemId String

The OCID of the DB system.

faultDomain String

The name of the Fault Domain the instance is contained in.

hostIpId String

The OCID of the host IP address associated with the database node.

hostname String

The host name for the database node.

id String

The provider-assigned unique ID for this managed resource.

maintenanceType String

The type of database node maintenance.

memorySizeInGbs Number

The allocated memory in GBs on the Db node.

softwareStorageSizeInGb Number

The size (in GB) of the block storage volume allocation for the DB system. This attribute applies only for virtual machine DB systems.

state String

The current state of the database node.

timeCreated String

The date and time that the database node was created.

timeMaintenanceWindowEnd String

End date and time of maintenance window.

timeMaintenanceWindowStart String

Start date and time of maintenance window.

vnic2id String

The OCID of the second VNIC.

vnicId String

The OCID of the VNIC.

Package Details

Repository
https://github.com/pulumi/pulumi-oci
License
Apache-2.0
Notes

This Pulumi package is based on the oci Terraform Provider.