-
Notifications
You must be signed in to change notification settings - Fork 4.5k
/
EdgeKubernetesRoleCompute.cs
44 lines (37 loc) · 1.56 KB
/
EdgeKubernetesRoleCompute.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
using System;
using Azure.Core;
namespace Azure.ResourceManager.DataBoxEdge.Models
{
/// <summary> Kubernetes role compute resource. </summary>
public partial class EdgeKubernetesRoleCompute
{
/// <summary> Initializes a new instance of EdgeKubernetesRoleCompute. </summary>
/// <param name="vmProfile"> VM profile. </param>
/// <exception cref="ArgumentNullException"> <paramref name="vmProfile"/> is null. </exception>
public EdgeKubernetesRoleCompute(string vmProfile)
{
Argument.AssertNotNull(vmProfile, nameof(vmProfile));
VmProfile = vmProfile;
}
/// <summary> Initializes a new instance of EdgeKubernetesRoleCompute. </summary>
/// <param name="vmProfile"> VM profile. </param>
/// <param name="memoryInBytes"> Memory in bytes. </param>
/// <param name="processorCount"> Processor count. </param>
internal EdgeKubernetesRoleCompute(string vmProfile, long? memoryInBytes, int? processorCount)
{
VmProfile = vmProfile;
MemoryInBytes = memoryInBytes;
ProcessorCount = processorCount;
}
/// <summary> VM profile. </summary>
public string VmProfile { get; set; }
/// <summary> Memory in bytes. </summary>
public long? MemoryInBytes { get; }
/// <summary> Processor count. </summary>
public int? ProcessorCount { get; }
}
}