Interface HasNetworkInterfaces

All Superinterfaces:
HasId
All Known Subinterfaces:
VirtualMachine

public interface HasNetworkInterfaces extends HasId
Interface exposing a list of network interfaces.
  • Method Details

    • 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
    • primaryNetworkInterfaceId

      String primaryNetworkInterfaceId()
      Returns:
      the resource id of the primary network interface associated with this resource
    • networkInterfaceIds

      List<String> networkInterfaceIds()
      Returns:
      the list of resource IDs of the network interfaces associated with this resource