Data Source: oci_generative_ai_agent_data_source
This data source provides details about a specific Data Source resource in Oracle Cloud Infrastructure Generative Ai Agent service.
GetDataSource
Gets information about a data source.
Example Usage
data "oci_generative_ai_agent_data_source" "test_data_source" {
#Required
data_source_id = oci_generative_ai_agent_data_source.test_data_source.id
}
Argument Reference
The following arguments are supported:
data_source_id
- (Required) The OCID of the data source.
Attributes Reference
The following attributes are exported:
compartment_id
- The OCID of the compartment.data_source_config
- DataSourceConfigThe details of data source.
data_source_config_type
- The type of the tool. The allowed values are:OCI_OBJECT_STORAGE
: The data source is Oracle Cloud Infrastructure Object Storage.
object_storage_prefixes
- The locations of data items in Object Storage, can either be an object (File) or a prefix (folder).bucket
- The bucket name of an object.namespace
- The namespace name of an object.prefix
- The name of the object (file) or prefix (folder).
defined_tags
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:{"Operations.CostCenter": "42"}
description
- A description of the data source.display_name
- A user-friendly name. Does not have to be unique, and it’s changeable.freeform_tags
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:{"Department": "Finance"}
id
- The OCID of the data source.knowledge_base_id
- The OCID of the parent KnowledgeBase.lifecycle_details
- A message that describes the current state of the data source in more detail. For example, can be used to provide actionable information for a resource in the Failed state.state
- The current state of the data source.system_tags
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:{"orcl-cloud.free-tier-retained": "true"}
time_created
- The date and time the data source was created, in the format defined by RFC 3339. Example:2016-08-25T21:10:29.600Z
time_updated
- The date and time the data source was updated, in the format defined by RFC 3339. Example:2016-08-25T21:10:29.600Z