published on Friday, Sep 25, 2026 by Pulumi
published on Friday, Sep 25, 2026 by Pulumi
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
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testRoutingProfile = new oci.generativeai.RoutingProfile("test_routing_profile", {
compartmentId: compartmentId,
displayName: routingProfileDisplayName,
definedTags: {
"Operations.CostCenter": "42",
},
description: routingProfileDescription,
freeformTags: {
Department: "Finance",
},
modelRoutingPolicy: {
allowedModels: routingProfileModelRoutingPolicyAllowedModels,
},
regionRoutingPolicy: {
allowedRegions: routingProfileRegionRoutingPolicyAllowedRegions,
},
});
import pulumi
import pulumi_oci as oci
test_routing_profile = oci.generativeai.RoutingProfile("test_routing_profile",
compartment_id=compartment_id,
display_name=routing_profile_display_name,
defined_tags={
"Operations.CostCenter": "42",
},
description=routing_profile_description,
freeform_tags={
"Department": "Finance",
},
model_routing_policy={
"allowed_models": routing_profile_model_routing_policy_allowed_models,
},
region_routing_policy={
"allowed_regions": routing_profile_region_routing_policy_allowed_regions,
})
package main
import (
"github.com/pulumi/pulumi-oci/sdk/v5/go/oci/generativeai"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := generativeai.NewRoutingProfile(ctx, "test_routing_profile", &generativeai.RoutingProfileArgs{
CompartmentId: pulumi.Any(compartmentId),
DisplayName: pulumi.Any(routingProfileDisplayName),
DefinedTags: pulumi.StringMap{
"Operations.CostCenter": pulumi.String("42"),
},
Description: pulumi.Any(routingProfileDescription),
FreeformTags: pulumi.StringMap{
"Department": pulumi.String("Finance"),
},
ModelRoutingPolicy: &generativeai.RoutingProfileModelRoutingPolicyArgs{
AllowedModels: pulumi.Any(routingProfileModelRoutingPolicyAllowedModels),
},
RegionRoutingPolicy: &generativeai.RoutingProfileRegionRoutingPolicyArgs{
AllowedRegions: pulumi.Any(routingProfileRegionRoutingPolicyAllowedRegions),
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Oci = Pulumi.Oci;
return await Deployment.RunAsync(() =>
{
var testRoutingProfile = new Oci.GenerativeAi.RoutingProfile("test_routing_profile", new()
{
CompartmentId = compartmentId,
DisplayName = routingProfileDisplayName,
DefinedTags =
{
{ "Operations.CostCenter", "42" },
},
Description = routingProfileDescription,
FreeformTags =
{
{ "Department", "Finance" },
},
ModelRoutingPolicy = new Oci.GenerativeAi.Inputs.RoutingProfileModelRoutingPolicyArgs
{
AllowedModels = routingProfileModelRoutingPolicyAllowedModels,
},
RegionRoutingPolicy = new Oci.GenerativeAi.Inputs.RoutingProfileRegionRoutingPolicyArgs
{
AllowedRegions = routingProfileRegionRoutingPolicyAllowedRegions,
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.GenerativeAi.RoutingProfile;
import com.pulumi.oci.GenerativeAi.RoutingProfileArgs;
import com.pulumi.oci.GenerativeAi.inputs.RoutingProfileModelRoutingPolicyArgs;
import com.pulumi.oci.GenerativeAi.inputs.RoutingProfileRegionRoutingPolicyArgs;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var testRoutingProfile = new RoutingProfile("testRoutingProfile", RoutingProfileArgs.builder()
.compartmentId(compartmentId)
.displayName(routingProfileDisplayName)
.definedTags(Map.of("Operations.CostCenter", "42"))
.description(routingProfileDescription)
.freeformTags(Map.of("Department", "Finance"))
.modelRoutingPolicy(RoutingProfileModelRoutingPolicyArgs.builder()
.allowedModels(routingProfileModelRoutingPolicyAllowedModels)
.build())
.regionRoutingPolicy(RoutingProfileRegionRoutingPolicyArgs.builder()
.allowedRegions(routingProfileRegionRoutingPolicyAllowedRegions)
.build())
.build());
}
}
resources:
testRoutingProfile:
type: oci:GenerativeAi:RoutingProfile
name: test_routing_profile
properties:
compartmentId: ${compartmentId}
displayName: ${routingProfileDisplayName}
definedTags:
Operations.CostCenter: '42'
description: ${routingProfileDescription}
freeformTags:
Department: Finance
modelRoutingPolicy:
allowedModels: ${routingProfileModelRoutingPolicyAllowedModels}
regionRoutingPolicy:
allowedRegions: ${routingProfileRegionRoutingPolicyAllowedRegions}
pulumi {
required_providers {
oci = {
source = "pulumi/oci"
}
}
}
resource "oci_generativeai_routingprofile" "test_routing_profile" {
compartment_id = compartmentId
display_name = routingProfileDisplayName
defined_tags = {
"Operations.CostCenter" = "42"
}
description = routingProfileDescription
freeform_tags = {
"Department" = "Finance"
}
model_routing_policy = {
allowed_models = routingProfileModelRoutingPolicyAllowedModels
}
#Optional
region_routing_policy = {
allowed_regions = routingProfileRegionRoutingPolicyAllowedRegions
}
}
Create RoutingProfile Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new RoutingProfile(name: string, args: RoutingProfileArgs, opts?: CustomResourceOptions);@overload
def RoutingProfile(resource_name: str,
args: RoutingProfileArgs,
opts: Optional[ResourceOptions] = None)
@overload
def RoutingProfile(resource_name: str,
opts: Optional[ResourceOptions] = None,
compartment_id: Optional[str] = None,
display_name: Optional[str] = None,
defined_tags: Optional[Mapping[str, str]] = None,
description: Optional[str] = None,
freeform_tags: Optional[Mapping[str, str]] = None,
model_routing_policy: Optional[RoutingProfileModelRoutingPolicyArgs] = None,
region_routing_policy: Optional[RoutingProfileRegionRoutingPolicyArgs] = None)func NewRoutingProfile(ctx *Context, name string, args RoutingProfileArgs, opts ...ResourceOption) (*RoutingProfile, error)public RoutingProfile(string name, RoutingProfileArgs args, CustomResourceOptions? opts = null)
public RoutingProfile(String name, RoutingProfileArgs args)
public RoutingProfile(String name, RoutingProfileArgs args, CustomResourceOptions options)
type: oci:GenerativeAi:RoutingProfile
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "oci_generative_ai_routing_profile" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args RoutingProfileArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args RoutingProfileArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args RoutingProfileArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args RoutingProfileArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args RoutingProfileArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var routingProfileResource = new Oci.GenerativeAi.RoutingProfile("routingProfileResource", new()
{
CompartmentId = "string",
DisplayName = "string",
DefinedTags =
{
{ "string", "string" },
},
Description = "string",
FreeformTags =
{
{ "string", "string" },
},
ModelRoutingPolicy = new Oci.GenerativeAi.Inputs.RoutingProfileModelRoutingPolicyArgs
{
AllowedModels = new[]
{
"string",
},
},
RegionRoutingPolicy = new Oci.GenerativeAi.Inputs.RoutingProfileRegionRoutingPolicyArgs
{
AllowedRegions = new[]
{
"string",
},
},
});
example, err := generativeai.NewRoutingProfile(ctx, "routingProfileResource", &generativeai.RoutingProfileArgs{
CompartmentId: pulumi.String("string"),
DisplayName: pulumi.String("string"),
DefinedTags: pulumi.StringMap{
"string": pulumi.String("string"),
},
Description: pulumi.String("string"),
FreeformTags: pulumi.StringMap{
"string": pulumi.String("string"),
},
ModelRoutingPolicy: &generativeai.RoutingProfileModelRoutingPolicyArgs{
AllowedModels: pulumi.StringArray{
pulumi.String("string"),
},
},
RegionRoutingPolicy: &generativeai.RoutingProfileRegionRoutingPolicyArgs{
AllowedRegions: pulumi.StringArray{
pulumi.String("string"),
},
},
})
resource "oci_generative_ai_routing_profile" "routingProfileResource" {
lifecycle {
create_before_destroy = true
}
compartment_id = "string"
display_name = "string"
defined_tags = {
"string" = "string"
}
description = "string"
freeform_tags = {
"string" = "string"
}
model_routing_policy = {
allowed_models = ["string"]
}
region_routing_policy = {
allowed_regions = ["string"]
}
}
var routingProfileResource = new RoutingProfile("routingProfileResource", RoutingProfileArgs.builder()
.compartmentId("string")
.displayName("string")
.definedTags(Map.of("string", "string"))
.description("string")
.freeformTags(Map.of("string", "string"))
.modelRoutingPolicy(RoutingProfileModelRoutingPolicyArgs.builder()
.allowedModels("string")
.build())
.regionRoutingPolicy(RoutingProfileRegionRoutingPolicyArgs.builder()
.allowedRegions("string")
.build())
.build());
routing_profile_resource = oci.generativeai.RoutingProfile("routingProfileResource",
compartment_id="string",
display_name="string",
defined_tags={
"string": "string",
},
description="string",
freeform_tags={
"string": "string",
},
model_routing_policy={
"allowed_models": ["string"],
},
region_routing_policy={
"allowed_regions": ["string"],
})
const routingProfileResource = new oci.generativeai.RoutingProfile("routingProfileResource", {
compartmentId: "string",
displayName: "string",
definedTags: {
string: "string",
},
description: "string",
freeformTags: {
string: "string",
},
modelRoutingPolicy: {
allowedModels: ["string"],
},
regionRoutingPolicy: {
allowedRegions: ["string"],
},
});
type: oci:GenerativeAi:RoutingProfile
properties:
compartmentId: string
definedTags:
string: string
description: string
displayName: string
freeformTags:
string: string
modelRoutingPolicy:
allowedModels:
- string
regionRoutingPolicy:
allowedRegions:
- string
RoutingProfile Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The RoutingProfile resource accepts the following input properties:
- Compartment
Id string - (Updatable) The OCID of the compartment in which to create the routing profile.
- Display
Name string - (Updatable) A user-friendly name. Does not have to be unique, and it's changeable.
- Dictionary<string, string>
- (Updatable) 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 string
- (Updatable) An optional description of the routing profile.
- Dictionary<string, string>
- (Updatable) 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"} - Model
Routing RoutingPolicy Profile Model Routing Policy - (Updatable) The model routing policy for the routing profile. Routing candidates are selected from the allowed models list.
- Region
Routing RoutingPolicy Profile Region Routing Policy - (Updatable) The cross-region routing policy for the routing profile. If this policy is not specified, only the local region is allowed.
- Compartment
Id string - (Updatable) The OCID of the compartment in which to create the routing profile.
- Display
Name string - (Updatable) A user-friendly name. Does not have to be unique, and it's changeable.
- map[string]string
- (Updatable) 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 string
- (Updatable) An optional description of the routing profile.
- map[string]string
- (Updatable) 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"} - Model
Routing RoutingPolicy Profile Model Routing Policy Args - (Updatable) The model routing policy for the routing profile. Routing candidates are selected from the allowed models list.
- Region
Routing RoutingPolicy Profile Region Routing Policy Args - (Updatable) The cross-region routing policy for the routing profile. If this policy is not specified, only the local region is allowed.
- compartment_
id string - (Updatable) The OCID of the compartment in which to create the routing profile.
- display_
name string - (Updatable) A user-friendly name. Does not have to be unique, and it's changeable.
- map(string)
- (Updatable) 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 string
- (Updatable) An optional description of the routing profile.
- map(string)
- (Updatable) 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"} - model_
routing_ objectpolicy - (Updatable) The model routing policy for the routing profile. Routing candidates are selected from the allowed models list.
- region_
routing_ objectpolicy - (Updatable) The cross-region routing policy for the routing profile. If this policy is not specified, only the local region is allowed.
- compartment
Id String - (Updatable) The OCID of the compartment in which to create the routing profile.
- display
Name String - (Updatable) A user-friendly name. Does not have to be unique, and it's changeable.
- Map<String,String>
- (Updatable) 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 String
- (Updatable) An optional description of the routing profile.
- Map<String,String>
- (Updatable) 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"} - model
Routing RoutingPolicy Profile Model Routing Policy - (Updatable) The model routing policy for the routing profile. Routing candidates are selected from the allowed models list.
- region
Routing RoutingPolicy Profile Region Routing Policy - (Updatable) The cross-region routing policy for the routing profile. If this policy is not specified, only the local region is allowed.
- compartment
Id string - (Updatable) The OCID of the compartment in which to create the routing profile.
- display
Name string - (Updatable) A user-friendly name. Does not have to be unique, and it's changeable.
- {[key: string]: string}
- (Updatable) 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 string
- (Updatable) An optional description of the routing profile.
- {[key: string]: string}
- (Updatable) 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"} - model
Routing RoutingPolicy Profile Model Routing Policy - (Updatable) The model routing policy for the routing profile. Routing candidates are selected from the allowed models list.
- region
Routing RoutingPolicy Profile Region Routing Policy - (Updatable) The cross-region routing policy for the routing profile. If this policy is not specified, only the local region is allowed.
- compartment_
id str - (Updatable) The OCID of the compartment in which to create the routing profile.
- display_
name str - (Updatable) A user-friendly name. Does not have to be unique, and it's changeable.
- Mapping[str, str]
- (Updatable) 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 str
- (Updatable) An optional description of the routing profile.
- Mapping[str, str]
- (Updatable) 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"} - model_
routing_ Routingpolicy Profile Model Routing Policy Args - (Updatable) The model routing policy for the routing profile. Routing candidates are selected from the allowed models list.
- region_
routing_ Routingpolicy Profile Region Routing Policy Args - (Updatable) The cross-region routing policy for the routing profile. If this policy is not specified, only the local region is allowed.
- compartment
Id String - (Updatable) The OCID of the compartment in which to create the routing profile.
- display
Name String - (Updatable) A user-friendly name. Does not have to be unique, and it's changeable.
- Map<String>
- (Updatable) 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 String
- (Updatable) An optional description of the routing profile.
- Map<String>
- (Updatable) 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"} - model
Routing Property MapPolicy - (Updatable) The model routing policy for the routing profile. Routing candidates are selected from the allowed models list.
- region
Routing Property MapPolicy - (Updatable) The cross-region routing policy for the routing profile. If this policy is not specified, only the local region is allowed.
Outputs
All input properties are implicitly available as output properties. Additionally, the RoutingProfile resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Lifecycle
Details string - A message describing the current state of the routing profile in more detail that can provide actionable information.
- Previous
States List<RoutingProfile Previous State> - A bounded snapshot of the previous state of a routing profile. This object intentionally omits
previousStateto avoid recursive nesting. - State string
- The current state of the routing profile.
- Dictionary<string, string>
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"} - Time
Created string - The date and time that the routing profile was created in the format of an RFC3339 datetime string.
- Time
Updated string - The date and time that the routing profile was updated in the format of an RFC3339 datetime string.
- Id string
- The provider-assigned unique ID for this managed resource.
- Lifecycle
Details string - A message describing the current state of the routing profile in more detail that can provide actionable information.
- Previous
States []RoutingProfile Previous State - A bounded snapshot of the previous state of a routing profile. This object intentionally omits
previousStateto avoid recursive nesting. - State string
- The current state of the routing profile.
- map[string]string
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"} - Time
Created string - The date and time that the routing profile was created in the format of an RFC3339 datetime string.
- Time
Updated string - The date and time that the routing profile was updated in the format of an RFC3339 datetime string.
- id string
- The provider-assigned unique ID for this managed resource.
- lifecycle_
details string - A message describing the current state of the routing profile in more detail that can provide actionable information.
- previous_
states list(object) - A bounded snapshot of the previous state of a routing profile. This object intentionally omits
previousStateto avoid recursive nesting. - state string
- The current state of the routing profile.
- map(string)
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"} - time_
created string - The date and time that the routing profile was created in the format of an RFC3339 datetime string.
- time_
updated string - The date and time that the routing profile was updated in the format of an RFC3339 datetime string.
- id String
- The provider-assigned unique ID for this managed resource.
- lifecycle
Details String - A message describing the current state of the routing profile in more detail that can provide actionable information.
- previous
States List<RoutingProfile Previous State> - A bounded snapshot of the previous state of a routing profile. This object intentionally omits
previousStateto avoid recursive nesting. - state String
- The current state of the routing profile.
- Map<String,String>
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"} - time
Created String - The date and time that the routing profile was created in the format of an RFC3339 datetime string.
- time
Updated String - The date and time that the routing profile was updated in the format of an RFC3339 datetime string.
- id string
- The provider-assigned unique ID for this managed resource.
- lifecycle
Details string - A message describing the current state of the routing profile in more detail that can provide actionable information.
- previous
States RoutingProfile Previous State[] - A bounded snapshot of the previous state of a routing profile. This object intentionally omits
previousStateto avoid recursive nesting. - state string
- The current state of the routing profile.
- {[key: string]: string}
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"} - time
Created string - The date and time that the routing profile was created in the format of an RFC3339 datetime string.
- time
Updated string - The date and time that the routing profile was updated in the format of an RFC3339 datetime string.
- id str
- The provider-assigned unique ID for this managed resource.
- lifecycle_
details str - A message describing the current state of the routing profile in more detail that can provide actionable information.
- previous_
states Sequence[RoutingProfile Previous State] - A bounded snapshot of the previous state of a routing profile. This object intentionally omits
previousStateto avoid recursive nesting. - state str
- The current state of the routing profile.
- Mapping[str, str]
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"} - time_
created str - The date and time that the routing profile was created in the format of an RFC3339 datetime string.
- time_
updated str - The date and time that the routing profile was updated in the format of an RFC3339 datetime string.
- id String
- The provider-assigned unique ID for this managed resource.
- lifecycle
Details String - A message describing the current state of the routing profile in more detail that can provide actionable information.
- previous
States List<Property Map> - A bounded snapshot of the previous state of a routing profile. This object intentionally omits
previousStateto avoid recursive nesting. - state String
- The current state of the routing profile.
- Map<String>
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"} - time
Created String - The date and time that the routing profile was created in the format of an RFC3339 datetime string.
- time
Updated String - The date and time that the routing profile was updated in the format of an RFC3339 datetime string.
Look up Existing RoutingProfile Resource
Get an existing RoutingProfile resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: RoutingProfileState, opts?: CustomResourceOptions): RoutingProfile@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
compartment_id: Optional[str] = None,
defined_tags: Optional[Mapping[str, str]] = None,
description: Optional[str] = None,
display_name: Optional[str] = None,
freeform_tags: Optional[Mapping[str, str]] = None,
lifecycle_details: Optional[str] = None,
model_routing_policy: Optional[RoutingProfileModelRoutingPolicyArgs] = None,
previous_states: Optional[Sequence[RoutingProfilePreviousStateArgs]] = None,
region_routing_policy: Optional[RoutingProfileRegionRoutingPolicyArgs] = None,
state: Optional[str] = None,
system_tags: Optional[Mapping[str, str]] = None,
time_created: Optional[str] = None,
time_updated: Optional[str] = None) -> RoutingProfilefunc GetRoutingProfile(ctx *Context, name string, id IDInput, state *RoutingProfileState, opts ...ResourceOption) (*RoutingProfile, error)public static RoutingProfile Get(string name, Input<string> id, RoutingProfileState? state, CustomResourceOptions? opts = null)public static RoutingProfile get(String name, Output<String> id, RoutingProfileState state, CustomResourceOptions options)resources: _: type: oci:GenerativeAi:RoutingProfile get: id: ${id}import {
to = oci_generative_ai_routing_profile.example
id = "${id}"
}
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Compartment
Id string - (Updatable) The OCID of the compartment in which to create the routing profile.
- Dictionary<string, string>
- (Updatable) 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 string
- (Updatable) An optional description of the routing profile.
- Display
Name string - (Updatable) A user-friendly name. Does not have to be unique, and it's changeable.
- Dictionary<string, string>
- (Updatable) 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"} - Lifecycle
Details string - A message describing the current state of the routing profile in more detail that can provide actionable information.
- Model
Routing RoutingPolicy Profile Model Routing Policy - (Updatable) The model routing policy for the routing profile. Routing candidates are selected from the allowed models list.
- Previous
States List<RoutingProfile Previous State> - A bounded snapshot of the previous state of a routing profile. This object intentionally omits
previousStateto avoid recursive nesting. - Region
Routing RoutingPolicy Profile Region Routing Policy - (Updatable) The cross-region routing policy for the routing profile. If this policy is not specified, only the local region is allowed.
- State string
- The current state of the routing profile.
- Dictionary<string, string>
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"} - Time
Created string - The date and time that the routing profile was created in the format of an RFC3339 datetime string.
- Time
Updated string - The date and time that the routing profile was updated in the format of an RFC3339 datetime string.
- Compartment
Id string - (Updatable) The OCID of the compartment in which to create the routing profile.
- map[string]string
- (Updatable) 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 string
- (Updatable) An optional description of the routing profile.
- Display
Name string - (Updatable) A user-friendly name. Does not have to be unique, and it's changeable.
- map[string]string
- (Updatable) 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"} - Lifecycle
Details string - A message describing the current state of the routing profile in more detail that can provide actionable information.
- Model
Routing RoutingPolicy Profile Model Routing Policy Args - (Updatable) The model routing policy for the routing profile. Routing candidates are selected from the allowed models list.
- Previous
States []RoutingProfile Previous State Args - A bounded snapshot of the previous state of a routing profile. This object intentionally omits
previousStateto avoid recursive nesting. - Region
Routing RoutingPolicy Profile Region Routing Policy Args - (Updatable) The cross-region routing policy for the routing profile. If this policy is not specified, only the local region is allowed.
- State string
- The current state of the routing profile.
- map[string]string
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"} - Time
Created string - The date and time that the routing profile was created in the format of an RFC3339 datetime string.
- Time
Updated string - The date and time that the routing profile was updated in the format of an RFC3339 datetime string.
- compartment_
id string - (Updatable) The OCID of the compartment in which to create the routing profile.
- map(string)
- (Updatable) 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 string
- (Updatable) An optional description of the routing profile.
- display_
name string - (Updatable) A user-friendly name. Does not have to be unique, and it's changeable.
- map(string)
- (Updatable) 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"} - lifecycle_
details string - A message describing the current state of the routing profile in more detail that can provide actionable information.
- model_
routing_ objectpolicy - (Updatable) The model routing policy for the routing profile. Routing candidates are selected from the allowed models list.
- previous_
states list(object) - A bounded snapshot of the previous state of a routing profile. This object intentionally omits
previousStateto avoid recursive nesting. - region_
routing_ objectpolicy - (Updatable) The cross-region routing policy for the routing profile. If this policy is not specified, only the local region is allowed.
- state string
- The current state of the routing profile.
- map(string)
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"} - time_
created string - The date and time that the routing profile was created in the format of an RFC3339 datetime string.
- time_
updated string - The date and time that the routing profile was updated in the format of an RFC3339 datetime string.
- compartment
Id String - (Updatable) The OCID of the compartment in which to create the routing profile.
- Map<String,String>
- (Updatable) 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 String
- (Updatable) An optional description of the routing profile.
- display
Name String - (Updatable) A user-friendly name. Does not have to be unique, and it's changeable.
- Map<String,String>
- (Updatable) 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"} - lifecycle
Details String - A message describing the current state of the routing profile in more detail that can provide actionable information.
- model
Routing RoutingPolicy Profile Model Routing Policy - (Updatable) The model routing policy for the routing profile. Routing candidates are selected from the allowed models list.
- previous
States List<RoutingProfile Previous State> - A bounded snapshot of the previous state of a routing profile. This object intentionally omits
previousStateto avoid recursive nesting. - region
Routing RoutingPolicy Profile Region Routing Policy - (Updatable) The cross-region routing policy for the routing profile. If this policy is not specified, only the local region is allowed.
- state String
- The current state of the routing profile.
- Map<String,String>
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"} - time
Created String - The date and time that the routing profile was created in the format of an RFC3339 datetime string.
- time
Updated String - The date and time that the routing profile was updated in the format of an RFC3339 datetime string.
- compartment
Id string - (Updatable) The OCID of the compartment in which to create the routing profile.
- {[key: string]: string}
- (Updatable) 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 string
- (Updatable) An optional description of the routing profile.
- display
Name string - (Updatable) A user-friendly name. Does not have to be unique, and it's changeable.
- {[key: string]: string}
- (Updatable) 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"} - lifecycle
Details string - A message describing the current state of the routing profile in more detail that can provide actionable information.
- model
Routing RoutingPolicy Profile Model Routing Policy - (Updatable) The model routing policy for the routing profile. Routing candidates are selected from the allowed models list.
- previous
States RoutingProfile Previous State[] - A bounded snapshot of the previous state of a routing profile. This object intentionally omits
previousStateto avoid recursive nesting. - region
Routing RoutingPolicy Profile Region Routing Policy - (Updatable) The cross-region routing policy for the routing profile. If this policy is not specified, only the local region is allowed.
- state string
- The current state of the routing profile.
- {[key: string]: string}
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"} - time
Created string - The date and time that the routing profile was created in the format of an RFC3339 datetime string.
- time
Updated string - The date and time that the routing profile was updated in the format of an RFC3339 datetime string.
- compartment_
id str - (Updatable) The OCID of the compartment in which to create the routing profile.
- Mapping[str, str]
- (Updatable) 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 str
- (Updatable) An optional description of the routing profile.
- display_
name str - (Updatable) A user-friendly name. Does not have to be unique, and it's changeable.
- Mapping[str, str]
- (Updatable) 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"} - lifecycle_
details str - A message describing the current state of the routing profile in more detail that can provide actionable information.
- model_
routing_ Routingpolicy Profile Model Routing Policy Args - (Updatable) The model routing policy for the routing profile. Routing candidates are selected from the allowed models list.
- previous_
states Sequence[RoutingProfile Previous State Args] - A bounded snapshot of the previous state of a routing profile. This object intentionally omits
previousStateto avoid recursive nesting. - region_
routing_ Routingpolicy Profile Region Routing Policy Args - (Updatable) The cross-region routing policy for the routing profile. If this policy is not specified, only the local region is allowed.
- state str
- The current state of the routing profile.
- Mapping[str, str]
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"} - time_
created str - The date and time that the routing profile was created in the format of an RFC3339 datetime string.
- time_
updated str - The date and time that the routing profile was updated in the format of an RFC3339 datetime string.
- compartment
Id String - (Updatable) The OCID of the compartment in which to create the routing profile.
- Map<String>
- (Updatable) 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 String
- (Updatable) An optional description of the routing profile.
- display
Name String - (Updatable) A user-friendly name. Does not have to be unique, and it's changeable.
- Map<String>
- (Updatable) 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"} - lifecycle
Details String - A message describing the current state of the routing profile in more detail that can provide actionable information.
- model
Routing Property MapPolicy - (Updatable) The model routing policy for the routing profile. Routing candidates are selected from the allowed models list.
- previous
States List<Property Map> - A bounded snapshot of the previous state of a routing profile. This object intentionally omits
previousStateto avoid recursive nesting. - region
Routing Property MapPolicy - (Updatable) The cross-region routing policy for the routing profile. If this policy is not specified, only the local region is allowed.
- state String
- The current state of the routing profile.
- Map<String>
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"} - time
Created String - The date and time that the routing profile was created in the format of an RFC3339 datetime string.
- time
Updated String - The date and time that the routing profile was updated in the format of an RFC3339 datetime string.
Supporting Types
RoutingProfileModelRoutingPolicy, RoutingProfileModelRoutingPolicyArgs
- Allowed
Models List<string> (Updatable) 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.
- Allowed
Models []string (Updatable) 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.
- allowed_
models list(string) (Updatable) 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.
- allowed
Models List<String> (Updatable) 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.
- allowed
Models string[] (Updatable) 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.
- allowed_
models Sequence[str] (Updatable) 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.
- allowed
Models List<String> (Updatable) 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.
RoutingProfilePreviousState, RoutingProfilePreviousStateArgs
- Compartment
Id string - (Updatable) The OCID of the compartment in which to create the routing profile.
- Dictionary<string, string>
- (Updatable) 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 string
- (Updatable) An optional description of the routing profile.
- Display
Name string - (Updatable) A user-friendly name. Does not have to be unique, and it's changeable.
- Dictionary<string, string>
- (Updatable) 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 string
- An OCID that uniquely identifies this routing profile resource.
- Lifecycle
Details string - A message describing the current state of the routing profile in more detail that can provide actionable information.
- Model
Routing List<RoutingPolicies Profile Previous State Model Routing Policy> - (Updatable) The model routing policy for the routing profile. Routing candidates are selected from the allowed models list.
- Region
Routing List<RoutingPolicies Profile Previous State Region Routing Policy> - (Updatable) The cross-region routing policy for the routing profile. If this policy is not specified, only the local region is allowed.
- State string
- The current state of the routing profile.
- Dictionary<string, string>
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"} - Time
Created string - The date and time that the routing profile was created in the format of an RFC3339 datetime string.
- Time
Updated string - The date and time that the routing profile was updated in the format of an RFC3339 datetime string.
- Compartment
Id string - (Updatable) The OCID of the compartment in which to create the routing profile.
- map[string]string
- (Updatable) 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 string
- (Updatable) An optional description of the routing profile.
- Display
Name string - (Updatable) A user-friendly name. Does not have to be unique, and it's changeable.
- map[string]string
- (Updatable) 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 string
- An OCID that uniquely identifies this routing profile resource.
- Lifecycle
Details string - A message describing the current state of the routing profile in more detail that can provide actionable information.
- Model
Routing []RoutingPolicies Profile Previous State Model Routing Policy - (Updatable) The model routing policy for the routing profile. Routing candidates are selected from the allowed models list.
- Region
Routing []RoutingPolicies Profile Previous State Region Routing Policy - (Updatable) The cross-region routing policy for the routing profile. If this policy is not specified, only the local region is allowed.
- State string
- The current state of the routing profile.
- map[string]string
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"} - Time
Created string - The date and time that the routing profile was created in the format of an RFC3339 datetime string.
- Time
Updated string - The date and time that the routing profile was updated in the format of an RFC3339 datetime string.
- compartment_
id string - (Updatable) The OCID of the compartment in which to create the routing profile.
- map(string)
- (Updatable) 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 string
- (Updatable) An optional description of the routing profile.
- display_
name string - (Updatable) A user-friendly name. Does not have to be unique, and it's changeable.
- map(string)
- (Updatable) 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 string
- An OCID that uniquely identifies this routing profile resource.
- lifecycle_
details string - A message describing the current state of the routing profile in more detail that can provide actionable information.
- model_
routing_ list(object)policies - (Updatable) The model routing policy for the routing profile. Routing candidates are selected from the allowed models list.
- region_
routing_ list(object)policies - (Updatable) The cross-region routing policy for the routing profile. If this policy is not specified, only the local region is allowed.
- state string
- The current state of the routing profile.
- map(string)
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"} - time_
created string - The date and time that the routing profile was created in the format of an RFC3339 datetime string.
- time_
updated string - The date and time that the routing profile was updated in the format of an RFC3339 datetime string.
- compartment
Id String - (Updatable) The OCID of the compartment in which to create the routing profile.
- Map<String,String>
- (Updatable) 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 String
- (Updatable) An optional description of the routing profile.
- display
Name String - (Updatable) A user-friendly name. Does not have to be unique, and it's changeable.
- Map<String,String>
- (Updatable) 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 String
- An OCID that uniquely identifies this routing profile resource.
- lifecycle
Details String - A message describing the current state of the routing profile in more detail that can provide actionable information.
- model
Routing List<RoutingPolicies Profile Previous State Model Routing Policy> - (Updatable) The model routing policy for the routing profile. Routing candidates are selected from the allowed models list.
- region
Routing List<RoutingPolicies Profile Previous State Region Routing Policy> - (Updatable) The cross-region routing policy for the routing profile. If this policy is not specified, only the local region is allowed.
- state String
- The current state of the routing profile.
- Map<String,String>
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"} - time
Created String - The date and time that the routing profile was created in the format of an RFC3339 datetime string.
- time
Updated String - The date and time that the routing profile was updated in the format of an RFC3339 datetime string.
- compartment
Id string - (Updatable) The OCID of the compartment in which to create the routing profile.
- {[key: string]: string}
- (Updatable) 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 string
- (Updatable) An optional description of the routing profile.
- display
Name string - (Updatable) A user-friendly name. Does not have to be unique, and it's changeable.
- {[key: string]: string}
- (Updatable) 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 string
- An OCID that uniquely identifies this routing profile resource.
- lifecycle
Details string - A message describing the current state of the routing profile in more detail that can provide actionable information.
- model
Routing RoutingPolicies Profile Previous State Model Routing Policy[] - (Updatable) The model routing policy for the routing profile. Routing candidates are selected from the allowed models list.
- region
Routing RoutingPolicies Profile Previous State Region Routing Policy[] - (Updatable) The cross-region routing policy for the routing profile. If this policy is not specified, only the local region is allowed.
- state string
- The current state of the routing profile.
- {[key: string]: string}
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"} - time
Created string - The date and time that the routing profile was created in the format of an RFC3339 datetime string.
- time
Updated string - The date and time that the routing profile was updated in the format of an RFC3339 datetime string.
- compartment_
id str - (Updatable) The OCID of the compartment in which to create the routing profile.
- Mapping[str, str]
- (Updatable) 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 str
- (Updatable) An optional description of the routing profile.
- display_
name str - (Updatable) A user-friendly name. Does not have to be unique, and it's changeable.
- Mapping[str, str]
- (Updatable) 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 str
- An OCID that uniquely identifies this routing profile resource.
- lifecycle_
details str - A message describing the current state of the routing profile in more detail that can provide actionable information.
- model_
routing_ Sequence[Routingpolicies Profile Previous State Model Routing Policy] - (Updatable) The model routing policy for the routing profile. Routing candidates are selected from the allowed models list.
- region_
routing_ Sequence[Routingpolicies Profile Previous State Region Routing Policy] - (Updatable) The cross-region routing policy for the routing profile. If this policy is not specified, only the local region is allowed.
- state str
- The current state of the routing profile.
- Mapping[str, str]
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"} - time_
created str - The date and time that the routing profile was created in the format of an RFC3339 datetime string.
- time_
updated str - The date and time that the routing profile was updated in the format of an RFC3339 datetime string.
- compartment
Id String - (Updatable) The OCID of the compartment in which to create the routing profile.
- Map<String>
- (Updatable) 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 String
- (Updatable) An optional description of the routing profile.
- display
Name String - (Updatable) A user-friendly name. Does not have to be unique, and it's changeable.
- Map<String>
- (Updatable) 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 String
- An OCID that uniquely identifies this routing profile resource.
- lifecycle
Details String - A message describing the current state of the routing profile in more detail that can provide actionable information.
- model
Routing List<Property Map>Policies - (Updatable) The model routing policy for the routing profile. Routing candidates are selected from the allowed models list.
- region
Routing List<Property Map>Policies - (Updatable) The cross-region routing policy for the routing profile. If this policy is not specified, only the local region is allowed.
- state String
- The current state of the routing profile.
- Map<String>
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"} - time
Created String - The date and time that the routing profile was created in the format of an RFC3339 datetime string.
- time
Updated String - The date and time that the routing profile was updated in the format of an RFC3339 datetime string.
RoutingProfilePreviousStateModelRoutingPolicy, RoutingProfilePreviousStateModelRoutingPolicyArgs
- Allowed
Models List<string> (Updatable) 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.
- Allowed
Models []string (Updatable) 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.
- allowed_
models list(string) (Updatable) 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.
- allowed
Models List<String> (Updatable) 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.
- allowed
Models string[] (Updatable) 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.
- allowed_
models Sequence[str] (Updatable) 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.
- allowed
Models List<String> (Updatable) 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.
RoutingProfilePreviousStateRegionRoutingPolicy, RoutingProfilePreviousStateRegionRoutingPolicyArgs
- Allowed
Regions List<string> (Updatable) 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.
** 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
- Allowed
Regions []string (Updatable) 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.
** 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
- allowed_
regions list(string) (Updatable) 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.
** 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
- allowed
Regions List<String> (Updatable) 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.
** 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
- allowed
Regions string[] (Updatable) 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.
** 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
- allowed_
regions Sequence[str] (Updatable) 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.
** 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
- allowed
Regions List<String> (Updatable) 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.
** 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
RoutingProfileRegionRoutingPolicy, RoutingProfileRegionRoutingPolicyArgs
- Allowed
Regions List<string> (Updatable) 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.
** 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
- Allowed
Regions []string (Updatable) 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.
** 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
- allowed_
regions list(string) (Updatable) 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.
** 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
- allowed
Regions List<String> (Updatable) 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.
** 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
- allowed
Regions string[] (Updatable) 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.
** 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
- allowed_
regions Sequence[str] (Updatable) 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.
** 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
- allowed
Regions List<String> (Updatable) 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.
** 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
Import
RoutingProfiles can be imported using the id, e.g.
$ pulumi import oci:GenerativeAi/routingProfile:RoutingProfile test_routing_profile "id"
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
ociTerraform Provider.
published on Friday, Sep 25, 2026 by Pulumi