Data Source: oci_generative_ai_routing_profiles
This data source provides the list of Routing Profiles in Oracle Cloud Infrastructure Generative AI service.
Lists the routing profiles of a specific compartment.
Example Usage
data "oci_generative_ai_routing_profiles" "test_routing_profiles" {
#Required
compartment_id = var.compartment_id
#Optional
display_name = var.routing_profile_display_name
id = var.routing_profile_id
state = var.routing_profile_state
}
Argument Reference
The following arguments are supported:
compartment_id- (Required) The OCID of the compartment in which to list resources.display_name- (Optional) A filter to return only resources that match the given display name exactly.id- (Optional) The OCID of the routing profile.state- (Optional) A filter to return only resources whose lifecycle state matches the given value.
Attributes Reference
The following attributes are exported:
routing_profile_collection- The list of routing_profile_collection.
RoutingProfile Reference
The following attributes are exported:
compartment_id- The OCID of the compartment in which the routing profile lives.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- An optional description of the routing profile.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- An OCID that uniquely identifies this routing profile resource.lifecycle_details- A message describing the current state of the routing profile in more detail that can provide actionable information.model_routing_policy- The model routing policy for the routing profile. Routing candidates are selected from the allowed models list.allowed_models- The ordered list of model names the routing candidate is selected from (for example,meta.llama-3-70b-instruct).The order of entries is preserved. Duplicate entries are not allowed.
previous_state- A bounded snapshot of the previous state of a routing profile. This object intentionally omitspreviousStateto avoid recursive nesting.compartment_id- The OCID of the compartment in which the routing profile lives.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- An optional description of the routing profile.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- An OCID that uniquely identifies this routing profile resource.lifecycle_details- A message describing the current state of the routing profile in more detail that can provide actionable information.model_routing_policy- The model routing policy for the routing profile. Routing candidates are selected from the allowed models list.allowed_models- The ordered list of model names the routing candidate is selected from (for example,meta.llama-3-70b-instruct).The order of entries is preserved. Duplicate entries are not allowed.
region_routing_policy- The cross-region routing policy for the routing profile. If this policy is not specified, only the local region is allowed.allowed_regions- The ordered list of regions that routing is allowed to reach. Each entry is a region identifier (for example,us-chicago-1).The order of entries is preserved. Duplicate entries are not allowed.
state- The current state of the routing profile.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 that the routing profile was created in the format of an RFC3339 datetime string.time_updated- The date and time that the routing profile was updated in the format of an RFC3339 datetime string.
region_routing_policy- The cross-region routing policy for the routing profile. If this policy is not specified, only the local region is allowed.allowed_regions- The ordered list of regions that routing is allowed to reach. Each entry is a region identifier (for example,us-chicago-1).The order of entries is preserved. Duplicate entries are not allowed.
state- The current state of the routing profile.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 that the routing profile was created in the format of an RFC3339 datetime string.time_updated- The date and time that the routing profile was updated in the format of an RFC3339 datetime string.