Oracle Cloud Infrastructure v2.33.0 published on Thursday, May 1, 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:
- CloudExadata stringInfrastructure Id 
- The cloud Exadata infrastructure OCID.
- DbServers List<string>
- The list of OCIDs of the Db servers.
- CloudExadata stringInfrastructure Id 
- The cloud Exadata infrastructure OCID.
- DbServers []string
- The list of OCIDs of the Db servers.
- cloudExadata StringInfrastructure Id 
- The cloud Exadata infrastructure OCID.
- dbServers List<String>
- The list of OCIDs of the Db servers.
- cloudExadata stringInfrastructure Id 
- The cloud Exadata infrastructure OCID.
- dbServers 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.
- cloudExadata StringInfrastructure Id 
- The cloud Exadata infrastructure OCID.
- dbServers List<String>
- The list of OCIDs of the Db servers.
getCloudExadataInfrastructureUnAllocatedResource Result
The following output properties are available:
- CloudAutonomous 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.
- CloudExadata stringInfrastructure Display Name 
- The user-friendly name for the Cloud Exadata infrastructure. The name does not need to be unique.
- CloudExadata stringInfrastructure Id 
- The OCID of the Cloud Exadata infrastructure.
- 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 unallocated storage available across all nodes in the infrastructure.
- MemoryIn 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.
- DbServers List<string>
- CloudAutonomous []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.
- CloudExadata stringInfrastructure Display Name 
- The user-friendly name for the Cloud Exadata infrastructure. The name does not need to be unique.
- CloudExadata stringInfrastructure Id 
- The OCID of the Cloud Exadata infrastructure.
- 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 unallocated storage available across all nodes in the infrastructure.
- MemoryIn 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.
- DbServers []string
- cloudAutonomous 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.
- cloudExadata StringInfrastructure Display Name 
- The user-friendly name for the Cloud Exadata infrastructure. The name does not need to be unique.
- cloudExadata StringInfrastructure Id 
- The OCID of the Cloud Exadata infrastructure.
- 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 unallocated storage available across all nodes in the infrastructure.
- memoryIn 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.
- dbServers List<String>
- cloudAutonomous 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.
- cloudExadata stringInfrastructure Display Name 
- The user-friendly name for the Cloud Exadata infrastructure. The name does not need to be unique.
- cloudExadata stringInfrastructure Id 
- The OCID of the Cloud Exadata infrastructure.
- 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 unallocated storage available across all nodes in the infrastructure.
- memoryIn 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.
- dbServers string[]
- cloud_autonomous_ Sequence[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_ 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]
- cloudAutonomous List<Property Map>Vm Clusters 
- The list of Cloud Autonomous VM Clusters on the Infrastructure and their associated unallocated resources details.
- cloudExadata StringInfrastructure Display Name 
- The user-friendly name for the Cloud Exadata infrastructure. The name does not need to be unique.
- cloudExadata StringInfrastructure Id 
- The OCID of the Cloud Exadata infrastructure.
- 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 unallocated storage available across all nodes in the infrastructure.
- memoryIn 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.
- dbServers List<String>
Supporting Types
GetCloudExadataInfrastructureUnAllocatedResourceCloudAutonomousVmCluster          
- Id string
- The OCID of the Cloud Exadata infrastructure.
- UnAllocated 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.
- UnAllocated 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.
- unAllocated 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.
- unAllocated 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.
- unAllocated 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.