ArmDataBoxEdgeModelFactory.DataBoxEdgeNetworkAdapter Method

Definition

Initializes a new instance of DataBoxEdgeNetworkAdapter.

public static Azure.ResourceManager.DataBoxEdge.Models.DataBoxEdgeNetworkAdapter DataBoxEdgeNetworkAdapter (string adapterId = default, Azure.ResourceManager.DataBoxEdge.Models.DataBoxEdgeNetworkAdapterPosition adapterPosition = default, int? index = default, Guid? nodeId = default, string networkAdapterName = default, string label = default, string macAddress = default, long? linkSpeed = default, Azure.ResourceManager.DataBoxEdge.Models.DataBoxEdgeNetworkAdapterStatus? status = default, Azure.ResourceManager.DataBoxEdge.Models.DataBoxEdgeNetworkAdapterRdmaStatus? rdmaStatus = default, Azure.ResourceManager.DataBoxEdge.Models.DataBoxEdgeNetworkAdapterDhcpStatus? dhcpStatus = default, Azure.ResourceManager.DataBoxEdge.Models.DataBoxEdgeIPv4Config ipv4Configuration = default, Azure.ResourceManager.DataBoxEdge.Models.DataBoxEdgeIPv6Config ipv6Configuration = default, string ipv6LinkLocalAddress = default, System.Collections.Generic.IEnumerable<string> dnsServers = default);
static member DataBoxEdgeNetworkAdapter : string * Azure.ResourceManager.DataBoxEdge.Models.DataBoxEdgeNetworkAdapterPosition * Nullable<int> * Nullable<Guid> * string * string * string * Nullable<int64> * Nullable<Azure.ResourceManager.DataBoxEdge.Models.DataBoxEdgeNetworkAdapterStatus> * Nullable<Azure.ResourceManager.DataBoxEdge.Models.DataBoxEdgeNetworkAdapterRdmaStatus> * Nullable<Azure.ResourceManager.DataBoxEdge.Models.DataBoxEdgeNetworkAdapterDhcpStatus> * Azure.ResourceManager.DataBoxEdge.Models.DataBoxEdgeIPv4Config * Azure.ResourceManager.DataBoxEdge.Models.DataBoxEdgeIPv6Config * string * seq<string> -> Azure.ResourceManager.DataBoxEdge.Models.DataBoxEdgeNetworkAdapter
Public Shared Function DataBoxEdgeNetworkAdapter (Optional adapterId As String = Nothing, Optional adapterPosition As DataBoxEdgeNetworkAdapterPosition = Nothing, Optional index As Nullable(Of Integer) = Nothing, Optional nodeId As Nullable(Of Guid) = 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 Nullable(Of DataBoxEdgeNetworkAdapterStatus) = Nothing, Optional rdmaStatus As Nullable(Of DataBoxEdgeNetworkAdapterRdmaStatus) = Nothing, Optional dhcpStatus As Nullable(Of DataBoxEdgeNetworkAdapterDhcpStatus) = Nothing, Optional ipv4Configuration As DataBoxEdgeIPv4Config = Nothing, Optional ipv6Configuration As DataBoxEdgeIPv6Config = Nothing, Optional ipv6LinkLocalAddress As String = Nothing, Optional dnsServers As IEnumerable(Of String) = Nothing) As DataBoxEdgeNetworkAdapter

Parameters

adapterId
String

Instance ID of network adapter.

adapterPosition
DataBoxEdgeNetworkAdapterPosition

Hardware position of network adapter.

index
Nullable<Int32>

Logical index of the adapter.

nodeId
Nullable<Guid>

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
Nullable<DataBoxEdgeNetworkAdapterStatus>

Value indicating whether this adapter is valid.

rdmaStatus
Nullable<DataBoxEdgeNetworkAdapterRdmaStatus>

Value indicating whether this adapter is RDMA capable.

dhcpStatus
Nullable<DataBoxEdgeNetworkAdapterDhcpStatus>

Value indicating whether this adapter has DHCP enabled.

ipv4Configuration
DataBoxEdgeIPv4Config

The IPv4 configuration of the network adapter.

ipv6Configuration
DataBoxEdgeIPv6Config

The IPv6 configuration of the network adapter.

ipv6LinkLocalAddress
String

The IPv6 local address.

dnsServers
IEnumerable<String>

The list of DNS Servers of the device.

Returns

A new DataBoxEdgeNetworkAdapter instance for mocking.

Applies to