Scalr\Service\OpenStack\OpenStack::deleteSecurityGroupRule PHP Метод

deleteSecurityGroupRule() публичный Метод

Deletes Security Group Rule (DELETE /security-group-rules/​rules-security-groups-id})
public deleteSecurityGroupRule ( string $securityGroupRuleId ) : boolean
$securityGroupRuleId string The UUID of the security group rule to delete
Результат 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;
    }