CORE-3854 Refactored AnalysisNameValidator into DiskResourceNameValidator.(cherry picked from commit d0b3e7c458c30e21a2885ac3fa9c2e4378f1caf1)