public class FloatingIPDNSEntryServiceImpl extends BaseComputeServices implements FloatingIPDNSEntryService
BaseOpenStackService.Invocation<R>
Constructor and Description |
---|
FloatingIPDNSEntryServiceImpl() |
Modifier and Type | Method and Description |
---|---|
DNSEntry |
create(String domain,
String name,
String ip,
DNSRecordType type)
Creates or Updates a DNS Entry
|
ActionResponse |
delete(String domain,
String name)
Deletes a specified DNS entry
|
List<? extends DNSEntry> |
listByIP(String domain,
String ip)
Return a list of entries for the given domain and IP Address
|
List<? extends DNSEntry> |
listByName(String domain,
String name)
Return a list of entries for the given domain and name
|
DNSEntry |
modifyIP(String domain,
String name,
String ip)
Modifies the IP Address for the specified domain and name
|
invokeAction, invokeActionWithResponse
delete, deleteWithResponse, get, getProvider, getServiceVersion, getXOpenstackRequestId, head, patch, patchWithResponse, post, postWithResponse, put, request, toList, uri
public List<? extends DNSEntry> listByIP(String domain, String ip)
FloatingIPDNSEntryService
listByIP
in interface FloatingIPDNSEntryService
domain
- the FQ Domain nameip
- the IP Addresspublic List<? extends DNSEntry> listByName(String domain, String name)
FloatingIPDNSEntryService
listByName
in interface FloatingIPDNSEntryService
domain
- the FQ Domain namename
- DNS entry name assigned under a domainpublic DNSEntry create(String domain, String name, String ip, DNSRecordType type)
FloatingIPDNSEntryService
create
in interface FloatingIPDNSEntryService
domain
- the FQ Domain namename
- DNS entry name assigned under a domainip
- the IP Address associated with the current entrytype
- the DNS Record Typepublic DNSEntry modifyIP(String domain, String name, String ip)
FloatingIPDNSEntryService
modifyIP
in interface FloatingIPDNSEntryService
domain
- the FQ Domain namename
- DNS entry name assigned under a domainip
- the new IP Addresspublic ActionResponse delete(String domain, String name)
FloatingIPDNSEntryService
delete
in interface FloatingIPDNSEntryService
domain
- the FQ Domain namename
- DNS entry name assigned under a domainCopyright © 2017. All rights reserved.