1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. Database
  5. getExadataIormConfig
Oracle Cloud Infrastructure v2.11.0 published on Thursday, Sep 19, 2024 by Pulumi

oci.Database.getExadataIormConfig

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v2.11.0 published on Thursday, Sep 19, 2024 by Pulumi

    This data source provides details about a specific Exadata Iorm Config resource in Oracle Cloud Infrastructure Database service.

    Gets the IORM configuration settings for the specified cloud Exadata DB system. All Exadata service instances have default IORM settings.

    Note: Deprecated for Exadata Cloud Service systems. Use the new resource model APIs instead.

    For Exadata Cloud Service instances, support for this API will end on May 15th, 2021. See Switching an Exadata DB System to the New Resource Model and APIs for details on converting existing Exadata DB systems to the new resource model.

    The GetCloudVmClusterIormConfig API is used for this operation with Exadata systems using the new resource model.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testExadataIormConfig = oci.Database.getExadataIormConfig({
        dbSystemId: testDbSystem.id,
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_exadata_iorm_config = oci.Database.get_exadata_iorm_config(db_system_id=test_db_system["id"])
    
    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.GetExadataIormConfig(ctx, &database.GetExadataIormConfigArgs{
    			DbSystemId: testDbSystem.Id,
    		}, 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 testExadataIormConfig = Oci.Database.GetExadataIormConfig.Invoke(new()
        {
            DbSystemId = testDbSystem.Id,
        });
    
    });
    
    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.GetExadataIormConfigArgs;
    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 testExadataIormConfig = DatabaseFunctions.getExadataIormConfig(GetExadataIormConfigArgs.builder()
                .dbSystemId(testDbSystem.id())
                .build());
    
        }
    }
    
    variables:
      testExadataIormConfig:
        fn::invoke:
          Function: oci:Database:getExadataIormConfig
          Arguments:
            dbSystemId: ${testDbSystem.id}
    

    Using getExadataIormConfig

    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 getExadataIormConfig(args: GetExadataIormConfigArgs, opts?: InvokeOptions): Promise<GetExadataIormConfigResult>
    function getExadataIormConfigOutput(args: GetExadataIormConfigOutputArgs, opts?: InvokeOptions): Output<GetExadataIormConfigResult>
    def get_exadata_iorm_config(db_system_id: Optional[str] = None,
                                opts: Optional[InvokeOptions] = None) -> GetExadataIormConfigResult
    def get_exadata_iorm_config_output(db_system_id: Optional[pulumi.Input[str]] = None,
                                opts: Optional[InvokeOptions] = None) -> Output[GetExadataIormConfigResult]
    func GetExadataIormConfig(ctx *Context, args *GetExadataIormConfigArgs, opts ...InvokeOption) (*GetExadataIormConfigResult, error)
    func GetExadataIormConfigOutput(ctx *Context, args *GetExadataIormConfigOutputArgs, opts ...InvokeOption) GetExadataIormConfigResultOutput

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

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

    The following arguments are supported:

    DbSystemId string
    The DB system OCID.
    DbSystemId string
    The DB system OCID.
    dbSystemId String
    The DB system OCID.
    dbSystemId string
    The DB system OCID.
    db_system_id str
    The DB system OCID.
    dbSystemId String
    The DB system OCID.

    getExadataIormConfig Result

    The following output properties are available:

    DbPlans List<GetExadataIormConfigDbPlan>
    An array of IORM settings for all the database in the Exadata DB system.
    DbSystemId string
    Id string
    LifecycleDetails string
    Additional information about the current lifecycleState.
    Objective string
    The current value for the IORM objective. The default is AUTO.
    State string
    The current state of IORM configuration for the Exadata DB system.
    DbPlans []GetExadataIormConfigDbPlan
    An array of IORM settings for all the database in the Exadata DB system.
    DbSystemId string
    Id string
    LifecycleDetails string
    Additional information about the current lifecycleState.
    Objective string
    The current value for the IORM objective. The default is AUTO.
    State string
    The current state of IORM configuration for the Exadata DB system.
    dbPlans List<GetExadataIormConfigDbPlan>
    An array of IORM settings for all the database in the Exadata DB system.
    dbSystemId String
    id String
    lifecycleDetails String
    Additional information about the current lifecycleState.
    objective String
    The current value for the IORM objective. The default is AUTO.
    state String
    The current state of IORM configuration for the Exadata DB system.
    dbPlans GetExadataIormConfigDbPlan[]
    An array of IORM settings for all the database in the Exadata DB system.
    dbSystemId string
    id string
    lifecycleDetails string
    Additional information about the current lifecycleState.
    objective string
    The current value for the IORM objective. The default is AUTO.
    state string
    The current state of IORM configuration for the Exadata DB system.
    db_plans Sequence[database.GetExadataIormConfigDbPlan]
    An array of IORM settings for all the database in the Exadata DB system.
    db_system_id str
    id str
    lifecycle_details str
    Additional information about the current lifecycleState.
    objective str
    The current value for the IORM objective. The default is AUTO.
    state str
    The current state of IORM configuration for the Exadata DB system.
    dbPlans List<Property Map>
    An array of IORM settings for all the database in the Exadata DB system.
    dbSystemId String
    id String
    lifecycleDetails String
    Additional information about the current lifecycleState.
    objective String
    The current value for the IORM objective. The default is AUTO.
    state String
    The current state of IORM configuration for the Exadata DB system.

    Supporting Types

    GetExadataIormConfigDbPlan

    DbName string
    The database name. For the default DbPlan, the dbName is default.
    FlashCacheLimit string
    The flash cache limit for this database. This value is internally configured based on the share value assigned to the database.
    Share int
    The relative priority of this database.
    DbName string
    The database name. For the default DbPlan, the dbName is default.
    FlashCacheLimit string
    The flash cache limit for this database. This value is internally configured based on the share value assigned to the database.
    Share int
    The relative priority of this database.
    dbName String
    The database name. For the default DbPlan, the dbName is default.
    flashCacheLimit String
    The flash cache limit for this database. This value is internally configured based on the share value assigned to the database.
    share Integer
    The relative priority of this database.
    dbName string
    The database name. For the default DbPlan, the dbName is default.
    flashCacheLimit string
    The flash cache limit for this database. This value is internally configured based on the share value assigned to the database.
    share number
    The relative priority of this database.
    db_name str
    The database name. For the default DbPlan, the dbName is default.
    flash_cache_limit str
    The flash cache limit for this database. This value is internally configured based on the share value assigned to the database.
    share int
    The relative priority of this database.
    dbName String
    The database name. For the default DbPlan, the dbName is default.
    flashCacheLimit String
    The flash cache limit for this database. This value is internally configured based on the share value assigned to the database.
    share Number
    The relative priority of this database.

    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.11.0 published on Thursday, Sep 19, 2024 by Pulumi