Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Documentation
data NetworkInterface Source #
Network interface.
See: newNetworkInterface
smart constructor.
Instances
newNetworkInterface :: NetworkInterface Source #
Create a value of NetworkInterface
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:ips:NetworkInterface'
, networkInterface_ips
- Network interface IPs.
$sel:isPrimary:NetworkInterface'
, networkInterface_isPrimary
- Whether this is the primary network interface.
$sel:macAddress:NetworkInterface'
, networkInterface_macAddress
- The MAC address of the network interface.
networkInterface_ips :: Lens' NetworkInterface (Maybe [Text]) Source #
Network interface IPs.
networkInterface_isPrimary :: Lens' NetworkInterface (Maybe Bool) Source #
Whether this is the primary network interface.
networkInterface_macAddress :: Lens' NetworkInterface (Maybe Text) Source #
The MAC address of the network interface.