-
Notifications
You must be signed in to change notification settings - Fork 4.5k
/
ContainerInstanceUsage.cs
44 lines (39 loc) · 1.7 KB
/
ContainerInstanceUsage.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
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
namespace Azure.ResourceManager.ContainerInstance.Models
{
/// <summary> A single usage result. </summary>
public partial class ContainerInstanceUsage
{
/// <summary> Initializes a new instance of ContainerInstanceUsage. </summary>
internal ContainerInstanceUsage()
{
}
/// <summary> Initializes a new instance of ContainerInstanceUsage. </summary>
/// <param name="id"> Id of the usage result. </param>
/// <param name="unit"> Unit of the usage result. </param>
/// <param name="currentValue"> The current usage of the resource. </param>
/// <param name="limit"> The maximum permitted usage of the resource. </param>
/// <param name="name"> The name object of the resource. </param>
internal ContainerInstanceUsage(string id, string unit, int? currentValue, int? limit, ContainerInstanceUsageName name)
{
Id = id;
Unit = unit;
CurrentValue = currentValue;
Limit = limit;
Name = name;
}
/// <summary> Id of the usage result. </summary>
public string Id { get; }
/// <summary> Unit of the usage result. </summary>
public string Unit { get; }
/// <summary> The current usage of the resource. </summary>
public int? CurrentValue { get; }
/// <summary> The maximum permitted usage of the resource. </summary>
public int? Limit { get; }
/// <summary> The name object of the resource. </summary>
public ContainerInstanceUsageName Name { get; }
}
}