SqlPoolVulnerabilityAssessments interface

Interface representing a SqlPoolVulnerabilityAssessments.

Methods

createOrUpdate(string, string, string, string, SqlPoolVulnerabilityAssessment, SqlPoolVulnerabilityAssessmentsCreateOrUpdateOptionalParams)

Creates or updates the Sql pool vulnerability assessment.

delete(string, string, string, string, SqlPoolVulnerabilityAssessmentsDeleteOptionalParams)

Removes the database's vulnerability assessment.

get(string, string, string, string, SqlPoolVulnerabilityAssessmentsGetOptionalParams)

Gets the Sql pool's vulnerability assessment.

list(string, string, string, SqlPoolVulnerabilityAssessmentsListOptionalParams)

Lists the vulnerability assessment policies associated with a SQL pool.

Method Details

createOrUpdate(string, string, string, string, SqlPoolVulnerabilityAssessment, SqlPoolVulnerabilityAssessmentsCreateOrUpdateOptionalParams)

Creates or updates the Sql pool vulnerability assessment.

function createOrUpdate(resourceGroupName: string, workspaceName: string, sqlPoolName: string, vulnerabilityAssessmentName: string, parameters: SqlPoolVulnerabilityAssessment, options?: SqlPoolVulnerabilityAssessmentsCreateOrUpdateOptionalParams): Promise<SqlPoolVulnerabilityAssessment>

Parameters

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

vulnerabilityAssessmentName

string

The name of the vulnerability assessment.

parameters
SqlPoolVulnerabilityAssessment

The requested resource.

Returns

delete(string, string, string, string, SqlPoolVulnerabilityAssessmentsDeleteOptionalParams)

Removes the database's vulnerability assessment.

function delete(resourceGroupName: string, workspaceName: string, sqlPoolName: string, vulnerabilityAssessmentName: string, options?: SqlPoolVulnerabilityAssessmentsDeleteOptionalParams): Promise<void>

Parameters

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

vulnerabilityAssessmentName

string

The name of the vulnerability assessment.

options
SqlPoolVulnerabilityAssessmentsDeleteOptionalParams

The options parameters.

Returns

Promise<void>

get(string, string, string, string, SqlPoolVulnerabilityAssessmentsGetOptionalParams)

Gets the Sql pool's vulnerability assessment.

function get(resourceGroupName: string, workspaceName: string, sqlPoolName: string, vulnerabilityAssessmentName: string, options?: SqlPoolVulnerabilityAssessmentsGetOptionalParams): Promise<SqlPoolVulnerabilityAssessment>

Parameters

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

vulnerabilityAssessmentName

string

The name of the vulnerability assessment.

options
SqlPoolVulnerabilityAssessmentsGetOptionalParams

The options parameters.

Returns

list(string, string, string, SqlPoolVulnerabilityAssessmentsListOptionalParams)

Lists the vulnerability assessment policies associated with a SQL pool.

function list(resourceGroupName: string, workspaceName: string, sqlPoolName: string, options?: SqlPoolVulnerabilityAssessmentsListOptionalParams): PagedAsyncIterableIterator<SqlPoolVulnerabilityAssessment, SqlPoolVulnerabilityAssessment[], PageSettings>

Parameters

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

options
SqlPoolVulnerabilityAssessmentsListOptionalParams

The options parameters.

Returns