Delen via


HardwareInventory Class

Definition

HardwareInventory represents the hardware configuration of this machine as exposed to the customer, including information acquired from the model/sku information and from the ironic inspector.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.NetworkCloud.Models.Api20230701.HardwareInventoryTypeConverter))]
public class HardwareInventory : Microsoft.Azure.PowerShell.Cmdlets.NetworkCloud.Models.Api20230701.IHardwareInventory
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.NetworkCloud.Models.Api20230701.HardwareInventoryTypeConverter))>]
type HardwareInventory = class
    interface IHardwareInventory
    interface IJsonSerializable
Public Class HardwareInventory
Implements IHardwareInventory
Inheritance
HardwareInventory
Attributes
Implements

Constructors

HardwareInventory()

Creates an new HardwareInventory instance.

Properties

AdditionalHostInformation

Freeform data extracted from the environment about this machine. This information varies depending on the specific hardware and configuration.

Interface

The list of network interfaces and associated details for the bare metal machine.

Nic

Field Deprecated. Will be removed in an upcoming version. The list of network interface cards and associated details for the bare metal machine.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of HardwareInventory.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of HardwareInventory.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.NetworkCloud.Models.Api20230701.IHardwareInventory.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of HardwareInventory into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to