Oracle Cloud Infrastructure v2.17.0 published on Friday, Nov 15, 2024 by Pulumi
oci.Database.getDbSystemComputePerformances
Explore with Pulumi AI
This data source provides the list of Db System Compute Performances in Oracle Cloud Infrastructure Database service.
Gets a list of expected compute performance parameters for a virtual machine DB system based on system configuration.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testDbSystemComputePerformances = oci.Database.getDbSystemComputePerformances({
dbSystemShape: dbSystemComputePerformanceDbSystemShape,
});
import pulumi
import pulumi_oci as oci
test_db_system_compute_performances = oci.Database.get_db_system_compute_performances(db_system_shape=db_system_compute_performance_db_system_shape)
package main
import (
"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/Database"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := Database.GetDbSystemComputePerformances(ctx, &database.GetDbSystemComputePerformancesArgs{
DbSystemShape: pulumi.StringRef(dbSystemComputePerformanceDbSystemShape),
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Oci = Pulumi.Oci;
return await Deployment.RunAsync(() =>
{
var testDbSystemComputePerformances = Oci.Database.GetDbSystemComputePerformances.Invoke(new()
{
DbSystemShape = dbSystemComputePerformanceDbSystemShape,
});
});
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.GetDbSystemComputePerformancesArgs;
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 testDbSystemComputePerformances = DatabaseFunctions.getDbSystemComputePerformances(GetDbSystemComputePerformancesArgs.builder()
.dbSystemShape(dbSystemComputePerformanceDbSystemShape)
.build());
}
}
variables:
testDbSystemComputePerformances:
fn::invoke:
Function: oci:Database:getDbSystemComputePerformances
Arguments:
dbSystemShape: ${dbSystemComputePerformanceDbSystemShape}
Using getDbSystemComputePerformances
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 getDbSystemComputePerformances(args: GetDbSystemComputePerformancesArgs, opts?: InvokeOptions): Promise<GetDbSystemComputePerformancesResult>
function getDbSystemComputePerformancesOutput(args: GetDbSystemComputePerformancesOutputArgs, opts?: InvokeOptions): Output<GetDbSystemComputePerformancesResult>
def get_db_system_compute_performances(db_system_shape: Optional[str] = None,
filters: Optional[Sequence[_database.GetDbSystemComputePerformancesFilter]] = None,
opts: Optional[InvokeOptions] = None) -> GetDbSystemComputePerformancesResult
def get_db_system_compute_performances_output(db_system_shape: Optional[pulumi.Input[str]] = None,
filters: Optional[pulumi.Input[Sequence[pulumi.Input[_database.GetDbSystemComputePerformancesFilterArgs]]]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetDbSystemComputePerformancesResult]
func GetDbSystemComputePerformances(ctx *Context, args *GetDbSystemComputePerformancesArgs, opts ...InvokeOption) (*GetDbSystemComputePerformancesResult, error)
func GetDbSystemComputePerformancesOutput(ctx *Context, args *GetDbSystemComputePerformancesOutputArgs, opts ...InvokeOption) GetDbSystemComputePerformancesResultOutput
> Note: This function is named GetDbSystemComputePerformances
in the Go SDK.
public static class GetDbSystemComputePerformances
{
public static Task<GetDbSystemComputePerformancesResult> InvokeAsync(GetDbSystemComputePerformancesArgs args, InvokeOptions? opts = null)
public static Output<GetDbSystemComputePerformancesResult> Invoke(GetDbSystemComputePerformancesInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetDbSystemComputePerformancesResult> getDbSystemComputePerformances(GetDbSystemComputePerformancesArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: oci:Database/getDbSystemComputePerformances:getDbSystemComputePerformances
arguments:
# arguments dictionary
The following arguments are supported:
- Db
System stringShape - If provided, filters the results to the set of database versions which are supported for the given shape.
- Filters
List<Get
Db System Compute Performances Filter>
- Db
System stringShape - If provided, filters the results to the set of database versions which are supported for the given shape.
- Filters
[]Get
Db System Compute Performances Filter
- db
System StringShape - If provided, filters the results to the set of database versions which are supported for the given shape.
- filters
List<Get
Db System Compute Performances Filter>
- db
System stringShape - If provided, filters the results to the set of database versions which are supported for the given shape.
- filters
Get
Db System Compute Performances Filter[]
- db_
system_ strshape - If provided, filters the results to the set of database versions which are supported for the given shape.
- filters
Sequence[database.
Get Db System Compute Performances Filter]
- db
System StringShape - If provided, filters the results to the set of database versions which are supported for the given shape.
- filters List<Property Map>
getDbSystemComputePerformances Result
The following output properties are available:
- Db
System List<GetCompute Performances Db System Compute Performances Db System Compute Performance> - The list of db_system_compute_performances.
- Id string
- The provider-assigned unique ID for this managed resource.
- Db
System stringShape - Filters
List<Get
Db System Compute Performances Filter>
- Db
System []GetCompute Performances Db System Compute Performances Db System Compute Performance - The list of db_system_compute_performances.
- Id string
- The provider-assigned unique ID for this managed resource.
- Db
System stringShape - Filters
[]Get
Db System Compute Performances Filter
- db
System List<GetCompute Performances Db System Compute Performances Db System Compute Performance> - The list of db_system_compute_performances.
- id String
- The provider-assigned unique ID for this managed resource.
- db
System StringShape - filters
List<Get
Db System Compute Performances Filter>
- db
System GetCompute Performances Db System Compute Performances Db System Compute Performance[] - The list of db_system_compute_performances.
- id string
- The provider-assigned unique ID for this managed resource.
- db
System stringShape - filters
Get
Db System Compute Performances Filter[]
- db_
system_ Sequence[database.compute_ performances Get Db System Compute Performances Db System Compute Performance] - The list of db_system_compute_performances.
- id str
- The provider-assigned unique ID for this managed resource.
- db_
system_ strshape - filters
Sequence[database.
Get Db System Compute Performances Filter]
- db
System List<Property Map>Compute Performances - The list of db_system_compute_performances.
- id String
- The provider-assigned unique ID for this managed resource.
- db
System StringShape - filters List<Property Map>
Supporting Types
GetDbSystemComputePerformancesDbSystemComputePerformance
- Compute
Performance List<GetLists Db System Compute Performances Db System Compute Performance Compute Performance List> - List of Compute performance details for the specified DB system shape.
- Shape string
- The shape of the DB system.
- Compute
Performance []GetLists Db System Compute Performances Db System Compute Performance Compute Performance List - List of Compute performance details for the specified DB system shape.
- Shape string
- The shape of the DB system.
- compute
Performance List<GetLists Db System Compute Performances Db System Compute Performance Compute Performance List> - List of Compute performance details for the specified DB system shape.
- shape String
- The shape of the DB system.
- compute
Performance GetLists Db System Compute Performances Db System Compute Performance Compute Performance List[] - List of Compute performance details for the specified DB system shape.
- shape string
- The shape of the DB system.
- compute_
performance_ Sequence[database.lists Get Db System Compute Performances Db System Compute Performance Compute Performance List] - List of Compute performance details for the specified DB system shape.
- shape str
- The shape of the DB system.
- compute
Performance List<Property Map>Lists - List of Compute performance details for the specified DB system shape.
- shape String
- The shape of the DB system.
GetDbSystemComputePerformancesDbSystemComputePerformanceComputePerformanceList
- Cpu
Core intCount - The number of OCPU cores available.
- Memory
In doubleGbs - The amount of memory allocated for the VMDB System.
- Network
Bandwidth doubleIn Gbps - The network bandwidth of the VMDB system in gbps.
- Network
Iops double - IOPS for the VMDB System.
- Network
Throughput doubleIn Mbps - Network throughput for the VMDB System.
- Cpu
Core intCount - The number of OCPU cores available.
- Memory
In float64Gbs - The amount of memory allocated for the VMDB System.
- Network
Bandwidth float64In Gbps - The network bandwidth of the VMDB system in gbps.
- Network
Iops float64 - IOPS for the VMDB System.
- Network
Throughput float64In Mbps - Network throughput for the VMDB System.
- cpu
Core IntegerCount - The number of OCPU cores available.
- memory
In DoubleGbs - The amount of memory allocated for the VMDB System.
- network
Bandwidth DoubleIn Gbps - The network bandwidth of the VMDB system in gbps.
- network
Iops Double - IOPS for the VMDB System.
- network
Throughput DoubleIn Mbps - Network throughput for the VMDB System.
- cpu
Core numberCount - The number of OCPU cores available.
- memory
In numberGbs - The amount of memory allocated for the VMDB System.
- network
Bandwidth numberIn Gbps - The network bandwidth of the VMDB system in gbps.
- network
Iops number - IOPS for the VMDB System.
- network
Throughput numberIn Mbps - Network throughput for the VMDB System.
- cpu_
core_ intcount - The number of OCPU cores available.
- memory_
in_ floatgbs - The amount of memory allocated for the VMDB System.
- network_
bandwidth_ floatin_ gbps - The network bandwidth of the VMDB system in gbps.
- network_
iops float - IOPS for the VMDB System.
- network_
throughput_ floatin_ mbps - Network throughput for the VMDB System.
- cpu
Core NumberCount - The number of OCPU cores available.
- memory
In NumberGbs - The amount of memory allocated for the VMDB System.
- network
Bandwidth NumberIn Gbps - The network bandwidth of the VMDB system in gbps.
- network
Iops Number - IOPS for the VMDB System.
- network
Throughput NumberIn Mbps - Network throughput for the VMDB System.
GetDbSystemComputePerformancesFilter
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
oci
Terraform Provider.