1. Registry
  2. Packages
  3. Oracle Cloud Infrastructure
  4. API Docs
  5. GenerativeAi
  6. getRoutingProfile
Viewing docs for Oracle Cloud Infrastructure v5.1.0
published on Friday, Sep 25, 2026 by Pulumi
oci logo oci logo
Viewing docs for Oracle Cloud Infrastructure v5.1.0
published on Friday, Sep 25, 2026 by Pulumi

    This data source provides details about a specific Routing Profile resource in Oracle Cloud Infrastructure Generative AI service.

    Gets information about a routing profile.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testRoutingProfile = oci.generativeai.getRoutingProfile({
        routingProfileId: testRoutingProfileOciGenerativeAiRoutingProfile.id,
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_routing_profile = oci.generativeai.get_routing_profile(routing_profile_id=test_routing_profile_oci_generative_ai_routing_profile["id"])
    
    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.GetRoutingProfile(ctx, &generativeai.GetRoutingProfileArgs{
    			RoutingProfileId: testRoutingProfileOciGenerativeAiRoutingProfile.Id,
    		}, nil)
    		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 = Oci.GenerativeAi.GetRoutingProfile.Invoke(new()
        {
            RoutingProfileId = testRoutingProfileOciGenerativeAiRoutingProfile.Id,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.oci.GenerativeAi.GenerativeAiFunctions;
    import com.pulumi.oci.GenerativeAi.inputs.GetRoutingProfileArgs;
    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) {
            final var testRoutingProfile = GenerativeAiFunctions.getRoutingProfile(GetRoutingProfileArgs.builder()
                .routingProfileId(testRoutingProfileOciGenerativeAiRoutingProfile.id())
                .build());
    
        }
    }
    
    variables:
      testRoutingProfile:
        fn::invoke:
          function: oci:GenerativeAi:getRoutingProfile
          arguments:
            routingProfileId: ${testRoutingProfileOciGenerativeAiRoutingProfile.id}
    
    pulumi {
      required_providers {
        oci = {
          source = "pulumi/oci"
        }
      }
    }
    
    data "oci_generativeai_getroutingprofile" "testRoutingProfile" {
      routing_profile_id = testRoutingProfileOciGenerativeAiRoutingProfile.id
    }
    

    Using getRoutingProfile

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getRoutingProfile(args: GetRoutingProfileArgs, opts?: InvokeOptions): Promise<GetRoutingProfileResult>
    function getRoutingProfileOutput(args: GetRoutingProfileOutputArgs, opts?: InvokeOutputOptions): Output<GetRoutingProfileResult>
    def get_routing_profile(routing_profile_id: Optional[str] = None,
                            opts: Optional[InvokeOptions] = None) -> GetRoutingProfileResult
    def get_routing_profile_output(routing_profile_id: pulumi.Input[Optional[str]] = None,
                            opts: Optional[InvokeOutputOptions] = None) -> Output[GetRoutingProfileResult]
    func LookupRoutingProfile(ctx *Context, args *LookupRoutingProfileArgs, opts ...InvokeOption) (*LookupRoutingProfileResult, error)
    func LookupRoutingProfileOutput(ctx *Context, args *LookupRoutingProfileOutputArgs, opts ...InvokeOption) LookupRoutingProfileResultOutput

    > Note: This function is named LookupRoutingProfile in the Go SDK.

    public static class GetRoutingProfile 
    {
        public static Task<GetRoutingProfileResult> InvokeAsync(GetRoutingProfileArgs args, InvokeOptions? opts = null)
        public static Output<GetRoutingProfileResult> Invoke(GetRoutingProfileInvokeArgs args, InvokeOptions? opts = null)
        public static Output<GetRoutingProfileResult> Invoke(GetRoutingProfileInvokeArgs args, InvokeOutputOptions opts)
    }
    public static CompletableFuture<GetRoutingProfileResult> getRoutingProfile(GetRoutingProfileArgs args, InvokeOptions options)
    public static Output<GetRoutingProfileResult> getRoutingProfile(GetRoutingProfileArgs args, InvokeOptions options)
    public static Output<GetRoutingProfileResult> getRoutingProfile(GetRoutingProfileArgs args, InvokeOutputOptions options)
    
    fn::invoke:
      function: oci:GenerativeAi/getRoutingProfile:getRoutingProfile
      arguments:
        # arguments dictionary
    data "oci_generative_ai_get_routing_profile" "name" {
        # arguments
    }

    The following arguments are supported:

    RoutingProfileId string
    The OCID of the routing profile.
    RoutingProfileId string
    The OCID of the routing profile.
    routing_profile_id string
    The OCID of the routing profile.
    routingProfileId String
    The OCID of the routing profile.
    routingProfileId string
    The OCID of the routing profile.
    routing_profile_id str
    The OCID of the routing profile.
    routingProfileId String
    The OCID of the routing profile.

    getRoutingProfile Result

    The following output properties are available:

    CompartmentId string
    The OCID of the compartment in which the routing profile lives.
    DefinedTags Dictionary<string, string>
    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
    An optional description of the routing profile.
    DisplayName string
    A user-friendly name. Does not have to be unique, and it's changeable.
    FreeformTags Dictionary<string, string>
    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.
    LifecycleDetails string
    A message describing the current state of the routing profile in more detail that can provide actionable information.
    ModelRoutingPolicies List<GetRoutingProfileModelRoutingPolicy>
    The model routing policy for the routing profile. Routing candidates are selected from the allowed models list.
    PreviousStates List<GetRoutingProfilePreviousState>
    A bounded snapshot of the previous state of a routing profile. This object intentionally omits previousState to avoid recursive nesting.
    RegionRoutingPolicies List<GetRoutingProfileRegionRoutingPolicy>
    The cross-region routing policy for the routing profile. If this policy is not specified, only the local region is allowed.
    RoutingProfileId string
    State string
    The current state of the routing profile.
    SystemTags Dictionary<string, string>
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    TimeCreated string
    The date and time that the routing profile was created in the format of an RFC3339 datetime string.
    TimeUpdated string
    The date and time that the routing profile was updated in the format of an RFC3339 datetime string.
    CompartmentId string
    The OCID of the compartment in which the routing profile lives.
    DefinedTags map[string]string
    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
    An optional description of the routing profile.
    DisplayName string
    A user-friendly name. Does not have to be unique, and it's changeable.
    FreeformTags map[string]string
    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.
    LifecycleDetails string
    A message describing the current state of the routing profile in more detail that can provide actionable information.
    ModelRoutingPolicies []GetRoutingProfileModelRoutingPolicy
    The model routing policy for the routing profile. Routing candidates are selected from the allowed models list.
    PreviousStates []GetRoutingProfilePreviousState
    A bounded snapshot of the previous state of a routing profile. This object intentionally omits previousState to avoid recursive nesting.
    RegionRoutingPolicies []GetRoutingProfileRegionRoutingPolicy
    The cross-region routing policy for the routing profile. If this policy is not specified, only the local region is allowed.
    RoutingProfileId string
    State string
    The current state of the routing profile.
    SystemTags map[string]string
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    TimeCreated string
    The date and time that the routing profile was created in the format of an RFC3339 datetime string.
    TimeUpdated string
    The date and time that the routing profile was updated in the format of an RFC3339 datetime string.
    compartment_id string
    The OCID of the compartment in which the routing profile lives.
    defined_tags map(string)
    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
    An optional description of the routing profile.
    display_name string
    A user-friendly name. Does not have to be unique, and it's changeable.
    freeform_tags map(string)
    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_policies list(object)
    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 previousState to avoid recursive nesting.
    region_routing_policies list(object)
    The cross-region routing policy for the routing profile. If this policy is not specified, only the local region is allowed.
    routing_profile_id string
    state string
    The current state of the routing profile.
    system_tags 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.
    compartmentId String
    The OCID of the compartment in which the routing profile lives.
    definedTags Map<String,String>
    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
    An optional description of the routing profile.
    displayName String
    A user-friendly name. Does not have to be unique, and it's changeable.
    freeformTags Map<String,String>
    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.
    lifecycleDetails String
    A message describing the current state of the routing profile in more detail that can provide actionable information.
    modelRoutingPolicies List<GetRoutingProfileModelRoutingPolicy>
    The model routing policy for the routing profile. Routing candidates are selected from the allowed models list.
    previousStates List<GetRoutingProfilePreviousState>
    A bounded snapshot of the previous state of a routing profile. This object intentionally omits previousState to avoid recursive nesting.
    regionRoutingPolicies List<GetRoutingProfileRegionRoutingPolicy>
    The cross-region routing policy for the routing profile. If this policy is not specified, only the local region is allowed.
    routingProfileId String
    state String
    The current state of the routing profile.
    systemTags Map<String,String>
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated String
    The date and time that the routing profile was created in the format of an RFC3339 datetime string.
    timeUpdated String
    The date and time that the routing profile was updated in the format of an RFC3339 datetime string.
    compartmentId string
    The OCID of the compartment in which the routing profile lives.
    definedTags {[key: string]: string}
    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
    An optional description of the routing profile.
    displayName string
    A user-friendly name. Does not have to be unique, and it's changeable.
    freeformTags {[key: string]: string}
    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.
    lifecycleDetails string
    A message describing the current state of the routing profile in more detail that can provide actionable information.
    modelRoutingPolicies GetRoutingProfileModelRoutingPolicy[]
    The model routing policy for the routing profile. Routing candidates are selected from the allowed models list.
    previousStates GetRoutingProfilePreviousState[]
    A bounded snapshot of the previous state of a routing profile. This object intentionally omits previousState to avoid recursive nesting.
    regionRoutingPolicies GetRoutingProfileRegionRoutingPolicy[]
    The cross-region routing policy for the routing profile. If this policy is not specified, only the local region is allowed.
    routingProfileId string
    state string
    The current state of the routing profile.
    systemTags {[key: string]: string}
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated string
    The date and time that the routing profile was created in the format of an RFC3339 datetime string.
    timeUpdated string
    The date and time that the routing profile was updated in the format of an RFC3339 datetime string.
    compartment_id str
    The OCID of the compartment in which the routing profile lives.
    defined_tags Mapping[str, str]
    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
    An optional description of the routing profile.
    display_name str
    A user-friendly name. Does not have to be unique, and it's changeable.
    freeform_tags Mapping[str, str]
    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_policies Sequence[GetRoutingProfileModelRoutingPolicy]
    The model routing policy for the routing profile. Routing candidates are selected from the allowed models list.
    previous_states Sequence[GetRoutingProfilePreviousState]
    A bounded snapshot of the previous state of a routing profile. This object intentionally omits previousState to avoid recursive nesting.
    region_routing_policies Sequence[GetRoutingProfileRegionRoutingPolicy]
    The cross-region routing policy for the routing profile. If this policy is not specified, only the local region is allowed.
    routing_profile_id str
    state str
    The current state of the routing profile.
    system_tags 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.
    compartmentId String
    The OCID of the compartment in which the routing profile lives.
    definedTags Map<String>
    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
    An optional description of the routing profile.
    displayName String
    A user-friendly name. Does not have to be unique, and it's changeable.
    freeformTags Map<String>
    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.
    lifecycleDetails String
    A message describing the current state of the routing profile in more detail that can provide actionable information.
    modelRoutingPolicies List<Property Map>
    The model routing policy for the routing profile. Routing candidates are selected from the allowed models list.
    previousStates List<Property Map>
    A bounded snapshot of the previous state of a routing profile. This object intentionally omits previousState to avoid recursive nesting.
    regionRoutingPolicies List<Property Map>
    The cross-region routing policy for the routing profile. If this policy is not specified, only the local region is allowed.
    routingProfileId String
    state String
    The current state of the routing profile.
    systemTags Map<String>
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated String
    The date and time that the routing profile was created in the format of an RFC3339 datetime string.
    timeUpdated String
    The date and time that the routing profile was updated in the format of an RFC3339 datetime string.

    Supporting Types

    GetRoutingProfileModelRoutingPolicy

    AllowedModels List<string>
    The ordered list of model names the routing candidate is selected from (for example, meta.llama-3-70b-instruct).
    AllowedModels []string
    The ordered list of model names the routing candidate is selected from (for example, meta.llama-3-70b-instruct).
    allowed_models list(string)
    The ordered list of model names the routing candidate is selected from (for example, meta.llama-3-70b-instruct).
    allowedModels List<String>
    The ordered list of model names the routing candidate is selected from (for example, meta.llama-3-70b-instruct).
    allowedModels string[]
    The ordered list of model names the routing candidate is selected from (for example, meta.llama-3-70b-instruct).
    allowed_models Sequence[str]
    The ordered list of model names the routing candidate is selected from (for example, meta.llama-3-70b-instruct).
    allowedModels List<String>
    The ordered list of model names the routing candidate is selected from (for example, meta.llama-3-70b-instruct).

    GetRoutingProfilePreviousState

    CompartmentId string
    The OCID of the compartment in which the routing profile lives.
    DefinedTags Dictionary<string, string>
    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
    An optional description of the routing profile.
    DisplayName string
    A user-friendly name. Does not have to be unique, and it's changeable.
    FreeformTags Dictionary<string, string>
    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.
    LifecycleDetails string
    A message describing the current state of the routing profile in more detail that can provide actionable information.
    ModelRoutingPolicies List<GetRoutingProfilePreviousStateModelRoutingPolicy>
    The model routing policy for the routing profile. Routing candidates are selected from the allowed models list.
    RegionRoutingPolicies List<GetRoutingProfilePreviousStateRegionRoutingPolicy>
    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.
    SystemTags Dictionary<string, string>
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    TimeCreated string
    The date and time that the routing profile was created in the format of an RFC3339 datetime string.
    TimeUpdated string
    The date and time that the routing profile was updated in the format of an RFC3339 datetime string.
    CompartmentId string
    The OCID of the compartment in which the routing profile lives.
    DefinedTags map[string]string
    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
    An optional description of the routing profile.
    DisplayName string
    A user-friendly name. Does not have to be unique, and it's changeable.
    FreeformTags map[string]string
    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.
    LifecycleDetails string
    A message describing the current state of the routing profile in more detail that can provide actionable information.
    ModelRoutingPolicies []GetRoutingProfilePreviousStateModelRoutingPolicy
    The model routing policy for the routing profile. Routing candidates are selected from the allowed models list.
    RegionRoutingPolicies []GetRoutingProfilePreviousStateRegionRoutingPolicy
    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.
    SystemTags map[string]string
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    TimeCreated string
    The date and time that the routing profile was created in the format of an RFC3339 datetime string.
    TimeUpdated string
    The date and time that the routing profile was updated in the format of an RFC3339 datetime string.
    compartment_id string
    The OCID of the compartment in which the routing profile lives.
    defined_tags map(string)
    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
    An optional description of the routing profile.
    display_name string
    A user-friendly name. Does not have to be unique, and it's changeable.
    freeform_tags map(string)
    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_policies list(object)
    The model routing policy for the routing profile. Routing candidates are selected from the allowed models list.
    region_routing_policies list(object)
    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.
    system_tags 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.
    compartmentId String
    The OCID of the compartment in which the routing profile lives.
    definedTags Map<String,String>
    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
    An optional description of the routing profile.
    displayName String
    A user-friendly name. Does not have to be unique, and it's changeable.
    freeformTags Map<String,String>
    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.
    lifecycleDetails String
    A message describing the current state of the routing profile in more detail that can provide actionable information.
    modelRoutingPolicies List<GetRoutingProfilePreviousStateModelRoutingPolicy>
    The model routing policy for the routing profile. Routing candidates are selected from the allowed models list.
    regionRoutingPolicies List<GetRoutingProfilePreviousStateRegionRoutingPolicy>
    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.
    systemTags Map<String,String>
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated String
    The date and time that the routing profile was created in the format of an RFC3339 datetime string.
    timeUpdated String
    The date and time that the routing profile was updated in the format of an RFC3339 datetime string.
    compartmentId string
    The OCID of the compartment in which the routing profile lives.
    definedTags {[key: string]: string}
    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
    An optional description of the routing profile.
    displayName string
    A user-friendly name. Does not have to be unique, and it's changeable.
    freeformTags {[key: string]: string}
    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.
    lifecycleDetails string
    A message describing the current state of the routing profile in more detail that can provide actionable information.
    modelRoutingPolicies GetRoutingProfilePreviousStateModelRoutingPolicy[]
    The model routing policy for the routing profile. Routing candidates are selected from the allowed models list.
    regionRoutingPolicies GetRoutingProfilePreviousStateRegionRoutingPolicy[]
    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.
    systemTags {[key: string]: string}
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated string
    The date and time that the routing profile was created in the format of an RFC3339 datetime string.
    timeUpdated string
    The date and time that the routing profile was updated in the format of an RFC3339 datetime string.
    compartment_id str
    The OCID of the compartment in which the routing profile lives.
    defined_tags Mapping[str, str]
    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
    An optional description of the routing profile.
    display_name str
    A user-friendly name. Does not have to be unique, and it's changeable.
    freeform_tags Mapping[str, str]
    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_policies Sequence[GetRoutingProfilePreviousStateModelRoutingPolicy]
    The model routing policy for the routing profile. Routing candidates are selected from the allowed models list.
    region_routing_policies Sequence[GetRoutingProfilePreviousStateRegionRoutingPolicy]
    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.
    system_tags 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.
    compartmentId String
    The OCID of the compartment in which the routing profile lives.
    definedTags Map<String>
    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
    An optional description of the routing profile.
    displayName String
    A user-friendly name. Does not have to be unique, and it's changeable.
    freeformTags Map<String>
    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.
    lifecycleDetails String
    A message describing the current state of the routing profile in more detail that can provide actionable information.
    modelRoutingPolicies List<Property Map>
    The model routing policy for the routing profile. Routing candidates are selected from the allowed models list.
    regionRoutingPolicies List<Property Map>
    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.
    systemTags Map<String>
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated String
    The date and time that the routing profile was created in the format of an RFC3339 datetime string.
    timeUpdated String
    The date and time that the routing profile was updated in the format of an RFC3339 datetime string.

    GetRoutingProfilePreviousStateModelRoutingPolicy

    AllowedModels List<string>
    The ordered list of model names the routing candidate is selected from (for example, meta.llama-3-70b-instruct).
    AllowedModels []string
    The ordered list of model names the routing candidate is selected from (for example, meta.llama-3-70b-instruct).
    allowed_models list(string)
    The ordered list of model names the routing candidate is selected from (for example, meta.llama-3-70b-instruct).
    allowedModels List<String>
    The ordered list of model names the routing candidate is selected from (for example, meta.llama-3-70b-instruct).
    allowedModels string[]
    The ordered list of model names the routing candidate is selected from (for example, meta.llama-3-70b-instruct).
    allowed_models Sequence[str]
    The ordered list of model names the routing candidate is selected from (for example, meta.llama-3-70b-instruct).
    allowedModels List<String>
    The ordered list of model names the routing candidate is selected from (for example, meta.llama-3-70b-instruct).

    GetRoutingProfilePreviousStateRegionRoutingPolicy

    AllowedRegions List<string>
    The ordered list of regions that routing is allowed to reach. Each entry is a region identifier (for example, us-chicago-1).
    AllowedRegions []string
    The ordered list of regions that routing is allowed to reach. Each entry is a region identifier (for example, us-chicago-1).
    allowed_regions list(string)
    The ordered list of regions that routing is allowed to reach. Each entry is a region identifier (for example, us-chicago-1).
    allowedRegions List<String>
    The ordered list of regions that routing is allowed to reach. Each entry is a region identifier (for example, us-chicago-1).
    allowedRegions string[]
    The ordered list of regions that routing is allowed to reach. Each entry is a region identifier (for example, us-chicago-1).
    allowed_regions Sequence[str]
    The ordered list of regions that routing is allowed to reach. Each entry is a region identifier (for example, us-chicago-1).
    allowedRegions List<String>
    The ordered list of regions that routing is allowed to reach. Each entry is a region identifier (for example, us-chicago-1).

    GetRoutingProfileRegionRoutingPolicy

    AllowedRegions List<string>
    The ordered list of regions that routing is allowed to reach. Each entry is a region identifier (for example, us-chicago-1).
    AllowedRegions []string
    The ordered list of regions that routing is allowed to reach. Each entry is a region identifier (for example, us-chicago-1).
    allowed_regions list(string)
    The ordered list of regions that routing is allowed to reach. Each entry is a region identifier (for example, us-chicago-1).
    allowedRegions List<String>
    The ordered list of regions that routing is allowed to reach. Each entry is a region identifier (for example, us-chicago-1).
    allowedRegions string[]
    The ordered list of regions that routing is allowed to reach. Each entry is a region identifier (for example, us-chicago-1).
    allowed_regions Sequence[str]
    The ordered list of regions that routing is allowed to reach. Each entry is a region identifier (for example, us-chicago-1).
    allowedRegions List<String>
    The ordered list of regions that routing is allowed to reach. Each entry is a region identifier (for example, us-chicago-1).

    Package Details

    Repository
    oci pulumi/pulumi-oci
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the oci Terraform Provider.
    oci logo oci logo
    Viewing docs for Oracle Cloud Infrastructure v5.1.0
    published on Friday, Sep 25, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial