oci_datascience_model_group_version_history
This resource provides the Model Group Version History resource in Oracle Cloud Infrastructure Data Science service.
Creates a new modelGroupVersionHistory.
Example Usage
resource "oci_datascience_model_group_version_history" "test_model_group_version_history" {
#Required
compartment_id = var.compartment_id
project_id = oci_datascience_project.test_project.id
#Optional
defined_tags = {"Operations.CostCenter"= "42"}
description = var.model_group_version_history_description
display_name = var.model_group_version_history_display_name
freeform_tags = {"Department"= "Finance"}
latest_model_group_id = oci_datascience_model_group.test_model_group.id
}
Argument Reference
The following arguments are supported:
compartment_id
- (Required) (Updatable) The OCID of the compartment to create the model group version history in.defined_tags
- (Optional) (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example:{"Operations.CostCenter": "42"}
description
- (Optional) (Updatable) A short description of the model version history.display_name
- (Optional) (Updatable) A user-friendly name for the resource. It must be unique and can’t be modified. Avoid entering confidential information. Example:My model version history
freeform_tags
- (Optional) (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. See Resource Tags. Example:{"Department": "Finance"}
latest_model_group_id
- (Optional) (Updatable) The OCID of the latest version of the model group to be associated.project_id
- (Required) The OCID of the project to associate with the model group version history.
** 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
Attributes Reference
The following attributes are exported:
compartment_id
- The OCID of the modelGroupVersionHistory’s compartment.created_by
- The OCID of the user who created the modelGroupVersionHistory.defined_tags
- Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example:{"Operations.CostCenter": "42"}
description
- A short description of the modelGroupVersionHistory.display_name
- A user-friendly display name for the resource. It does not have to be unique and can be modified. Avoid entering confidential information.freeform_tags
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. See Resource Tags. Example:{"Department": "Finance"}
id
- The OCID of the modelGroupVersionHistory.latest_model_group_id
- The OCID of the latest version of the model group associated.lifecycle_details
- Details about the lifecycle state of the model group version history.project_id
- The OCID of the project associated with the modelGroupVersionHistory.state
- The state of the modelGroupVersionHistory.system_tags
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:{"orcl-cloud.free-tier-retained": "true"}
time_created
- The date and time the resource was created in the timestamp format defined by RFC3339. Example: 2019-08-25T21:10:29.41Ztime_updated
- The date and time the resource was last updated in the timestamp format defined by RFC3339. Example: 2019-08-25T21:10:29.41Z
Timeouts
The timeouts
block allows you to specify timeouts for certain operations:
* create
- (Defaults to 20 minutes), when creating the Model Group Version History
* update
- (Defaults to 20 minutes), when updating the Model Group Version History
* delete
- (Defaults to 20 minutes), when destroying the Model Group Version History
Import
ModelGroupVersionHistories can be imported using the id
, e.g.
$ terraform import oci_datascience_model_group_version_history.test_model_group_version_history "id"