Compartilhar via


ArmDataBoxEdgeModelFactory.DataBoxEdgeNetworkAdapter Método

Definição

Inicializa uma nova instância de 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

Parâmetros

adapterId
String

ID da instância do adaptador de rede.

adapterPosition
DataBoxEdgeNetworkAdapterPosition

Posição de hardware do adaptador de rede.

index
Nullable<Int32>

Índice lógico do adaptador.

nodeId
Nullable<Guid>

ID do nó do adaptador de rede.

networkAdapterName
String

Nome do adaptador de rede.

label
String

Rótulo de hardware para o adaptador.

macAddress
String

Endereço MAC.

linkSpeed
Nullable<Int64>

Velocidade do link.

status
Nullable<DataBoxEdgeNetworkAdapterStatus>

Valor que indica se esse adaptador é válido.

rdmaStatus
Nullable<DataBoxEdgeNetworkAdapterRdmaStatus>

Valor que indica se esse adaptador é compatível com RDMA.

dhcpStatus
Nullable<DataBoxEdgeNetworkAdapterDhcpStatus>

Valor que indica se esse adaptador tem DHCP habilitado.

ipv4Configuration
DataBoxEdgeIPv4Config

A configuração IPv4 do adaptador de rede.

ipv6Configuration
DataBoxEdgeIPv6Config

A configuração IPv6 do adaptador de rede.

ipv6LinkLocalAddress
String

O endereço local IPv6.

dnsServers
IEnumerable<String>

A lista de servidores DNS do dispositivo.

Retornos

Uma nova DataBoxEdgeNetworkAdapter instância para zombar.

Aplica-se a