Share via


NetworkInterface Class

Definition

Network Interface model

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

DeviceKey

Gets or sets the device key value.

IPAddress

Gets or sets the nic ip addresses.

IPSettingAllocationMethod

Gets or sets the nic allocation method.

IPSettingDnsServer

Gets or sets the dns servers.

IPSettingGateway

Gets or sets the gateway.

IPSettingIpaddress

Gets or sets the ip address for the nic.

IPSettingIpaddressInfo

Gets or sets the IP address information being reported for this NIC. This contains the same IPv4 information above plus IPV6 information.

IPSettingPrimaryWinsServer

Gets or sets the primary server.

IPSettingSecondaryWinsServer

Gets or sets the secondary server.

IPSettingSubnetMask

Gets or sets the mask.

Label

Gets or sets the label of the virtual network in vCenter that the nic is connected to.

MacAddress

Gets or sets the NIC MAC address.

Name

Gets or sets the name of the network interface.

NetworkId

Gets or sets the ARM Id of the network resource to connect the virtual machine.

NetworkMoName

Gets or sets the name of the virtual network in vCenter that the nic is connected to.

NetworkMoRefId

Gets or sets the vCenter MoRef (Managed Object Reference) ID of the virtual network that the nic is connected to.

NicType

NIC type

PowerOnBoot

Gets or sets the power on boot.

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.ConnectedVMware.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