Share via


NetworkAdapter Constructors

Definition

Overloads

NetworkAdapter()

Initializes a new instance of the NetworkAdapter class.

NetworkAdapter(String, NetworkAdapterPosition, Nullable<Int32>, String, String, String, String, Nullable<Int64>, String, String, String, Ipv4Config, Ipv6Config, String, IList<String>)

Initializes a new instance of the NetworkAdapter class.

NetworkAdapter()

Initializes a new instance of the NetworkAdapter class.

public NetworkAdapter ();
Public Sub New ()

Applies to

NetworkAdapter(String, NetworkAdapterPosition, Nullable<Int32>, String, String, String, String, Nullable<Int64>, String, String, String, Ipv4Config, Ipv6Config, String, IList<String>)

Initializes a new instance of the NetworkAdapter class.

public NetworkAdapter (string adapterId = default, Microsoft.Azure.Management.DataBoxEdge.Models.NetworkAdapterPosition adapterPosition = default, int? index = default, string nodeId = default, string networkAdapterName = default, string label = default, string macAddress = default, long? linkSpeed = default, string status = default, string rdmaStatus = default, string dhcpStatus = default, Microsoft.Azure.Management.DataBoxEdge.Models.Ipv4Config ipv4Configuration = default, Microsoft.Azure.Management.DataBoxEdge.Models.Ipv6Config ipv6Configuration = default, string ipv6LinkLocalAddress = default, System.Collections.Generic.IList<string> dnsServers = default);
new Microsoft.Azure.Management.DataBoxEdge.Models.NetworkAdapter : string * Microsoft.Azure.Management.DataBoxEdge.Models.NetworkAdapterPosition * Nullable<int> * string * string * string * string * Nullable<int64> * string * string * string * Microsoft.Azure.Management.DataBoxEdge.Models.Ipv4Config * Microsoft.Azure.Management.DataBoxEdge.Models.Ipv6Config * string * System.Collections.Generic.IList<string> -> Microsoft.Azure.Management.DataBoxEdge.Models.NetworkAdapter
Public Sub New (Optional adapterId As String = Nothing, Optional adapterPosition As NetworkAdapterPosition = Nothing, Optional index As Nullable(Of Integer) = Nothing, Optional nodeId As String = Nothing, Optional networkAdapterName As String = Nothing, Optional label As String = Nothing, Optional macAddress As String = Nothing, Optional linkSpeed As Nullable(Of Long) = Nothing, Optional status As String = Nothing, Optional rdmaStatus As String = Nothing, Optional dhcpStatus As String = Nothing, Optional ipv4Configuration As Ipv4Config = Nothing, Optional ipv6Configuration As Ipv6Config = Nothing, Optional ipv6LinkLocalAddress As String = Nothing, Optional dnsServers As IList(Of String) = Nothing)

Parameters

adapterId
String

Instance ID of network adapter.

adapterPosition
NetworkAdapterPosition

Hardware position of network adapter.

index
Nullable<Int32>

Logical index of the adapter.

nodeId
String

Node ID of the network adapter.

networkAdapterName
String

Network adapter name.

label
String

Hardware label for the adapter.

macAddress
String

MAC address.

linkSpeed
Nullable<Int64>

Link speed.

status
String

Value indicating whether this adapter is valid. Possible values include: 'Inactive', 'Active'

rdmaStatus
String

Value indicating whether this adapter is RDMA capable. Possible values include: 'Incapable', 'Capable'

dhcpStatus
String

Value indicating whether this adapter has DHCP enabled. Possible values include: 'Disabled', 'Enabled'

ipv4Configuration
Ipv4Config

The IPv4 configuration of the network adapter.

ipv6Configuration
Ipv6Config

The IPv6 configuration of the network adapter.

ipv6LinkLocalAddress
String

The IPv6 local address.

dnsServers
IList<String>

The list of DNS Servers of the device.

Applies to