Language

VmSizeProperties Class

Definition

Specifies the properties for customizing the size of the virtual machine.

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

Constructors

Name Description
VmSizeProperties()

Initializes a new instance of VmSizeProperties.

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.

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. 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<VmSizeProperties>.Create(Utf8JsonReader, ModelReaderWriterOptions)
IJsonModel<VmSizeProperties>.Write(Utf8JsonWriter, ModelReaderWriterOptions)
IPersistableModel<VmSizeProperties>.Create(BinaryData, ModelReaderWriterOptions)
IPersistableModel<VmSizeProperties>.GetFormatFromOptions(ModelReaderWriterOptions)
IPersistableModel<VmSizeProperties>.Write(ModelReaderWriterOptions)

Applies to