getDbSystemShapes

This data source provides the list of DB System Shapes in Oracle Cloud Infrastructure Database service. Gets a list of the shapes that can be used to launch a new DB system. The shape determines resources to allocate to the DB system - CPU cores and memory for VM shapes; CPU cores, memory and storage for non-VM (or bare metal) shapes.

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as azure from "@pulumi/azure";
export = async () => {
const example = await azure.oracle.getDbSystemShapes({
location: "West Europe",
});
return {
example: example,
};
}
import pulumi
import pulumi_azure as azure
example = azure.oracle.get_db_system_shapes(location="West Europe")
pulumi.export("example", example)
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Azure = Pulumi.Azure;
return await Deployment.RunAsync(() =>
{
var example = Azure.Oracle.GetDbSystemShapes.Invoke(new()
{
Location = "West Europe",
});
return new Dictionary<string, object?>
{
["example"] = example,
};
});
package main
import (
"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/oracle"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
example, err := oracle.GetDbSystemShapes(ctx, &oracle.GetDbSystemShapesArgs{
Location: "West Europe",
}, nil)
if err != nil {
return err
}
ctx.Export("example", example)
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azure.oracle.OracleFunctions;
import com.pulumi.azure.oracle.inputs.GetDbSystemShapesArgs;
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 example = OracleFunctions.getDbSystemShapes(GetDbSystemShapesArgs.builder()
.location("West Europe")
.build());
ctx.export("example", example);
}
}
variables:
example:
fn::invoke:
function: azure:oracle:getDbSystemShapes
arguments:
location: West Europe
outputs:
example: ${example}

API Providers

This data source uses the following Azure API Providers:

  • Oracle.Database: 2024-06-01

Return

A collection of values returned by getDbSystemShapes.

Parameters

argument

A collection of arguments for invoking getDbSystemShapes.


Return

A collection of values returned by getDbSystemShapes.

Parameters

location

The Azure Region to query for the system shapes in.

See also


Return

A collection of values returned by getDbSystemShapes.

Parameters

argument

Builder for com.pulumi.azure.oracle.kotlin.inputs.GetDbSystemShapesPlainArgs.

See also