Cisco Cisco ASA 5580 Adaptive Security Appliance

Page of 32
 
About the ASA REST API 
Objects 
 
27 
Objects 
Objects are re-usable components for use in your configuration. They can be defined and used in ASA configurations in 
the place of inline IP addresses, services, names, and so on. 
Similarly to access rules, extended ACLs are created when their first ACE is created and are deleted when their last ACE 
is deleted. There is another URI for services, /objects/predefinednetworkservices; available only for a GET that returns 
the predefined services, which can be used to cut and paste as inline services, or when creating a service object. REST 
API supports inline objects and object groups on par with the ASDM GUI. 
Limitations: 
Only local users are supported in this release. 
Error Codes: 
OBJECT_USED - object used ( e.g. in an access list) and cannot be deleted 
NAME_NULL - name needs to be provided 
NAME_NO_SPACE - name cannot have spaces 
MIXED_ACE_ACTIONS - Extended ACE error: mixed ACE actions are not allowed in DAP 
Routing 
Only static routes are supported. 
Limitations: 
N/A 
Error Codes: 
"STATIC-ROUTES-DUP-SLA-ID" 
"STATIC-ROUTES-INVALID-FREQ" 
"STATIC-ROUTES-INVALID-DATA-SIZE" 
"STATIC-ROUTES-INVALID-THRESHOLD" 
"STATIC-ROUTES-INVALID-TOS" 
"STATIC-ROUTES-INVALID-TIMEOUT" 
"STATIC-ROUTES-INVALID-TRACK-IP" 
"STATIC-ROUTES-INVALID-TUNNEL" 
"STATIC-ROUTES-INVALID-EQUAL-ROUTE" 
"STATIC-ROUTES-DUP-METRIC-ON-INTF"