Package org.jclouds.ultradns.ws.features
Interface DirectionalGroupApi
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DirectionalGroup
get(String groupId)
returns the regions and name of the specified directional group or null, if not found.com.google.common.collect.FluentIterable<AccountLevelGroup>
listAccountLevelGroups()
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 qualifiedhostName
andrrType
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>
listRecordsByGroupCoordinates(DirectionalGroupCoordinates group)
Returns all the directional pool records in the pool-level group.
-
-
-
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
- theid
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 qualifiedhostName
andrrType
- Parameters:
accountId
- the account where the groups existhostName
- 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
-
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
-
-