CreateRoutingProfileDetails¶
- class oci.generative_ai.models.CreateRoutingProfileDetails(**kwargs)¶
Bases:
objectThe data to create a routing profile.
Methods:
__init__(**kwargs)Initializes a new CreateRoutingProfileDetails object with values from keyword arguments.
Attributes:
[Required] Gets the compartment_id of this CreateRoutingProfileDetails.
Gets the defined_tags of this CreateRoutingProfileDetails.
Gets the description of this CreateRoutingProfileDetails.
[Required] Gets the display_name of this CreateRoutingProfileDetails.
Gets the freeform_tags of this CreateRoutingProfileDetails.
Gets the model_routing_policy of this CreateRoutingProfileDetails.
Gets the region_routing_policy of this CreateRoutingProfileDetails.
- __init__(**kwargs)¶
Initializes a new CreateRoutingProfileDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
display_name (str) – The value to assign to the display_name property of this CreateRoutingProfileDetails.
description (str) – The value to assign to the description property of this CreateRoutingProfileDetails.
compartment_id (str) – The value to assign to the compartment_id property of this CreateRoutingProfileDetails.
region_routing_policy (oci.generative_ai.models.RegionRoutingPolicy) – The value to assign to the region_routing_policy property of this CreateRoutingProfileDetails.
model_routing_policy (oci.generative_ai.models.ModelRoutingPolicy) – The value to assign to the model_routing_policy property of this CreateRoutingProfileDetails.
freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this CreateRoutingProfileDetails.
defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this CreateRoutingProfileDetails.
- property compartment_id¶
[Required] Gets the compartment_id of this CreateRoutingProfileDetails. The OCID of the compartment in which to create the routing profile.
- Returns
The compartment_id of this CreateRoutingProfileDetails.
- Return type
str
- property defined_tags¶
Gets the defined_tags of this CreateRoutingProfileDetails. Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
Example: {“Operations”: {“CostCenter”: “42”}}
- Returns
The defined_tags of this CreateRoutingProfileDetails.
- Return type
dict(str, dict(str, object))
- property description¶
Gets the description of this CreateRoutingProfileDetails. An optional description of the routing profile.
- Returns
The description of this CreateRoutingProfileDetails.
- Return type
str
- property display_name¶
[Required] Gets the display_name of this CreateRoutingProfileDetails. A user-friendly name. Does not have to be unique, and it’s changeable.
- Returns
The display_name of this CreateRoutingProfileDetails.
- Return type
str
- property freeform_tags¶
Gets the freeform_tags of this CreateRoutingProfileDetails. 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”}
- Returns
The freeform_tags of this CreateRoutingProfileDetails.
- Return type
dict(str, str)
- property model_routing_policy¶
Gets the model_routing_policy of this CreateRoutingProfileDetails.
- Returns
The model_routing_policy of this CreateRoutingProfileDetails.
- Return type
- property region_routing_policy¶
Gets the region_routing_policy of this CreateRoutingProfileDetails.
- Returns
The region_routing_policy of this CreateRoutingProfileDetails.
- Return type