-
Notifications
You must be signed in to change notification settings - Fork 4.5k
/
LoadBalancingSettings.cs
36 lines (31 loc) · 1.74 KB
/
LoadBalancingSettings.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
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
namespace Azure.ResourceManager.Cdn.Models
{
/// <summary> Round-Robin load balancing settings for a backend pool. </summary>
public partial class LoadBalancingSettings
{
/// <summary> Initializes a new instance of LoadBalancingSettings. </summary>
public LoadBalancingSettings()
{
}
/// <summary> Initializes a new instance of LoadBalancingSettings. </summary>
/// <param name="sampleSize"> The number of samples to consider for load balancing decisions. </param>
/// <param name="successfulSamplesRequired"> The number of samples within the sample period that must succeed. </param>
/// <param name="additionalLatencyInMilliseconds"> The additional latency in milliseconds for probes to fall into the lowest latency bucket. </param>
internal LoadBalancingSettings(int? sampleSize, int? successfulSamplesRequired, int? additionalLatencyInMilliseconds)
{
SampleSize = sampleSize;
SuccessfulSamplesRequired = successfulSamplesRequired;
AdditionalLatencyInMilliseconds = additionalLatencyInMilliseconds;
}
/// <summary> The number of samples to consider for load balancing decisions. </summary>
public int? SampleSize { get; set; }
/// <summary> The number of samples within the sample period that must succeed. </summary>
public int? SuccessfulSamplesRequired { get; set; }
/// <summary> The additional latency in milliseconds for probes to fall into the lowest latency bucket. </summary>
public int? AdditionalLatencyInMilliseconds { get; set; }
}
}