Share via


NetworkInterface Class

Definition

Describes a network interface.

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

IPAddress

The list of IP addresses in this interface.

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.StackHCIVM.Models.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