Share via


NetworkInterface Class

Definition

Network interface properties.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ConnectedNetwork.Models.Api20210501.NetworkInterfaceTypeConverter))]
public class NetworkInterface : Microsoft.Azure.PowerShell.Cmdlets.ConnectedNetwork.Models.Api20210501.INetworkInterface
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ConnectedNetwork.Models.Api20210501.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

IPConfiguration

A list of IP configurations of the network interface.

MacAddress

The MAC address of the network interface.

Name

The name of the network interface.

VMSwitchType

The type of the VM switch.

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.ConnectedNetwork.Models.Api20210501.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