public interface RecordsetService extends RestService
Modifier and Type | Method and Description |
---|---|
Recordset |
create(String zoneId,
Recordset recordSet)
create a new recordset
|
Recordset |
create(String zoneId,
String name,
String type,
List<String> records)
create a new recordset
|
ActionResponse |
delete(String zoneId,
String recordsetId)
delete a recordset within a zone
|
Recordset |
get(String zoneId,
String recordsetId)
gets detailed information about a specified recordset in a zone by id
|
List<? extends Recordset> |
list()
list all recordsets owned by project
|
List<? extends Recordset> |
list(String zoneId)
list recordsets in a zone
|
Recordset |
update(String zoneId,
Recordset recordset)
updates an existing recordset
|
Recordset create(String zoneId, Recordset recordSet)
zoneId
- the identifier of the zonerecordSet
- the RecordsetRecordset create(String zoneId, String name, String type, List<String> records)
zoneId
- the identifier for the zonename
- the DNS name for the recordsettype
- the RRTYPE of the recordsetrecords
- a list of data for this recordset. Each item will be a separate record in Designate These items should conform to the DNS spec for the record type - e.g. A records must be IPv4 addresses, CNAME records must be a hostname.Recordset get(String zoneId, String recordsetId)
zoneId
- the uui of the zonerecordsetId
- the uuid of the recordsetRecordset update(String zoneId, Recordset recordset)
zoneId
- the identifier of the zonerecordset
- the recordset set to updateActionResponse delete(String zoneId, String recordsetId)
zoneId
- the uuid of the zonerecordsetId
- the uuid of the recordsetList<? extends Recordset> list()
Copyright © 2017. All rights reserved.