Class OcirModelDeploymentEnvironmentConfigurationDetails
The environment configuration details object for OCI Registry
Inheritance
Inherited Members
Namespace: Oci.DatascienceService.Models
Assembly: OCI.DotNetSDK.Datascience.dll
Syntax
public class OcirModelDeploymentEnvironmentConfigurationDetails : ModelDeploymentEnvironmentConfigurationDetails
Properties
Cmd
Declaration
[JsonProperty(PropertyName = "cmd")]
public List<string> Cmd { get; set; }
Property Value
Type | Description |
---|---|
List<string> | The container image run CMD as a list of strings.
Use |
Entrypoint
Declaration
[JsonProperty(PropertyName = "entrypoint")]
public List<string> Entrypoint { get; set; }
Property Value
Type | Description |
---|---|
List<string> | The container image run ENTRYPOINT as a list of strings.
Accept the |
EnvironmentVariables
Declaration
[JsonProperty(PropertyName = "environmentVariables")]
public Dictionary<string, string> EnvironmentVariables { get; set; }
Property Value
Type | Description |
---|---|
Dictionary<string, string> | Environment variables to set for the web server container.
The size of envVars must be less than 2048 bytes.
Key should be under 32 characters.
Key should contain only letters, digits and underscore (_)
Key should start with a letter.
Key should have at least 2 characters.
Key should not end with underscore eg. |
HealthCheckPort
Declaration
[JsonProperty(PropertyName = "healthCheckPort")]
public int? HealthCheckPort { get; set; }
Property Value
Type | Description |
---|---|
int? | The port on which the container HEALTHCHECK would listen.
The port can be anything between |
Image
Declaration
[Required(ErrorMessage = "Image is required.")]
[JsonProperty(PropertyName = "image")]
public string Image { get; set; }
Property Value
Type | Description |
---|---|
string |
ImageDigest
Declaration
[JsonProperty(PropertyName = "imageDigest")]
public string ImageDigest { get; set; }
Property Value
Type | Description |
---|---|
string | The digest of the container image. For example,
|
ServerPort
Declaration
[JsonProperty(PropertyName = "serverPort")]
public int? ServerPort { get; set; }
Property Value
Type | Description |
---|---|
int? | The port on which the web server serving the inference is running.
The port can be anything between |