This resource provides the Cloud Vm Cluster Iorm Config resource in Oracle Cloud Infrastructure Database service.
Updates IORM settings for the specified Cloud Vm Cluster.
The UpdateCloudVmClusterIormConfig API is used for Cloud Vm Cluster.
resource "oci_database_cloud_vm_cluster_iorm_config" "test_cloud_vm_cluster_iorm_config" {
#Required
db_plans {
#Required
db_name = var.cloud_vm_cluster_iorm_config_db_plans_db_name
share = var.cloud_vm_cluster_iorm_config_db_plans_share
}
cloud_vm_cluster_id = oci_database_cloud_vm_cluster.test_cloud_vm_cluster.id
#Optional
objective = "AUTO"
}
The following arguments are supported:
db_plans
- (Required) (Updatable) Array of IORM Setting for all the database in this Cloud Vm Cluster
db_name
- (Required) (Updatable) The database name. For the default DbPlan
, the dbName
is default
. share
- (Required) (Updatable) The relative priority of this database. cloud_vm_cluster_id
- (Required) The Cluster OCID.objective
- (Optional) (Updatable) Value for the IORM objective Default is "Auto" The following attributes are exported:
db_plans
- An array of IORM settings for all the database in the Cloud Vm Cluster.
db_name
- The database name. For the default DbPlan
, the dbName
is default
. flash_cache_limit
- The flash cache limit for this database. This value is internally configured based on the share value assigned to the database. share
- The relative priority of this database. lifecycle_details
- Additional information about the current lifecycleState
. objective
- The current value for the IORM objective. The default is AUTO
.state
- The current state of IORM configuration for the Exadata DB system. The timeouts
block allows you to specify timeouts for certain operations:
* create
- (Defaults to 20 minutes), when creating the Cloud Vm Cluster Iorm Config
* update
- (Defaults to 20 minutes), when updating the Cloud Vm Cluster Iorm Config
* delete
- (Defaults to 20 minutes), when destroying the Cloud Vm Cluster Iorm Config
CloudVmClusterIormConfigs can be imported using the id
, e.g.
$ terraform import oci_database_cloud_vm_cluster_iorm_config.test_cloud_vm_cluster_iorm_config "cloudVmClusters/{cloudVmClusterId}/CloudVmClusterIormConfig"