CreateEndpointDetails¶
- class oci.ai_language.models.CreateEndpointDetails(**kwargs)¶
Bases:
objectThe information needed to create a new endpoint and expose to end users.
Methods:
__init__(**kwargs)Initializes a new CreateEndpointDetails object with values from keyword arguments.
Attributes:
Gets the alias of this CreateEndpointDetails.
[Required] Gets the compartment_id of this CreateEndpointDetails.
Gets the defined_tags of this CreateEndpointDetails.
Gets the description of this CreateEndpointDetails.
Gets the display_name of this CreateEndpointDetails.
Gets the freeform_tags of this CreateEndpointDetails.
Gets the inference_units of this CreateEndpointDetails.
[Required] Gets the model_id of this CreateEndpointDetails.
- __init__(**kwargs)¶
Initializes a new CreateEndpointDetails 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 CreateEndpointDetails.
alias (str) – The value to assign to the alias property of this CreateEndpointDetails.
description (str) – The value to assign to the description property of this CreateEndpointDetails.
compartment_id (str) – The value to assign to the compartment_id property of this CreateEndpointDetails.
model_id (str) – The value to assign to the model_id property of this CreateEndpointDetails.
inference_units (int) – The value to assign to the inference_units property of this CreateEndpointDetails.
freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this CreateEndpointDetails.
defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this CreateEndpointDetails.
- property alias¶
Gets the alias of this CreateEndpointDetails. Unique name across user tenancy in a region to identify an endpoint to be used for inferencing.
- Returns
The alias of this CreateEndpointDetails.
- Return type
str
- property compartment_id¶
[Required] Gets the compartment_id of this CreateEndpointDetails. The OCID compartment identifier for the endpoint
- Returns
The compartment_id of this CreateEndpointDetails.
- Return type
str
- property defined_tags¶
Gets the defined_tags of this CreateEndpointDetails. Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {“foo-namespace”: {“bar-key”: “value”}}
- Returns
The defined_tags of this CreateEndpointDetails.
- Return type
dict(str, dict(str, object))
- property description¶
Gets the description of this CreateEndpointDetails. A short description of the an endpoint.
- Returns
The description of this CreateEndpointDetails.
- Return type
str
- property display_name¶
Gets the display_name of this CreateEndpointDetails. A user-friendly display name for the resource. It should be unique and can be modified. Avoid entering confidential information.
- Returns
The display_name of this CreateEndpointDetails.
- Return type
str
- property freeform_tags¶
Gets the freeform_tags of this CreateEndpointDetails. Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {“bar-key”: “value”}
- Returns
The freeform_tags of this CreateEndpointDetails.
- Return type
dict(str, str)
- property inference_units¶
Gets the inference_units of this CreateEndpointDetails. Number of replicas required for this endpoint. This will be optional parameter. Default will be 1.
- Returns
The inference_units of this CreateEndpointDetails.
- Return type
int