Apache CloudStack 4.15.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 Name | Description | Required |
id | The ID of the network ACL rule that is being moved to a new position. | true |
aclconsistencyhash | Md5 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 |
customid | an optional field, in case you want to set a custom id to the resource. Allowed to Root Admins only | false |
nextaclruleid | The 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 |
previousaclruleid | The 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 Name | Description |
id | the ID of the ACL Item |
aclid | the ID of the ACL this item belongs to |
aclname | the name of the ACL this item belongs to |
action | Action of ACL Item. Allow/Deny |
cidrlist | the cidr list to forward traffic from. Multiple entries are separated by a single comma character (,). |
endport | the ending port of ACL's port range |
fordisplay | is rule for display to the regular user |
icmpcode | error code for this icmp message |
icmptype | type of the icmp message being sent |
number | Number of the ACL Item |
protocol | the protocol of the ACL |
reason | an explanation on why this ACL rule is being applied |
startport | the starting port of ACL's port range |
state | the state of the rule |
traffictype | the traffic type for the ACL |
tags(*) | the list of resource tags associated with the network ACLs |
account | the account associated with the tag |
customer | customer associated with the tag |
domain | the domain associated with the tag |
domainid | the ID of the domain associated with the tag |
key | tag key name |
project | the project name where tag belongs to |
projectid | the project id the tag belongs to |
resourceid | id of the resource |
resourcetype | resource type |
value | tag value |