-
Notifications
You must be signed in to change notification settings - Fork 4.5k
/
EdgeClusterMemoryCapacity.cs
60 lines (55 loc) · 3.71 KB
/
EdgeClusterMemoryCapacity.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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
namespace Azure.ResourceManager.DataBoxEdge.Models
{
/// <summary> NodeCapacityInfo defines the required information to determine the placement of a VM. </summary>
public partial class EdgeClusterMemoryCapacity
{
/// <summary> Initializes a new instance of EdgeClusterMemoryCapacity. </summary>
public EdgeClusterMemoryCapacity()
{
}
/// <summary> Initializes a new instance of EdgeClusterMemoryCapacity. </summary>
/// <param name="clusterFreeMemoryInMB"> The free memory in the cluster in MB. </param>
/// <param name="clusterUsedMemoryInMB"> The used memory in the cluster in MB. </param>
/// <param name="clusterFailoverMemoryInMB"> The failover memory in the cluster in MB. </param>
/// <param name="clusterFragmentationMemoryInMB"> The fragmentation memory in the cluster in MB. </param>
/// <param name="clusterHyperVReserveMemoryMb"> The memory reserved for Hyper-V in the cluster in MB. </param>
/// <param name="clusterInfraVmMemoryInMB"> The memory of the Infra VM in the cluster in MB. </param>
/// <param name="clusterTotalMemoryInMB"> The total memory in the cluster in MB. </param>
/// <param name="clusterNonFailoverVmInMB"> The non-failover memory in the cluster in MB. </param>
/// <param name="clusterMemoryUsedByVmsInMB"> The memory used by VMs in the cluster in MB. </param>
internal EdgeClusterMemoryCapacity(double? clusterFreeMemoryInMB, double? clusterUsedMemoryInMB, double? clusterFailoverMemoryInMB, double? clusterFragmentationMemoryInMB, double? clusterHyperVReserveMemoryMb, double? clusterInfraVmMemoryInMB, double? clusterTotalMemoryInMB, double? clusterNonFailoverVmInMB, double? clusterMemoryUsedByVmsInMB)
{
ClusterFreeMemoryInMB = clusterFreeMemoryInMB;
ClusterUsedMemoryInMB = clusterUsedMemoryInMB;
ClusterFailoverMemoryInMB = clusterFailoverMemoryInMB;
ClusterFragmentationMemoryInMB = clusterFragmentationMemoryInMB;
ClusterHyperVReserveMemoryMb = clusterHyperVReserveMemoryMb;
ClusterInfraVmMemoryInMB = clusterInfraVmMemoryInMB;
ClusterTotalMemoryInMB = clusterTotalMemoryInMB;
ClusterNonFailoverVmInMB = clusterNonFailoverVmInMB;
ClusterMemoryUsedByVmsInMB = clusterMemoryUsedByVmsInMB;
}
/// <summary> The free memory in the cluster in MB. </summary>
public double? ClusterFreeMemoryInMB { get; set; }
/// <summary> The used memory in the cluster in MB. </summary>
public double? ClusterUsedMemoryInMB { get; set; }
/// <summary> The failover memory in the cluster in MB. </summary>
public double? ClusterFailoverMemoryInMB { get; set; }
/// <summary> The fragmentation memory in the cluster in MB. </summary>
public double? ClusterFragmentationMemoryInMB { get; set; }
/// <summary> The memory reserved for Hyper-V in the cluster in MB. </summary>
public double? ClusterHyperVReserveMemoryMb { get; set; }
/// <summary> The memory of the Infra VM in the cluster in MB. </summary>
public double? ClusterInfraVmMemoryInMB { get; set; }
/// <summary> The total memory in the cluster in MB. </summary>
public double? ClusterTotalMemoryInMB { get; set; }
/// <summary> The non-failover memory in the cluster in MB. </summary>
public double? ClusterNonFailoverVmInMB { get; set; }
/// <summary> The memory used by VMs in the cluster in MB. </summary>
public double? ClusterMemoryUsedByVmsInMB { get; set; }
}
}