EndpointSummary¶
-
class
oci.ai_language.models.
EndpointSummary
(**kwargs)¶ Bases:
object
Summary of the language endpoint.
Attributes
COMPUTE_TYPE_CPU
A constant which can be used with the compute_type property of a EndpointSummary. COMPUTE_TYPE_GPU
A constant which can be used with the compute_type property of a EndpointSummary. alias
Gets the alias of this EndpointSummary. compartment_id
[Required] Gets the compartment_id of this EndpointSummary. compute_type
Gets the compute_type of this EndpointSummary. defined_tags
Gets the defined_tags of this EndpointSummary. description
Gets the description of this EndpointSummary. display_name
[Required] Gets the display_name of this EndpointSummary. freeform_tags
Gets the freeform_tags of this EndpointSummary. id
[Required] Gets the id of this EndpointSummary. inference_units
Gets the inference_units of this EndpointSummary. lifecycle_details
Gets the lifecycle_details of this EndpointSummary. lifecycle_state
[Required] Gets the lifecycle_state of this EndpointSummary. model_id
[Required] Gets the model_id of this EndpointSummary. project_id
[Required] Gets the project_id of this EndpointSummary. system_tags
Gets the system_tags of this EndpointSummary. time_created
[Required] Gets the time_created of this EndpointSummary. Methods
__init__
(**kwargs)Initializes a new EndpointSummary object with values from keyword arguments. -
COMPUTE_TYPE_CPU
= 'CPU'¶ A constant which can be used with the compute_type property of a EndpointSummary. This constant has a value of “CPU”
-
COMPUTE_TYPE_GPU
= 'GPU'¶ A constant which can be used with the compute_type property of a EndpointSummary. This constant has a value of “GPU”
-
__init__
(**kwargs)¶ Initializes a new EndpointSummary object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - id (str) – The value to assign to the id property of this EndpointSummary.
- alias (str) – The value to assign to the alias property of this EndpointSummary.
- compute_type (str) – The value to assign to the compute_type property of this EndpointSummary. Allowed values for this property are: “CPU”, “GPU”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- display_name (str) – The value to assign to the display_name property of this EndpointSummary.
- compartment_id (str) – The value to assign to the compartment_id property of this EndpointSummary.
- project_id (str) – The value to assign to the project_id property of this EndpointSummary.
- description (str) – The value to assign to the description property of this EndpointSummary.
- time_created (datetime) – The value to assign to the time_created property of this EndpointSummary.
- lifecycle_state (str) – The value to assign to the lifecycle_state property of this EndpointSummary.
- lifecycle_details (str) – The value to assign to the lifecycle_details property of this EndpointSummary.
- inference_units (int) – The value to assign to the inference_units property of this EndpointSummary.
- model_id (str) – The value to assign to the model_id property of this EndpointSummary.
- freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this EndpointSummary.
- defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this EndpointSummary.
- system_tags (dict(str, dict(str, object))) – The value to assign to the system_tags property of this EndpointSummary.
-
alias
¶ Gets the alias of this EndpointSummary. Unique name across user tenancy in a region to identify an endpoint to be used for inferencing.
Returns: The alias of this EndpointSummary. Return type: str
-
compartment_id
¶ [Required] Gets the compartment_id of this EndpointSummary. The OCID for the Endpoint compartment.
Returns: The compartment_id of this EndpointSummary. Return type: str
-
compute_type
¶ Gets the compute_type of this EndpointSummary. Compute infra type for endpoint.
Allowed values for this property are: “CPU”, “GPU”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The compute_type of this EndpointSummary. Return type: str
Gets the defined_tags of this EndpointSummary. 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 EndpointSummary. Return type: dict(str, dict(str, object))
-
description
¶ Gets the description of this EndpointSummary. A short description of the endpoint.
Returns: The description of this EndpointSummary. Return type: str
-
display_name
¶ [Required] Gets the display_name of this EndpointSummary. 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 EndpointSummary. Return type: str
Gets the freeform_tags of this EndpointSummary. 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 EndpointSummary. Return type: dict(str, str)
-
id
¶ [Required] Gets the id of this EndpointSummary. Unique identifier endpoint OCID of an endpoint that is immutable on creation.
Returns: The id of this EndpointSummary. Return type: str
-
inference_units
¶ Gets the inference_units of this EndpointSummary. Number of replicas required for this endpoint. This will be optional parameter. Default will be 1.
Returns: The inference_units of this EndpointSummary. Return type: int
-
lifecycle_details
¶ Gets the lifecycle_details of this EndpointSummary. A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in failed state.
Returns: The lifecycle_details of this EndpointSummary. Return type: str
-
lifecycle_state
¶ [Required] Gets the lifecycle_state of this EndpointSummary. The state of the endpoint.
Returns: The lifecycle_state of this EndpointSummary. Return type: str
-
model_id
¶ [Required] Gets the model_id of this EndpointSummary. The OCID of the model to associate with the endpoint.
Returns: The model_id of this EndpointSummary. Return type: str
-
project_id
¶ [Required] Gets the project_id of this EndpointSummary. The OCID of the project to associate with the endpoint.
Returns: The project_id of this EndpointSummary. Return type: str
Gets the system_tags of this EndpointSummary. Usage of system tag keys. These predefined keys are scoped to namespaces. Example: { “orcl-cloud”: { “free-tier-retained”: “true” } }
Returns: The system_tags of this EndpointSummary. Return type: dict(str, dict(str, object))
-
time_created
¶ [Required] Gets the time_created of this EndpointSummary. The time the the endpoint was created. An RFC3339 formatted datetime string.
Returns: The time_created of this EndpointSummary. Return type: datetime
-