Apache CloudStack v4.4.0 Domain Admin API Reference

createNetworkACL

Creates a ACL rule in the given network (the network has to belong to VPC)

Request parameters

Parameter NameDescriptionRequired
protocolthe protocol for the ACL rule. Valid values are TCP/UDP/ICMP/ALL or valid protocol numbertrue
aclidThe network of the vm the ACL will be created forfalse
actionscl entry action, allow or denyfalse
cidrlistthe cidr list to allow traffic from/tofalse
endportthe ending port of ACLfalse
fordisplayan optional field, whether to the display the rule to the end user or notfalse
icmpcodeerror code for this icmp messagefalse
icmptypetype of the icmp message being sentfalse
networkidThe network of the vm the ACL will be created forfalse
numberThe network of the vm the ACL will be created forfalse
startportthe starting port of ACLfalse
traffictypethe traffic type for the ACL,can be Ingress or Egress, defaulted to Ingress if not specifiedfalse

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
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