Class CreateEndpointDetails
The information needed to create a new endpoint and expose to end users.
Inherited Members
Namespace: Oci.AilanguageService.Models
Assembly: OCI.DotNetSDK.Ailanguage.dll
Syntax
public class CreateEndpointDetailsProperties
Alias
Declaration
[JsonProperty(PropertyName = "alias")]
public string Alias { get; set; }Property Value
| Type | Description | 
|---|---|
| string | Unique name across user tenancy in a region to identify an endpoint to be used for inferencing. | 
CompartmentId
Declaration
[Required(ErrorMessage = "CompartmentId is required.")]
[JsonProperty(PropertyName = "compartmentId")]
public string CompartmentId { get; set; }Property Value
| Type | Description | 
|---|---|
| string | The OCID compartment identifier for the endpoint | 
Remarks
Required
DefinedTags
Declaration
[JsonProperty(PropertyName = "definedTags")]
public Dictionary<string, Dictionary<string, object>> DefinedTags { get; set; }Property Value
| Type | Description | 
|---|---|
| Dictionary<string, Dictionary<string, object>> | Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace": {"bar-key": "value"}} | 
Description
Declaration
[JsonProperty(PropertyName = "description")]
public string Description { get; set; }Property Value
| Type | Description | 
|---|---|
| string | A short description of the an endpoint. | 
DisplayName
Declaration
[JsonProperty(PropertyName = "displayName")]
public string DisplayName { get; set; }Property Value
| Type | Description | 
|---|---|
| string | A user-friendly display name for the resource. It should be unique and can be modified. Avoid entering confidential information. | 
FreeformTags
Declaration
[JsonProperty(PropertyName = "freeformTags")]
public Dictionary<string, string> FreeformTags { get; set; }Property Value
| Type | Description | 
|---|---|
| Dictionary<string, string> | Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"} | 
InferenceUnits
Declaration
[JsonProperty(PropertyName = "inferenceUnits")]
public int? InferenceUnits { get; set; }Property Value
| Type | Description | 
|---|---|
| int? | Number of replicas required for this endpoint. This will be optional parameter. Default will be 1. | 
ModelId
Declaration
[Required(ErrorMessage = "ModelId is required.")]
[JsonProperty(PropertyName = "modelId")]
public string ModelId { get; set; }Property Value
| Type | Description | 
|---|---|
| string | The OCID of the model to associate with the endpoint. | 
Remarks
Required