oci_ai_language_endpoint

This resource provides the Endpoint resource in Oracle Cloud Infrastructure Ai Language service.

Creates a new endpoint and deploy the trained model

Example Usage

resource "oci_ai_language_endpoint" "test_endpoint" {
	#Required
	compartment_id = var.compartment_id
	model_id = oci_ai_language_model.test_model.id

	#Optional
	defined_tags = {"foo-namespace.bar-key"= "value"}
	description = var.endpoint_description
	display_name = var.endpoint_display_name
	freeform_tags = {"bar-key"= "value"}
	inference_units = var.endpoint_inference_units
}

Argument Reference

The following arguments are supported:

** 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:

Timeouts

The timeouts block allows you to specify timeouts for certain operations: * create - (Defaults to 20 minutes), when creating the Endpoint * update - (Defaults to 20 minutes), when updating the Endpoint * delete - (Defaults to 20 minutes), when destroying the Endpoint

Import

Endpoints can be imported using the id, e.g.

$ terraform import oci_ai_language_endpoint.test_endpoint "id"