Data Source: oci_datascience_projects
This data source provides the list of Projects in Oracle Cloud Infrastructure Data Science service.
Lists projects in the specified compartment.
Example Usage
data "oci_datascience_projects" "test_projects" {
	#Required
	compartment_id = var.compartment_id
	#Optional
	created_by = var.project_created_by
	display_name = var.project_display_name
	id = var.project_id
	state = var.project_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.
- 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:
- projects- The list of projects.
Project Reference
The following attributes are exported:
- compartment_id- The OCID of the project’s compartment.
- created_by- The OCID of the user who created this project.
- 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 project.
- 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 project.
- state- The state of the project.
- 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.41Z