Oracle Cloud Infrastructure v2.33.0 published on Thursday, May 1, 2025 by Pulumi
oci.Database.getExadataInfrastructureUnAllocatedResource
Explore with Pulumi AI
This data source provides details about a specific Exadata Infrastructure Un Allocated Resource resource in Oracle Cloud Infrastructure Database service.
Gets un allocated resources information for the specified Exadata infrastructure. Applies to Exadata Cloud@Customer instances only.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testExadataInfrastructureUnAllocatedResource = oci.Database.getExadataInfrastructureUnAllocatedResource({
    exadataInfrastructureId: testExadataInfrastructure.id,
    dbServers: exadataInfrastructureUnAllocatedResourceDbServers,
});
import pulumi
import pulumi_oci as oci
test_exadata_infrastructure_un_allocated_resource = oci.Database.get_exadata_infrastructure_un_allocated_resource(exadata_infrastructure_id=test_exadata_infrastructure["id"],
    db_servers=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.GetExadataInfrastructureUnAllocatedResource(ctx, &database.GetExadataInfrastructureUnAllocatedResourceArgs{
			ExadataInfrastructureId: testExadataInfrastructure.Id,
			DbServers:               exadataInfrastructureUnAllocatedResourceDbServers,
		}, 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 testExadataInfrastructureUnAllocatedResource = Oci.Database.GetExadataInfrastructureUnAllocatedResource.Invoke(new()
    {
        ExadataInfrastructureId = testExadataInfrastructure.Id,
        DbServers = exadataInfrastructureUnAllocatedResourceDbServers,
    });
});
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.GetExadataInfrastructureUnAllocatedResourceArgs;
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 testExadataInfrastructureUnAllocatedResource = DatabaseFunctions.getExadataInfrastructureUnAllocatedResource(GetExadataInfrastructureUnAllocatedResourceArgs.builder()
            .exadataInfrastructureId(testExadataInfrastructure.id())
            .dbServers(exadataInfrastructureUnAllocatedResourceDbServers)
            .build());
    }
}
variables:
  testExadataInfrastructureUnAllocatedResource:
    fn::invoke:
      function: oci:Database:getExadataInfrastructureUnAllocatedResource
      arguments:
        exadataInfrastructureId: ${testExadataInfrastructure.id}
        dbServers: ${exadataInfrastructureUnAllocatedResourceDbServers}
Using getExadataInfrastructureUnAllocatedResource
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 getExadataInfrastructureUnAllocatedResource(args: GetExadataInfrastructureUnAllocatedResourceArgs, opts?: InvokeOptions): Promise<GetExadataInfrastructureUnAllocatedResourceResult>
function getExadataInfrastructureUnAllocatedResourceOutput(args: GetExadataInfrastructureUnAllocatedResourceOutputArgs, opts?: InvokeOptions): Output<GetExadataInfrastructureUnAllocatedResourceResult>def get_exadata_infrastructure_un_allocated_resource(db_servers: Optional[Sequence[str]] = None,
                                                     exadata_infrastructure_id: Optional[str] = None,
                                                     opts: Optional[InvokeOptions] = None) -> GetExadataInfrastructureUnAllocatedResourceResult
def get_exadata_infrastructure_un_allocated_resource_output(db_servers: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
                                                     exadata_infrastructure_id: Optional[pulumi.Input[str]] = None,
                                                     opts: Optional[InvokeOptions] = None) -> Output[GetExadataInfrastructureUnAllocatedResourceResult]func GetExadataInfrastructureUnAllocatedResource(ctx *Context, args *GetExadataInfrastructureUnAllocatedResourceArgs, opts ...InvokeOption) (*GetExadataInfrastructureUnAllocatedResourceResult, error)
func GetExadataInfrastructureUnAllocatedResourceOutput(ctx *Context, args *GetExadataInfrastructureUnAllocatedResourceOutputArgs, opts ...InvokeOption) GetExadataInfrastructureUnAllocatedResourceResultOutput> Note: This function is named GetExadataInfrastructureUnAllocatedResource in the Go SDK.
public static class GetExadataInfrastructureUnAllocatedResource 
{
    public static Task<GetExadataInfrastructureUnAllocatedResourceResult> InvokeAsync(GetExadataInfrastructureUnAllocatedResourceArgs args, InvokeOptions? opts = null)
    public static Output<GetExadataInfrastructureUnAllocatedResourceResult> Invoke(GetExadataInfrastructureUnAllocatedResourceInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetExadataInfrastructureUnAllocatedResourceResult> getExadataInfrastructureUnAllocatedResource(GetExadataInfrastructureUnAllocatedResourceArgs args, InvokeOptions options)
public static Output<GetExadataInfrastructureUnAllocatedResourceResult> getExadataInfrastructureUnAllocatedResource(GetExadataInfrastructureUnAllocatedResourceArgs args, InvokeOptions options)
fn::invoke:
  function: oci:Database/getExadataInfrastructureUnAllocatedResource:getExadataInfrastructureUnAllocatedResource
  arguments:
    # arguments dictionaryThe following arguments are supported:
- ExadataInfrastructure stringId 
- The Exadata infrastructure OCID.
- DbServers List<string>
- The list of OCIDs of the Db servers.
- ExadataInfrastructure stringId 
- The Exadata infrastructure OCID.
- DbServers []string
- The list of OCIDs of the Db servers.
- exadataInfrastructure StringId 
- The Exadata infrastructure OCID.
- dbServers List<String>
- The list of OCIDs of the Db servers.
- exadataInfrastructure stringId 
- The Exadata infrastructure OCID.
- dbServers string[]
- The list of OCIDs of the Db servers.
- exadata_infrastructure_ strid 
- The Exadata infrastructure OCID.
- db_servers Sequence[str]
- The list of OCIDs of the Db servers.
- exadataInfrastructure StringId 
- The Exadata infrastructure OCID.
- dbServers List<String>
- The list of OCIDs of the Db servers.
getExadataInfrastructureUnAllocatedResource Result
The following output properties are available:
- AutonomousVm List<GetClusters Exadata Infrastructure Un Allocated Resource Autonomous Vm Cluster> 
- The list of Autonomous VM Clusters on the Infra and their associated unallocated resources details
- DisplayName string
- The user-friendly name for the Exadata Cloud@Customer infrastructure. The name does not need to be unique.
- ExadataInfrastructure stringId 
- ExadataStorage doubleIn Tbs 
- Total unallocated exadata storage in the infrastructure in TBs.
- Id string
- The provider-assigned unique ID for this managed resource.
- LocalStorage intIn Gbs 
- The minimum amount of un allocated storage that is available across all nodes in the infrastructure.
- MemoryIn intGbs 
- The minimum amount of un allocated memory that is available across all nodes in the infrastructure.
- Ocpus int
- The minimum amount of un allocated ocpus that is available across all nodes in the infrastructure.
- DbServers List<string>
- AutonomousVm []GetClusters Exadata Infrastructure Un Allocated Resource Autonomous Vm Cluster 
- The list of Autonomous VM Clusters on the Infra and their associated unallocated resources details
- DisplayName string
- The user-friendly name for the Exadata Cloud@Customer infrastructure. The name does not need to be unique.
- ExadataInfrastructure stringId 
- ExadataStorage float64In Tbs 
- Total unallocated exadata storage in the infrastructure in TBs.
- Id string
- The provider-assigned unique ID for this managed resource.
- LocalStorage intIn Gbs 
- The minimum amount of un allocated storage that is available across all nodes in the infrastructure.
- MemoryIn intGbs 
- The minimum amount of un allocated memory that is available across all nodes in the infrastructure.
- Ocpus int
- The minimum amount of un allocated ocpus that is available across all nodes in the infrastructure.
- DbServers []string
- autonomousVm List<GetClusters Exadata Infrastructure Un Allocated Resource Autonomous Vm Cluster> 
- The list of Autonomous VM Clusters on the Infra and their associated unallocated resources details
- displayName String
- The user-friendly name for the Exadata Cloud@Customer infrastructure. The name does not need to be unique.
- exadataInfrastructure StringId 
- exadataStorage DoubleIn Tbs 
- Total unallocated exadata storage in the infrastructure in TBs.
- id String
- The provider-assigned unique ID for this managed resource.
- localStorage IntegerIn Gbs 
- The minimum amount of un allocated storage that is available across all nodes in the infrastructure.
- memoryIn IntegerGbs 
- The minimum amount of un allocated memory that is available across all nodes in the infrastructure.
- ocpus Integer
- The minimum amount of un allocated ocpus that is available across all nodes in the infrastructure.
- dbServers List<String>
- autonomousVm GetClusters Exadata Infrastructure Un Allocated Resource Autonomous Vm Cluster[] 
- The list of Autonomous VM Clusters on the Infra and their associated unallocated resources details
- displayName string
- The user-friendly name for the Exadata Cloud@Customer infrastructure. The name does not need to be unique.
- exadataInfrastructure stringId 
- exadataStorage numberIn Tbs 
- Total unallocated exadata storage in the infrastructure in TBs.
- id string
- The provider-assigned unique ID for this managed resource.
- localStorage numberIn Gbs 
- The minimum amount of un allocated storage that is available across all nodes in the infrastructure.
- memoryIn numberGbs 
- The minimum amount of un allocated memory that is available across all nodes in the infrastructure.
- ocpus number
- The minimum amount of un allocated ocpus that is available across all nodes in the infrastructure.
- dbServers string[]
- autonomous_vm_ Sequence[Getclusters Exadata Infrastructure Un Allocated Resource Autonomous Vm Cluster] 
- The list of Autonomous VM Clusters on the Infra and their associated unallocated resources details
- display_name str
- The user-friendly name for the Exadata Cloud@Customer infrastructure. The name does not need to be unique.
- exadata_infrastructure_ strid 
- 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 un allocated storage that is available across all nodes in the infrastructure.
- memory_in_ intgbs 
- The minimum amount of un allocated memory that is available across all nodes in the infrastructure.
- ocpus int
- The minimum amount of un allocated ocpus that is available across all nodes in the infrastructure.
- db_servers Sequence[str]
- autonomousVm List<Property Map>Clusters 
- The list of Autonomous VM Clusters on the Infra and their associated unallocated resources details
- displayName String
- The user-friendly name for the Exadata Cloud@Customer infrastructure. The name does not need to be unique.
- exadataInfrastructure StringId 
- exadataStorage NumberIn Tbs 
- Total unallocated exadata storage in the infrastructure in TBs.
- id String
- The provider-assigned unique ID for this managed resource.
- localStorage NumberIn Gbs 
- The minimum amount of un allocated storage that is available across all nodes in the infrastructure.
- memoryIn NumberGbs 
- The minimum amount of un allocated memory that is available across all nodes in the infrastructure.
- ocpus Number
- The minimum amount of un allocated ocpus that is available across all nodes in the infrastructure.
- dbServers List<String>
Supporting Types
GetExadataInfrastructureUnAllocatedResourceAutonomousVmCluster        
- Id string
- The OCID of the Exadata infrastructure.
- UnAllocated doubleAdb Storage In Tbs 
- Total unallocated autonomous data storage in the AVM in TBs.
- Id string
- The OCID of the Exadata infrastructure.
- UnAllocated float64Adb Storage In Tbs 
- Total unallocated autonomous data storage in the AVM in TBs.
- id String
- The OCID of the Exadata infrastructure.
- unAllocated DoubleAdb Storage In Tbs 
- Total unallocated autonomous data storage in the AVM in TBs.
- id string
- The OCID of the Exadata infrastructure.
- unAllocated numberAdb Storage In Tbs 
- Total unallocated autonomous data storage in the AVM in TBs.
- id str
- The OCID of the Exadata infrastructure.
- un_allocated_ floatadb_ storage_ in_ tbs 
- Total unallocated autonomous data storage in the AVM in TBs.
- id String
- The OCID of the Exadata infrastructure.
- unAllocated NumberAdb Storage In Tbs 
- Total unallocated autonomous data storage in the AVM in TBs.
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the ociTerraform Provider.