Interface PortForwardingService

    • Method Detail

      • list

        List<? extends PortForwarding> list​(String floatingIpId)
        Returns list of floating IP port forwarding.
        Parameters:
        floatingIpId - the floating ip identifier
        Returns:
        List of port forwarding
      • list

        List<? extends PortForwarding> list​(String floatingIpId,
                                            Map<String,​String> filteringParams)
        Returns list of floating IP port forwarding filtered by parameters.
        Parameters:
        floatingIpId - the floating ip identifier
        filteringParams - map (name, value) of filtering parameters
        Returns:
        list of floating IP port forwarding
      • get

        PortForwarding get​(String floatingIpId,
                           String id)
        Gets a floating IP port forwarding by id.
        Parameters:
        floatingIpId - the floating ip identifier
        id - the port_forwarding identifier
        Returns:
        a floating IP port forwarding
      • delete

        ActionResponse delete​(String floatingIpId,
                              String id)
        Deletes floating IP port forwarding by id.
        Parameters:
        floatingIpId - the floating ip identifier
        id - id the port forwarding identifier
        Returns:
        the action response
      • create

        PortForwarding create​(String floatingIpId,
                              PortForwarding portForwarding)
        Creates a floating IP port forwarding
        Parameters:
        floatingIpId - the floating ip identifier
        portForwarding - the floating IP port forwarding
        Returns:
        the floating IP port forwarding