Cisco Cisco Security Manager 4.7 Guía Del Usuario

Descargar
Página de 290
 
 
 
  
 
Cisco Security Manager 4.7 API Specification (Version 2.0) 
 
OL- 32164-01 
Page  134
 
 
Figure 83: PolicyConfigByDeviceGIDRequest XML Schema   
 
3.2.9.2 Response 
The response of this method including the schema and error codes are the same as the GetPolicyConfigByName 
method described previously. 
3.2.10 
Method GetSharedPolicyNamesByType 
This method returns the list of all the Shared Policies present in the Policy View of CSM for a given policy type. 
3.2.10.1 
REST Request:
 
 
 
 
 
 
 
 
 
 
 
 
 
 
Figure 84: getSharedPolicyNamesByType Request Example  
  
 
<
xs:element
 name
="policyConfigByDeviceGIDRequest"
 type
="PolicyConfigByDeviceGIDRequest"/> 
 
<
xs:complexType
 name
="PolicyConfigByDeviceGIDRequest"> 
 
 
<xs:complexContent> 
 
 
 
<
xs:extension
 base
="BaseReqResp"> 
 
 
 
 
<xs:sequence> 
 
 
 
 
 
<
xs:element
 name
="gid"
 type
="ObjectIdentifier"/> 
 
 
 
 
 
<
xs:element
 name
="policyType"
 type
="string"/> 
 
 
 
 
</xs:sequence> 
 
 
 
</xs:extension> 
 
 
</xs:complexContent> 
 
</xs:complexType> 
 
URL: 
http://hostname/configservice/getSharedPolicyListByType 
  
HTTP Header: 
Set-Cookie: asCookie=732423sdfs73242; expires=Fri, 31-Dec-2010 23:59:59 GMT; 
path=/; domain=.hostdomain.com  
 
XML Argument: 
<?xml version=”1.0” encoding=”UTF-8”?> 
< policyNamesByTypeRequest> 
 
<protVersion>1.0</protVersion>  
 
<reqId>123</reqId> 
 
<policyType>DeviceAccessRuleFirewallPolicy</policyType> 
</ policyNamesByTypeRequest >