DatabaseVulnerabilityAssessmentScans interface

Interface representing a DatabaseVulnerabilityAssessmentScans.

Methods

beginInitiateScan(string, string, string, string, string, DatabaseVulnerabilityAssessmentScansInitiateScanOptionalParams)

Executes a Vulnerability Assessment database scan.

beginInitiateScanAndWait(string, string, string, string, string, DatabaseVulnerabilityAssessmentScansInitiateScanOptionalParams)

Executes a Vulnerability Assessment database scan.

export(string, string, string, string, string, DatabaseVulnerabilityAssessmentScansExportOptionalParams)

Convert an existing scan result to a human readable format. If already exists nothing happens

get(string, string, string, string, string, DatabaseVulnerabilityAssessmentScansGetOptionalParams)

Gets a vulnerability assessment scan record of a database.

listByDatabase(string, string, string, string, DatabaseVulnerabilityAssessmentScansListByDatabaseOptionalParams)

Lists the vulnerability assessment scans of a database.

Method Details

beginInitiateScan(string, string, string, string, string, DatabaseVulnerabilityAssessmentScansInitiateScanOptionalParams)

Executes a Vulnerability Assessment database scan.

function beginInitiateScan(resourceGroupName: string, serverName: string, databaseName: string, vulnerabilityAssessmentName: string, scanId: string, options?: DatabaseVulnerabilityAssessmentScansInitiateScanOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>

Parameters

resourceGroupName

string

The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.

serverName

string

The name of the server.

databaseName

string

The name of the database.

vulnerabilityAssessmentName

string

The name of the vulnerability assessment.

scanId

string

The vulnerability assessment scan Id of the scan to retrieve.

Returns

Promise<@azure/core-lro.SimplePollerLike<OperationState<void>, void>>

beginInitiateScanAndWait(string, string, string, string, string, DatabaseVulnerabilityAssessmentScansInitiateScanOptionalParams)

Executes a Vulnerability Assessment database scan.

function beginInitiateScanAndWait(resourceGroupName: string, serverName: string, databaseName: string, vulnerabilityAssessmentName: string, scanId: string, options?: DatabaseVulnerabilityAssessmentScansInitiateScanOptionalParams): Promise<void>

Parameters

resourceGroupName

string

The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.

serverName

string

The name of the server.

databaseName

string

The name of the database.

vulnerabilityAssessmentName

string

The name of the vulnerability assessment.

scanId

string

The vulnerability assessment scan Id of the scan to retrieve.

Returns

Promise<void>

export(string, string, string, string, string, DatabaseVulnerabilityAssessmentScansExportOptionalParams)

Convert an existing scan result to a human readable format. If already exists nothing happens

function export(resourceGroupName: string, serverName: string, databaseName: string, vulnerabilityAssessmentName: string, scanId: string, options?: DatabaseVulnerabilityAssessmentScansExportOptionalParams): Promise<DatabaseVulnerabilityAssessmentScansExport>

Parameters

resourceGroupName

string

The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.

serverName

string

The name of the server.

databaseName

string

The name of the scanned database.

vulnerabilityAssessmentName

string

The name of the vulnerability assessment.

scanId

string

The vulnerability assessment scan Id.

Returns

get(string, string, string, string, string, DatabaseVulnerabilityAssessmentScansGetOptionalParams)

Gets a vulnerability assessment scan record of a database.

function get(resourceGroupName: string, serverName: string, databaseName: string, vulnerabilityAssessmentName: string, scanId: string, options?: DatabaseVulnerabilityAssessmentScansGetOptionalParams): Promise<VulnerabilityAssessmentScanRecord>

Parameters

resourceGroupName

string

The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.

serverName

string

The name of the server.

databaseName

string

The name of the database.

vulnerabilityAssessmentName

string

The name of the vulnerability assessment.

scanId

string

The vulnerability assessment scan Id of the scan to retrieve.

Returns

listByDatabase(string, string, string, string, DatabaseVulnerabilityAssessmentScansListByDatabaseOptionalParams)

Lists the vulnerability assessment scans of a database.

function listByDatabase(resourceGroupName: string, serverName: string, databaseName: string, vulnerabilityAssessmentName: string, options?: DatabaseVulnerabilityAssessmentScansListByDatabaseOptionalParams): PagedAsyncIterableIterator<VulnerabilityAssessmentScanRecord, VulnerabilityAssessmentScanRecord[], PageSettings>

Parameters

resourceGroupName

string

The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.

serverName

string

The name of the server.

databaseName

string

The name of the database.

vulnerabilityAssessmentName

string

The name of the vulnerability assessment.

Returns