Apache CloudStack 4.15.0.0 Root Admin 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 associated. Multiple entries must be separated by a single comma character (,).false
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
protocolthe protocol for the ACL rule. Valid values are TCP/UDP/ICMP/ALL or valid protocol number (see /etc/protocols). ALL is default.false
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