SqlVulnerabilityAssessmentScanResultsOperations Class

Warning

DO NOT instantiate this class directly.

Instead, you should access the following operations through

SecurityCenter's

<xref:sql_vulnerability_assessment_scan_results> attribute.

Constructor

Python
SqlVulnerabilityAssessmentScanResultsOperations(*args, **kwargs)

Methods

get

Gets the scan results of a single rule in a scan record.

Gets the scan results of a single rule in a scan record.

list

Gets a list of scan results for a single scan record.

Gets a list of scan results for a single scan record.

get

Gets the scan results of a single rule in a scan record.

Gets the scan results of a single rule in a scan record.

Python
get(scan_id: str, scan_result_id: str, workspace_id: str, resource_id: str, **kwargs: Any) -> ScanResult

Parameters

Name Description
scan_id
Required
str

The scan Id. Type 'latest' to get the scan results for the latest scan. Required.

scan_result_id
Required
str

The rule Id of the results. Required.

workspace_id
Required
str

The workspace Id. Required.

resource_id
Required
str

The identifier of the resource. Required.

Returns

Type Description

ScanResult or the result of cls(response)

Exceptions

Type Description

list

Gets a list of scan results for a single scan record.

Gets a list of scan results for a single scan record.

Python
list(scan_id: str, workspace_id: str, resource_id: str, **kwargs: Any) -> ScanResults

Parameters

Name Description
scan_id
Required
str

The scan Id. Type 'latest' to get the scan results for the latest scan. Required.

workspace_id
Required
str

The workspace Id. Required.

resource_id
Required
str

The identifier of the resource. Required.

Returns

Type Description

ScanResults or the result of cls(response)

Exceptions

Type Description

Attributes

models

Python
models = <module 'azure.mgmt.security.v2023_02_01_preview.models' from 'C:\\hostedtoolcache\\windows\\Python\\3.11.10\\x64\\Lib\\site-packages\\py2docfx\\venv\\venv200\\Lib\\site-packages\\azure\\mgmt\\security\\v2023_02_01_preview\\models\\__init__.py'>