Freigeben über


HardwareInventoryNetworkInterface Class

Definition

HardwareInventoryNetworkInterface represents the network interface details as part of a hardware inventory.

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

Constructors

HardwareInventoryNetworkInterface()

Creates an new HardwareInventoryNetworkInterface instance.

Properties

LinkStatus

The current status of the link.

MacAddress

The MAC address associated with this interface.

Name

The name of the interface.

NetworkInterfaceId

The resource ID of the network interface for the port on the switch that this machine's interface is connected to.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of HardwareInventoryNetworkInterface.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of HardwareInventoryNetworkInterface.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of HardwareInventoryNetworkInterface into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to