Class NetworkAdapter
java.lang.Object
com.azure.resourcemanager.databoxedge.models.NetworkAdapter
Represents the networkAdapter on a device.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the adapterId property: Instance ID of network adapter.Get the adapterPosition property: Hardware position of network adapter.Get the dhcpStatus property: Value indicating whether this adapter has DHCP enabled.Get the dnsServers property: The list of DNS Servers of the device.index()
Get the index property: Logical index of the adapter.Get the ipv4Configuration property: The IPv4 configuration of the network adapter.Get the ipv6Configuration property: The IPv6 configuration of the network adapter.Get the ipv6LinkLocalAddress property: The IPv6 local address.label()
Get the label property: Hardware label for the adapter.Get the linkSpeed property: Link speed.Get the macAddress property: MAC address.Get the networkAdapterName property: Network adapter name.nodeId()
Get the nodeId property: Node ID of the network adapter.Get the rdmaStatus property: Value indicating whether this adapter is RDMA capable.status()
Get the status property: Value indicating whether this adapter is valid.void
validate()
Validates the instance.withDhcpStatus
(NetworkAdapterDhcpStatus dhcpStatus) Set the dhcpStatus property: Value indicating whether this adapter has DHCP enabled.withRdmaStatus
(NetworkAdapterRdmaStatus rdmaStatus) Set the rdmaStatus property: Value indicating whether this adapter is RDMA capable.
-
Constructor Details
-
NetworkAdapter
public NetworkAdapter()Creates an instance of NetworkAdapter class.
-
-
Method Details
-
adapterId
Get the adapterId property: Instance ID of network adapter.- Returns:
- the adapterId value.
-
adapterPosition
Get the adapterPosition property: Hardware position of network adapter.- Returns:
- the adapterPosition value.
-
index
Get the index property: Logical index of the adapter.- Returns:
- the index value.
-
nodeId
Get the nodeId property: Node ID of the network adapter.- Returns:
- the nodeId value.
-
networkAdapterName
Get the networkAdapterName property: Network adapter name.- Returns:
- the networkAdapterName value.
-
label
Get the label property: Hardware label for the adapter.- Returns:
- the label value.
-
macAddress
Get the macAddress property: MAC address.- Returns:
- the macAddress value.
-
linkSpeed
Get the linkSpeed property: Link speed.- Returns:
- the linkSpeed value.
-
status
Get the status property: Value indicating whether this adapter is valid.- Returns:
- the status value.
-
rdmaStatus
Get the rdmaStatus property: Value indicating whether this adapter is RDMA capable.- Returns:
- the rdmaStatus value.
-
withRdmaStatus
Set the rdmaStatus property: Value indicating whether this adapter is RDMA capable.- Parameters:
rdmaStatus
- the rdmaStatus value to set.- Returns:
- the NetworkAdapter object itself.
-
dhcpStatus
Get the dhcpStatus property: Value indicating whether this adapter has DHCP enabled.- Returns:
- the dhcpStatus value.
-
withDhcpStatus
Set the dhcpStatus property: Value indicating whether this adapter has DHCP enabled.- Parameters:
dhcpStatus
- the dhcpStatus value to set.- Returns:
- the NetworkAdapter object itself.
-
ipv4Configuration
Get the ipv4Configuration property: The IPv4 configuration of the network adapter.- Returns:
- the ipv4Configuration value.
-
ipv6Configuration
Get the ipv6Configuration property: The IPv6 configuration of the network adapter.- Returns:
- the ipv6Configuration value.
-
ipv6LinkLocalAddress
Get the ipv6LinkLocalAddress property: The IPv6 local address.- Returns:
- the ipv6LinkLocalAddress value.
-
dnsServers
Get the dnsServers property: The list of DNS Servers of the device.- Returns:
- the dnsServers value.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-