Apache CloudStack 4.20.0.0 Root Admin API Reference

listNetworkACLs

Lists all network ACL items

Request parameters

Parameter NameDescriptionRequired
accountlist resources by account. Must be used with the domainId parameter.false
aclidlist network ACL items by ACL IDfalse
actionlist network ACL items by actionfalse
domainidlist only resources belonging to the domain specifiedfalse
fordisplaylist resources by display flag; only ROOT admin is eligible to pass this parameterfalse
idLists network ACL Item with the specified IDfalse
isrecursivedefaults to false, but if true, lists all resources from the parent specified by the domainId till leaves.false
keywordList by keywordfalse
listallIf set to false, list only resources belonging to the command's caller; if set to true - list resources that the caller is authorized to see. Default value is false. Resources dedicated to a project are listed only if using the projectid parameter.false
networkidlist network ACL items by network IDfalse
pagefalse
pagesizefalse
projectidlist objects by project; if projectid=-1 lists All VMsfalse
protocollist network ACL items by protocolfalse
tagsList resources by tags (key/value pairs)false
traffictypelist network ACL items by traffic type - ingress or egressfalse

Response Tags

Response NameDescription
idthe ID of the ACL Item
aclidthe ID of the ACL this item belongs to
aclnamethe name of the ACL this item belongs to
actionAction of ACL Item. Allow/Deny
cidrlistthe cidr list to forward traffic from. Multiple entries are separated by a single comma character (,).
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
domainpathpath 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