public interface Zones
| Modifier and Type | Method and Description |
|---|---|
CreateZoneRecordResponse |
createZoneRecord(String accountId,
String zoneId,
Map<String,Object> attributes)
Create a record in a zone.
|
DeleteZoneRecordResponse |
deleteZoneRecord(String accountId,
String zoneId,
String recordId)
Delete a record from a zone.
|
GetZoneResponse |
getZone(String accountId,
String zoneId)
Get a specific zone associated to an account using the zone's name or ID.
|
GetZoneFileResponse |
getZoneFile(String accountId,
String zoneId)
Get the zone file associated to an account using the zone's name or ID.
|
GetZoneRecordResponse |
getZoneRecord(String accountId,
String zoneId,
String recordId)
Get a specific record associated to a zone using the zone's name or ID.
|
ListZoneRecordsResponse |
listZoneRecords(String accountId,
String zoneId)
Lists the records in the zone.
|
ListZoneRecordsResponse |
listZoneRecords(String accountId,
String zoneId,
Map<String,Object> options)
Lists the records in the zone.
|
ListZonesResponse |
listZones(String accountId)
Lists the zones in the account.
|
ListZonesResponse |
listZones(String accountId,
Map<String,Object> options)
Lists the zones in the account.
|
UpdateZoneRecordResponse |
updateZoneRecord(String accountId,
String zoneId,
String recordId,
Map<String,Object> attributes)
Update a record in a zone.
|
ListZonesResponse listZones(String accountId) throws DnsimpleException, IOException
accountId - The account IDDnsimpleException - Any API errorsIOException - Any IO errorsListZonesResponse listZones(String accountId, Map<String,Object> options) throws DnsimpleException, IOException
accountId - The account IDoptions - A Map of options to pass to the zones APIDnsimpleException - Any API errorsIOException - Any IO errorsGetZoneResponse getZone(String accountId, String zoneId) throws DnsimpleException, IOException
accountId - The account IDzoneId - The zone name or IDDnsimpleException - Any API errorsIOException - Any IO errorsGetZoneFileResponse getZoneFile(String accountId, String zoneId) throws DnsimpleException, IOException
accountId - The account IDzoneId - The zone name or IDDnsimpleException - Any API errorsIOException - Any IO errorsListZoneRecordsResponse listZoneRecords(String accountId, String zoneId) throws DnsimpleException, IOException
accountId - The account IDzoneId - The zone name or IDDnsimpleException - Any API errorsIOException - Any IO errorsListZoneRecordsResponse listZoneRecords(String accountId, String zoneId, Map<String,Object> options) throws DnsimpleException, IOException
accountId - The account IDzoneId - The zone name or IDoptions - A Map of options to pass to the zones APIDnsimpleException - Any API errorsIOException - Any IO errorsGetZoneRecordResponse getZoneRecord(String accountId, String zoneId, String recordId) throws DnsimpleException, IOException
accountId - The account IDzoneId - The zone name or IDrecordId - The zone record IDDnsimpleException - Any API errorsIOException - Any IO errorsCreateZoneRecordResponse createZoneRecord(String accountId, String zoneId, Map<String,Object> attributes) throws DnsimpleException, IOException
accountId - The account IDzoneId - The zone name or IDattributes - The zone attributesDnsimpleException - Any API errorsIOException - Any IO errorsUpdateZoneRecordResponse updateZoneRecord(String accountId, String zoneId, String recordId, Map<String,Object> attributes) throws DnsimpleException, IOException
accountId - The account IDzoneId - The zone name or IDrecordId - The zone record IDattributes - The zone attributesDnsimpleException - Any API errorsIOException - Any IO errorsDeleteZoneRecordResponse deleteZoneRecord(String accountId, String zoneId, String recordId) throws DnsimpleException, IOException
accountId - The account IDzoneId - The zone name or IDrecordId - The zone record IDDnsimpleException - Any API errorsIOException - Any IO errorsCopyright © 2017 DNSimple. All rights reserved.