oci_generative_ai_routing_profile

This resource provides the Routing Profile resource in Oracle Cloud Infrastructure Generative AI service. Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/generative-ai/latest/RoutingProfile

Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/generative_ai

Creates a routing profile.

Example Usage

resource "oci_generative_ai_routing_profile" "test_routing_profile" {
	#Required
	compartment_id = var.compartment_id
	display_name = var.routing_profile_display_name

	#Optional
	defined_tags = {"Operations.CostCenter"= "42"}
	description = var.routing_profile_description
	freeform_tags = {"Department"= "Finance"}
	model_routing_policy {

		#Optional
		allowed_models = var.routing_profile_model_routing_policy_allowed_models
	}
	region_routing_policy {

		#Optional
		allowed_regions = var.routing_profile_region_routing_policy_allowed_regions
	}
}

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 Routing Profile * update - (Defaults to 20 minutes), when updating the Routing Profile * delete - (Defaults to 20 minutes), when destroying the Routing Profile

Import

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

$ terraform import oci_generative_ai_routing_profile.test_routing_profile "id"