org.jclouds.ultradns.ws.features
Interface DirectionalGroupApi


public interface DirectionalGroupApi

See Also:
,

Method Summary
 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 qualified hostName and 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> listRecordsByGroupCoordinates(DirectionalGroupCoordinates group)
          Returns all the directional pool records in the pool-level group.
 

Method Detail

get

@Named(value="getDirectionalDNSGroupDetails")
@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(value="getAccountLevelDirectionalGroupsOfZone")
com.google.common.collect.FluentIterable<AccountLevelGroup> listAccountLevelGroups()
Returns all account-level groups.


listRecordsByAccountLevelGroup

@Named(value="getDirectionalDNSRecordsForAcctLvlGroup")
com.google.common.collect.FluentIterable<DirectionalPoolRecordDetail> listRecordsByAccountLevelGroup(String groupId)
                                                                                                     throws org.jclouds.rest.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:
org.jclouds.rest.ResourceNotFoundException - if the group doesn't exist

listGroupNamesByDNameAndType

@Named(value="getAvailableGroups")
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

listRecordsByGroupCoordinates

@Named(value="getDirectionalDNSRecordsForGroup")
com.google.common.collect.FluentIterable<DirectionalPoolRecordDetail> listRecordsByGroupCoordinates(DirectionalGroupCoordinates group)
                                                                                                    throws org.jclouds.rest.ResourceNotFoundException
Returns all the directional pool records in the pool-level group.

Parameters:
group - the zone, record name, record type, and group name
Throws:
org.jclouds.rest.ResourceNotFoundException - if the group doesn't exist


Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.