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