EndpointSummary¶
-
class
oci.ai_language.models.
EndpointSummary
(**kwargs)¶ Bases:
object
Summary of the language endpoint.
Methods
__init__
(**kwargs)Initializes a new EndpointSummary object with values from keyword arguments. Attributes
compartment_id
[Required] Gets the compartment_id 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. -
__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.
- 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.
-
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
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
-