Package org.jclouds.ultradns.ws.features
Interface DirectionalGroupApi
public interface DirectionalGroupApi
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionreturns the regions and name of the specified directional group or null, if not found.com.google.common.collect.FluentIterable
<AccountLevelGroup> Returns all account-level groups.com.google.common.collect.FluentIterable
<String> listGroupNamesByDNameAndType
(String hostName, int rrType) Returns directional group names visible to the account for the fully qualifiedinvalid reference
hostName
invalid reference
rrType
com.google.common.collect.FluentIterable
<DirectionalPoolRecordDetail> listRecordsByAccountLevelGroup
(String groupId) Returns all the directional pool records in the account-level group.com.google.common.collect.FluentIterable
<DirectionalPoolRecordDetail> Returns all the directional pool records in the pool-level group.
-
Method Details
-
get
returns the regions and name of the specified directional group or null, if not found.- Parameters:
groupId
- theinvalid reference
id
-
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 qualifiedinvalid reference
hostName
invalid reference
rrType
- Parameters:
hostName
- fully qualified hostname including the trailing dot.rrType
-invalid reference
type
accountId
- the account where the groups exist- Returns:
- empty if there are not groups for the specified host and type
-
listRecordsByGroupCoordinates
@Named("getDirectionalDNSRecordsForGroup") @POST com.google.common.collect.FluentIterable<DirectionalPoolRecordDetail> listRecordsByGroupCoordinates(DirectionalGroupCoordinates group) throws ResourceNotFoundException Returns all the directional pool records in the pool-level group.- Parameters:
group
- the zone, record name, record type, and group name- Throws:
ResourceNotFoundException
- if the group doesn't exist
-