Interface ZoneService

    • Method Detail

      • create

        Zone create​(Zone zone)
        create a new zone
        Parameters:
        zone - the zone
        Returns:
        the newly created zone
      • create

        Zone create​(String name,
                    String email)
        creates a new zone
        Parameters:
        name - the zone name
        email - the e-mail for the zone
        Returns:
        the newly created group
      • get

        Zone get​(String zoneId)
        gets detailed information about a specified zone by id
        Parameters:
        zoneId - the zone identifier
        Returns:
        the zone
      • update

        Zone update​(Zone zone)
        updates an existing zone
        Parameters:
        zone - the zone set to update
        Returns:
        the updated zone
      • delete

        ActionResponse delete​(String zoneId)
        delete a zone by id
        Parameters:
        zoneId - the zone id
        Returns:
        the action response
      • listNameservers

        List<? extends Nameserver> listNameservers​(String zoneId)
        list nameservers for a zone
        Parameters:
        zoneId - the zone identifier
        Returns:
        list of nameservers for a zone
      • list

        List<? extends Zone> list()
        lists zones.
        Returns:
        list of zones