Interface RecordsetService

    • Method Detail

      • create

        Recordset create​(String zoneId,
                         Recordset recordSet)
        create a new recordset
        Parameters:
        zoneId - the identifier of the zone
        recordSet - the Recordset
        Returns:
        the newly created Recordset
      • create

        Recordset create​(String zoneId,
                         String name,
                         String type,
                         List<String> records)
        create a new recordset
        Parameters:
        zoneId - the identifier for the zone
        name - the DNS name for the recordset
        type - the RRTYPE of the recordset
        records - a list of data for this recordset. Each item will be a separate record in Designate These items should conform to the DNS spec for the record type - e.g. A records must be IPv4 addresses, CNAME records must be a hostname.
        Returns:
        the newly created Recordset
      • get

        Recordset get​(String zoneId,
                      String recordsetId)
        gets detailed information about a specified recordset in a zone by id
        Parameters:
        zoneId - the uui of the zone
        recordsetId - the uuid of the recordset
        Returns:
        the recordset
      • update

        Recordset update​(String zoneId,
                         Recordset recordset)
        updates an existing recordset
        Parameters:
        zoneId - the identifier of the zone
        recordset - the recordset set to update
        Returns:
        the updated recordset
      • delete

        ActionResponse delete​(String zoneId,
                              String recordsetId)
        delete a recordset within a zone
        Parameters:
        zoneId - the uuid of the zone
        recordsetId - the uuid of the recordset
        Returns:
        the action response
      • list

        List<? extends Recordset> list()
        list all recordsets owned by project
        Returns:
        list of recordsets
      • list

        List<? extends Recordset> list​(String zoneId)
        list recordsets in a zone
        Parameters:
        zoneId - the identifier of the zone
        Returns:
        list of recordsets in a zone