AddSecurityGroupRule
Adds a rule to a security group. For example,
AddSecurityGroupRule rules="[{'type':'Ingress', 'protocol':'TCP', 'startPort':'22', \
'endPort':'22', 'allowedCidr':'0.0.0.0/0'}]" securityGroupUuid=090990371a5e4949a2a129628ba91275
Parameters
Name | Description | Optional | Valid Value | Starting Version |
---|---|---|---|---|
securityGroupUuid | The security group UUID. | 0.6 | ||
rules | The rules in the security group. | 0.6 | ||
remoteSecurityGroupUuids | The security group that the rule takes effect. | Yes | 0.6 | |
userTags | The user tags. For more information, see CreateUserTag. The resource type is SecurityGroupVO. | Yes | 0.6 | |
systemTags | The system tags. For more information, see CreateSystemTag. The resource rye is SecurityGroupVO. | Yes | 0.6 | |
timeout | Yes |