Cisco Cisco Security Manager 4.5 Guia De Especificação

Página de 217
 
 
 
  
 
Cisco Security Manager 4.4 API Specification (Version 1.1) 
 
OL- 29074-01 
Page  121
 
3.2.7 Method GetPolicyListByDeviceGID 
The GetPolicyListByDeviceGID method returns the list of policy names and their types, for a particular device GID. 
The returned list only includes the supported policy types in the current version of the API. A policy type may also 
not be returned if the corresponding policy is not configured. To use this API user needs to have a view_device 
RBAC privilege. 
Following is the list of policies supported in this version 1.0. Exact value from the policy type column need to be 
used in the request of the API’s GetPolicyConfigByName and GetPolicyConfigyByDeviceGID methods. 
Policy Type 
 
Description 
DeviceAccessRuleFirewallPolicy 
Used to configure ACLs. 
DeviceAccessRuleUnifiedFirewallPolicy 
Used to configure Unified ACLs.  
DeviceBGPRouterPolicy 
Routing protocol.  
DeviceNATTimeoutsRouterPolicy 
Used for configuring Router NAT. 
DeviceNATTransOptionsFirewallPolicy 
Used for configuring Firewall NAT. 
DeviceStaticRoutingFirewallPolicy 
Used for configuring Firewall NAT. 
DeviceStaticRoutingRouterPolicy 
Used in configuring Router static route. 
InterfaceNAT64ManualFirewallPolicy 
Used for configuring NAT64 policy 
InterfaceNATAddressPoolFirewallPolicy 
Used for configuring Firewall NAT. 
InterfaceNATDynamicRulesFirewallPolicy 
Used for configuring Firewall NAT. 
InterfaceNATDynamicRulesRouterPolicy 
Used for configuring Router NAT. 
InterfaceNATManualFirewallPolicy 
Used for configuring Firewall NAT. 
InterfaceNATObjectFirewallPolicy 
Used for configuring Firewall NAT. 
InterfaceNATPolicyDynamicRulesFirewallPolicy 
Used for configuring Firewall NAT. 
InterfaceNATRouterPolicy 
Used for configuring Router NAT. 
InterfaceNATStaticRulesFirewallPolicy 
Used for configuring Firewall NAT. 
InterfaceNATStaticRulesRouterPolicy 
Used for configuring Router NAT. 
InterfaceNATTransExemptionsFirewallPolicy 
Used for configuring Firewall NAT. 
 
3.2.7.1 Request 
An example of the method GetPolicyListByDeviceGID request is shown in the figure below..  The fields in these 
messages are described in the table below.