Interface DirectionalGroupApi


  • public interface DirectionalGroupApi
    See Also:
    ,
    • Method Detail

      • get

        @Named("getDirectionalDNSGroupDetails")
        @POST
        @Nullable
        DirectionalGroup get​(String groupId)
        returns the regions and name of the specified directional group or null, if not found.
        Parameters:
        groupId - the id of the group
      • listAccountLevelGroups

        @Named("getAccountLevelDirectionalGroupsOfZone")
        @POST
        com.google.common.collect.FluentIterable<AccountLevelGroup> listAccountLevelGroups()
        Returns all account-level groups.
      • listRecordsByAccountLevelGroup

        @Named("getDirectionalDNSRecordsForAcctLvlGroup")
        @POST
        com.google.common.collect.FluentIterable<DirectionalPoolRecordDetail> listRecordsByAccountLevelGroup​(String groupId)
                                                                                                      throws ResourceNotFoundException
        Returns all the directional pool records in the account-level group.
        Parameters:
        groupId - the id of the account-level group containing the records.
        Throws:
        ResourceNotFoundException - if the group doesn't exist
      • listGroupNamesByDNameAndType

        @Named("getAvailableGroups")
        @POST
        com.google.common.collect.FluentIterable<String> listGroupNamesByDNameAndType​(String hostName,
                                                                                      int rrType)
        Returns directional group names visible to the account for the fully qualified hostName and rrType
        Parameters:
        accountId - the account where the groups exist
        hostName - fully qualified hostname including the trailing dot.
        rrType - type value of the existing records.
        Returns:
        empty if there are not groups for the specified host and type