1. Registry
  2. Packages
  3. Oracle Cloud Infrastructure
  4. API Docs
  5. GenerativeAi
  6. getRoutingProfiles
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 the list of Routing Profiles in Oracle Cloud Infrastructure Generative AI service.

    Lists the routing profiles of a specific compartment.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testRoutingProfiles = oci.generativeai.getRoutingProfiles({
        compartmentId: compartmentId,
        displayName: routingProfileDisplayName,
        id: routingProfileId,
        state: routingProfileState,
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_routing_profiles = oci.generativeai.get_routing_profiles(compartment_id=compartment_id,
        display_name=routing_profile_display_name,
        id=routing_profile_id,
        state=routing_profile_state)
    
    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.GetRoutingProfiles(ctx, &generativeai.GetRoutingProfilesArgs{
    			CompartmentId: compartmentId,
    			DisplayName:   pulumi.StringRef(routingProfileDisplayName),
    			Id:            pulumi.StringRef(routingProfileId),
    			State:         pulumi.StringRef(routingProfileState),
    		}, 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 testRoutingProfiles = Oci.GenerativeAi.GetRoutingProfiles.Invoke(new()
        {
            CompartmentId = compartmentId,
            DisplayName = routingProfileDisplayName,
            Id = routingProfileId,
            State = routingProfileState,
        });
    
    });
    
    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.GetRoutingProfilesArgs;
    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 testRoutingProfiles = GenerativeAiFunctions.getRoutingProfiles(GetRoutingProfilesArgs.builder()
                .compartmentId(compartmentId)
                .displayName(routingProfileDisplayName)
                .id(routingProfileId)
                .state(routingProfileState)
                .build());
    
        }
    }
    
    variables:
      testRoutingProfiles:
        fn::invoke:
          function: oci:GenerativeAi:getRoutingProfiles
          arguments:
            compartmentId: ${compartmentId}
            displayName: ${routingProfileDisplayName}
            id: ${routingProfileId}
            state: ${routingProfileState}
    
    pulumi {
      required_providers {
        oci = {
          source = "pulumi/oci"
        }
      }
    }
    
    data "oci_generativeai_getroutingprofiles" "testRoutingProfiles" {
      compartment_id = compartmentId
      display_name   = routingProfileDisplayName
      id             = routingProfileId
      state          = routingProfileState
    }
    

    Using getRoutingProfiles

    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 getRoutingProfiles(args: GetRoutingProfilesArgs, opts?: InvokeOptions): Promise<GetRoutingProfilesResult>
    function getRoutingProfilesOutput(args: GetRoutingProfilesOutputArgs, opts?: InvokeOutputOptions): Output<GetRoutingProfilesResult>
    def get_routing_profiles(compartment_id: Optional[str] = None,
                             display_name: Optional[str] = None,
                             filters: Optional[Sequence[GetRoutingProfilesFilter]] = None,
                             id: Optional[str] = None,
                             state: Optional[str] = None,
                             opts: Optional[InvokeOptions] = None) -> GetRoutingProfilesResult
    def get_routing_profiles_output(compartment_id: pulumi.Input[Optional[str]] = None,
                             display_name: pulumi.Input[Optional[str]] = None,
                             filters: pulumi.Input[Optional[Sequence[pulumi.Input[GetRoutingProfilesFilterArgs]]]] = None,
                             id: pulumi.Input[Optional[str]] = None,
                             state: pulumi.Input[Optional[str]] = None,
                             opts: Optional[InvokeOutputOptions] = None) -> Output[GetRoutingProfilesResult]
    func GetRoutingProfiles(ctx *Context, args *GetRoutingProfilesArgs, opts ...InvokeOption) (*GetRoutingProfilesResult, error)
    func GetRoutingProfilesOutput(ctx *Context, args *GetRoutingProfilesOutputArgs, opts ...InvokeOption) GetRoutingProfilesResultOutput

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

    public static class GetRoutingProfiles 
    {
        public static Task<GetRoutingProfilesResult> InvokeAsync(GetRoutingProfilesArgs args, InvokeOptions? opts = null)
        public static Output<GetRoutingProfilesResult> Invoke(GetRoutingProfilesInvokeArgs args, InvokeOptions? opts = null)
        public static Output<GetRoutingProfilesResult> Invoke(GetRoutingProfilesInvokeArgs args, InvokeOutputOptions opts)
    }
    public static CompletableFuture<GetRoutingProfilesResult> getRoutingProfiles(GetRoutingProfilesArgs args, InvokeOptions options)
    public static Output<GetRoutingProfilesResult> getRoutingProfiles(GetRoutingProfilesArgs args, InvokeOptions options)
    public static Output<GetRoutingProfilesResult> getRoutingProfiles(GetRoutingProfilesArgs args, InvokeOutputOptions options)
    
    fn::invoke:
      function: oci:GenerativeAi/getRoutingProfiles:getRoutingProfiles
      arguments:
        # arguments dictionary
    data "oci_generative_ai_get_routing_profiles" "name" {
        # arguments
    }

    The following arguments are supported:

    CompartmentId string
    The OCID of the compartment in which to list resources.
    DisplayName string
    A filter to return only resources that match the given display name exactly.
    Filters List<GetRoutingProfilesFilter>
    Id string
    The OCID of the routing profile.
    State string
    A filter to return only resources whose lifecycle state matches the given value.
    CompartmentId string
    The OCID of the compartment in which to list resources.
    DisplayName string
    A filter to return only resources that match the given display name exactly.
    Filters []GetRoutingProfilesFilter
    Id string
    The OCID of the routing profile.
    State string
    A filter to return only resources whose lifecycle state matches the given value.
    compartment_id string
    The OCID of the compartment in which to list resources.
    display_name string
    A filter to return only resources that match the given display name exactly.
    filters list(object)
    id string
    The OCID of the routing profile.
    state string
    A filter to return only resources whose lifecycle state matches the given value.
    compartmentId String
    The OCID of the compartment in which to list resources.
    displayName String
    A filter to return only resources that match the given display name exactly.
    filters List<GetRoutingProfilesFilter>
    id String
    The OCID of the routing profile.
    state String
    A filter to return only resources whose lifecycle state matches the given value.
    compartmentId string
    The OCID of the compartment in which to list resources.
    displayName string
    A filter to return only resources that match the given display name exactly.
    filters GetRoutingProfilesFilter[]
    id string
    The OCID of the routing profile.
    state string
    A filter to return only resources whose lifecycle state matches the given value.
    compartment_id str
    The OCID of the compartment in which to list resources.
    display_name str
    A filter to return only resources that match the given display name exactly.
    filters Sequence[GetRoutingProfilesFilter]
    id str
    The OCID of the routing profile.
    state str
    A filter to return only resources whose lifecycle state matches the given value.
    compartmentId String
    The OCID of the compartment in which to list resources.
    displayName String
    A filter to return only resources that match the given display name exactly.
    filters List<Property Map>
    id String
    The OCID of the routing profile.
    state String
    A filter to return only resources whose lifecycle state matches the given value.

    getRoutingProfiles Result

    The following output properties are available:

    CompartmentId string
    The OCID of the compartment in which the routing profile lives.
    RoutingProfileCollections List<GetRoutingProfilesRoutingProfileCollection>
    The list of routing_profile_collection.
    DisplayName string
    A user-friendly name. Does not have to be unique, and it's changeable.
    Filters List<GetRoutingProfilesFilter>
    Id string
    An OCID that uniquely identifies this routing profile resource.
    State string
    The current state of the routing profile.
    CompartmentId string
    The OCID of the compartment in which the routing profile lives.
    RoutingProfileCollections []GetRoutingProfilesRoutingProfileCollection
    The list of routing_profile_collection.
    DisplayName string
    A user-friendly name. Does not have to be unique, and it's changeable.
    Filters []GetRoutingProfilesFilter
    Id string
    An OCID that uniquely identifies this routing profile resource.
    State string
    The current state of the routing profile.
    compartment_id string
    The OCID of the compartment in which the routing profile lives.
    routing_profile_collections list(object)
    The list of routing_profile_collection.
    display_name string
    A user-friendly name. Does not have to be unique, and it's changeable.
    filters list(object)
    id string
    An OCID that uniquely identifies this routing profile resource.
    state string
    The current state of the routing profile.
    compartmentId String
    The OCID of the compartment in which the routing profile lives.
    routingProfileCollections List<GetRoutingProfilesRoutingProfileCollection>
    The list of routing_profile_collection.
    displayName String
    A user-friendly name. Does not have to be unique, and it's changeable.
    filters List<GetRoutingProfilesFilter>
    id String
    An OCID that uniquely identifies this routing profile resource.
    state String
    The current state of the routing profile.
    compartmentId string
    The OCID of the compartment in which the routing profile lives.
    routingProfileCollections GetRoutingProfilesRoutingProfileCollection[]
    The list of routing_profile_collection.
    displayName string
    A user-friendly name. Does not have to be unique, and it's changeable.
    filters GetRoutingProfilesFilter[]
    id string
    An OCID that uniquely identifies this routing profile resource.
    state string
    The current state of the routing profile.
    compartment_id str
    The OCID of the compartment in which the routing profile lives.
    routing_profile_collections Sequence[GetRoutingProfilesRoutingProfileCollection]
    The list of routing_profile_collection.
    display_name str
    A user-friendly name. Does not have to be unique, and it's changeable.
    filters Sequence[GetRoutingProfilesFilter]
    id str
    An OCID that uniquely identifies this routing profile resource.
    state str
    The current state of the routing profile.
    compartmentId String
    The OCID of the compartment in which the routing profile lives.
    routingProfileCollections List<Property Map>
    The list of routing_profile_collection.
    displayName String
    A user-friendly name. Does not have to be unique, and it's changeable.
    filters List<Property Map>
    id String
    An OCID that uniquely identifies this routing profile resource.
    state String
    The current state of the routing profile.

    Supporting Types

    GetRoutingProfilesFilter

    Name string
    Values List<string>
    Regex bool
    Name string
    Values []string
    Regex bool
    name string
    values list(string)
    regex bool
    name String
    values List<String>
    regex Boolean
    name string
    values string[]
    regex boolean
    name str
    values Sequence[str]
    regex bool
    name String
    values List<String>
    regex Boolean

    GetRoutingProfilesRoutingProfileCollection

    GetRoutingProfilesRoutingProfileCollectionItem

    CompartmentId string
    The OCID of the compartment in which to list resources.
    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 filter to return only resources that match the given display name exactly.
    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
    The OCID of the routing profile.
    LifecycleDetails string
    A message describing the current state of the routing profile in more detail that can provide actionable information.
    ModelRoutingPolicies List<GetRoutingProfilesRoutingProfileCollectionItemModelRoutingPolicy>
    The model routing policy for the routing profile. Routing candidates are selected from the allowed models list.
    PreviousStates List<GetRoutingProfilesRoutingProfileCollectionItemPreviousState>
    A bounded snapshot of the previous state of a routing profile. This object intentionally omits previousState to avoid recursive nesting.
    RegionRoutingPolicies List<GetRoutingProfilesRoutingProfileCollectionItemRegionRoutingPolicy>
    The cross-region routing policy for the routing profile. If this policy is not specified, only the local region is allowed.
    State string
    A filter to return only resources whose lifecycle state matches the given value.
    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 to list resources.
    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 filter to return only resources that match the given display name exactly.
    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
    The OCID of the routing profile.
    LifecycleDetails string
    A message describing the current state of the routing profile in more detail that can provide actionable information.
    ModelRoutingPolicies []GetRoutingProfilesRoutingProfileCollectionItemModelRoutingPolicy
    The model routing policy for the routing profile. Routing candidates are selected from the allowed models list.
    PreviousStates []GetRoutingProfilesRoutingProfileCollectionItemPreviousState
    A bounded snapshot of the previous state of a routing profile. This object intentionally omits previousState to avoid recursive nesting.
    RegionRoutingPolicies []GetRoutingProfilesRoutingProfileCollectionItemRegionRoutingPolicy
    The cross-region routing policy for the routing profile. If this policy is not specified, only the local region is allowed.
    State string
    A filter to return only resources whose lifecycle state matches the given value.
    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 to list resources.
    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 filter to return only resources that match the given display name exactly.
    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
    The OCID of the routing profile.
    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.
    state string
    A filter to return only resources whose lifecycle state matches the given value.
    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 to list resources.
    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 filter to return only resources that match the given display name exactly.
    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
    The OCID of the routing profile.
    lifecycleDetails String
    A message describing the current state of the routing profile in more detail that can provide actionable information.
    modelRoutingPolicies List<GetRoutingProfilesRoutingProfileCollectionItemModelRoutingPolicy>
    The model routing policy for the routing profile. Routing candidates are selected from the allowed models list.
    previousStates List<GetRoutingProfilesRoutingProfileCollectionItemPreviousState>
    A bounded snapshot of the previous state of a routing profile. This object intentionally omits previousState to avoid recursive nesting.
    regionRoutingPolicies List<GetRoutingProfilesRoutingProfileCollectionItemRegionRoutingPolicy>
    The cross-region routing policy for the routing profile. If this policy is not specified, only the local region is allowed.
    state String
    A filter to return only resources whose lifecycle state matches the given value.
    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 to list resources.
    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 filter to return only resources that match the given display name exactly.
    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
    The OCID of the routing profile.
    lifecycleDetails string
    A message describing the current state of the routing profile in more detail that can provide actionable information.
    modelRoutingPolicies GetRoutingProfilesRoutingProfileCollectionItemModelRoutingPolicy[]
    The model routing policy for the routing profile. Routing candidates are selected from the allowed models list.
    previousStates GetRoutingProfilesRoutingProfileCollectionItemPreviousState[]
    A bounded snapshot of the previous state of a routing profile. This object intentionally omits previousState to avoid recursive nesting.
    regionRoutingPolicies GetRoutingProfilesRoutingProfileCollectionItemRegionRoutingPolicy[]
    The cross-region routing policy for the routing profile. If this policy is not specified, only the local region is allowed.
    state string
    A filter to return only resources whose lifecycle state matches the given value.
    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 to list resources.
    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 filter to return only resources that match the given display name exactly.
    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
    The OCID of the routing profile.
    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[GetRoutingProfilesRoutingProfileCollectionItemModelRoutingPolicy]
    The model routing policy for the routing profile. Routing candidates are selected from the allowed models list.
    previous_states Sequence[GetRoutingProfilesRoutingProfileCollectionItemPreviousState]
    A bounded snapshot of the previous state of a routing profile. This object intentionally omits previousState to avoid recursive nesting.
    region_routing_policies Sequence[GetRoutingProfilesRoutingProfileCollectionItemRegionRoutingPolicy]
    The cross-region routing policy for the routing profile. If this policy is not specified, only the local region is allowed.
    state str
    A filter to return only resources whose lifecycle state matches the given value.
    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 to list resources.
    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 filter to return only resources that match the given display name exactly.
    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
    The OCID of the routing profile.
    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.
    state String
    A filter to return only resources whose lifecycle state matches the given value.
    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.

    GetRoutingProfilesRoutingProfileCollectionItemModelRoutingPolicy

    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).

    GetRoutingProfilesRoutingProfileCollectionItemPreviousState

    CompartmentId string
    The OCID of the compartment in which to list resources.
    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 filter to return only resources that match the given display name exactly.
    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
    The OCID of the routing profile.
    LifecycleDetails string
    A message describing the current state of the routing profile in more detail that can provide actionable information.
    ModelRoutingPolicies List<GetRoutingProfilesRoutingProfileCollectionItemPreviousStateModelRoutingPolicy>
    The model routing policy for the routing profile. Routing candidates are selected from the allowed models list.
    RegionRoutingPolicies List<GetRoutingProfilesRoutingProfileCollectionItemPreviousStateRegionRoutingPolicy>
    The cross-region routing policy for the routing profile. If this policy is not specified, only the local region is allowed.
    State string
    A filter to return only resources whose lifecycle state matches the given value.
    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 to list resources.
    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 filter to return only resources that match the given display name exactly.
    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
    The OCID of the routing profile.
    LifecycleDetails string
    A message describing the current state of the routing profile in more detail that can provide actionable information.
    ModelRoutingPolicies []GetRoutingProfilesRoutingProfileCollectionItemPreviousStateModelRoutingPolicy
    The model routing policy for the routing profile. Routing candidates are selected from the allowed models list.
    RegionRoutingPolicies []GetRoutingProfilesRoutingProfileCollectionItemPreviousStateRegionRoutingPolicy
    The cross-region routing policy for the routing profile. If this policy is not specified, only the local region is allowed.
    State string
    A filter to return only resources whose lifecycle state matches the given value.
    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 to list resources.
    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 filter to return only resources that match the given display name exactly.
    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
    The OCID of the routing profile.
    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
    A filter to return only resources whose lifecycle state matches the given value.
    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 to list resources.
    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 filter to return only resources that match the given display name exactly.
    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
    The OCID of the routing profile.
    lifecycleDetails String
    A message describing the current state of the routing profile in more detail that can provide actionable information.
    modelRoutingPolicies List<GetRoutingProfilesRoutingProfileCollectionItemPreviousStateModelRoutingPolicy>
    The model routing policy for the routing profile. Routing candidates are selected from the allowed models list.
    regionRoutingPolicies List<GetRoutingProfilesRoutingProfileCollectionItemPreviousStateRegionRoutingPolicy>
    The cross-region routing policy for the routing profile. If this policy is not specified, only the local region is allowed.
    state String
    A filter to return only resources whose lifecycle state matches the given value.
    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 to list resources.
    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 filter to return only resources that match the given display name exactly.
    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
    The OCID of the routing profile.
    lifecycleDetails string
    A message describing the current state of the routing profile in more detail that can provide actionable information.
    modelRoutingPolicies GetRoutingProfilesRoutingProfileCollectionItemPreviousStateModelRoutingPolicy[]
    The model routing policy for the routing profile. Routing candidates are selected from the allowed models list.
    regionRoutingPolicies GetRoutingProfilesRoutingProfileCollectionItemPreviousStateRegionRoutingPolicy[]
    The cross-region routing policy for the routing profile. If this policy is not specified, only the local region is allowed.
    state string
    A filter to return only resources whose lifecycle state matches the given value.
    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 to list resources.
    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 filter to return only resources that match the given display name exactly.
    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
    The OCID of the routing profile.
    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[GetRoutingProfilesRoutingProfileCollectionItemPreviousStateModelRoutingPolicy]
    The model routing policy for the routing profile. Routing candidates are selected from the allowed models list.
    region_routing_policies Sequence[GetRoutingProfilesRoutingProfileCollectionItemPreviousStateRegionRoutingPolicy]
    The cross-region routing policy for the routing profile. If this policy is not specified, only the local region is allowed.
    state str
    A filter to return only resources whose lifecycle state matches the given value.
    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 to list resources.
    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 filter to return only resources that match the given display name exactly.
    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
    The OCID of the routing profile.
    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
    A filter to return only resources whose lifecycle state matches the given value.
    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.

    GetRoutingProfilesRoutingProfileCollectionItemPreviousStateModelRoutingPolicy

    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).

    GetRoutingProfilesRoutingProfileCollectionItemPreviousStateRegionRoutingPolicy

    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).

    GetRoutingProfilesRoutingProfileCollectionItemRegionRoutingPolicy

    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