public interface ZoneApi
ZoneAsyncApi
Modifier and Type | Method and Description |
---|---|
void |
createInAccount(String name,
String accountId)
creates a primary zone and its supporting records (SOA, NS and A).
|
void |
delete(String name)
deletes a zone and all its resource records
|
ZoneProperties |
get(String name)
Retrieves information about the specified zone
|
com.google.common.collect.FluentIterable<Zone> |
listByAccount(String accountId)
Lists all zones in the specified account.
|
com.google.common.collect.FluentIterable<Zone> |
listByAccountAndType(String accountId,
Zone.Type type)
Lists all zones in the specified account of type
|
void createInAccount(String name, String accountId) throws UltraDNSWSExceptions.ResourceAlreadyExistsException
name
- the fully qualified name of the new zone.accountId
- the account to create the zone inUltraDNSWSExceptions.ResourceAlreadyExistsException
@Nullable ZoneProperties get(String name)
name
- the fully-qualified name, including the trailing dot, of the
zone to get information about.com.google.common.collect.FluentIterable<Zone> listByAccount(String accountId) throws ResourceNotFoundException
ResourceNotFoundException
- if the account doesn't existcom.google.common.collect.FluentIterable<Zone> listByAccountAndType(String accountId, Zone.Type type) throws ResourceNotFoundException
ResourceNotFoundException
- if the account doesn't existvoid delete(String name)
name
- the fully-qualified name, including the trailing dot, of the
zone you want to delete.Copyright © 2009-2013 jclouds. All Rights Reserved.