/// <summary> /// Remove the Vulnerability Assessment Rule Baseline /// </summary> public void ClearVulnerabilityAssessmentRuleBaseline(VulnerabilityAssessmentRuleBaselineModel model, string workspaceName, string sqlPoolName, ApplyToType applyToType) { if (applyToType == ApplyToType.SqlPool) { VulnerabilityAssessmentCommunicator.ClearSqlPoolVulnerabilityAssessmentRuleBaseline(model.ResourceGroupName, workspaceName, sqlPoolName, model.RuleId, model.RuleAppliesToMaster); } else { throw new NotSupportedException(Resources.VulnerabilityAssessmentTypeNotSupported); } }