Share via


HardwareProfile Class

Definition

Specifies the hardware settings for the virtual machine.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ConnectedVMware.Models.HardwareProfileTypeConverter))]
public class HardwareProfile : Microsoft.Azure.PowerShell.Cmdlets.ConnectedVMware.Models.IHardwareProfile
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ConnectedVMware.Models.HardwareProfileTypeConverter))>]
type HardwareProfile = class
    interface IHardwareProfile
    interface IJsonSerializable
Public Class HardwareProfile
Implements IHardwareProfile
Inheritance
HardwareProfile
Attributes
Implements

Constructors

HardwareProfile()

Creates an new HardwareProfile instance.

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.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of HardwareProfile.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of HardwareProfile.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.ConnectedVMware.Models.IHardwareProfile.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of HardwareProfile into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to