/
SiteLimits.cs
36 lines (31 loc) · 1.36 KB
/
SiteLimits.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.AppService.Models
{
/// <summary> Metric limits set on an app. </summary>
public partial class SiteLimits
{
/// <summary> Initializes a new instance of SiteLimits. </summary>
public SiteLimits()
{
}
/// <summary> Initializes a new instance of SiteLimits. </summary>
/// <param name="maxPercentageCpu"> Maximum allowed CPU usage percentage. </param>
/// <param name="maxMemoryInMb"> Maximum allowed memory usage in MB. </param>
/// <param name="maxDiskSizeInMb"> Maximum allowed disk size usage in MB. </param>
internal SiteLimits(double? maxPercentageCpu, long? maxMemoryInMb, long? maxDiskSizeInMb)
{
MaxPercentageCpu = maxPercentageCpu;
MaxMemoryInMb = maxMemoryInMb;
MaxDiskSizeInMb = maxDiskSizeInMb;
}
/// <summary> Maximum allowed CPU usage percentage. </summary>
public double? MaxPercentageCpu { get; set; }
/// <summary> Maximum allowed memory usage in MB. </summary>
public long? MaxMemoryInMb { get; set; }
/// <summary> Maximum allowed disk size usage in MB. </summary>
public long? MaxDiskSizeInMb { get; set; }
}
}