Oracle Cloud Infrastructure v2.31.0 published on Thursday, Apr 17, 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:
- Exadata
Infrastructure stringId  - The Exadata infrastructure OCID.
 - Db
Servers List<string> - The list of OCIDs of the Db servers.
 
- Exadata
Infrastructure stringId  - The Exadata infrastructure OCID.
 - Db
Servers []string - The list of OCIDs of the Db servers.
 
- exadata
Infrastructure StringId  - The Exadata infrastructure OCID.
 - db
Servers List<String> - The list of OCIDs of the Db servers.
 
- exadata
Infrastructure stringId  - The Exadata infrastructure OCID.
 - db
Servers 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.
 
- exadata
Infrastructure StringId  - The Exadata infrastructure OCID.
 - db
Servers List<String> - The list of OCIDs of the Db servers.
 
getExadataInfrastructureUnAllocatedResource Result
The following output properties are available:
- Autonomous
Vm 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
 - Display
Name string - The user-friendly name for the Exadata Cloud@Customer infrastructure. The name does not need to be unique.
 - Exadata
Infrastructure stringId  - 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 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 List<string> 
- Autonomous
Vm []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 string - The user-friendly name for the Exadata Cloud@Customer infrastructure. The name does not need to be unique.
 - Exadata
Infrastructure stringId  - 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 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 []string 
- autonomous
Vm 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
 - display
Name String - The user-friendly name for the Exadata Cloud@Customer infrastructure. The name does not need to be unique.
 - exadata
Infrastructure StringId  - 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 un allocated storage that is available across all nodes in the infrastructure.
 - memory
In 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.
 - db
Servers List<String> 
- autonomous
Vm 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 string - The user-friendly name for the Exadata Cloud@Customer infrastructure. The name does not need to be unique.
 - exadata
Infrastructure stringId  - 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 un allocated storage that is available across all nodes in the infrastructure.
 - memory
In 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.
 - db
Servers string[] 
- autonomous_
vm_ Sequence[database.clusters Get 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] 
- autonomous
Vm List<Property Map>Clusters  - The list of Autonomous VM Clusters on the Infra and their associated unallocated resources details
 - display
Name String - The user-friendly name for the Exadata Cloud@Customer infrastructure. The name does not need to be unique.
 - exadata
Infrastructure StringId  - 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 un allocated storage that is available across all nodes in the infrastructure.
 - memory
In 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.
 - db
Servers List<String> 
Supporting Types
GetExadataInfrastructureUnAllocatedResourceAutonomousVmCluster        
- Id string
 - The OCID of the Exadata infrastructure.
 - Un
Allocated doubleAdb Storage In Tbs  - Total unallocated autonomous data storage in the AVM in TBs.
 
- Id string
 - The OCID of the Exadata infrastructure.
 - Un
Allocated float64Adb Storage In Tbs  - Total unallocated autonomous data storage in the AVM in TBs.
 
- id String
 - The OCID of the Exadata infrastructure.
 - un
Allocated DoubleAdb Storage In Tbs  - Total unallocated autonomous data storage in the AVM in TBs.
 
- id string
 - The OCID of the Exadata infrastructure.
 - un
Allocated 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.
 - un
Allocated 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.