public deleteSecurityGroupRule ( string $securityGroupRuleId ) : boolean | ||
$securityGroupRuleId | string | The UUID of the security group rule to delete |
return | boolean | Returns true on success or throws an exception |
public function deleteSecurityGroupRule($securityGroupRuleId)
{
if ($this->hasNetworkSecurityGroupExtension()) {
$result = $this->network->securityGroups->deleteRule($securityGroupRuleId);
} else {
$result = $this->servers->securityGroups->deleteRule($securityGroupRuleId);
}
return $result;
}