Partilhar via


HardwareInventoryNetworkInterface Class

Definition

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

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

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

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<HardwareInventoryNetworkInterface>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<HardwareInventoryNetworkInterface>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<HardwareInventoryNetworkInterface>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<HardwareInventoryNetworkInterface>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<HardwareInventoryNetworkInterface>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to