// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.

package com.azure.resourcemanager.synapse.generated;

import com.azure.resourcemanager.synapse.models.VulnerabilityAssessmentName;
import com.azure.resourcemanager.synapse.models.VulnerabilityAssessmentPolicyBaselineName;

/** Samples for SqlPoolVulnerabilityAssessmentRuleBaselines Delete. */
public final class SqlPoolVulnerabilityAssessmentRuleBaselinesDeleteSamples {
    /*
     * x-ms-original-file: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/DeleteSqlPoolVulnerabilityAssessmentRuleBaseline.json
     */
    /**
     * Sample code: Removes a database's vulnerability assessment rule baseline.
     *
     * @param manager Entry point to SynapseManager.
     */
    public static void removesADatabaseSVulnerabilityAssessmentRuleBaseline(
        com.azure.resourcemanager.synapse.SynapseManager manager) {
        manager
            .sqlPoolVulnerabilityAssessmentRuleBaselines()
            .deleteWithResponse(
                "vulnerabilityaseessmenttest-4799",
                "vulnerabilityaseessmenttest-6440",
                "testdb",
                VulnerabilityAssessmentName.DEFAULT,
                "VA1001",
                VulnerabilityAssessmentPolicyBaselineName.DEFAULT,
                com.azure.core.util.Context.NONE);
    }
}
