Apache CloudStack 4.0.0-incubating User API Reference
createNetworkACL
Creates a ACL rule the given network (the network has to belong to VPC)
Request parameters
Parameter Name | Description | Required |
networkid | The network of the vm the ACL will be created for | true |
protocol | the protocol for the ACL rule. Valid values are TCP/UDP/ICMP. | true |
cidrlist | the cidr list to allow traffic from/to | false |
endport | the ending port of ACL | false |
icmpcode | error code for this icmp message | false |
icmptype | type of the icmp message being sent | 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 |
cidrlist | the cidr list to forward traffic from |
endport | the ending port of ACL's port range |
icmpcode | error code for this icmp message |
icmptype | type of the icmp message being sent |
protocol | the protocol of the ACL |
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 |