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, uri
public Recordset get(String zoneId, String recordsetId)
RecordsetService
get
in interface RecordsetService
zoneId
- the uui of the zonerecordsetId
- the uuid of the recordsetpublic ActionResponse delete(String zoneId, String recordsetId)
RecordsetService
delete
in interface RecordsetService
zoneId
- the uuid of the zonerecordsetId
- the uuid of the recordsetpublic Recordset update(String zoneId, Recordset recordset)
RecordsetService
update
in interface RecordsetService
zoneId
- the identifier of the zonerecordset
- the recordset set to updatepublic Recordset create(String zoneId, Recordset recordset)
RecordsetService
create
in interface RecordsetService
zoneId
- the identifier of the zonerecordset
- the Recordsetpublic Recordset create(String zoneId, String name, String type, List<String> records)
RecordsetService
create
in interface RecordsetService
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.public List<? extends Recordset> list(String zoneId)
RecordsetService
list
in interface RecordsetService
zoneId
- the identifier of the zonepublic List<? extends Recordset> list()
RecordsetService
list
in interface RecordsetService
Copyright © 2017. All rights reserved.