Cisco Cisco Prime IP Express 8.3 Referencia técnica

Descargar
Página de 1286
Resource: CCMHaDnsPair
This resource is used to manage the 
 class of Network Registrar objects.
A High-Availability (HA) DNS pair. A CCMHaDnsPair object defines the main and backup clusters in the pair, and
associated HA attributes which must be synchronized. This class is analogous to the CCMFailoverPair class used to
manage DHCP failover pairs. It is used to synchronize the configuration data on the main and backup DNS servers. A
local cluster is limited to a single CCMHaDnsPair object, and the localhost cluster must be either the main or backup
in the pair.
Functions
Get CCMHaDnsPair Object List
Gets the list of Network Registrar CCMHaDnsPair objects.
Request:
GET /web-services/rest/resource/CCMHaDnsPair 
CCMHaDnsPair string properties may be specified as query parameters to filter the return list.
Filter values can specify a regular expression or exact match. Use an empty string to test for
unset values.
Response:
Returns the list of CCMHaDnsPair objects
Content-Type: application/xml, application/json
If the list exceeds the maximum return list size, the next link is provided to get the next set of
objects.
Get CCMHaDnsPair Object By Name
Gets the Network Registrar CCMHaDnsPair object by name.
Request:
GET /web-services/rest/resource/CCMHaDnsPair/{objectName}
objectName
: the string representation of the CCMHaDnsPair name property or the key name
LocalServer to get the CCMHaDnsPair object that matches the specified search criteria. 
Search Parameters 
  fqdn: a DNS domain name or FQDN 
  viewId: the DNS view identifier, if applicable
Response:
Returns the CCMHaDnsPair object
Content-Type: application/xml, application/json
Put CCMHaDnsPair Object By Name
Modifies or creates the specified Network Registrar CCMHaDnsPair object.
Request:
PUT /web-services/rest/resource/CCMHaDnsPair/{objectName} 
Accept: application/xml, application/json 
objectName: the string representation of the CCMHaDnsPair name property 
Query Parameters 
  action: extra action to perform; value can be 'sync' 
The optional sync action will synchronize the configuration after changes are made. If the input
object is null, or identical to the currently saved object, only the sync action will be performed. 
Action Parameters 
  mode: the sync mode; value can be 'update' or 'complete' or 'exact' 
  direction: the sync direction; value can be 'fromMain' or 'fromBackup'