Interface NetworkInterface.UpdateStages.WithPrimaryPrivateIP

  • All Known Subinterfaces:
    NetworkInterface.Update
    Enclosing interface:
    NetworkInterface.UpdateStages

    public static interface NetworkInterface.UpdateStages.WithPrimaryPrivateIP
    The stage of the network interface update allowing to specify private IP address within a virtual network subnet.
    • Method Detail

      • withPrimaryPrivateIPAddressDynamic

        NetworkInterface.Update withPrimaryPrivateIPAddressDynamic()
        Enables dynamic private IP address allocation within the specified existing virtual network subnet for the network interface's primary IP configuration.
        Returns:
        the next stage of network interface update
      • withPrimaryPrivateIPAddressStatic

        NetworkInterface.Update withPrimaryPrivateIPAddressStatic​(String staticPrivateIPAddress)
        Assigns the specified static private IP address within the specified existing virtual network subnet to the network interface's primary IP configuration.
        Parameters:
        staticPrivateIPAddress - the static IP address within the specified subnet to assign to the primary IP configuration
        Returns:
        the next stage of network interface update