public class RecordsetServiceImpl extends BaseDNSServices implements RecordsetService
BaseOpenStackService.Invocation<R>| Constructor and Description |
|---|
RecordsetServiceImpl() |
| 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
|
delete, deleteWithResponse, get, getProvider, getServiceVersion, getXOpenstackRequestId, head, patch, patchWithResponse, post, postWithResponse, put, request, toList, uripublic Recordset get(String zoneId, String recordsetId)
RecordsetServiceget in interface RecordsetServicezoneId - the uui of the zonerecordsetId - the uuid of the recordsetpublic ActionResponse delete(String zoneId, String recordsetId)
RecordsetServicedelete in interface RecordsetServicezoneId - the uuid of the zonerecordsetId - the uuid of the recordsetpublic Recordset update(String zoneId, Recordset recordset)
RecordsetServiceupdate in interface RecordsetServicezoneId - the identifier of the zonerecordset - the recordset set to updatepublic Recordset create(String zoneId, Recordset recordset)
RecordsetServicecreate in interface RecordsetServicezoneId - the identifier of the zonerecordset - the Recordsetpublic Recordset create(String zoneId, String name, String type, List<String> records)
RecordsetServicecreate in interface RecordsetServicezoneId - 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.public List<? extends Recordset> list(String zoneId)
RecordsetServicelist in interface RecordsetServicezoneId - the identifier of the zonepublic List<? extends Recordset> list()
RecordsetServicelist in interface RecordsetServiceCopyright © 2017. All rights reserved.