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

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

Removes a specific security group
public deleteSecurityGroup ( integer $securityGroupId ) : boolean
$securityGroupId integer Security group unique identifier.
Результат boolean Returns true on success or throws an exception
    public function deleteSecurityGroup($securityGroupId)
    {
        if ($this->hasNetworkSecurityGroupExtension()) {
            $result = $this->network->securityGroups->delete($securityGroupId);
        } else {
            $result = $this->servers->securityGroups->delete($securityGroupId);
        }
        return $result;
    }