Oracle Cloud Infrastructure

v0.5.0 published on Monday, Sep 12, 2022 by Pulumi

getAutonomousExadataInfrastructureShapes

This data source provides the list of Autonomous Exadata Infrastructure Shapes in Oracle Cloud Infrastructure Database service.

Deprecated.

Example Usage

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

return await Deployment.RunAsync(() => 
{
    var testAutonomousExadataInfrastructureShapes = Oci.Database.GetAutonomousExadataInfrastructureShapes.Invoke(new()
    {
        AvailabilityDomain = @var.Autonomous_exadata_infrastructure_shape_availability_domain,
        CompartmentId = @var.Compartment_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.GetAutonomousExadataInfrastructureShapes(ctx, &database.GetAutonomousExadataInfrastructureShapesArgs{
			AvailabilityDomain: _var.Autonomous_exadata_infrastructure_shape_availability_domain,
			CompartmentId:      _var.Compartment_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.GetAutonomousExadataInfrastructureShapesArgs;
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 testAutonomousExadataInfrastructureShapes = DatabaseFunctions.getAutonomousExadataInfrastructureShapes(GetAutonomousExadataInfrastructureShapesArgs.builder()
            .availabilityDomain(var_.autonomous_exadata_infrastructure_shape_availability_domain())
            .compartmentId(var_.compartment_id())
            .build());

    }
}
import pulumi
import pulumi_oci as oci

test_autonomous_exadata_infrastructure_shapes = oci.Database.get_autonomous_exadata_infrastructure_shapes(availability_domain=var["autonomous_exadata_infrastructure_shape_availability_domain"],
    compartment_id=var["compartment_id"])
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";

const testAutonomousExadataInfrastructureShapes = oci.Database.getAutonomousExadataInfrastructureShapes({
    availabilityDomain: _var.autonomous_exadata_infrastructure_shape_availability_domain,
    compartmentId: _var.compartment_id,
});
variables:
  testAutonomousExadataInfrastructureShapes:
    Fn::Invoke:
      Function: oci:Database:getAutonomousExadataInfrastructureShapes
      Arguments:
        availabilityDomain: ${var.autonomous_exadata_infrastructure_shape_availability_domain}
        compartmentId: ${var.compartment_id}

Using getAutonomousExadataInfrastructureShapes

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 getAutonomousExadataInfrastructureShapes(args: GetAutonomousExadataInfrastructureShapesArgs, opts?: InvokeOptions): Promise<GetAutonomousExadataInfrastructureShapesResult>
function getAutonomousExadataInfrastructureShapesOutput(args: GetAutonomousExadataInfrastructureShapesOutputArgs, opts?: InvokeOptions): Output<GetAutonomousExadataInfrastructureShapesResult>
def get_autonomous_exadata_infrastructure_shapes(availability_domain: Optional[str] = None,
                                                 compartment_id: Optional[str] = None,
                                                 filters: Optional[Sequence[_database.GetAutonomousExadataInfrastructureShapesFilter]] = None,
                                                 opts: Optional[InvokeOptions] = None) -> GetAutonomousExadataInfrastructureShapesResult
def get_autonomous_exadata_infrastructure_shapes_output(availability_domain: Optional[pulumi.Input[str]] = None,
                                                 compartment_id: Optional[pulumi.Input[str]] = None,
                                                 filters: Optional[pulumi.Input[Sequence[pulumi.Input[_database.GetAutonomousExadataInfrastructureShapesFilterArgs]]]] = None,
                                                 opts: Optional[InvokeOptions] = None) -> Output[GetAutonomousExadataInfrastructureShapesResult]
func GetAutonomousExadataInfrastructureShapes(ctx *Context, args *GetAutonomousExadataInfrastructureShapesArgs, opts ...InvokeOption) (*GetAutonomousExadataInfrastructureShapesResult, error)
func GetAutonomousExadataInfrastructureShapesOutput(ctx *Context, args *GetAutonomousExadataInfrastructureShapesOutputArgs, opts ...InvokeOption) GetAutonomousExadataInfrastructureShapesResultOutput

> Note: This function is named GetAutonomousExadataInfrastructureShapes in the Go SDK.

public static class GetAutonomousExadataInfrastructureShapes 
{
    public static Task<GetAutonomousExadataInfrastructureShapesResult> InvokeAsync(GetAutonomousExadataInfrastructureShapesArgs args, InvokeOptions? opts = null)
    public static Output<GetAutonomousExadataInfrastructureShapesResult> Invoke(GetAutonomousExadataInfrastructureShapesInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetAutonomousExadataInfrastructureShapesResult> getAutonomousExadataInfrastructureShapes(GetAutonomousExadataInfrastructureShapesArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
  function: oci:Database/getAutonomousExadataInfrastructureShapes:getAutonomousExadataInfrastructureShapes
  arguments:
    # arguments dictionary

The following arguments are supported:

AvailabilityDomain string

The name of the Availability Domain.

CompartmentId string

The compartment OCID.

Filters List<GetAutonomousExadataInfrastructureShapesFilter>
AvailabilityDomain string

The name of the Availability Domain.

CompartmentId string

The compartment OCID.

Filters []GetAutonomousExadataInfrastructureShapesFilter
availabilityDomain String

The name of the Availability Domain.

compartmentId String

The compartment OCID.

filters List<GetAutonomousExadataInfrastructureShapesFilter>
availabilityDomain string

The name of the Availability Domain.

compartmentId string

The compartment OCID.

filters GetAutonomousExadataInfrastructureShapesFilter[]
availability_domain str

The name of the Availability Domain.

compartment_id str

The compartment OCID.

filters GetAutonomousExadataInfrastructureShapesFilter]
availabilityDomain String

The name of the Availability Domain.

compartmentId String

The compartment OCID.

filters List<Property Map>

getAutonomousExadataInfrastructureShapes Result

The following output properties are available:

autonomousExadataInfrastructureShapes List<Property Map>

The list of autonomous_exadata_infrastructure_shapes.

availabilityDomain String
compartmentId String
id String

The provider-assigned unique ID for this managed resource.

filters List<Property Map>

Supporting Types

GetAutonomousExadataInfrastructureShapesAutonomousExadataInfrastructureShape

AvailableCoreCount int

The maximum number of CPU cores that can be enabled on the Autonomous Exadata Infrastructure.

CoreCountIncrement int

The increment in which core count can be increased or decreased.

MaximumNodeCount int

The maximum number of nodes available for the shape.

MinimumCoreCount int

The minimum number of CPU cores that can be enabled on the Autonomous Exadata Infrastructure.

MinimumNodeCount int

The minimum number of nodes available for the shape.

Name string

The name of the shape used for the Autonomous Exadata Infrastructure.

AvailableCoreCount int

The maximum number of CPU cores that can be enabled on the Autonomous Exadata Infrastructure.

CoreCountIncrement int

The increment in which core count can be increased or decreased.

MaximumNodeCount int

The maximum number of nodes available for the shape.

MinimumCoreCount int

The minimum number of CPU cores that can be enabled on the Autonomous Exadata Infrastructure.

MinimumNodeCount int

The minimum number of nodes available for the shape.

Name string

The name of the shape used for the Autonomous Exadata Infrastructure.

availableCoreCount Integer

The maximum number of CPU cores that can be enabled on the Autonomous Exadata Infrastructure.

coreCountIncrement Integer

The increment in which core count can be increased or decreased.

maximumNodeCount Integer

The maximum number of nodes available for the shape.

minimumCoreCount Integer

The minimum number of CPU cores that can be enabled on the Autonomous Exadata Infrastructure.

minimumNodeCount Integer

The minimum number of nodes available for the shape.

name String

The name of the shape used for the Autonomous Exadata Infrastructure.

availableCoreCount number

The maximum number of CPU cores that can be enabled on the Autonomous Exadata Infrastructure.

coreCountIncrement number

The increment in which core count can be increased or decreased.

maximumNodeCount number

The maximum number of nodes available for the shape.

minimumCoreCount number

The minimum number of CPU cores that can be enabled on the Autonomous Exadata Infrastructure.

minimumNodeCount number

The minimum number of nodes available for the shape.

name string

The name of the shape used for the Autonomous Exadata Infrastructure.

available_core_count int

The maximum number of CPU cores that can be enabled on the Autonomous Exadata Infrastructure.

core_count_increment int

The increment in which core count can be increased or decreased.

maximum_node_count int

The maximum number of nodes available for the shape.

minimum_core_count int

The minimum number of CPU cores that can be enabled on the Autonomous Exadata Infrastructure.

minimum_node_count int

The minimum number of nodes available for the shape.

name str

The name of the shape used for the Autonomous Exadata Infrastructure.

availableCoreCount Number

The maximum number of CPU cores that can be enabled on the Autonomous Exadata Infrastructure.

coreCountIncrement Number

The increment in which core count can be increased or decreased.

maximumNodeCount Number

The maximum number of nodes available for the shape.

minimumCoreCount Number

The minimum number of CPU cores that can be enabled on the Autonomous Exadata Infrastructure.

minimumNodeCount Number

The minimum number of nodes available for the shape.

name String

The name of the shape used for the Autonomous Exadata Infrastructure.

GetAutonomousExadataInfrastructureShapesFilter

Name string

The name of the shape used for the Autonomous Exadata Infrastructure.

Values List<string>
Regex bool
Name string

The name of the shape used for the Autonomous Exadata Infrastructure.

Values []string
Regex bool
name String

The name of the shape used for the Autonomous Exadata Infrastructure.

values List<String>
regex Boolean
name string

The name of the shape used for the Autonomous Exadata Infrastructure.

values string[]
regex boolean
name str

The name of the shape used for the Autonomous Exadata Infrastructure.

values Sequence[str]
regex bool
name String

The name of the shape used for the Autonomous Exadata Infrastructure.

values List<String>
regex Boolean

Package Details

Repository
https://github.com/pulumi/pulumi-oci
License
Apache-2.0
Notes

This Pulumi package is based on the oci Terraform Provider.