Show / Hide Table of Contents

Class CreateEndpointDetails

The information needed to create a new endpoint and expose to end users.

Inheritance
object
CreateEndpointDetails
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Oci.AilanguageService.Models
Assembly: OCI.DotNetSDK.Ailanguage.dll
Syntax
public class CreateEndpointDetails

Properties

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

ComputeType

Declaration
[JsonProperty(PropertyName = "computeType")]
[JsonConverter(typeof(StringEnumConverter))]
public CreateEndpointDetails.ComputeTypeEnum? ComputeType { get; set; }
Property Value
Type Description
CreateEndpointDetails.ComputeTypeEnum?

Compute infra type for endpoint.

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

In this article
Back to top