ClassicFirewallsResource


List classic firewalls


Retrieve classic firewalls

GET https://example.com/api/cloud/locations/{location}/devices/{device}/classicfirewalls

Roles : [ROLE_MANAGE_CLASSIC_FIREWALLS]

Parameter Type Default Value Description
startwith Integer 0 The first element to be retrieved of the filtered search
limit Integer 25 The number of entities to retrieve
has String If present, filter by: PROVIDERID, NAME, DESCRIPTION
by String Order by {@link ClassicFirewallDAO.ORDER_BY}
asc boolean true If the value of the 'by' parameter must be sorted in ascending order (true) or descending order (false)
source String LOCAL Use 'REMOTE' to force synchronization with the provider

Accept : classicfirewalls

Example

Get a classic firewall


Retrieve a classic firewall

GET https://example.com/api/cloud/locations/{location}/devices/{device}/classicfirewalls/{classicfirewall}

Roles : [ROLE_MANAGE_CLASSIC_FIREWALLS]

Parameter Type Default Value Description
source String LOCAL Use 'REMOTE' to force synchronization from the provider

Accept : classicfirewall

Error Codes

  • CLASSIC-FIREWALL-1 - The classic firewall was not found
  • NETDEVICE-1 - The device does not exist

Example

Update a classic firewall


PUT https://example.com/api/cloud/locations/{location}/devices/{device}/classicfirewalls/{classicfirewall}

Roles : [ROLE_MANAGE_CLASSIC_FIREWALLS]

Content-Type : classicfirewall Accept : classicfirewall

Error Codes

  • CLASSIC-FIREWALL-6 - The classic firewall is performing another operation, please wait

Example