CreateEndpointDetails

class oci.ai_language.models.CreateEndpointDetails(**kwargs)

Bases: object

The 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

compartment_id [Required] Gets the compartment_id of this CreateEndpointDetails.
defined_tags Gets the defined_tags of this CreateEndpointDetails.
description Gets the description of this CreateEndpointDetails.
display_name Gets the display_name of this CreateEndpointDetails.
freeform_tags Gets the freeform_tags of this CreateEndpointDetails.
inference_units Gets the inference_units of this CreateEndpointDetails.
model_id [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.
  • 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.
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
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))
description

Gets the description of this CreateEndpointDetails. A short description of the an endpoint.

Returns:The description of this CreateEndpointDetails.
Return type:str
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
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)
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
model_id

[Required] Gets the model_id of this CreateEndpointDetails. The OCID of the model to associate with the endpoint.

Returns:The model_id of this CreateEndpointDetails.
Return type:str