Apache CloudStack v4.1.0 User API Reference

authorizeSecurityGroupIngress

Authorizes a particular ingress rule for this security group

Request parameters

Parameter NameDescriptionRequired
accountan optional account for the security group. Must be used with domainId.false
cidrlistthe cidr list associatedfalse
domainidan optional domainId for the security group. If the account parameter is used, domainId must also be used.false
endportend port for this ingress rulefalse
icmpcodeerror code for this icmp messagefalse
icmptypetype of the icmp message being sentfalse
projectidan optional project of the security groupfalse
protocolTCP is default. UDP is the other supported protocolfalse
securitygroupidThe ID of the security group. Mutually exclusive with securityGroupName parameterfalse
securitygroupnameThe name of the security group. Mutually exclusive with securityGroupName parameterfalse
startportstart port for this ingress rulefalse
usersecuritygrouplistuser to security group mappingfalse

Response Tags

Response NameDescription
accountaccount owning the security group rule
cidrthe CIDR notation for the base IP address of the security group rule
endportthe ending IP of the security group rule
icmpcodethe code for the ICMP message response
icmptypethe type of the ICMP message response
protocolthe protocol of the security group rule
ruleidthe id of the security group rule
securitygroupnamesecurity group name
startportthe starting IP of the security group rule