oci logo
Oracle Cloud Infrastructure v0.6.0, Jan 23 23

oci.Database.getCloudExadataInfrastructureUnAllocatedResource

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

using System.Collections.Generic;
using Pulumi;
using Oci = Pulumi.Oci;

return await Deployment.RunAsync(() => 
{
    var testCloudExadataInfrastructureUnAllocatedResource = Oci.Database.GetCloudExadataInfrastructureUnAllocatedResource.Invoke(new()
    {
        CloudExadataInfrastructureId = oci_database_cloud_exadata_infrastructure.Test_cloud_exadata_infrastructure.Id,
    });

});
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: oci_database_cloud_exadata_infrastructure.Test_cloud_exadata_infrastructure.Id,
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
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(oci_database_cloud_exadata_infrastructure.test_cloud_exadata_infrastructure().id())
            .build());

    }
}
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=oci_database_cloud_exadata_infrastructure["test_cloud_exadata_infrastructure"]["id"])
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";

const testCloudExadataInfrastructureUnAllocatedResource = oci.Database.getCloudExadataInfrastructureUnAllocatedResource({
    cloudExadataInfrastructureId: oci_database_cloud_exadata_infrastructure.test_cloud_exadata_infrastructure.id,
});
variables:
  testCloudExadataInfrastructureUnAllocatedResource:
    fn::invoke:
      Function: oci:Database:getCloudExadataInfrastructureUnAllocatedResource
      Arguments:
        cloudExadataInfrastructureId: ${oci_database_cloud_exadata_infrastructure.test_cloud_exadata_infrastructure.id}

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,
                                                           opts: Optional[InvokeOptions] = None) -> GetCloudExadataInfrastructureUnAllocatedResourceResult
def get_cloud_exadata_infrastructure_un_allocated_resource_output(cloud_exadata_infrastructure_id: Optional[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.

CloudExadataInfrastructureId string

The cloud Exadata infrastructure OCID.

cloudExadataInfrastructureId String

The cloud Exadata infrastructure OCID.

cloudExadataInfrastructureId string

The cloud Exadata infrastructure OCID.

cloud_exadata_infrastructure_id str

The cloud Exadata infrastructure OCID.

cloudExadataInfrastructureId String

The cloud Exadata infrastructure OCID.

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.

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.

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.

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.

cloud_autonomous_vm_clusters 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.

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.

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.