Cisco Cisco Prime Network Registrar 8.1 Technical References

Page of 316
ExportDeviceResourceRecord 
Cisco Prime Network Registrar IPAM 8.1.1 CLI and API Guide 
260 
maxResults
 field set to a default value of 5000. When this context is provided to a 
subsequent call to 
exportDeviceResourceRec
, the number of exported resource 
records is limited to the first 5000 devices, 
or less (see Paging), that match the criteria in the 
given query filter.  The web service client may change this 
maxResults
 attribute of the 
WSContext
 before any call to the 
exportDeviceResourceRec
 service to modify the 
size of the resultant 
WSDeviceResourceRec
 object array.  However, the value specified 
by the client cannot exceed 5000. 
Paging 
A device in Cisco Prime Network Registrar IPAM is normalized within the database and 
thus may be represented by more than a single row in multiple tables.  Because of this and 
for performance, the 
exportDeviceResourceRec
 cannot guarantee that the number 
of 
WSDeviceResourceRec
 objects returned in any single execution of the service will 
be equal to the max results set on the 
WSContext
 object.  It will, however, always 
guarantee the number of results to be the max results value or less. 
Response 
The result returned from the 
exportDeviceResourceRec
 service is an array of 
WSDeviceResourceRec
 objects matching the selection criteria specified in the query 
filter.  The 
WSDeviceResourceRecs
 can then be modified and/or imported using the 
importDeviceResourceRecord
 API.  The format of the 
WSDeviceResourceRec
 
matches that defined by the 
importDeviceResourceRecord
WSDeviceResourceRec 
The portion of 
Exports.wsdl that describes 
WSDeviceResourceRec
, the array of 
structures returned by 
exportDeviceResourceRec
 is shown following. The elements 
are described in the table that follows. 
<complexType name="WSDeviceResourceRec"> 
 <sequence> 
  <element name="TTL" nillable="true" type="soapenc:string"/> 
     <element name="comment" nillable="true" type="soapenc:string"/> 
     <element name="container" nillable="true" type="soapenc:string"/> 
     <element name="data" nillable="true" type="soapenc:string"/> 
     <element name="domain" nillable="true" type="soapenc:string"/> 
     <element name="domainType" nillable="true" type="soapenc:string"/> 
     <element name="hostname" nillable="true" type="soapenc:string"/> 
     <element name="id" nillable="true" type="soapenc:int"/> 
     <element name="ipAddress" nillable="true" type="soapenc:string"/> 
     <element name="owner" nillable="true" type="soapenc:string"/> 
     <element name="resourceRecClass" nillable="true" type="soapenc:string"/> 
     <element name="resourceRecType" nillable="true" type="soapenc:string"/> 
   </sequence> 
</complexType> 
Element 
Accepted Values 
container 
The name of the container that holds the device.  This is required only if 
there is overlapping address space in use and the ip address is in overlapping 
space.  The container is then used to uniquely determine the device. 
domainType 
Domain type already defined to Cisco Prime Network Registrar IPAM. If 
not specified, the “Default” domain type will be used.