Share via


VirtualMachineSize Class

Definition

Describes the properties of a VM size.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.MachineLearningServices.Models.Api20240401.VirtualMachineSizeTypeConverter))]
public class VirtualMachineSize : Microsoft.Azure.PowerShell.Cmdlets.MachineLearningServices.Models.Api20240401.IVirtualMachineSize
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.MachineLearningServices.Models.Api20240401.VirtualMachineSizeTypeConverter))>]
type VirtualMachineSize = class
    interface IVirtualMachineSize
    interface IJsonSerializable
Public Class VirtualMachineSize
Implements IVirtualMachineSize
Inheritance
VirtualMachineSize
Attributes
Implements

Constructors

VirtualMachineSize()

Creates an new VirtualMachineSize instance.

Properties

EstimatedVMPriceBillingCurrency

Three lettered code specifying the currency of the VM price. Example: USD

EstimatedVMPriceUnitOfMeasure

The unit of time measurement for the specified VM price. Example: OneHour

EstimatedVMPriceValue

The list of estimated prices for using a VM of a particular OS type, tier, etc.

Family

The family name of the virtual machine size.

Gpu

The number of gPUs supported by the virtual machine size.

LowPriorityCapable

Specifies if the virtual machine size supports low priority VMs.

MaxResourceVolumeMb

The resource volume size, in MB, allowed by the virtual machine size.

MemoryGb

The amount of memory, in GB, supported by the virtual machine size.

Name

The name of the virtual machine size.

OSVhdSizeMb

The OS VHD disk size, in MB, allowed by the virtual machine size.

PremiumIo

Specifies if the virtual machine size supports premium IO.

SupportedComputeType

Specifies the compute types supported by the virtual machine size.

VCpUs

The number of vCPUs supported by the virtual machine size.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of VirtualMachineSize.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of VirtualMachineSize.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.MachineLearningServices.Models.Api20240401.IVirtualMachineSize.

FromJsonString(String)

Creates a new instance of VirtualMachineSize, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of VirtualMachineSize into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to