UpdateEndpointDetails¶
-
class
oci.ai_language.models.
UpdateEndpointDetails
(**kwargs)¶ Bases:
object
The information to be updated.
Methods
__init__
(**kwargs)Initializes a new UpdateEndpointDetails object with values from keyword arguments. Attributes
alias
Gets the alias of this UpdateEndpointDetails. defined_tags
Gets the defined_tags of this UpdateEndpointDetails. description
Gets the description of this UpdateEndpointDetails. display_name
Gets the display_name of this UpdateEndpointDetails. freeform_tags
Gets the freeform_tags of this UpdateEndpointDetails. inference_units
Gets the inference_units of this UpdateEndpointDetails. model_id
Gets the model_id of this UpdateEndpointDetails. -
__init__
(**kwargs)¶ Initializes a new UpdateEndpointDetails 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 UpdateEndpointDetails.
- alias (str) – The value to assign to the alias property of this UpdateEndpointDetails.
- description (str) – The value to assign to the description property of this UpdateEndpointDetails.
- model_id (str) – The value to assign to the model_id property of this UpdateEndpointDetails.
- inference_units (int) – The value to assign to the inference_units property of this UpdateEndpointDetails.
- freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this UpdateEndpointDetails.
- defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this UpdateEndpointDetails.
-
alias
¶ Gets the alias of this UpdateEndpointDetails. Unique name across user tenancy in a region to identify an endpoint to be used for inferencing.
Returns: The alias of this UpdateEndpointDetails. Return type: str
Gets the defined_tags of this UpdateEndpointDetails. 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 UpdateEndpointDetails. Return type: dict(str, dict(str, object))
-
description
¶ Gets the description of this UpdateEndpointDetails. A short description of the endpoint.
Returns: The description of this UpdateEndpointDetails. Return type: str
-
display_name
¶ Gets the display_name of this UpdateEndpointDetails. 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 UpdateEndpointDetails. Return type: str
Gets the freeform_tags of this UpdateEndpointDetails. 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 UpdateEndpointDetails. Return type: dict(str, str)
-
inference_units
¶ Gets the inference_units of this UpdateEndpointDetails. Number of replicas required for this endpoint. This will be optional parameter.
Returns: The inference_units of this UpdateEndpointDetails. Return type: int
-