Apache CloudStack 4.23.0.0 Root Admin API Reference
updateNetworkACLItem
Updates ACL item with specified ID
Request parameters
| Parameter Name | Description | Required |
| id | The ID of the network ACL item | true |
| action | ACL entry action, allow or deny | false |
| cidrlist | The CIDR list to allow traffic from/to. Multiple entries must be separated by a single comma character (,). | false |
| customid | An optional field, in case you want to set a custom id to the resource. Allowed to Root Admins only | false |
| endport | The ending port of ACL | false |
| fordisplay | An optional field, whether to the display the rule to the end User or not | false |
| icmpcode | Error code for this ICMP message | false |
| icmptype | Type of the ICMP message being sent | false |
| number | The Network of the Instance the ACL will be created for | false |
| partialupgrade | Indicates if the ACL rule is to be updated partially (merging the parameters sent with current configuration) or completely (disconsidering all of the current configurations). The default value is 'true'. | false |
| protocol | The protocol for the ACL rule. Valid values are TCP/UDP/ICMP/ALL or valid protocol number | false |
| reason | A description indicating why the ACL rule is required. | false |
| startport | The starting port of ACL | false |
| traffictype | The traffic type for the ACL, can be Ingress or Egress, defaulted to Ingress if not specified | 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 |
| domainpath | Path 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 |