Data Source: oci_adm_knowledge_bases

This data source provides the list of Knowledge Bases in Oracle Cloud Infrastructure ADM service.

Returns a list of KnowledgeBases based on the specified query parameters. At least id or compartmentId query parameter must be provided.

Example Usage

data "oci_adm_knowledge_bases" "test_knowledge_bases" {

	#Optional
	compartment_id = var.compartment_id
	display_name = var.knowledge_base_display_name
	id = var.knowledge_base_id
	state = var.knowledge_base_state
}

Argument Reference

The following arguments are supported:

Attributes Reference

The following attributes are exported:

KnowledgeBase Reference

The following attributes are exported: * items - List of knowledge base summaries. * compartment_id - The compartment Oracle Cloud Identifier (OCID) of the knowledge base. * defined_tags - Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"} * display_name - The name of the knowledge base. * freeform_tags - Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"} * id - The Oracle Cloud Identifier (OCID) of the knowledge base. * state - The current lifecycle state of the knowledge base. * system_tags - Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"} * time_created - The creation date and time of the knowledge base (formatted according to RFC3339). * time_updated - The date and time the knowledge base was last updated (formatted according to RFC3339).