1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. Database
  5. getCloudExadataInfrastructureUnAllocatedResource
Oracle Cloud Infrastructure v1.40.0 published on Wednesday, Jun 12, 2024 by Pulumi

oci.Database.getCloudExadataInfrastructureUnAllocatedResource

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v1.40.0 published on Wednesday, Jun 12, 2024 by Pulumi

    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/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)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: oci:Database/getCloudExadataInfrastructureUnAllocatedResource:getCloudExadataInfrastructureUnAllocatedResource
      arguments:
        # arguments dictionary

    The following arguments are supported:

    CloudExadataInfrastructureId string
    The cloud Exadata infrastructure OCID.
    DbServers List<string>
    The list of OCIDs of the Db servers.
    CloudExadataInfrastructureId string
    The cloud Exadata infrastructure OCID.
    DbServers []string
    The list of OCIDs of the Db servers.
    cloudExadataInfrastructureId String
    The cloud Exadata infrastructure OCID.
    dbServers List<String>
    The list of OCIDs of the Db servers.
    cloudExadataInfrastructureId string
    The cloud Exadata infrastructure OCID.
    dbServers string[]
    The list of OCIDs of the Db servers.
    cloud_exadata_infrastructure_id str
    The cloud Exadata infrastructure OCID.
    db_servers Sequence[str]
    The list of OCIDs of the Db servers.
    cloudExadataInfrastructureId String
    The cloud Exadata infrastructure OCID.
    dbServers List<String>
    The list of OCIDs of the Db servers.

    getCloudExadataInfrastructureUnAllocatedResource Result

    The following output properties are available:

    CloudAutonomousVmClusters List<GetCloudExadataInfrastructureUnAllocatedResourceCloudAutonomousVmCluster>
    The list of Cloud Autonomous VM Clusters on the Infrastructure and their associated unallocated resources details.
    CloudExadataInfrastructureDisplayName string
    The user-friendly name for the Cloud Exadata infrastructure. The name does not need to be unique.
    CloudExadataInfrastructureId string
    The OCID of the Cloud Exadata infrastructure.
    ExadataStorageInTbs double
    Total unallocated exadata storage in the infrastructure in TBs.
    Id string
    The provider-assigned unique ID for this managed resource.
    LocalStorageInGbs int
    The minimum amount of unallocated storage available across all nodes in the infrastructure.
    MemoryInGbs int
    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>
    CloudAutonomousVmClusters []GetCloudExadataInfrastructureUnAllocatedResourceCloudAutonomousVmCluster
    The list of Cloud Autonomous VM Clusters on the Infrastructure and their associated unallocated resources details.
    CloudExadataInfrastructureDisplayName string
    The user-friendly name for the Cloud Exadata infrastructure. The name does not need to be unique.
    CloudExadataInfrastructureId string
    The OCID of the Cloud Exadata infrastructure.
    ExadataStorageInTbs float64
    Total unallocated exadata storage in the infrastructure in TBs.
    Id string
    The provider-assigned unique ID for this managed resource.
    LocalStorageInGbs int
    The minimum amount of unallocated storage available across all nodes in the infrastructure.
    MemoryInGbs int
    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
    cloudAutonomousVmClusters List<GetCloudExadataInfrastructureUnAllocatedResourceCloudAutonomousVmCluster>
    The list of Cloud Autonomous VM Clusters on the Infrastructure and their associated unallocated resources details.
    cloudExadataInfrastructureDisplayName String
    The user-friendly name for the Cloud Exadata infrastructure. The name does not need to be unique.
    cloudExadataInfrastructureId String
    The OCID of the Cloud Exadata infrastructure.
    exadataStorageInTbs Double
    Total unallocated exadata storage in the infrastructure in TBs.
    id String
    The provider-assigned unique ID for this managed resource.
    localStorageInGbs Integer
    The minimum amount of unallocated storage available across all nodes in the infrastructure.
    memoryInGbs Integer
    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>
    cloudAutonomousVmClusters GetCloudExadataInfrastructureUnAllocatedResourceCloudAutonomousVmCluster[]
    The list of Cloud Autonomous VM Clusters on the Infrastructure and their associated unallocated resources details.
    cloudExadataInfrastructureDisplayName string
    The user-friendly name for the Cloud Exadata infrastructure. The name does not need to be unique.
    cloudExadataInfrastructureId string
    The OCID of the Cloud Exadata infrastructure.
    exadataStorageInTbs number
    Total unallocated exadata storage in the infrastructure in TBs.
    id string
    The provider-assigned unique ID for this managed resource.
    localStorageInGbs number
    The minimum amount of unallocated storage available across all nodes in the infrastructure.
    memoryInGbs number
    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_vm_clusters Sequence[database.GetCloudExadataInfrastructureUnAllocatedResourceCloudAutonomousVmCluster]
    The list of Cloud Autonomous VM Clusters on the Infrastructure and their associated unallocated resources details.
    cloud_exadata_infrastructure_display_name str
    The user-friendly name for the Cloud Exadata infrastructure. The name does not need to be unique.
    cloud_exadata_infrastructure_id str
    The OCID of the Cloud Exadata infrastructure.
    exadata_storage_in_tbs float
    Total unallocated exadata storage in the infrastructure in TBs.
    id str
    The provider-assigned unique ID for this managed resource.
    local_storage_in_gbs int
    The minimum amount of unallocated storage available across all nodes in the infrastructure.
    memory_in_gbs int
    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]
    cloudAutonomousVmClusters List<Property Map>
    The list of Cloud Autonomous VM Clusters on the Infrastructure and their associated unallocated resources details.
    cloudExadataInfrastructureDisplayName String
    The user-friendly name for the Cloud Exadata infrastructure. The name does not need to be unique.
    cloudExadataInfrastructureId String
    The OCID of the Cloud Exadata infrastructure.
    exadataStorageInTbs Number
    Total unallocated exadata storage in the infrastructure in TBs.
    id String
    The provider-assigned unique ID for this managed resource.
    localStorageInGbs Number
    The minimum amount of unallocated storage available across all nodes in the infrastructure.
    memoryInGbs Number
    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.
    UnAllocatedAdbStorageInTbs double
    Total unallocated autonomous data storage in the Cloud Autonomous VM Cluster in TBs.
    Id string
    The OCID of the Cloud Exadata infrastructure.
    UnAllocatedAdbStorageInTbs float64
    Total unallocated autonomous data storage in the Cloud Autonomous VM Cluster in TBs.
    id String
    The OCID of the Cloud Exadata infrastructure.
    unAllocatedAdbStorageInTbs Double
    Total unallocated autonomous data storage in the Cloud Autonomous VM Cluster in TBs.
    id string
    The OCID of the Cloud Exadata infrastructure.
    unAllocatedAdbStorageInTbs number
    Total unallocated autonomous data storage in the Cloud Autonomous VM Cluster in TBs.
    id str
    The OCID of the Cloud Exadata infrastructure.
    un_allocated_adb_storage_in_tbs float
    Total unallocated autonomous data storage in the Cloud Autonomous VM Cluster in TBs.
    id String
    The OCID of the Cloud Exadata infrastructure.
    unAllocatedAdbStorageInTbs Number
    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 oci Terraform Provider.
    oci logo
    Oracle Cloud Infrastructure v1.40.0 published on Wednesday, Jun 12, 2024 by Pulumi