VirtualMachineHardwareProfile.VmSize Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Specifies the size of the virtual machine. The enum data type is currently deprecated and will be removed by December 23rd 2023. The recommended way to get the list of available sizes is using these APIs: List all available virtual machine sizes in an availability set, List all available virtual machine sizes in a region, List all available virtual machine sizes for resizing. For more information about virtual machine sizes, see Sizes for virtual machines. The available VM sizes depend on region and availability set.
public Azure.ResourceManager.Compute.Models.VirtualMachineSizeType? VmSize { get; set; }
member this.VmSize : Nullable<Azure.ResourceManager.Compute.Models.VirtualMachineSizeType> with get, set
Public Property VmSize As Nullable(Of VirtualMachineSizeType)
Property Value
Applies to
Azure SDK for .NET