Oracle Cloud Infrastructure v2.31.0 published on Thursday, Apr 17, 2025 by Pulumi
oci.Database.getCloudExadataInfrastructureUnAllocatedResource
Explore with Pulumi AI
This data source provides details about a specific Cloud Exadata Infrastructure Un Allocated Resource resource in Oracle Cloud Infrastructure Database service.
Gets unallocated resources information for the specified Cloud Exadata infrastructure.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testCloudExadataInfrastructureUnAllocatedResource = oci.Database.getCloudExadataInfrastructureUnAllocatedResource({
    cloudExadataInfrastructureId: testCloudExadataInfrastructure.id,
    dbServers: cloudExadataInfrastructureUnAllocatedResourceDbServers,
});
import pulumi
import pulumi_oci as oci
test_cloud_exadata_infrastructure_un_allocated_resource = oci.Database.get_cloud_exadata_infrastructure_un_allocated_resource(cloud_exadata_infrastructure_id=test_cloud_exadata_infrastructure["id"],
    db_servers=cloud_exadata_infrastructure_un_allocated_resource_db_servers)
package main
import (
	"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/database"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := database.GetCloudExadataInfrastructureUnAllocatedResource(ctx, &database.GetCloudExadataInfrastructureUnAllocatedResourceArgs{
			CloudExadataInfrastructureId: testCloudExadataInfrastructure.Id,
			DbServers:                    cloudExadataInfrastructureUnAllocatedResourceDbServers,
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Oci = Pulumi.Oci;
return await Deployment.RunAsync(() => 
{
    var testCloudExadataInfrastructureUnAllocatedResource = Oci.Database.GetCloudExadataInfrastructureUnAllocatedResource.Invoke(new()
    {
        CloudExadataInfrastructureId = testCloudExadataInfrastructure.Id,
        DbServers = cloudExadataInfrastructureUnAllocatedResourceDbServers,
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.Database.DatabaseFunctions;
import com.pulumi.oci.Database.inputs.GetCloudExadataInfrastructureUnAllocatedResourceArgs;
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 testCloudExadataInfrastructureUnAllocatedResource = DatabaseFunctions.getCloudExadataInfrastructureUnAllocatedResource(GetCloudExadataInfrastructureUnAllocatedResourceArgs.builder()
            .cloudExadataInfrastructureId(testCloudExadataInfrastructure.id())
            .dbServers(cloudExadataInfrastructureUnAllocatedResourceDbServers)
            .build());
    }
}
variables:
  testCloudExadataInfrastructureUnAllocatedResource:
    fn::invoke:
      function: oci:Database:getCloudExadataInfrastructureUnAllocatedResource
      arguments:
        cloudExadataInfrastructureId: ${testCloudExadataInfrastructure.id}
        dbServers: ${cloudExadataInfrastructureUnAllocatedResourceDbServers}
Using getCloudExadataInfrastructureUnAllocatedResource
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 getCloudExadataInfrastructureUnAllocatedResource(args: GetCloudExadataInfrastructureUnAllocatedResourceArgs, opts?: InvokeOptions): Promise<GetCloudExadataInfrastructureUnAllocatedResourceResult>
function getCloudExadataInfrastructureUnAllocatedResourceOutput(args: GetCloudExadataInfrastructureUnAllocatedResourceOutputArgs, opts?: InvokeOptions): Output<GetCloudExadataInfrastructureUnAllocatedResourceResult>def get_cloud_exadata_infrastructure_un_allocated_resource(cloud_exadata_infrastructure_id: Optional[str] = None,
                                                           db_servers: Optional[Sequence[str]] = None,
                                                           opts: Optional[InvokeOptions] = None) -> GetCloudExadataInfrastructureUnAllocatedResourceResult
def get_cloud_exadata_infrastructure_un_allocated_resource_output(cloud_exadata_infrastructure_id: Optional[pulumi.Input[str]] = None,
                                                           db_servers: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
                                                           opts: Optional[InvokeOptions] = None) -> Output[GetCloudExadataInfrastructureUnAllocatedResourceResult]func GetCloudExadataInfrastructureUnAllocatedResource(ctx *Context, args *GetCloudExadataInfrastructureUnAllocatedResourceArgs, opts ...InvokeOption) (*GetCloudExadataInfrastructureUnAllocatedResourceResult, error)
func GetCloudExadataInfrastructureUnAllocatedResourceOutput(ctx *Context, args *GetCloudExadataInfrastructureUnAllocatedResourceOutputArgs, opts ...InvokeOption) GetCloudExadataInfrastructureUnAllocatedResourceResultOutput> Note: This function is named GetCloudExadataInfrastructureUnAllocatedResource in the Go SDK.
public static class GetCloudExadataInfrastructureUnAllocatedResource 
{
    public static Task<GetCloudExadataInfrastructureUnAllocatedResourceResult> InvokeAsync(GetCloudExadataInfrastructureUnAllocatedResourceArgs args, InvokeOptions? opts = null)
    public static Output<GetCloudExadataInfrastructureUnAllocatedResourceResult> Invoke(GetCloudExadataInfrastructureUnAllocatedResourceInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetCloudExadataInfrastructureUnAllocatedResourceResult> getCloudExadataInfrastructureUnAllocatedResource(GetCloudExadataInfrastructureUnAllocatedResourceArgs args, InvokeOptions options)
public static Output<GetCloudExadataInfrastructureUnAllocatedResourceResult> getCloudExadataInfrastructureUnAllocatedResource(GetCloudExadataInfrastructureUnAllocatedResourceArgs args, InvokeOptions options)
fn::invoke:
  function: oci:Database/getCloudExadataInfrastructureUnAllocatedResource:getCloudExadataInfrastructureUnAllocatedResource
  arguments:
    # arguments dictionaryThe following arguments are supported:
- Cloud
Exadata stringInfrastructure Id  - The cloud Exadata infrastructure OCID.
 - Db
Servers List<string> - The list of OCIDs of the Db servers.
 
- Cloud
Exadata stringInfrastructure Id  - The cloud Exadata infrastructure OCID.
 - Db
Servers []string - The list of OCIDs of the Db servers.
 
- cloud
Exadata StringInfrastructure Id  - The cloud Exadata infrastructure OCID.
 - db
Servers List<String> - The list of OCIDs of the Db servers.
 
- cloud
Exadata stringInfrastructure Id  - The cloud Exadata infrastructure OCID.
 - db
Servers string[] - The list of OCIDs of the Db servers.
 
- cloud_
exadata_ strinfrastructure_ id  - The cloud Exadata infrastructure OCID.
 - db_
servers Sequence[str] - The list of OCIDs of the Db servers.
 
- cloud
Exadata StringInfrastructure Id  - The cloud Exadata infrastructure OCID.
 - db
Servers List<String> - The list of OCIDs of the Db servers.
 
getCloudExadataInfrastructureUnAllocatedResource Result
The following output properties are available:
- Cloud
Autonomous List<GetVm Clusters Cloud Exadata Infrastructure Un Allocated Resource Cloud Autonomous Vm Cluster>  - The list of Cloud Autonomous VM Clusters on the Infrastructure and their associated unallocated resources details.
 - Cloud
Exadata stringInfrastructure Display Name  - The user-friendly name for the Cloud Exadata infrastructure. The name does not need to be unique.
 - Cloud
Exadata stringInfrastructure Id  - The OCID of the Cloud Exadata infrastructure.
 - Exadata
Storage doubleIn Tbs  - Total unallocated exadata storage in the infrastructure in TBs.
 - Id string
 - The provider-assigned unique ID for this managed resource.
 - Local
Storage intIn Gbs  - The minimum amount of unallocated storage available across all nodes in the infrastructure.
 - Memory
In intGbs  - The minimum amount of unallocated memory available across all nodes in the infrastructure.
 - Ocpus int
 - The minimum amount of unallocated ocpus available across all nodes in the infrastructure.
 - Db
Servers List<string> 
- Cloud
Autonomous []GetVm Clusters Cloud Exadata Infrastructure Un Allocated Resource Cloud Autonomous Vm Cluster  - The list of Cloud Autonomous VM Clusters on the Infrastructure and their associated unallocated resources details.
 - Cloud
Exadata stringInfrastructure Display Name  - The user-friendly name for the Cloud Exadata infrastructure. The name does not need to be unique.
 - Cloud
Exadata stringInfrastructure Id  - The OCID of the Cloud Exadata infrastructure.
 - Exadata
Storage float64In Tbs  - Total unallocated exadata storage in the infrastructure in TBs.
 - Id string
 - The provider-assigned unique ID for this managed resource.
 - Local
Storage intIn Gbs  - The minimum amount of unallocated storage available across all nodes in the infrastructure.
 - Memory
In intGbs  - The minimum amount of unallocated memory available across all nodes in the infrastructure.
 - Ocpus int
 - The minimum amount of unallocated ocpus available across all nodes in the infrastructure.
 - Db
Servers []string 
- cloud
Autonomous List<GetVm Clusters Cloud Exadata Infrastructure Un Allocated Resource Cloud Autonomous Vm Cluster>  - The list of Cloud Autonomous VM Clusters on the Infrastructure and their associated unallocated resources details.
 - cloud
Exadata StringInfrastructure Display Name  - The user-friendly name for the Cloud Exadata infrastructure. The name does not need to be unique.
 - cloud
Exadata StringInfrastructure Id  - The OCID of the Cloud Exadata infrastructure.
 - exadata
Storage DoubleIn Tbs  - Total unallocated exadata storage in the infrastructure in TBs.
 - id String
 - The provider-assigned unique ID for this managed resource.
 - local
Storage IntegerIn Gbs  - The minimum amount of unallocated storage available across all nodes in the infrastructure.
 - memory
In IntegerGbs  - The minimum amount of unallocated memory available across all nodes in the infrastructure.
 - ocpus Integer
 - The minimum amount of unallocated ocpus available across all nodes in the infrastructure.
 - db
Servers List<String> 
- cloud
Autonomous GetVm Clusters Cloud Exadata Infrastructure Un Allocated Resource Cloud Autonomous Vm Cluster[]  - The list of Cloud Autonomous VM Clusters on the Infrastructure and their associated unallocated resources details.
 - cloud
Exadata stringInfrastructure Display Name  - The user-friendly name for the Cloud Exadata infrastructure. The name does not need to be unique.
 - cloud
Exadata stringInfrastructure Id  - The OCID of the Cloud Exadata infrastructure.
 - exadata
Storage numberIn Tbs  - Total unallocated exadata storage in the infrastructure in TBs.
 - id string
 - The provider-assigned unique ID for this managed resource.
 - local
Storage numberIn Gbs  - The minimum amount of unallocated storage available across all nodes in the infrastructure.
 - memory
In numberGbs  - The minimum amount of unallocated memory available across all nodes in the infrastructure.
 - ocpus number
 - The minimum amount of unallocated ocpus available across all nodes in the infrastructure.
 - db
Servers string[] 
- cloud_
autonomous_ Sequence[database.vm_ clusters Get Cloud Exadata Infrastructure Un Allocated Resource Cloud Autonomous Vm Cluster]  - The list of Cloud Autonomous VM Clusters on the Infrastructure and their associated unallocated resources details.
 - cloud_
exadata_ strinfrastructure_ display_ name  - The user-friendly name for the Cloud Exadata infrastructure. The name does not need to be unique.
 - cloud_
exadata_ strinfrastructure_ id  - The OCID of the Cloud Exadata infrastructure.
 - exadata_
storage_ floatin_ tbs  - Total unallocated exadata storage in the infrastructure in TBs.
 - id str
 - The provider-assigned unique ID for this managed resource.
 - local_
storage_ intin_ gbs  - The minimum amount of unallocated storage available across all nodes in the infrastructure.
 - memory_
in_ intgbs  - The minimum amount of unallocated memory available across all nodes in the infrastructure.
 - ocpus int
 - The minimum amount of unallocated ocpus available across all nodes in the infrastructure.
 - db_
servers Sequence[str] 
- cloud
Autonomous List<Property Map>Vm Clusters  - The list of Cloud Autonomous VM Clusters on the Infrastructure and their associated unallocated resources details.
 - cloud
Exadata StringInfrastructure Display Name  - The user-friendly name for the Cloud Exadata infrastructure. The name does not need to be unique.
 - cloud
Exadata StringInfrastructure Id  - The OCID of the Cloud Exadata infrastructure.
 - exadata
Storage NumberIn Tbs  - Total unallocated exadata storage in the infrastructure in TBs.
 - id String
 - The provider-assigned unique ID for this managed resource.
 - local
Storage NumberIn Gbs  - The minimum amount of unallocated storage available across all nodes in the infrastructure.
 - memory
In NumberGbs  - The minimum amount of unallocated memory available across all nodes in the infrastructure.
 - ocpus Number
 - The minimum amount of unallocated ocpus available across all nodes in the infrastructure.
 - db
Servers List<String> 
Supporting Types
GetCloudExadataInfrastructureUnAllocatedResourceCloudAutonomousVmCluster          
- Id string
 - The OCID of the Cloud Exadata infrastructure.
 - Un
Allocated doubleAdb Storage In Tbs  - Total unallocated autonomous data storage in the Cloud Autonomous VM Cluster in TBs.
 
- Id string
 - The OCID of the Cloud Exadata infrastructure.
 - Un
Allocated float64Adb Storage In Tbs  - Total unallocated autonomous data storage in the Cloud Autonomous VM Cluster in TBs.
 
- id String
 - The OCID of the Cloud Exadata infrastructure.
 - un
Allocated DoubleAdb Storage In Tbs  - Total unallocated autonomous data storage in the Cloud Autonomous VM Cluster in TBs.
 
- id string
 - The OCID of the Cloud Exadata infrastructure.
 - un
Allocated numberAdb Storage In Tbs  - Total unallocated autonomous data storage in the Cloud Autonomous VM Cluster in TBs.
 
- id str
 - The OCID of the Cloud Exadata infrastructure.
 - un_
allocated_ floatadb_ storage_ in_ tbs  - Total unallocated autonomous data storage in the Cloud Autonomous VM Cluster in TBs.
 
- id String
 - The OCID of the Cloud Exadata infrastructure.
 - un
Allocated NumberAdb Storage In Tbs  - Total unallocated autonomous data storage in the Cloud Autonomous VM Cluster in TBs.
 
Package Details
- Repository
 - oci pulumi/pulumi-oci
 - License
 - Apache-2.0
 - Notes
 - This Pulumi package is based on the 
ociTerraform Provider.