1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. Database
  5. getDbSystemComputePerformances
Oracle Cloud Infrastructure v2.2.0 published on Friday, Jul 12, 2024 by Pulumi

oci.Database.getDbSystemComputePerformances

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v2.2.0 published on Friday, Jul 12, 2024 by Pulumi

    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:

    DbSystemShape string
    If provided, filters the results to the set of database versions which are supported for the given shape.
    Filters List<GetDbSystemComputePerformancesFilter>
    DbSystemShape string
    If provided, filters the results to the set of database versions which are supported for the given shape.
    Filters []GetDbSystemComputePerformancesFilter
    dbSystemShape String
    If provided, filters the results to the set of database versions which are supported for the given shape.
    filters List<GetDbSystemComputePerformancesFilter>
    dbSystemShape string
    If provided, filters the results to the set of database versions which are supported for the given shape.
    filters GetDbSystemComputePerformancesFilter[]
    db_system_shape str
    If provided, filters the results to the set of database versions which are supported for the given shape.
    filters Sequence[database.GetDbSystemComputePerformancesFilter]
    dbSystemShape String
    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:

    DbSystemComputePerformances List<GetDbSystemComputePerformancesDbSystemComputePerformance>
    The list of db_system_compute_performances.
    Id string
    The provider-assigned unique ID for this managed resource.
    DbSystemShape string
    Filters List<GetDbSystemComputePerformancesFilter>
    DbSystemComputePerformances []GetDbSystemComputePerformancesDbSystemComputePerformance
    The list of db_system_compute_performances.
    Id string
    The provider-assigned unique ID for this managed resource.
    DbSystemShape string
    Filters []GetDbSystemComputePerformancesFilter
    dbSystemComputePerformances List<GetDbSystemComputePerformancesDbSystemComputePerformance>
    The list of db_system_compute_performances.
    id String
    The provider-assigned unique ID for this managed resource.
    dbSystemShape String
    filters List<GetDbSystemComputePerformancesFilter>
    dbSystemComputePerformances GetDbSystemComputePerformancesDbSystemComputePerformance[]
    The list of db_system_compute_performances.
    id string
    The provider-assigned unique ID for this managed resource.
    dbSystemShape string
    filters GetDbSystemComputePerformancesFilter[]
    dbSystemComputePerformances List<Property Map>
    The list of db_system_compute_performances.
    id String
    The provider-assigned unique ID for this managed resource.
    dbSystemShape String
    filters List<Property Map>

    Supporting Types

    GetDbSystemComputePerformancesDbSystemComputePerformance

    ComputePerformanceLists List<GetDbSystemComputePerformancesDbSystemComputePerformanceComputePerformanceList>
    List of Compute performance details for the specified DB system shape.
    Shape string
    The shape of the DB system.
    ComputePerformanceLists []GetDbSystemComputePerformancesDbSystemComputePerformanceComputePerformanceList
    List of Compute performance details for the specified DB system shape.
    Shape string
    The shape of the DB system.
    computePerformanceLists List<GetDbSystemComputePerformancesDbSystemComputePerformanceComputePerformanceList>
    List of Compute performance details for the specified DB system shape.
    shape String
    The shape of the DB system.
    computePerformanceLists GetDbSystemComputePerformancesDbSystemComputePerformanceComputePerformanceList[]
    List of Compute performance details for the specified DB system shape.
    shape string
    The shape of the DB system.
    compute_performance_lists Sequence[database.GetDbSystemComputePerformancesDbSystemComputePerformanceComputePerformanceList]
    List of Compute performance details for the specified DB system shape.
    shape str
    The shape of the DB system.
    computePerformanceLists List<Property Map>
    List of Compute performance details for the specified DB system shape.
    shape String
    The shape of the DB system.

    GetDbSystemComputePerformancesDbSystemComputePerformanceComputePerformanceList

    CpuCoreCount int
    The number of OCPU cores available.
    MemoryInGbs double
    The amount of memory allocated for the VMDB System.
    NetworkBandwidthInGbps double
    The network bandwidth of the VMDB system in gbps.
    NetworkIops double
    IOPS for the VMDB System.
    NetworkThroughputInMbps double
    Network throughput for the VMDB System.
    CpuCoreCount int
    The number of OCPU cores available.
    MemoryInGbs float64
    The amount of memory allocated for the VMDB System.
    NetworkBandwidthInGbps float64
    The network bandwidth of the VMDB system in gbps.
    NetworkIops float64
    IOPS for the VMDB System.
    NetworkThroughputInMbps float64
    Network throughput for the VMDB System.
    cpuCoreCount Integer
    The number of OCPU cores available.
    memoryInGbs Double
    The amount of memory allocated for the VMDB System.
    networkBandwidthInGbps Double
    The network bandwidth of the VMDB system in gbps.
    networkIops Double
    IOPS for the VMDB System.
    networkThroughputInMbps Double
    Network throughput for the VMDB System.
    cpuCoreCount number
    The number of OCPU cores available.
    memoryInGbs number
    The amount of memory allocated for the VMDB System.
    networkBandwidthInGbps number
    The network bandwidth of the VMDB system in gbps.
    networkIops number
    IOPS for the VMDB System.
    networkThroughputInMbps number
    Network throughput for the VMDB System.
    cpu_core_count int
    The number of OCPU cores available.
    memory_in_gbs float
    The amount of memory allocated for the VMDB System.
    network_bandwidth_in_gbps float
    The network bandwidth of the VMDB system in gbps.
    network_iops float
    IOPS for the VMDB System.
    network_throughput_in_mbps float
    Network throughput for the VMDB System.
    cpuCoreCount Number
    The number of OCPU cores available.
    memoryInGbs Number
    The amount of memory allocated for the VMDB System.
    networkBandwidthInGbps Number
    The network bandwidth of the VMDB system in gbps.
    networkIops Number
    IOPS for the VMDB System.
    networkThroughputInMbps Number
    Network throughput for the VMDB System.

    GetDbSystemComputePerformancesFilter

    Name string
    Values List<string>
    Regex bool
    Name string
    Values []string
    Regex bool
    name String
    values List<String>
    regex Boolean
    name string
    values string[]
    regex boolean
    name str
    values Sequence[str]
    regex bool
    name String
    values List<String>
    regex Boolean

    Package Details

    Repository
    oci pulumi/pulumi-oci
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the oci Terraform Provider.
    oci logo
    Oracle Cloud Infrastructure v2.2.0 published on Friday, Jul 12, 2024 by Pulumi