Share via


NetworkInterface Class

Definition

NetworkInterface represents properties of the network interface.

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

Constructors

NetworkInterface()

Creates an new NetworkInterface instance.

Properties

Address

The partial address of Peripheral Component Interconnect (PCI).

DeviceConnectionType

The connection type of the device.

Model

The model name of the device.

PhysicalSlot

The physical slot for this device.

PortCount

The number of ports on the device.

PortSpeed

The maximum amount of data in GB that the line card transmits through a port at any given second.

Vendor

The vendor name of the device.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of NetworkInterface.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of NetworkInterface.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of NetworkInterface into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to