Apache CloudStack v4.8.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 securityGroupId 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 |
tags(*) | the list of resource tags associated with the rule |
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 |