Share via


HardwareProfile Class

Definition

Describes the hardware of the machine

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.HardwareProfileTypeConverter))]
public class HardwareProfile : Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IHardwareProfile
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.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

NumberOfCpuSocket

The total number of CPU sockets available on the machine

Processor

The physical processors of the machine.

TotalPhysicalMemoryInByte

The total physical memory on the machine

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.ConnectedMachine.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