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) |
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
|
@Named(value="createPrimaryZone") 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
@Named(value="getGeneralPropertiesForZone") @Nullable ZoneProperties get(String name)
name
- the fully-qualified name, including the trailing dot, of the
zone to get information about.@Named(value="getZonesOfAccount") com.google.common.collect.FluentIterable<Zone> listByAccount(String accountId)
@Named(value="getZonesOfAccount") com.google.common.collect.FluentIterable<Zone> listByAccountAndType(String accountId, Zone.Type type) throws ResourceNotFoundException
ResourceNotFoundException
- if the account doesn't exist@Named(value="deleteZone") void delete(String name)
name
- the fully-qualified name, including the trailing dot, of the
zone you want to delete.Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.