Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

NameDescriptionTypeRequired
idThe ID of the firewall ruleIntegerOptional
destinationsArray of RuleMember objectsArrayRequired
sourcesArray of RuleMember objectsArrayRequired
servicesArray of Service objectsArrayRequired
actionAllow, blockEnumerationRequired
nameName of the firewall ruleStringRequired
descriptionDescription of the firewall ruleStringOptional
sortOrderSort Order for the firewall ruleIntegerRequired
isEnabledSpecifies whether the rule is enabledBooleanRequired
readonlyReserved for Armor defined rules, should always be falseBooleanRequired

Rule Member

NameDescriptionTypeRequired
idThe ID of the rule memberIntegerRequired
nameThe Name of the rule memberStringRequired
type"group," "any"EnumerationRequired
valuesArray of network addressesArrayOptional (Only if type is group)

Service

NameDescriptionTypeRequired
idID of the serviceIntegerRequired
deviceIdID of the device the service belongs toIntegerRequired
locationName of the locationStringRequired
nameName of the serviceStringRequired
descriptionName of the descriptionStringOptional
valuesArray of ServiceValueArrayRequired

Service Value

NameDescriptionTypeRequired
portPort of the service to open. Eithis this or minimum/maximum port ranges must be specified.IntegerOptional
protocoltcp, udp, icmpEnumerationRequired
subprotocolICMP protocol only. Available enum values:
“echo-reply”, “echo-request”, “destination-unreachable”, “source-quench”, “time-exceeded” 
EnumerationOptional
minimumThe minimumport range for the service. If this is specified, maximum is required. Either this or "port" should be specified.IntegerOptional
maximumThe maximum port range for the service. If this is specified, minimum is required. Either this or "port" should be specified.IntegerOptional

Return Definitions

ReturnDescription
200Your request is successful.
202Your request is accepted, but may take longer than usual to complete.
400Your request failed.
404Your resource does not exist. For example, the virtual machine you specified does not exist.
500An error occurred on the server side and cannot process the request.

...