SqlPoolVulnerabilityAssessmentRuleBaselinesOperationsExtensions.DeleteAsync Method

Definition

Removes the database's vulnerability assessment rule baseline.

public static System.Threading.Tasks.Task DeleteAsync (this Microsoft.Azure.Management.Synapse.ISqlPoolVulnerabilityAssessmentRuleBaselinesOperations operations, string resourceGroupName, string workspaceName, string sqlPoolName, string ruleId, Microsoft.Azure.Management.Synapse.Models.VulnerabilityAssessmentPolicyBaselineName baselineName, System.Threading.CancellationToken cancellationToken = default);
static member DeleteAsync : Microsoft.Azure.Management.Synapse.ISqlPoolVulnerabilityAssessmentRuleBaselinesOperations * string * string * string * string * Microsoft.Azure.Management.Synapse.Models.VulnerabilityAssessmentPolicyBaselineName * System.Threading.CancellationToken -> System.Threading.Tasks.Task
<Extension()>
Public Function DeleteAsync (operations As ISqlPoolVulnerabilityAssessmentRuleBaselinesOperations, resourceGroupName As String, workspaceName As String, sqlPoolName As String, ruleId As String, baselineName As VulnerabilityAssessmentPolicyBaselineName, Optional cancellationToken As CancellationToken = Nothing) As Task

Parameters

operations
ISqlPoolVulnerabilityAssessmentRuleBaselinesOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group. The name is case insensitive.

workspaceName
String

The name of the workspace

sqlPoolName
String

SQL pool name

ruleId
String

The vulnerability assessment rule ID.

baselineName
VulnerabilityAssessmentPolicyBaselineName

The name of the vulnerability assessment rule baseline (default implies a baseline on a Sql pool level rule and master for workspace level rule). Possible values include: 'master', 'default'

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to