-
Notifications
You must be signed in to change notification settings - Fork 4.6k
/
EdgeClusterGpuCapacity.cs
44 lines (39 loc) · 2.06 KB
/
EdgeClusterGpuCapacity.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.DataBoxEdge.Models
{
/// <summary> Cluster GPU Data. </summary>
public partial class EdgeClusterGpuCapacity
{
/// <summary> Initializes a new instance of EdgeClusterGpuCapacity. </summary>
public EdgeClusterGpuCapacity()
{
}
/// <summary> Initializes a new instance of EdgeClusterGpuCapacity. </summary>
/// <param name="gpuType"> The cluster GPU Type. </param>
/// <param name="gpuUsedUnitsCount"> The used GPU units count in the cluster. </param>
/// <param name="gpuFreeUnitsCount"> The free GPU units count in the cluster. </param>
/// <param name="gpuReservedForFailoverUnitsCount"> The GPU units count reserved for failover in the cluster. </param>
/// <param name="gpuTotalUnitsCount"> The total GPU units count in the cluster. </param>
internal EdgeClusterGpuCapacity(string gpuType, int? gpuUsedUnitsCount, int? gpuFreeUnitsCount, int? gpuReservedForFailoverUnitsCount, int? gpuTotalUnitsCount)
{
GpuType = gpuType;
GpuUsedUnitsCount = gpuUsedUnitsCount;
GpuFreeUnitsCount = gpuFreeUnitsCount;
GpuReservedForFailoverUnitsCount = gpuReservedForFailoverUnitsCount;
GpuTotalUnitsCount = gpuTotalUnitsCount;
}
/// <summary> The cluster GPU Type. </summary>
public string GpuType { get; set; }
/// <summary> The used GPU units count in the cluster. </summary>
public int? GpuUsedUnitsCount { get; set; }
/// <summary> The free GPU units count in the cluster. </summary>
public int? GpuFreeUnitsCount { get; set; }
/// <summary> The GPU units count reserved for failover in the cluster. </summary>
public int? GpuReservedForFailoverUnitsCount { get; set; }
/// <summary> The total GPU units count in the cluster. </summary>
public int? GpuTotalUnitsCount { get; set; }
}
}