Apache CloudStack v4.1.0 User API Reference
authorizeSecurityGroupIngress
Authorizes a particular ingress rule for this security group
Request parameters
Parameter Name | Description | Required |
account | an optional account for the security group. Must be used with domainId. | false |
cidrlist | the cidr list associated | false |
domainid | an optional domainId for the security group. If the account parameter is used, domainId must also be used. | false |
endport | end port for this ingress rule | false |
icmpcode | error code for this icmp message | false |
icmptype | type of the icmp message being sent | false |
projectid | an optional project of the security group | false |
protocol | TCP is default. UDP is the other supported protocol | false |
securitygroupid | The ID of the security group. Mutually exclusive with securityGroupName parameter | false |
securitygroupname | The name of the security group. Mutually exclusive with securityGroupName parameter | false |
startport | start port for this ingress rule | false |
usersecuritygrouplist | user to security group mapping | false |
Response Tags
Response Name | Description |
account | account owning the security group rule |
cidr | the CIDR notation for the base IP address of the security group rule |
endport | the ending IP of the security group rule |
icmpcode | the code for the ICMP message response |
icmptype | the type of the ICMP message response |
protocol | the protocol of the security group rule |
ruleid | the id of the security group rule |
securitygroupname | security group name |
startport | the starting IP of the security group rule |