-
Notifications
You must be signed in to change notification settings - Fork 4.6k
/
MachineLearningProbeSettings.cs
46 lines (40 loc) · 2.16 KB
/
MachineLearningProbeSettings.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System;
namespace Azure.ResourceManager.MachineLearning.Models
{
/// <summary> Deployment container liveness/readiness probe configuration. </summary>
public partial class MachineLearningProbeSettings
{
/// <summary> Initializes a new instance of MachineLearningProbeSettings. </summary>
public MachineLearningProbeSettings()
{
}
/// <summary> Initializes a new instance of MachineLearningProbeSettings. </summary>
/// <param name="failureThreshold"> The number of failures to allow before returning an unhealthy status. </param>
/// <param name="initialDelay"> The delay before the first probe in ISO 8601 format. </param>
/// <param name="period"> The length of time between probes in ISO 8601 format. </param>
/// <param name="successThreshold"> The number of successful probes before returning a healthy status. </param>
/// <param name="timeout"> The probe timeout in ISO 8601 format. </param>
internal MachineLearningProbeSettings(int? failureThreshold, TimeSpan? initialDelay, TimeSpan? period, int? successThreshold, TimeSpan? timeout)
{
FailureThreshold = failureThreshold;
InitialDelay = initialDelay;
Period = period;
SuccessThreshold = successThreshold;
Timeout = timeout;
}
/// <summary> The number of failures to allow before returning an unhealthy status. </summary>
public int? FailureThreshold { get; set; }
/// <summary> The delay before the first probe in ISO 8601 format. </summary>
public TimeSpan? InitialDelay { get; set; }
/// <summary> The length of time between probes in ISO 8601 format. </summary>
public TimeSpan? Period { get; set; }
/// <summary> The number of successful probes before returning a healthy status. </summary>
public int? SuccessThreshold { get; set; }
/// <summary> The probe timeout in ISO 8601 format. </summary>
public TimeSpan? Timeout { get; set; }
}
}