1. Packages
  2. Azure Classic
  3. API Docs
  4. oracle
  5. getDbNodes

We recommend using Azure Native.

Azure v6.10.0 published on Tuesday, Nov 19, 2024 by Pulumi

azure.oracle.getDbNodes

Explore with Pulumi AI

azure logo

We recommend using Azure Native.

Azure v6.10.0 published on Tuesday, Nov 19, 2024 by Pulumi

    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:

    CloudVmClusterId string
    The id of the Cloud VM cluster.
    CloudVmClusterId string
    The id of the Cloud VM cluster.
    cloudVmClusterId String
    The id of the Cloud VM cluster.
    cloudVmClusterId string
    The id of the Cloud VM cluster.
    cloud_vm_cluster_id str
    The id of the Cloud VM cluster.
    cloudVmClusterId String
    The id of the Cloud VM cluster.

    getDbNodes Result

    The following output properties are available:

    CloudVmClusterId string
    DbNodes List<GetDbNodesDbNode>
    A db_nodes block as defined below.
    Id string
    The provider-assigned unique ID for this managed resource.
    CloudVmClusterId string
    DbNodes []GetDbNodesDbNode
    A db_nodes block as defined below.
    Id string
    The provider-assigned unique ID for this managed resource.
    cloudVmClusterId String
    dbNodes List<GetDbNodesDbNode>
    A db_nodes block as defined below.
    id String
    The provider-assigned unique ID for this managed resource.
    cloudVmClusterId string
    dbNodes GetDbNodesDbNode[]
    A db_nodes block as defined below.
    id string
    The provider-assigned unique ID for this managed resource.
    cloud_vm_cluster_id str
    db_nodes Sequence[GetDbNodesDbNode]
    A db_nodes block as defined below.
    id str
    The provider-assigned unique ID for this managed resource.
    cloudVmClusterId String
    dbNodes List<Property Map>
    A db_nodes block 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.
    BackupIpId 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.
    BackupVnic2Id string
    BackupVnicId string
    The OCID of the backup VNIC.
    CpuCoreCount int
    The number of CPU cores enabled on the DB node.
    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. 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.
    MemorySizeInGbs int
    The allocated memory in GBs on the DB Node.
    Ocid string
    The OCID of 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.
    TimeCreated string
    The date and time that the DB node was created.
    TimeMaintenanceWindowEnd string
    End date and time of maintenance window.
    TimeMaintenanceWindowStart string
    Start date and time of maintenance window.
    Vnic2Id string
    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. Use this OCID with either the GetPrivateIp or the GetPublicIpByPrivateIpId API to get the IP address needed to make a database connection.
    BackupVnic2Id string
    BackupVnicId string
    The OCID of the backup VNIC.
    CpuCoreCount int
    The number of CPU cores enabled on the DB node.
    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. 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.
    MemorySizeInGbs int
    The allocated memory in GBs on the DB Node.
    Ocid string
    The OCID of 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.
    TimeCreated string
    The date and time that the DB node was created.
    TimeMaintenanceWindowEnd string
    End date and time of maintenance window.
    TimeMaintenanceWindowStart string
    Start date and time of maintenance window.
    Vnic2Id string
    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. Use this OCID with either the GetPrivateIp or the GetPublicIpByPrivateIpId API to get the IP address needed to make a database connection.
    backupVnic2Id String
    backupVnicId String
    The OCID of the backup VNIC.
    cpuCoreCount Integer
    The number of CPU cores enabled on the DB node.
    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. 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.
    memorySizeInGbs Integer
    The allocated memory in GBs on the DB Node.
    ocid String
    The OCID of 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.
    timeCreated String
    The date and time that the DB node was created.
    timeMaintenanceWindowEnd String
    End date and time of maintenance window.
    timeMaintenanceWindowStart String
    Start date and time of maintenance window.
    vnic2Id String
    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. Use this OCID with either the GetPrivateIp or the GetPublicIpByPrivateIpId API to get the IP address needed to make a database connection.
    backupVnic2Id string
    backupVnicId string
    The OCID of the backup VNIC.
    cpuCoreCount number
    The number of CPU cores enabled on the DB node.
    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. 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.
    memorySizeInGbs number
    The allocated memory in GBs on the DB Node.
    ocid string
    The OCID of 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.
    timeCreated string
    The date and time that the DB node was created.
    timeMaintenanceWindowEnd string
    End date and time of maintenance window.
    timeMaintenanceWindowStart string
    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_id 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 str
    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_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. 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_in_gbs int
    The allocated memory in GBs on the DB Node.
    ocid str
    The OCID of 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.
    time_created str
    The date and time that the DB 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.
    vnic2_id str
    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. Use this OCID with either the GetPrivateIp or the GetPublicIpByPrivateIpId API to get the IP address needed to make a database connection.
    backupVnic2Id String
    backupVnicId String
    The OCID of the backup VNIC.
    cpuCoreCount Number
    The number of CPU cores enabled on the DB node.
    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. 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.
    memorySizeInGbs Number
    The allocated memory in GBs on the DB Node.
    ocid String
    The OCID of 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.
    timeCreated String
    The date and time that the DB node was created.
    timeMaintenanceWindowEnd String
    End date and time of maintenance window.
    timeMaintenanceWindowStart String
    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 azurerm Terraform Provider.
    azure logo

    We recommend using Azure Native.

    Azure v6.10.0 published on Tuesday, Nov 19, 2024 by Pulumi