Dela via


VirtualMachineSizeProperties Class

Definition

Specifies VM Size Property settings on the virtual machine.

public class VirtualMachineSizeProperties : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Compute.Models.VirtualMachineSizeProperties>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Compute.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

VirtualMachineSizeProperties()

Initializes a new instance of VirtualMachineSizeProperties.

Properties

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

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<VirtualMachineSizeProperties>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<VirtualMachineSizeProperties>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<VirtualMachineSizeProperties>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<VirtualMachineSizeProperties>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<VirtualMachineSizeProperties>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to