VirtualMachineSizeProperties Class

Definition

Specifies VM Size Property settings on the virtual machine.

public class VirtualMachineSizeProperties : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.ComputeSchedule.Models.VirtualMachineSizeProperties>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.ComputeSchedule.Models.VirtualMachineSizeProperties>
type VirtualMachineSizeProperties = class
    interface IJsonModel<VirtualMachineSizeProperties>
    interface IPersistableModel<VirtualMachineSizeProperties>
Public Class VirtualMachineSizeProperties
Implements IJsonModel(Of VirtualMachineSizeProperties), IPersistableModel(Of VirtualMachineSizeProperties)
Inheritance
VirtualMachineSizeProperties
Implements

Constructors

Name Description
VirtualMachineSizeProperties()

Initializes a new instance of VirtualMachineSizeProperties.

Properties

Name Description
VCpusAvailable

Specifies the number of vCPUs available for the VM. When this property is not specified in the request body the default behavior is to set it to the value of vCPUs available for that VM size exposed in api response of List all available virtual machine sizes in a region.

VCpusPerCore

Specifies the vCPU to physical core ratio. When this property is not specified in the request body the default behavior is set to the value of vCPUsPerCore for the VM Size exposed in api response of List all available virtual machine sizes in a region. Setting this property to 1 also means that hyper-threading is disabled..

Methods

Name Description
JsonModelCreateCore(Utf8JsonReader, ModelReaderWriterOptions)
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)
PersistableModelCreateCore(BinaryData, ModelReaderWriterOptions)
PersistableModelWriteCore(ModelReaderWriterOptions)

Explicit Interface Implementations

Name Description
IJsonModel<VirtualMachineSizeProperties>.Create(Utf8JsonReader, ModelReaderWriterOptions)
IJsonModel<VirtualMachineSizeProperties>.Write(Utf8JsonWriter, ModelReaderWriterOptions)
IPersistableModel<VirtualMachineSizeProperties>.Create(BinaryData, ModelReaderWriterOptions)
IPersistableModel<VirtualMachineSizeProperties>.GetFormatFromOptions(ModelReaderWriterOptions)
IPersistableModel<VirtualMachineSizeProperties>.Write(ModelReaderWriterOptions)

Applies to