aws.odb.getDbNode
Data source for manging db nodes linked to cloud vm cluster of Oracle Database@AWS.
You can find out more about Oracle Database@AWS from User Guide.
Example Usage
Basic Usage
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const example = aws.odb.getDbNode({
cloudVmClusterId: "cloud_vm_cluster_id",
id: "db_node_id",
});
import pulumi
import pulumi_aws as aws
example = aws.odb.get_db_node(cloud_vm_cluster_id="cloud_vm_cluster_id",
id="db_node_id")
package main
import (
"github.com/pulumi/pulumi-aws/sdk/v7/go/aws/odb"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := odb.GetDbNode(ctx, &odb.GetDbNodeArgs{
CloudVmClusterId: "cloud_vm_cluster_id",
Id: "db_node_id",
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;
return await Deployment.RunAsync(() =>
{
var example = Aws.Odb.GetDbNode.Invoke(new()
{
CloudVmClusterId = "cloud_vm_cluster_id",
Id = "db_node_id",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.odb.OdbFunctions;
import com.pulumi.aws.odb.inputs.GetDbNodeArgs;
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 = OdbFunctions.getDbNode(GetDbNodeArgs.builder()
.cloudVmClusterId("cloud_vm_cluster_id")
.id("db_node_id")
.build());
}
}
variables:
example:
fn::invoke:
function: aws:odb:getDbNode
arguments:
cloudVmClusterId: cloud_vm_cluster_id
id: db_node_id
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(cloud_vm_cluster_id: Optional[str] = None,
id: Optional[str] = None,
region: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetDbNodeResult
def get_db_node_output(cloud_vm_cluster_id: Optional[pulumi.Input[str]] = None,
id: Optional[pulumi.Input[str]] = None,
region: 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)
public static Output<GetDbNodeResult> getDbNode(GetDbNodeArgs args, InvokeOptions options)
fn::invoke:
function: aws:odb/getDbNode:getDbNode
arguments:
# arguments dictionary
The following arguments are supported:
- Cloud
Vm stringCluster Id - The unique identifier of the cloud vm cluster.
- Id string
The unique identifier of db node associated with vm cluster.
The following arguments are optional:
- Region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- Cloud
Vm stringCluster Id - The unique identifier of the cloud vm cluster.
- Id string
The unique identifier of db node associated with vm cluster.
The following arguments are optional:
- Region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- cloud
Vm StringCluster Id - The unique identifier of the cloud vm cluster.
- id String
The unique identifier of db node associated with vm cluster.
The following arguments are optional:
- region String
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- cloud
Vm stringCluster Id - The unique identifier of the cloud vm cluster.
- id string
The unique identifier of db node associated with vm cluster.
The following arguments are optional:
- region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- cloud_
vm_ strcluster_ id - The unique identifier of the cloud vm cluster.
- id str
The unique identifier of db node associated with vm cluster.
The following arguments are optional:
- region str
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- cloud
Vm StringCluster Id - The unique identifier of the cloud vm cluster.
- id String
The unique identifier of db node associated with vm cluster.
The following arguments are optional:
- region String
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
getDbNode Result
The following output properties are available:
- Additional
Details string - Additional information about the planned maintenance.
- Arn string
- Backup
Ip stringId - The Oracle Cloud ID (OCID) of the backup IP address that's associated with the DB node.
- Backup
Vnic2Id string - The OCID of the second backup VNIC.
- Backup
Vnic stringId - The OCID of the backup VNIC.
- Cloud
Vm stringCluster Id - The ID of the cloud VM cluster.
- Cpu
Core intCount - The number of CPU cores enabled on the DB node.
- Created
At string - The date and time when the DB node was created.
- Db
Server stringId - The unique identifier of the DB server that is associated with the DB node.
- Db
Storage intSize In Gbs - The amount of local node storage, in gigabytes (GB), allocated on the DB node.
- Db
System stringId - The OCID of the DB system.
- Fault
Domain string - The name of the fault domain the instance is contained in.
- Floating
Ip stringAddress - The floating IP address assigned to the DB node.
- Host
Ip stringId - The OCID of the host IP address that's associated with the DB node.
- Hostname string
- The host name for the DB node.
- Id string
- Maintenance
Type string - The type of database node maintenance. Either VMDB_REBOOT_MIGRATION or EXADBXS_REBOOT_MIGRATION.
- Memory
Size intIn Gbs - The allocated memory in GBs on the DB node.
- Oci
Resource stringAnchor Name - The name of the OCI resource anchor for the DB node.
- Ocid string
- The OCID of the DB node.
- Private
Ip stringAddress - The private IP address assigned to the DB node.
- Region string
- Software
Storage intSize In Gbs - The size (in GB) of the block storage volume allocation for the DB system.
- Status string
- The current status of the DB node.
- Status
Reason string - Additional information about the status of the DB node.
- Time
Maintenance stringWindow End - The end date and time of the maintenance window.
- Time
Maintenance stringWindow Start - The start date and time of the maintenance window.
- Total
Cpu intCore Count - The total number of CPU cores reserved on the DB node.
- Vnic2Id string
- The OCID of the second VNIC.
- Vnic
Id string - The OCID of the VNIC.
- Additional
Details string - Additional information about the planned maintenance.
- Arn string
- Backup
Ip stringId - The Oracle Cloud ID (OCID) of the backup IP address that's associated with the DB node.
- Backup
Vnic2Id string - The OCID of the second backup VNIC.
- Backup
Vnic stringId - The OCID of the backup VNIC.
- Cloud
Vm stringCluster Id - The ID of the cloud VM cluster.
- Cpu
Core intCount - The number of CPU cores enabled on the DB node.
- Created
At string - The date and time when the DB node was created.
- Db
Server stringId - The unique identifier of the DB server that is associated with the DB node.
- Db
Storage intSize In Gbs - The amount of local node storage, in gigabytes (GB), allocated on the DB node.
- Db
System stringId - The OCID of the DB system.
- Fault
Domain string - The name of the fault domain the instance is contained in.
- Floating
Ip stringAddress - The floating IP address assigned to the DB node.
- Host
Ip stringId - The OCID of the host IP address that's associated with the DB node.
- Hostname string
- The host name for the DB node.
- Id string
- Maintenance
Type string - The type of database node maintenance. Either VMDB_REBOOT_MIGRATION or EXADBXS_REBOOT_MIGRATION.
- Memory
Size intIn Gbs - The allocated memory in GBs on the DB node.
- Oci
Resource stringAnchor Name - The name of the OCI resource anchor for the DB node.
- Ocid string
- The OCID of the DB node.
- Private
Ip stringAddress - The private IP address assigned to the DB node.
- Region string
- Software
Storage intSize In Gbs - The size (in GB) of the block storage volume allocation for the DB system.
- Status string
- The current status of the DB node.
- Status
Reason string - Additional information about the status of the DB node.
- Time
Maintenance stringWindow End - The end date and time of the maintenance window.
- Time
Maintenance stringWindow Start - The start date and time of the maintenance window.
- Total
Cpu intCore Count - The total number of CPU cores reserved on the DB node.
- Vnic2Id string
- The OCID of the second VNIC.
- Vnic
Id string - The OCID of the VNIC.
- additional
Details String - Additional information about the planned maintenance.
- arn String
- backup
Ip StringId - The Oracle Cloud ID (OCID) of the backup IP address that's associated with the DB node.
- backup
Vnic2Id String - The OCID of the second backup VNIC.
- backup
Vnic StringId - The OCID of the backup VNIC.
- cloud
Vm StringCluster Id - The ID of the cloud VM cluster.
- cpu
Core IntegerCount - The number of CPU cores enabled on the DB node.
- created
At String - The date and time when the DB node was created.
- db
Server StringId - The unique identifier of the DB server that is associated with the DB node.
- db
Storage IntegerSize In Gbs - The amount of local node storage, in gigabytes (GB), allocated on the DB node.
- db
System StringId - The OCID of the DB system.
- fault
Domain String - The name of the fault domain the instance is contained in.
- floating
Ip StringAddress - The floating IP address assigned to the DB node.
- host
Ip StringId - The OCID of the host IP address that's associated with the DB node.
- hostname String
- The host name for the DB node.
- id String
- maintenance
Type String - The type of database node maintenance. Either VMDB_REBOOT_MIGRATION or EXADBXS_REBOOT_MIGRATION.
- memory
Size IntegerIn Gbs - The allocated memory in GBs on the DB node.
- oci
Resource StringAnchor Name - The name of the OCI resource anchor for the DB node.
- ocid String
- The OCID of the DB node.
- private
Ip StringAddress - The private IP address assigned to the DB node.
- region String
- software
Storage IntegerSize In Gbs - The size (in GB) of the block storage volume allocation for the DB system.
- status String
- The current status of the DB node.
- status
Reason String - Additional information about the status of the DB node.
- time
Maintenance StringWindow End - The end date and time of the maintenance window.
- time
Maintenance StringWindow Start - The start date and time of the maintenance window.
- total
Cpu IntegerCore Count - The total number of CPU cores reserved on the DB node.
- vnic2Id String
- The OCID of the second VNIC.
- vnic
Id String - The OCID of the VNIC.
- additional
Details string - Additional information about the planned maintenance.
- arn string
- backup
Ip stringId - The Oracle Cloud ID (OCID) of the backup IP address that's associated with the DB node.
- backup
Vnic2Id string - The OCID of the second backup VNIC.
- backup
Vnic stringId - The OCID of the backup VNIC.
- cloud
Vm stringCluster Id - The ID of the cloud VM cluster.
- cpu
Core numberCount - The number of CPU cores enabled on the DB node.
- created
At string - The date and time when the DB node was created.
- db
Server stringId - The unique identifier of the DB server that is associated with the DB node.
- db
Storage numberSize In Gbs - The amount of local node storage, in gigabytes (GB), allocated on the DB node.
- db
System stringId - The OCID of the DB system.
- fault
Domain string - The name of the fault domain the instance is contained in.
- floating
Ip stringAddress - The floating IP address assigned to the DB node.
- host
Ip stringId - The OCID of the host IP address that's associated with the DB node.
- hostname string
- The host name for the DB node.
- id string
- maintenance
Type string - The type of database node maintenance. Either VMDB_REBOOT_MIGRATION or EXADBXS_REBOOT_MIGRATION.
- memory
Size numberIn Gbs - The allocated memory in GBs on the DB node.
- oci
Resource stringAnchor Name - The name of the OCI resource anchor for the DB node.
- ocid string
- The OCID of the DB node.
- private
Ip stringAddress - The private IP address assigned to the DB node.
- region string
- software
Storage numberSize In Gbs - The size (in GB) of the block storage volume allocation for the DB system.
- status string
- The current status of the DB node.
- status
Reason string - Additional information about the status of the DB node.
- time
Maintenance stringWindow End - The end date and time of the maintenance window.
- time
Maintenance stringWindow Start - The start date and time of the maintenance window.
- total
Cpu numberCore Count - The total number of CPU cores reserved on the DB node.
- vnic2Id string
- The OCID of the second VNIC.
- vnic
Id string - The OCID of the VNIC.
- additional_
details str - Additional information about the planned maintenance.
- arn str
- backup_
ip_ strid - The Oracle Cloud ID (OCID) of the backup IP address that's associated with the DB node.
- backup_
vnic2_ strid - The OCID of the second backup VNIC.
- backup_
vnic_ strid - The OCID of the backup VNIC.
- cloud_
vm_ strcluster_ id - The ID of the cloud VM cluster.
- cpu_
core_ intcount - The number of CPU cores enabled on the DB node.
- created_
at str - The date and time when the DB node was created.
- db_
server_ strid - The unique identifier of the DB server that is associated with the DB node.
- db_
storage_ intsize_ in_ gbs - The amount of local node storage, in gigabytes (GB), allocated on the DB node.
- db_
system_ strid - The OCID of the DB system.
- fault_
domain str - The name of the fault domain the instance is contained in.
- floating_
ip_ straddress - The floating IP address assigned to the DB node.
- host_
ip_ strid - The OCID of the host IP address that's associated with the DB node.
- hostname str
- The host name for the DB node.
- id str
- maintenance_
type str - The type of database node maintenance. Either VMDB_REBOOT_MIGRATION or EXADBXS_REBOOT_MIGRATION.
- memory_
size_ intin_ gbs - The allocated memory in GBs on the DB node.
- oci_
resource_ stranchor_ name - The name of the OCI resource anchor for the DB node.
- ocid str
- The OCID of the DB node.
- private_
ip_ straddress - The private IP address assigned to the DB node.
- region str
- software_
storage_ intsize_ in_ gbs - The size (in GB) of the block storage volume allocation for the DB system.
- status str
- The current status of the DB node.
- status_
reason str - Additional information about the status of the DB node.
- time_
maintenance_ strwindow_ end - The end date and time of the maintenance window.
- time_
maintenance_ strwindow_ start - The start date and time of the maintenance window.
- total_
cpu_ intcore_ count - The total number of CPU cores reserved on the DB node.
- vnic2_
id str - The OCID of the second VNIC.
- vnic_
id str - The OCID of the VNIC.
- additional
Details String - Additional information about the planned maintenance.
- arn String
- backup
Ip StringId - The Oracle Cloud ID (OCID) of the backup IP address that's associated with the DB node.
- backup
Vnic2Id String - The OCID of the second backup VNIC.
- backup
Vnic StringId - The OCID of the backup VNIC.
- cloud
Vm StringCluster Id - The ID of the cloud VM cluster.
- cpu
Core NumberCount - The number of CPU cores enabled on the DB node.
- created
At String - The date and time when the DB node was created.
- db
Server StringId - The unique identifier of the DB server that is associated with the DB node.
- db
Storage NumberSize In Gbs - The amount of local node storage, in gigabytes (GB), allocated on the DB node.
- db
System StringId - The OCID of the DB system.
- fault
Domain String - The name of the fault domain the instance is contained in.
- floating
Ip StringAddress - The floating IP address assigned to the DB node.
- host
Ip StringId - The OCID of the host IP address that's associated with the DB node.
- hostname String
- The host name for the DB node.
- id String
- maintenance
Type String - The type of database node maintenance. Either VMDB_REBOOT_MIGRATION or EXADBXS_REBOOT_MIGRATION.
- memory
Size NumberIn Gbs - The allocated memory in GBs on the DB node.
- oci
Resource StringAnchor Name - The name of the OCI resource anchor for the DB node.
- ocid String
- The OCID of the DB node.
- private
Ip StringAddress - The private IP address assigned to the DB node.
- region String
- software
Storage NumberSize In Gbs - The size (in GB) of the block storage volume allocation for the DB system.
- status String
- The current status of the DB node.
- status
Reason String - Additional information about the status of the DB node.
- time
Maintenance StringWindow End - The end date and time of the maintenance window.
- time
Maintenance StringWindow Start - The start date and time of the maintenance window.
- total
Cpu NumberCore Count - The total number of CPU cores reserved on the DB node.
- vnic2Id String
- The OCID of the second VNIC.
- vnic
Id String - The OCID of the VNIC.
Package Details
- Repository
- AWS Classic pulumi/pulumi-aws
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
aws
Terraform Provider.