oci.Database.getDbSystemShapes
Explore with Pulumi AI
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
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Oci = Pulumi.Oci;
return await Deployment.RunAsync(() =>
{
var testDbSystemShapes = Oci.Database.GetDbSystemShapes.Invoke(new()
{
CompartmentId = @var.Compartment_id,
AvailabilityDomain = @var.Db_system_shape_availability_domain,
});
});
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.GetDbSystemShapes(ctx, &database.GetDbSystemShapesArgs{
CompartmentId: _var.Compartment_id,
AvailabilityDomain: pulumi.StringRef(_var.Db_system_shape_availability_domain),
}, 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.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 testDbSystemShapes = DatabaseFunctions.getDbSystemShapes(GetDbSystemShapesArgs.builder()
.compartmentId(var_.compartment_id())
.availabilityDomain(var_.db_system_shape_availability_domain())
.build());
}
}
import pulumi
import pulumi_oci as oci
test_db_system_shapes = oci.Database.get_db_system_shapes(compartment_id=var["compartment_id"],
availability_domain=var["db_system_shape_availability_domain"])
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testDbSystemShapes = oci.Database.getDbSystemShapes({
compartmentId: _var.compartment_id,
availabilityDomain: _var.db_system_shape_availability_domain,
});
variables:
testDbSystemShapes:
fn::invoke:
Function: oci:Database:getDbSystemShapes
Arguments:
compartmentId: ${var.compartment_id}
availabilityDomain: ${var.db_system_shape_availability_domain}
Using getDbSystemShapes
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 getDbSystemShapes(args: GetDbSystemShapesArgs, opts?: InvokeOptions): Promise<GetDbSystemShapesResult>
function getDbSystemShapesOutput(args: GetDbSystemShapesOutputArgs, opts?: InvokeOptions): Output<GetDbSystemShapesResult>
def get_db_system_shapes(availability_domain: Optional[str] = None,
compartment_id: Optional[str] = None,
filters: Optional[Sequence[_database.GetDbSystemShapesFilter]] = None,
opts: Optional[InvokeOptions] = None) -> GetDbSystemShapesResult
def get_db_system_shapes_output(availability_domain: Optional[pulumi.Input[str]] = None,
compartment_id: Optional[pulumi.Input[str]] = None,
filters: Optional[pulumi.Input[Sequence[pulumi.Input[_database.GetDbSystemShapesFilterArgs]]]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetDbSystemShapesResult]
func GetDbSystemShapes(ctx *Context, args *GetDbSystemShapesArgs, opts ...InvokeOption) (*GetDbSystemShapesResult, error)
func GetDbSystemShapesOutput(ctx *Context, args *GetDbSystemShapesOutputArgs, opts ...InvokeOption) GetDbSystemShapesResultOutput
> Note: This function is named GetDbSystemShapes
in the Go SDK.
public static class GetDbSystemShapes
{
public static Task<GetDbSystemShapesResult> InvokeAsync(GetDbSystemShapesArgs args, InvokeOptions? opts = null)
public static Output<GetDbSystemShapesResult> Invoke(GetDbSystemShapesInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetDbSystemShapesResult> getDbSystemShapes(GetDbSystemShapesArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: oci:Database/getDbSystemShapes:getDbSystemShapes
arguments:
# arguments dictionary
The following arguments are supported:
- Compartment
Id string The compartment OCID.
- Availability
Domain string The name of the Availability Domain.
- Filters
List<Get
Db System Shapes Filter>
- Compartment
Id string The compartment OCID.
- Availability
Domain string The name of the Availability Domain.
- Filters
[]Get
Db System Shapes Filter
- compartment
Id String The compartment OCID.
- availability
Domain String The name of the Availability Domain.
- filters
List<Get
Db System Shapes Filter>
- compartment
Id string The compartment OCID.
- availability
Domain string The name of the Availability Domain.
- filters
Get
Db System Shapes Filter[]
- compartment_
id str The compartment OCID.
- availability_
domain str The name of the Availability Domain.
- filters
Get
Db System Shapes Filter]
- compartment
Id String The compartment OCID.
- availability
Domain String The name of the Availability Domain.
- filters List<Property Map>
getDbSystemShapes Result
The following output properties are available:
- Compartment
Id string - Db
System List<GetShapes Db System Shapes Db System Shape> The list of db_system_shapes.
- Id string
The provider-assigned unique ID for this managed resource.
- Availability
Domain string - Filters
List<Get
Db System Shapes Filter>
- Compartment
Id string - Db
System []GetShapes Db System Shapes Db System Shape The list of db_system_shapes.
- Id string
The provider-assigned unique ID for this managed resource.
- Availability
Domain string - Filters
[]Get
Db System Shapes Filter
- compartment
Id String - db
System List<GetShapes Db System Shapes Db System Shape> The list of db_system_shapes.
- id String
The provider-assigned unique ID for this managed resource.
- availability
Domain String - filters
List<Get
Db System Shapes Filter>
- compartment
Id string - db
System GetShapes Db System Shapes Db System Shape[] The list of db_system_shapes.
- id string
The provider-assigned unique ID for this managed resource.
- availability
Domain string - filters
Get
Db System Shapes Filter[]
- compartment_
id str - db_
system_ Getshapes Db System Shapes Db System Shape] The list of db_system_shapes.
- id str
The provider-assigned unique ID for this managed resource.
- availability_
domain str - filters
Get
Db System Shapes Filter]
- compartment
Id String - db
System List<Property Map>Shapes The list of db_system_shapes.
- id String
The provider-assigned unique ID for this managed resource.
- availability
Domain String - filters List<Property Map>
Supporting Types
GetDbSystemShapesDbSystemShape
- Available
Core intCount The maximum number of CPU cores that can be enabled on the DB system for this shape.
- Available
Core intCount Per Node The maximum number of CPU cores per database node that can be enabled for this shape. Only applicable to the flex Exadata shape, ExaCC Elastic shapes and VM Flex shapes.
- Available
Data intStorage In Tbs The maximum DATA storage that can be enabled for this shape.
- Available
Data doubleStorage Per Server In Tbs The maximum data storage available per storage server for this shape. Only applicable to ExaCC Elastic shapes.
- Available
Db intNode Per Node In Gbs The maximum Db Node storage available per database node for this shape. Only applicable to ExaCC Elastic shapes.
- Available
Db intNode Storage In Gbs The maximum Db Node storage that can be enabled for this shape.
- Available
Memory intIn Gbs The maximum memory that can be enabled for this shape.
- Available
Memory intPer Node In Gbs The maximum memory available per database node for this shape. Only applicable to ExaCC Elastic shapes.
- Core
Count intIncrement The discrete number by which the CPU core count for this shape can be increased or decreased.
- Max
Storage intCount The maximum number of Exadata storage servers available for the Exadata infrastructure.
- Maximum
Node intCount The maximum number of compute servers available for this shape.
- Min
Core intCount Per Node The minimum number of CPU cores that can be enabled per node for this shape.
- Min
Data intStorage In Tbs The minimum data storage that need be allocated for this shape.
- Min
Db intNode Storage Per Node In Gbs The minimum Db Node storage that need be allocated per node for this shape.
- Min
Memory intPer Node In Gbs The minimum memory that need be allocated per node for this shape.
- Min
Storage intCount The minimum number of Exadata storage servers available for the Exadata infrastructure.
- Minimum
Core intCount The minimum number of CPU cores that can be enabled on the DB system for this shape.
- Minimum
Node intCount The minimum number of compute servers available for this shape.
- Name string
The name of the shape used for the DB system.
- Shape string
Deprecated. Use
name
instead ofshape
.The 'shape' field has been deprecated. Please use 'name' instead.
- Shape
Family string The family of the shape used for the DB system.
- Shape
Type string The shape type for the virtual machine DB system. Shape type is determined by CPU hardware. Valid values are
AMD
,INTEL
orINTEL_FLEX_X9
.
- Available
Core intCount The maximum number of CPU cores that can be enabled on the DB system for this shape.
- Available
Core intCount Per Node The maximum number of CPU cores per database node that can be enabled for this shape. Only applicable to the flex Exadata shape, ExaCC Elastic shapes and VM Flex shapes.
- Available
Data intStorage In Tbs The maximum DATA storage that can be enabled for this shape.
- Available
Data float64Storage Per Server In Tbs The maximum data storage available per storage server for this shape. Only applicable to ExaCC Elastic shapes.
- Available
Db intNode Per Node In Gbs The maximum Db Node storage available per database node for this shape. Only applicable to ExaCC Elastic shapes.
- Available
Db intNode Storage In Gbs The maximum Db Node storage that can be enabled for this shape.
- Available
Memory intIn Gbs The maximum memory that can be enabled for this shape.
- Available
Memory intPer Node In Gbs The maximum memory available per database node for this shape. Only applicable to ExaCC Elastic shapes.
- Core
Count intIncrement The discrete number by which the CPU core count for this shape can be increased or decreased.
- Max
Storage intCount The maximum number of Exadata storage servers available for the Exadata infrastructure.
- Maximum
Node intCount The maximum number of compute servers available for this shape.
- Min
Core intCount Per Node The minimum number of CPU cores that can be enabled per node for this shape.
- Min
Data intStorage In Tbs The minimum data storage that need be allocated for this shape.
- Min
Db intNode Storage Per Node In Gbs The minimum Db Node storage that need be allocated per node for this shape.
- Min
Memory intPer Node In Gbs The minimum memory that need be allocated per node for this shape.
- Min
Storage intCount The minimum number of Exadata storage servers available for the Exadata infrastructure.
- Minimum
Core intCount The minimum number of CPU cores that can be enabled on the DB system for this shape.
- Minimum
Node intCount The minimum number of compute servers available for this shape.
- Name string
The name of the shape used for the DB system.
- Shape string
Deprecated. Use
name
instead ofshape
.The 'shape' field has been deprecated. Please use 'name' instead.
- Shape
Family string The family of the shape used for the DB system.
- Shape
Type string The shape type for the virtual machine DB system. Shape type is determined by CPU hardware. Valid values are
AMD
,INTEL
orINTEL_FLEX_X9
.
- available
Core IntegerCount The maximum number of CPU cores that can be enabled on the DB system for this shape.
- available
Core IntegerCount Per Node The maximum number of CPU cores per database node that can be enabled for this shape. Only applicable to the flex Exadata shape, ExaCC Elastic shapes and VM Flex shapes.
- available
Data IntegerStorage In Tbs The maximum DATA storage that can be enabled for this shape.
- available
Data DoubleStorage Per Server In Tbs The maximum data storage available per storage server for this shape. Only applicable to ExaCC Elastic shapes.
- available
Db IntegerNode Per Node In Gbs The maximum Db Node storage available per database node for this shape. Only applicable to ExaCC Elastic shapes.
- available
Db IntegerNode Storage In Gbs The maximum Db Node storage that can be enabled for this shape.
- available
Memory IntegerIn Gbs The maximum memory that can be enabled for this shape.
- available
Memory IntegerPer Node In Gbs The maximum memory available per database node for this shape. Only applicable to ExaCC Elastic shapes.
- core
Count IntegerIncrement The discrete number by which the CPU core count for this shape can be increased or decreased.
- max
Storage IntegerCount The maximum number of Exadata storage servers available for the Exadata infrastructure.
- maximum
Node IntegerCount The maximum number of compute servers available for this shape.
- min
Core IntegerCount Per Node The minimum number of CPU cores that can be enabled per node for this shape.
- min
Data IntegerStorage In Tbs The minimum data storage that need be allocated for this shape.
- min
Db IntegerNode Storage Per Node In Gbs The minimum Db Node storage that need be allocated per node for this shape.
- min
Memory IntegerPer Node In Gbs The minimum memory that need be allocated per node for this shape.
- min
Storage IntegerCount The minimum number of Exadata storage servers available for the Exadata infrastructure.
- minimum
Core IntegerCount The minimum number of CPU cores that can be enabled on the DB system for this shape.
- minimum
Node IntegerCount The minimum number of compute servers available for this shape.
- name String
The name of the shape used for the DB system.
- shape String
Deprecated. Use
name
instead ofshape
.The 'shape' field has been deprecated. Please use 'name' instead.
- shape
Family String The family of the shape used for the DB system.
- shape
Type String The shape type for the virtual machine DB system. Shape type is determined by CPU hardware. Valid values are
AMD
,INTEL
orINTEL_FLEX_X9
.
- available
Core numberCount The maximum number of CPU cores that can be enabled on the DB system for this shape.
- available
Core numberCount Per Node The maximum number of CPU cores per database node that can be enabled for this shape. Only applicable to the flex Exadata shape, ExaCC Elastic shapes and VM Flex shapes.
- available
Data numberStorage In Tbs The maximum DATA storage that can be enabled for this shape.
- available
Data numberStorage Per Server In Tbs The maximum data storage available per storage server for this shape. Only applicable to ExaCC Elastic shapes.
- available
Db numberNode Per Node In Gbs The maximum Db Node storage available per database node for this shape. Only applicable to ExaCC Elastic shapes.
- available
Db numberNode Storage In Gbs The maximum Db Node storage that can be enabled for this shape.
- available
Memory numberIn Gbs The maximum memory that can be enabled for this shape.
- available
Memory numberPer Node In Gbs The maximum memory available per database node for this shape. Only applicable to ExaCC Elastic shapes.
- core
Count numberIncrement The discrete number by which the CPU core count for this shape can be increased or decreased.
- max
Storage numberCount The maximum number of Exadata storage servers available for the Exadata infrastructure.
- maximum
Node numberCount The maximum number of compute servers available for this shape.
- min
Core numberCount Per Node The minimum number of CPU cores that can be enabled per node for this shape.
- min
Data numberStorage In Tbs The minimum data storage that need be allocated for this shape.
- min
Db numberNode Storage Per Node In Gbs The minimum Db Node storage that need be allocated per node for this shape.
- min
Memory numberPer Node In Gbs The minimum memory that need be allocated per node for this shape.
- min
Storage numberCount The minimum number of Exadata storage servers available for the Exadata infrastructure.
- minimum
Core numberCount The minimum number of CPU cores that can be enabled on the DB system for this shape.
- minimum
Node numberCount The minimum number of compute servers available for this shape.
- name string
The name of the shape used for the DB system.
- shape string
Deprecated. Use
name
instead ofshape
.The 'shape' field has been deprecated. Please use 'name' instead.
- shape
Family string The family of the shape used for the DB system.
- shape
Type string The shape type for the virtual machine DB system. Shape type is determined by CPU hardware. Valid values are
AMD
,INTEL
orINTEL_FLEX_X9
.
- available_
core_ intcount The maximum number of CPU cores that can be enabled on the DB system for this shape.
- available_
core_ intcount_ per_ node The maximum number of CPU cores per database node that can be enabled for this shape. Only applicable to the flex Exadata shape, ExaCC Elastic shapes and VM Flex shapes.
- available_
data_ intstorage_ in_ tbs The maximum DATA storage that can be enabled for this shape.
- available_
data_ floatstorage_ per_ server_ in_ tbs The maximum data storage available per storage server for this shape. Only applicable to ExaCC Elastic shapes.
- available_
db_ intnode_ per_ node_ in_ gbs The maximum Db Node storage available per database node for this shape. Only applicable to ExaCC Elastic shapes.
- available_
db_ intnode_ storage_ in_ gbs The maximum Db Node storage that can be enabled for this shape.
- available_
memory_ intin_ gbs The maximum memory that can be enabled for this shape.
- available_
memory_ intper_ node_ in_ gbs The maximum memory available per database node for this shape. Only applicable to ExaCC Elastic shapes.
- core_
count_ intincrement The discrete number by which the CPU core count for this shape can be increased or decreased.
- max_
storage_ intcount The maximum number of Exadata storage servers available for the Exadata infrastructure.
- maximum_
node_ intcount The maximum number of compute servers available for this shape.
- min_
core_ intcount_ per_ node The minimum number of CPU cores that can be enabled per node for this shape.
- min_
data_ intstorage_ in_ tbs The minimum data storage that need be allocated for this shape.
- min_
db_ intnode_ storage_ per_ node_ in_ gbs The minimum Db Node storage that need be allocated per node for this shape.
- min_
memory_ intper_ node_ in_ gbs The minimum memory that need be allocated per node for this shape.
- min_
storage_ intcount The minimum number of Exadata storage servers available for the Exadata infrastructure.
- minimum_
core_ intcount The minimum number of CPU cores that can be enabled on the DB system for this shape.
- minimum_
node_ intcount The minimum number of compute servers available for this shape.
- name str
The name of the shape used for the DB system.
- shape str
Deprecated. Use
name
instead ofshape
.The 'shape' field has been deprecated. Please use 'name' instead.
- shape_
family str The family of the shape used for the DB system.
- shape_
type str The shape type for the virtual machine DB system. Shape type is determined by CPU hardware. Valid values are
AMD
,INTEL
orINTEL_FLEX_X9
.
- available
Core NumberCount The maximum number of CPU cores that can be enabled on the DB system for this shape.
- available
Core NumberCount Per Node The maximum number of CPU cores per database node that can be enabled for this shape. Only applicable to the flex Exadata shape, ExaCC Elastic shapes and VM Flex shapes.
- available
Data NumberStorage In Tbs The maximum DATA storage that can be enabled for this shape.
- available
Data NumberStorage Per Server In Tbs The maximum data storage available per storage server for this shape. Only applicable to ExaCC Elastic shapes.
- available
Db NumberNode Per Node In Gbs The maximum Db Node storage available per database node for this shape. Only applicable to ExaCC Elastic shapes.
- available
Db NumberNode Storage In Gbs The maximum Db Node storage that can be enabled for this shape.
- available
Memory NumberIn Gbs The maximum memory that can be enabled for this shape.
- available
Memory NumberPer Node In Gbs The maximum memory available per database node for this shape. Only applicable to ExaCC Elastic shapes.
- core
Count NumberIncrement The discrete number by which the CPU core count for this shape can be increased or decreased.
- max
Storage NumberCount The maximum number of Exadata storage servers available for the Exadata infrastructure.
- maximum
Node NumberCount The maximum number of compute servers available for this shape.
- min
Core NumberCount Per Node The minimum number of CPU cores that can be enabled per node for this shape.
- min
Data NumberStorage In Tbs The minimum data storage that need be allocated for this shape.
- min
Db NumberNode Storage Per Node In Gbs The minimum Db Node storage that need be allocated per node for this shape.
- min
Memory NumberPer Node In Gbs The minimum memory that need be allocated per node for this shape.
- min
Storage NumberCount The minimum number of Exadata storage servers available for the Exadata infrastructure.
- minimum
Core NumberCount The minimum number of CPU cores that can be enabled on the DB system for this shape.
- minimum
Node NumberCount The minimum number of compute servers available for this shape.
- name String
The name of the shape used for the DB system.
- shape String
Deprecated. Use
name
instead ofshape
.The 'shape' field has been deprecated. Please use 'name' instead.
- shape
Family String The family of the shape used for the DB system.
- shape
Type String The shape type for the virtual machine DB system. Shape type is determined by CPU hardware. Valid values are
AMD
,INTEL
orINTEL_FLEX_X9
.
GetDbSystemShapesFilter
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
oci
Terraform Provider.