Interface HasNetworkInterfaces
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description NetworkInterfacegetPrimaryNetworkInterface()Gets the primary network interface.Mono<NetworkInterface>getPrimaryNetworkInterfaceAsync()Gets the primary network interface.List<String>networkInterfaceIds()StringprimaryNetworkInterfaceId()
-
-
-
Method Detail
-
getPrimaryNetworkInterface
NetworkInterface getPrimaryNetworkInterface()
Gets the primary network interface.Note that this method can result in a call to the cloud to fetch the network interface information.
- Returns:
- the primary network interface associated with this resource
-
getPrimaryNetworkInterfaceAsync
Mono<NetworkInterface> getPrimaryNetworkInterfaceAsync()
Gets the primary network interface.Note that this method can result in a call to the cloud to fetch the network interface information.
- Returns:
- the primary network interface associated with this resource
-
primaryNetworkInterfaceId
String primaryNetworkInterfaceId()
- Returns:
- the resource id of the primary network interface associated with this resource
-
-