ManagedDatabaseVulnerabilityAssessmentScans interface
Interface representing a ManagedDatabaseVulnerabilityAssessmentScans.
Methods
begin |
Executes a Vulnerability Assessment database scan. |
begin |
Executes a Vulnerability Assessment database scan. |
export(string, string, string, string, string, Managed |
Convert an existing scan result to a human readable format. If already exists nothing happens |
get(string, string, string, string, string, Managed |
Gets a vulnerability assessment scan record of a database. |
list |
Lists the vulnerability assessment scans of a database. |
Method Details
beginInitiateScan(string, string, string, string, string, ManagedDatabaseVulnerabilityAssessmentScansInitiateScanOptionalParams)
Executes a Vulnerability Assessment database scan.
function beginInitiateScan(resourceGroupName: string, managedInstanceName: string, databaseName: string, vulnerabilityAssessmentName: string, scanId: string, options?: ManagedDatabaseVulnerabilityAssessmentScansInitiateScanOptionalParams): 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.
- managedInstanceName
-
string
The name of the managed instance.
- 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.
The options parameters.
Returns
Promise<@azure/core-lro.SimplePollerLike<OperationState<void>, void>>
beginInitiateScanAndWait(string, string, string, string, string, ManagedDatabaseVulnerabilityAssessmentScansInitiateScanOptionalParams)
Executes a Vulnerability Assessment database scan.
function beginInitiateScanAndWait(resourceGroupName: string, managedInstanceName: string, databaseName: string, vulnerabilityAssessmentName: string, scanId: string, options?: ManagedDatabaseVulnerabilityAssessmentScansInitiateScanOptionalParams): 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.
- managedInstanceName
-
string
The name of the managed instance.
- 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.
The options parameters.
Returns
Promise<void>
export(string, string, string, string, string, ManagedDatabaseVulnerabilityAssessmentScansExportOptionalParams)
Convert an existing scan result to a human readable format. If already exists nothing happens
function export(resourceGroupName: string, managedInstanceName: string, databaseName: string, vulnerabilityAssessmentName: string, scanId: string, options?: ManagedDatabaseVulnerabilityAssessmentScansExportOptionalParams): 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.
- managedInstanceName
-
string
The name of the managed instance.
- databaseName
-
string
The name of the scanned database.
- vulnerabilityAssessmentName
-
string
The name of the vulnerability assessment.
- scanId
-
string
The vulnerability assessment scan Id.
The options parameters.
Returns
get(string, string, string, string, string, ManagedDatabaseVulnerabilityAssessmentScansGetOptionalParams)
Gets a vulnerability assessment scan record of a database.
function get(resourceGroupName: string, managedInstanceName: string, databaseName: string, vulnerabilityAssessmentName: string, scanId: string, options?: ManagedDatabaseVulnerabilityAssessmentScansGetOptionalParams): 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.
- managedInstanceName
-
string
The name of the managed instance.
- 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.
The options parameters.
Returns
Promise<VulnerabilityAssessmentScanRecord>
listByDatabase(string, string, string, string, ManagedDatabaseVulnerabilityAssessmentScansListByDatabaseOptionalParams)
Lists the vulnerability assessment scans of a database.
function listByDatabase(resourceGroupName: string, managedInstanceName: string, databaseName: string, vulnerabilityAssessmentName: string, options?: ManagedDatabaseVulnerabilityAssessmentScansListByDatabaseOptionalParams): 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.
- managedInstanceName
-
string
The name of the managed instance.
- databaseName
-
string
The name of the database.
- vulnerabilityAssessmentName
-
string
The name of the vulnerability assessment.
The options parameters.