次の方法で共有


VmInstanceHardwareProfile Class

Definition

Specifies the hardware settings for the virtual machine.

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

Constructors

VmInstanceHardwareProfile()

Initializes a new instance of VmInstanceHardwareProfile.

Properties

CpuHotAddEnabled

Gets or sets a value indicating whether virtual processors can be added while this virtual machine is running.

CpuHotRemoveEnabled

Gets or sets a value indicating whether virtual processors can be removed while this virtual machine is running.

MemoryHotAddEnabled

Gets or sets a value indicating whether memory can be added while this virtual machine is running.

MemorySizeMB

Gets or sets memory size in MBs for the vm.

NumCoresPerSocket

Gets or sets the number of cores per socket for the vm. Defaults to 1 if unspecified.

NumCpus

Gets or sets the number of vCPUs for the vm.

Explicit Interface Implementations

IJsonModel<VmInstanceHardwareProfile>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<VmInstanceHardwareProfile>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<VmInstanceHardwareProfile>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<VmInstanceHardwareProfile>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<VmInstanceHardwareProfile>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to