Apache CloudStack 4.13.0.0 Root Admin API Reference

moveNetworkAclItem

Move an ACL rule to a position bettwen two other ACL rules of the same ACL network list

Request parameters

Parameter NameDescriptionRequired
idThe ID of the network ACL rule that is being moved to a new position.true
aclconsistencyhashMd5 hash used to check the consistency of the ACL rule list before applying the ACL rule move. This check is useful to manage concurrency problems that may happen when multiple users are editing the same ACL rule listing. The parameter is not required. Therefore, if the user does not send it, he/she is assuming the risk of moving ACL rules without checking the consistency of the access control list before executing the move. We use MD5 hash function on a String that is composed of all UUIDs of the ACL rules in concatenated in their respective order (order defined via 'number' field).false
customidan optional field, in case you want to set a custom id to the resource. Allowed to Root Admins onlyfalse
nextaclruleidThe ID of the rule that is right after the new position where the rule being moved is going to be placed. This value can be 'NULL' if the rule is being moved to the last position of the network ACL list.false
previousaclruleidThe ID of the first rule that is right before the new position where the rule being moved is going to be placed. This value can be 'NULL' if the rule is being moved to the first position of the network ACL list.false

Response Tags

Response NameDescription
idthe ID of the ACL Item
aclidthe ID of the ACL this item belongs to
actionAction of ACL Item. Allow/Deny
cidrlistthe cidr list to forward traffic from
endportthe ending port of ACL's port range
fordisplayis rule for display to the regular user
icmpcodeerror code for this icmp message
icmptypetype of the icmp message being sent
numberNumber of the ACL Item
protocolthe protocol of the ACL
reasonan explanation on why this ACL rule is being applied
startportthe starting port of ACL's port range
statethe state of the rule
traffictypethe traffic type for the ACL
tags(*)the list of resource tags associated with the network ACLs
accountthe account associated with the tag
customercustomer associated with the tag
domainthe domain associated with the tag
domainidthe ID of the domain associated with the tag
keytag key name
projectthe project name where tag belongs to
projectidthe project id the tag belongs to
resourceidid of the resource
resourcetyperesource type
valuetag value