SqlVulnerabilityAssessmentScanResultsOperations Class
Warning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
<xref:sql_vulnerability_assessment_scan_results> attribute.
Constructor
SqlVulnerabilityAssessmentScanResultsOperations(*args, **kwargs)
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.
get(scan_id: str, scan_result_id: str, workspace_id: str, resource_id: str, **kwargs: Any) -> ScanResult
Parameters
Name | Description |
---|---|
scan_id
Required
|
The scan Id. Type 'latest' to get the scan results for the latest scan. Required. |
scan_result_id
Required
|
The rule Id of the results. Required. |
workspace_id
Required
|
The workspace Id. Required. |
resource_id
Required
|
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.
list(scan_id: str, workspace_id: str, resource_id: str, **kwargs: Any) -> ScanResults
Parameters
Name | Description |
---|---|
scan_id
Required
|
The scan Id. Type 'latest' to get the scan results for the latest scan. Required. |
workspace_id
Required
|
The workspace Id. Required. |
resource_id
Required
|
The identifier of the resource. Required. |
Returns
Type | Description |
---|---|
ScanResults or the result of cls(response) |
Exceptions
Type | Description |
---|---|
models
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'>
Azure SDK for Python feedback
Azure SDK for Python is an open source project. Select a link to provide feedback: