public interface ReverseDNSApi
Modifier and Type | Method and Description |
---|---|
Job<Set<RecordDetail>> |
create(URI deviceURI,
Iterable<Record> records)
Create Reverse DNS (PTR) records for a device.
|
Job<Void> |
delete(URI deviceURI,
String ipAddress)
Delete the Reverse DNS (PTR) record with the specified IP address for a device.
|
Job<Void> |
deleteAll(URI deviceURI)
Delete all Reverse DNS (PTR) records for a device.
|
RecordDetail |
get(URI deviceURI,
String recordId)
List all of the Reverse DNS (PTR) records for a device.
|
PagedIterable<RecordDetail> |
list(URI deviceURI)
List all of the Reverse DNS (PTR) records for a device.
|
Job<Void> |
update(URI deviceURI,
Map<String,Record> idsToRecords)
Update Reverse DNS (PTR) records for a device.
|
@Named(value="rdns:list") @GET @Consumes(value="application/json") @Path(value="/rdns/{serviceName}") PagedIterable<RecordDetail> list(@QueryParam(value="href") URI deviceURI)
@Named(value="rdns:list") @GET @Consumes(value="application/json") @Path(value="/rdns/{serviceName}/{recordId}") RecordDetail get(@QueryParam(value="href") URI deviceURI, @PathParam(value="recordId") String recordId)
@Named(value="rdns:create") @POST @Produces(value="application/json") @Consumes(value="application/json") @Path(value="/rdns") Job<Set<RecordDetail>> create(URI deviceURI, Iterable<Record> records)
JobPredicates.awaitComplete(CloudDNSApi, Job)
.@Named(value="rdns:update") @PUT @Produces(value="application/json") @Consumes(value="application/json") @Path(value="/rdns") Job<Void> update(URI deviceURI, Map<String,Record> idsToRecords)
JobPredicates.awaitComplete(CloudDNSApi, Job)
.@Named(value="rdns:delete") @DELETE @Path(value="/rdns/{serviceName}") @Consumes(value="*/*") Job<Void> delete(@QueryParam(value="href") URI deviceURI, @QueryParam(value="ip") String ipAddress)
JobPredicates.awaitComplete(CloudDNSApi, Job)
.@Named(value="rdns:delete") @DELETE @Path(value="/rdns/{serviceName}") @Consumes(value="*/*") Job<Void> deleteAll(@QueryParam(value="href") URI deviceURI)
JobPredicates.awaitComplete(CloudDNSApi, Job)
.Copyright © 2009-2018 The Apache Software Foundation. All Rights Reserved.