1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. Database
  5. ExadataIormConfig
Oracle Cloud Infrastructure v1.29.0 published on Thursday, Mar 28, 2024 by Pulumi

oci.Database.ExadataIormConfig

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v1.29.0 published on Thursday, Mar 28, 2024 by Pulumi

    This resource provides the Exadata Iorm Config resource in Oracle Cloud Infrastructure Database service.

    Updates IORM settings for the specified Exadata DB system.

    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 UpdateCloudVmClusterIormConfig API is used for Exadata systems using the new resource model.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testExadataIormConfig = new oci.database.ExadataIormConfig("testExadataIormConfig", {
        dbPlans: [{
            dbName: _var.exadata_iorm_config_db_plans_db_name,
            share: _var.exadata_iorm_config_db_plans_share,
        }],
        dbSystemId: oci_database_db_system.test_db_system.id,
        objective: "AUTO",
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_exadata_iorm_config = oci.database.ExadataIormConfig("testExadataIormConfig",
        db_plans=[oci.database.ExadataIormConfigDbPlanArgs(
            db_name=var["exadata_iorm_config_db_plans_db_name"],
            share=var["exadata_iorm_config_db_plans_share"],
        )],
        db_system_id=oci_database_db_system["test_db_system"]["id"],
        objective="AUTO")
    
    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.NewExadataIormConfig(ctx, "testExadataIormConfig", &Database.ExadataIormConfigArgs{
    			DbPlans: database.ExadataIormConfigDbPlanArray{
    				&database.ExadataIormConfigDbPlanArgs{
    					DbName: pulumi.Any(_var.Exadata_iorm_config_db_plans_db_name),
    					Share:  pulumi.Any(_var.Exadata_iorm_config_db_plans_share),
    				},
    			},
    			DbSystemId: pulumi.Any(oci_database_db_system.Test_db_system.Id),
    			Objective:  pulumi.String("AUTO"),
    		})
    		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 = new Oci.Database.ExadataIormConfig("testExadataIormConfig", new()
        {
            DbPlans = new[]
            {
                new Oci.Database.Inputs.ExadataIormConfigDbPlanArgs
                {
                    DbName = @var.Exadata_iorm_config_db_plans_db_name,
                    Share = @var.Exadata_iorm_config_db_plans_share,
                },
            },
            DbSystemId = oci_database_db_system.Test_db_system.Id,
            Objective = "AUTO",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.oci.Database.ExadataIormConfig;
    import com.pulumi.oci.Database.ExadataIormConfigArgs;
    import com.pulumi.oci.Database.inputs.ExadataIormConfigDbPlanArgs;
    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) {
            var testExadataIormConfig = new ExadataIormConfig("testExadataIormConfig", ExadataIormConfigArgs.builder()        
                .dbPlans(ExadataIormConfigDbPlanArgs.builder()
                    .dbName(var_.exadata_iorm_config_db_plans_db_name())
                    .share(var_.exadata_iorm_config_db_plans_share())
                    .build())
                .dbSystemId(oci_database_db_system.test_db_system().id())
                .objective("AUTO")
                .build());
    
        }
    }
    
    resources:
      testExadataIormConfig:
        type: oci:Database:ExadataIormConfig
        properties:
          #Required
          dbPlans:
            - dbName: ${var.exadata_iorm_config_db_plans_db_name}
              share: ${var.exadata_iorm_config_db_plans_share}
          dbSystemId: ${oci_database_db_system.test_db_system.id}
          #Optional
          objective: AUTO
    

    Create ExadataIormConfig Resource

    new ExadataIormConfig(name: string, args: ExadataIormConfigArgs, opts?: CustomResourceOptions);
    @overload
    def ExadataIormConfig(resource_name: str,
                          opts: Optional[ResourceOptions] = None,
                          db_plans: Optional[Sequence[_database.ExadataIormConfigDbPlanArgs]] = None,
                          db_system_id: Optional[str] = None,
                          objective: Optional[str] = None)
    @overload
    def ExadataIormConfig(resource_name: str,
                          args: ExadataIormConfigArgs,
                          opts: Optional[ResourceOptions] = None)
    func NewExadataIormConfig(ctx *Context, name string, args ExadataIormConfigArgs, opts ...ResourceOption) (*ExadataIormConfig, error)
    public ExadataIormConfig(string name, ExadataIormConfigArgs args, CustomResourceOptions? opts = null)
    public ExadataIormConfig(String name, ExadataIormConfigArgs args)
    public ExadataIormConfig(String name, ExadataIormConfigArgs args, CustomResourceOptions options)
    
    type: oci:Database:ExadataIormConfig
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    name string
    The unique name of the resource.
    args ExadataIormConfigArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args ExadataIormConfigArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args ExadataIormConfigArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ExadataIormConfigArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ExadataIormConfigArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    ExadataIormConfig Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The ExadataIormConfig resource accepts the following input properties:

    DbPlans List<ExadataIormConfigDbPlan>
    (Updatable) Array of IORM Setting for all the database in this Exadata DB System
    DbSystemId string
    (Updatable) The DB system OCID.
    Objective string

    (Updatable) Value for the IORM objective Default is "Auto"

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    DbPlans []ExadataIormConfigDbPlanArgs
    (Updatable) Array of IORM Setting for all the database in this Exadata DB System
    DbSystemId string
    (Updatable) The DB system OCID.
    Objective string

    (Updatable) Value for the IORM objective Default is "Auto"

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    dbPlans List<ExadataIormConfigDbPlan>
    (Updatable) Array of IORM Setting for all the database in this Exadata DB System
    dbSystemId String
    (Updatable) The DB system OCID.
    objective String

    (Updatable) Value for the IORM objective Default is "Auto"

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    dbPlans ExadataIormConfigDbPlan[]
    (Updatable) Array of IORM Setting for all the database in this Exadata DB System
    dbSystemId string
    (Updatable) The DB system OCID.
    objective string

    (Updatable) Value for the IORM objective Default is "Auto"

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    db_plans ExadataIormConfigDbPlanArgs]
    (Updatable) Array of IORM Setting for all the database in this Exadata DB System
    db_system_id str
    (Updatable) The DB system OCID.
    objective str

    (Updatable) Value for the IORM objective Default is "Auto"

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    dbPlans List<Property Map>
    (Updatable) Array of IORM Setting for all the database in this Exadata DB System
    dbSystemId String
    (Updatable) The DB system OCID.
    objective String

    (Updatable) Value for the IORM objective Default is "Auto"

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    Outputs

    All input properties are implicitly available as output properties. Additionally, the ExadataIormConfig resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    LifecycleDetails string
    Additional information about the current lifecycleState.
    State string
    The current state of IORM configuration for the Exadata DB system.
    Id string
    The provider-assigned unique ID for this managed resource.
    LifecycleDetails string
    Additional information about the current lifecycleState.
    State string
    The current state of IORM configuration for the Exadata DB system.
    id String
    The provider-assigned unique ID for this managed resource.
    lifecycleDetails String
    Additional information about the current lifecycleState.
    state String
    The current state of IORM configuration for the Exadata DB system.
    id string
    The provider-assigned unique ID for this managed resource.
    lifecycleDetails string
    Additional information about the current lifecycleState.
    state string
    The current state of IORM configuration for the Exadata DB system.
    id str
    The provider-assigned unique ID for this managed resource.
    lifecycle_details str
    Additional information about the current lifecycleState.
    state str
    The current state of IORM configuration for the Exadata DB system.
    id String
    The provider-assigned unique ID for this managed resource.
    lifecycleDetails String
    Additional information about the current lifecycleState.
    state String
    The current state of IORM configuration for the Exadata DB system.

    Look up Existing ExadataIormConfig Resource

    Get an existing ExadataIormConfig resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: ExadataIormConfigState, opts?: CustomResourceOptions): ExadataIormConfig
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            db_plans: Optional[Sequence[_database.ExadataIormConfigDbPlanArgs]] = None,
            db_system_id: Optional[str] = None,
            lifecycle_details: Optional[str] = None,
            objective: Optional[str] = None,
            state: Optional[str] = None) -> ExadataIormConfig
    func GetExadataIormConfig(ctx *Context, name string, id IDInput, state *ExadataIormConfigState, opts ...ResourceOption) (*ExadataIormConfig, error)
    public static ExadataIormConfig Get(string name, Input<string> id, ExadataIormConfigState? state, CustomResourceOptions? opts = null)
    public static ExadataIormConfig get(String name, Output<String> id, ExadataIormConfigState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    DbPlans List<ExadataIormConfigDbPlan>
    (Updatable) Array of IORM Setting for all the database in this Exadata DB System
    DbSystemId string
    (Updatable) The DB system OCID.
    LifecycleDetails string
    Additional information about the current lifecycleState.
    Objective string

    (Updatable) Value for the IORM objective Default is "Auto"

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    State string
    The current state of IORM configuration for the Exadata DB system.
    DbPlans []ExadataIormConfigDbPlanArgs
    (Updatable) Array of IORM Setting for all the database in this Exadata DB System
    DbSystemId string
    (Updatable) The DB system OCID.
    LifecycleDetails string
    Additional information about the current lifecycleState.
    Objective string

    (Updatable) Value for the IORM objective Default is "Auto"

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    State string
    The current state of IORM configuration for the Exadata DB system.
    dbPlans List<ExadataIormConfigDbPlan>
    (Updatable) Array of IORM Setting for all the database in this Exadata DB System
    dbSystemId String
    (Updatable) The DB system OCID.
    lifecycleDetails String
    Additional information about the current lifecycleState.
    objective String

    (Updatable) Value for the IORM objective Default is "Auto"

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    state String
    The current state of IORM configuration for the Exadata DB system.
    dbPlans ExadataIormConfigDbPlan[]
    (Updatable) Array of IORM Setting for all the database in this Exadata DB System
    dbSystemId string
    (Updatable) The DB system OCID.
    lifecycleDetails string
    Additional information about the current lifecycleState.
    objective string

    (Updatable) Value for the IORM objective Default is "Auto"

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    state string
    The current state of IORM configuration for the Exadata DB system.
    db_plans ExadataIormConfigDbPlanArgs]
    (Updatable) Array of IORM Setting for all the database in this Exadata DB System
    db_system_id str
    (Updatable) The DB system OCID.
    lifecycle_details str
    Additional information about the current lifecycleState.
    objective str

    (Updatable) Value for the IORM objective Default is "Auto"

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    state str
    The current state of IORM configuration for the Exadata DB system.
    dbPlans List<Property Map>
    (Updatable) Array of IORM Setting for all the database in this Exadata DB System
    dbSystemId String
    (Updatable) The DB system OCID.
    lifecycleDetails String
    Additional information about the current lifecycleState.
    objective String

    (Updatable) Value for the IORM objective Default is "Auto"

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    state String
    The current state of IORM configuration for the Exadata DB system.

    Supporting Types

    ExadataIormConfigDbPlan, ExadataIormConfigDbPlanArgs

    DbName string
    (Updatable) The database name. For the default DbPlan, the dbName is default.
    Share int
    (Updatable) The relative priority of this database.
    FlashCacheLimit string
    The flash cache limit for this database. This value is internally configured based on the share value assigned to the database.
    DbName string
    (Updatable) The database name. For the default DbPlan, the dbName is default.
    Share int
    (Updatable) The relative priority of this database.
    FlashCacheLimit string
    The flash cache limit for this database. This value is internally configured based on the share value assigned to the database.
    dbName String
    (Updatable) The database name. For the default DbPlan, the dbName is default.
    share Integer
    (Updatable) The relative priority of this database.
    flashCacheLimit String
    The flash cache limit for this database. This value is internally configured based on the share value assigned to the database.
    dbName string
    (Updatable) The database name. For the default DbPlan, the dbName is default.
    share number
    (Updatable) The relative priority of this database.
    flashCacheLimit string
    The flash cache limit for this database. This value is internally configured based on the share value assigned to the database.
    db_name str
    (Updatable) The database name. For the default DbPlan, the dbName is default.
    share int
    (Updatable) The relative priority of this database.
    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.
    dbName String
    (Updatable) The database name. For the default DbPlan, the dbName is default.
    share Number
    (Updatable) The relative priority of this database.
    flashCacheLimit String
    The flash cache limit for this database. This value is internally configured based on the share value assigned to the database.

    Import

    Import is not supported for this resource.

    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 v1.29.0 published on Thursday, Mar 28, 2024 by Pulumi