Class JobExecProbeDetails
Runs a command in the job run to check whether application is healthy or not.
Inherited Members
Namespace: Oci.DatascienceService.Models
Assembly: OCI.DotNetSDK.Datascience.dll
Syntax
public class JobExecProbeDetails : JobProbeDetails
Properties
Command
Declaration
[Required(ErrorMessage = "Command is required.")]
[JsonProperty(PropertyName = "command")]
public List<string> Command { get; set; }
Property Value
Type | Description |
---|---|
List<string> | The commands to run in the target job run to perform the startup probe |
Remarks
Required
FailureThreshold
Declaration
[JsonProperty(PropertyName = "failureThreshold")]
public int? FailureThreshold { get; set; }
Property Value
Type | Description |
---|---|
int? | How many times the job will try before giving up when a probe fails. |
InitialDelayInSeconds
Declaration
[JsonProperty(PropertyName = "initialDelayInSeconds")]
public int? InitialDelayInSeconds { get; set; }
Property Value
Type | Description |
---|---|
int? | Number of seconds after the job run has started before a startup probe is initiated. |
PeriodInSeconds
Declaration
[JsonProperty(PropertyName = "periodInSeconds")]
public int? PeriodInSeconds { get; set; }
Property Value
Type | Description |
---|---|
int? | Number of seconds how often the job run should perform a startup probe |