| | | 1 | | // Copyright (c) Microsoft Corporation. All rights reserved. |
| | | 2 | | // Licensed under the MIT License. |
| | | 3 | | |
| | | 4 | | // <auto-generated/> |
| | | 5 | | |
| | | 6 | | #nullable disable |
| | | 7 | | |
| | | 8 | | namespace Azure.ResourceManager.Compute.Models |
| | | 9 | | { |
| | | 10 | | /// <summary> Describes the properties of a VM size. </summary> |
| | | 11 | | public partial class VirtualMachineSize |
| | | 12 | | { |
| | | 13 | | /// <summary> Initializes a new instance of VirtualMachineSize. </summary> |
| | 0 | 14 | | internal VirtualMachineSize() |
| | | 15 | | { |
| | 0 | 16 | | } |
| | | 17 | | |
| | | 18 | | /// <summary> Initializes a new instance of VirtualMachineSize. </summary> |
| | | 19 | | /// <param name="name"> The name of the virtual machine size. </param> |
| | | 20 | | /// <param name="numberOfCores"> The number of cores supported by the virtual machine size. </param> |
| | | 21 | | /// <param name="osDiskSizeInMB"> The OS disk size, in MB, allowed by the virtual machine size. </param> |
| | | 22 | | /// <param name="resourceDiskSizeInMB"> The resource disk size, in MB, allowed by the virtual machine size. </pa |
| | | 23 | | /// <param name="memoryInMB"> The amount of memory, in MB, supported by the virtual machine size. </param> |
| | | 24 | | /// <param name="maxDataDiskCount"> The maximum number of data disks that can be attached to the virtual machine |
| | 12522 | 25 | | internal VirtualMachineSize(string name, int? numberOfCores, int? osDiskSizeInMB, int? resourceDiskSizeInMB, int |
| | | 26 | | { |
| | 12522 | 27 | | Name = name; |
| | 12522 | 28 | | NumberOfCores = numberOfCores; |
| | 12522 | 29 | | OsDiskSizeInMB = osDiskSizeInMB; |
| | 12522 | 30 | | ResourceDiskSizeInMB = resourceDiskSizeInMB; |
| | 12522 | 31 | | MemoryInMB = memoryInMB; |
| | 12522 | 32 | | MaxDataDiskCount = maxDataDiskCount; |
| | 12522 | 33 | | } |
| | | 34 | | |
| | | 35 | | /// <summary> The name of the virtual machine size. </summary> |
| | 18456 | 36 | | public string Name { get; } |
| | | 37 | | /// <summary> The number of cores supported by the virtual machine size. </summary> |
| | 208 | 38 | | public int? NumberOfCores { get; } |
| | | 39 | | /// <summary> The OS disk size, in MB, allowed by the virtual machine size. </summary> |
| | 0 | 40 | | public int? OsDiskSizeInMB { get; } |
| | | 41 | | /// <summary> The resource disk size, in MB, allowed by the virtual machine size. </summary> |
| | 208 | 42 | | public int? ResourceDiskSizeInMB { get; } |
| | | 43 | | /// <summary> The amount of memory, in MB, supported by the virtual machine size. </summary> |
| | 208 | 44 | | public int? MemoryInMB { get; } |
| | | 45 | | /// <summary> The maximum number of data disks that can be attached to the virtual machine size. </summary> |
| | 208 | 46 | | public int? MaxDataDiskCount { get; } |
| | | 47 | | } |
| | | 48 | | } |