oci logo
Oracle Cloud Infrastructure v0.20.0, May 31 23

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

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 = oci_database_exadata_infrastructure.Test_exadata_infrastructure.Id,
        DbServers = @var.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.GetExadataInfrastructureUnAllocatedResource(ctx, &database.GetExadataInfrastructureUnAllocatedResourceArgs{
			ExadataInfrastructureId: oci_database_exadata_infrastructure.Test_exadata_infrastructure.Id,
			DbServers:               _var.Exadata_infrastructure_un_allocated_resource_db_servers,
		}, 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.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(oci_database_exadata_infrastructure.test_exadata_infrastructure().id())
            .dbServers(var_.exadata_infrastructure_un_allocated_resource_db_servers())
            .build());

    }
}
import pulumi
import pulumi_oci as oci

test_exadata_infrastructure_un_allocated_resource = oci.Database.get_exadata_infrastructure_un_allocated_resource(exadata_infrastructure_id=%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference),
    db_servers=%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";

const testExadataInfrastructureUnAllocatedResource = oci.Database.getExadataInfrastructureUnAllocatedResource({
    exadataInfrastructureId: oci_database_exadata_infrastructure.test_exadata_infrastructure.id,
    dbServers: _var.exadata_infrastructure_un_allocated_resource_db_servers,
});
variables:
  testExadataInfrastructureUnAllocatedResource:
    fn::invoke:
      Function: oci:Database:getExadataInfrastructureUnAllocatedResource
      Arguments:
        exadataInfrastructureId: ${oci_database_exadata_infrastructure.test_exadata_infrastructure.id}
        dbServers: ${var.exadata_infrastructure_un_allocated_resource_db_servers}

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

The following arguments are supported:

ExadataInfrastructureId string

The Exadata infrastructure OCID.

DbServers List<string>

The list of OCIDs of the Db servers.

ExadataInfrastructureId string

The Exadata infrastructure OCID.

DbServers []string

The list of OCIDs of the Db servers.

exadataInfrastructureId String

The Exadata infrastructure OCID.

dbServers List<String>

The list of OCIDs of the Db servers.

exadataInfrastructureId string

The Exadata infrastructure OCID.

dbServers string[]

The list of OCIDs of the Db servers.

exadata_infrastructure_id str

The Exadata infrastructure OCID.

db_servers Sequence[str]

The list of OCIDs of the Db servers.

exadataInfrastructureId String

The Exadata infrastructure OCID.

dbServers List<String>

The list of OCIDs of the Db servers.

getExadataInfrastructureUnAllocatedResource Result

The following output properties are available:

AutonomousVmClusters List<GetExadataInfrastructureUnAllocatedResourceAutonomousVmCluster>

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.

ExadataInfrastructureId string
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 un allocated storage that is available across all nodes in the infrastructure.

MemoryInGbs int

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>
AutonomousVmClusters []GetExadataInfrastructureUnAllocatedResourceAutonomousVmCluster

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.

ExadataInfrastructureId string
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 un allocated storage that is available across all nodes in the infrastructure.

MemoryInGbs int

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
autonomousVmClusters List<GetExadataInfrastructureUnAllocatedResourceAutonomousVmCluster>

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.

exadataInfrastructureId String
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 un allocated storage that is available across all nodes in the infrastructure.

memoryInGbs Integer

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>
autonomousVmClusters GetExadataInfrastructureUnAllocatedResourceAutonomousVmCluster[]

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.

exadataInfrastructureId string
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 un allocated storage that is available across all nodes in the infrastructure.

memoryInGbs number

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_clusters GetExadataInfrastructureUnAllocatedResourceAutonomousVmCluster]

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_id str
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 un allocated storage that is available across all nodes in the infrastructure.

memory_in_gbs int

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]
autonomousVmClusters List<Property Map>

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.

exadataInfrastructureId String
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 un allocated storage that is available across all nodes in the infrastructure.

memoryInGbs Number

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.

UnAllocatedAdbStorageInTbs double

Total unallocated autonomous data storage in the AVM in TBs.

Id string

The OCID of the Exadata infrastructure.

UnAllocatedAdbStorageInTbs float64

Total unallocated autonomous data storage in the AVM in TBs.

id String

The OCID of the Exadata infrastructure.

unAllocatedAdbStorageInTbs Double

Total unallocated autonomous data storage in the AVM in TBs.

id string

The OCID of the Exadata infrastructure.

unAllocatedAdbStorageInTbs number

Total unallocated autonomous data storage in the AVM in TBs.

id str

The OCID of the Exadata infrastructure.

un_allocated_adb_storage_in_tbs float

Total unallocated autonomous data storage in the AVM in TBs.

id String

The OCID of the Exadata infrastructure.

unAllocatedAdbStorageInTbs Number

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 oci Terraform Provider.