Interface ReverseDNSApi
public interface ReverseDNSApi
Cloud DNS supports the management of reverse DNS (PTR) records for Rackspace Cloud devices such as Cloud Load
Balancers and Cloud Servers (both first generation and next generation). In order to manage the PTR records for
Rackspace Cloud devices, the service as well as the device resource URI must be specified along with record details.
-
Method Summary
Modifier and TypeMethodDescriptionCreate Reverse DNS (PTR) records for a device.Delete the Reverse DNS (PTR) record with the specified IP address for a device.Delete all Reverse DNS (PTR) records for a device.List all of the Reverse DNS (PTR) records for a device.List all of the Reverse DNS (PTR) records for a device.Update Reverse DNS (PTR) records for a device.
-
Method Details
-
list
@Named("rdns:list") @GET @Consumes("application/json") @Path("/rdns/{serviceName}") PagedIterable<RecordDetail> list(@QueryParam("href") URI deviceURI) List all of the Reverse DNS (PTR) records for a device. -
get
@Named("rdns:list") @GET @Consumes("application/json") @Path("/rdns/{serviceName}/{recordId}") RecordDetail get(@QueryParam("href") URI deviceURI, @PathParam("recordId") String recordId) List all of the Reverse DNS (PTR) records for a device. -
create
@Named("rdns:create") @POST @Produces("application/json") @Consumes("application/json") @Path("/rdns") Job<Set<RecordDetail>> create(URI deviceURI, Iterable<Record> records) Create Reverse DNS (PTR) records for a device. To wait for this call to complete useJobPredicates.awaitComplete(CloudDNSApi, Job)
. -
update
@Named("rdns:update") @PUT @Produces("application/json") @Consumes("application/json") @Path("/rdns") Job<Void> update(URI deviceURI, Map<String, Record> idsToRecords) Update Reverse DNS (PTR) records for a device. To wait for this call to complete useJobPredicates.awaitComplete(CloudDNSApi, Job)
. -
delete
@Named("rdns:delete") @DELETE @Path("/rdns/{serviceName}") @Consumes("*/*") Job<Void> delete(@QueryParam("href") URI deviceURI, @QueryParam("ip") String ipAddress) Delete the Reverse DNS (PTR) record with the specified IP address for a device. To wait for this call to complete useJobPredicates.awaitComplete(CloudDNSApi, Job)
. -
deleteAll
@Named("rdns:delete") @DELETE @Path("/rdns/{serviceName}") @Consumes("*/*") Job<Void> deleteAll(@QueryParam("href") URI deviceURI) Delete all Reverse DNS (PTR) records for a device. To wait for this call to complete useJobPredicates.awaitComplete(CloudDNSApi, Job)
.
-