Delen via


SqlPoolVulnerabilityAssessmentScansOperationsExtensions.InitiateScanAsync Method

Definition

Executes a Vulnerability Assessment database scan.

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

Parameters

operations
ISqlPoolVulnerabilityAssessmentScansOperations

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

scanId
String

The vulnerability assessment scan Id of the scan to retrieve.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to