Data Source: oci_datascience_model_group_models
This data source provides the list of Model Group Models in Oracle Cloud Infrastructure Data Science service.
Lists all models associated with the modelGroup in the specified compartment.
Example Usage
data "oci_datascience_model_group_models" "test_model_group_models" {
#Required
compartment_id = var.compartment_id
model_group_id = oci_datascience_model_group.test_model_group.id
#Optional
created_by = var.model_group_model_created_by
display_name = var.model_group_model_display_name
id = var.model_group_model_id
state = var.model_group_model_state
}
Argument Reference
The following arguments are supported:
compartment_id
- (Required) Filter results by the OCID of the compartment.created_by
- (Optional) Filter results by the OCID of the user who created the resource.display_name
- (Optional) Filter results by its user-friendly name.id
- (Optional) Filter results by OCID. Must be an OCID of the correct type for the resource type.model_group_id
- (Required) The OCID of the modelGroup.state
- (Optional) Filter results by the specified lifecycle state. Must be a valid state for the resource type.
Attributes Reference
The following attributes are exported:
model_group_models
- The list of model_group_models.
ModelGroupModel Reference
The following attributes are exported:
category
- The category of the model.compartment_id
- The OCID of the model’s compartment.created_by
- The OCID of the user who created the model.defined_tags
- Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example:{"Operations.CostCenter": "42"}
display_name
- A user-friendly display name of the model.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 model group.is_model_by_reference
- Identifier to indicate whether a model artifact resides in the Service Tenancy or Customer Tenancy.lifecycle_details
- Details about the lifecycle state of the model.model_id
- The OCID of the model.project_id
- The OCID of the project associated with the model.state
- The state of the model.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 updated in the timestamp format defined by RFC3339. Example: 2019-08-25T21:10:29.41Z