SqlVulnerabilityAssessmentScansOperations Class
Warning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
<xref:sql_vulnerability_assessment_scans> attribute.
Constructor
SqlVulnerabilityAssessmentScansOperations(*args, **kwargs)
get |
Gets the scan details of a single scan record. Gets the scan details of a single scan record. |
list |
Gets a list of scan records. Gets a list of scan records. |
get
Gets the scan details of a single scan record.
Gets the scan details of a single scan record.
get(scan_id: str, workspace_id: str, resource_id: str, **kwargs: Any) -> Scan
Parameters
Name | Description |
---|---|
scan_id
Required
|
The scan Id. Type 'latest' to get the scan record for the latest scan. Required. |
workspace_id
Required
|
The workspace Id. Required. |
resource_id
Required
|
The identifier of the resource. Required. |
Returns
Type | Description |
---|---|
Scan or the result of cls(response) |
Exceptions
Type | Description |
---|---|
list
Gets a list of scan records.
Gets a list of scan records.
list(workspace_id: str, resource_id: str, **kwargs: Any) -> Scans
Parameters
Name | Description |
---|---|
workspace_id
Required
|
The workspace Id. Required. |
resource_id
Required
|
The identifier of the resource. Required. |
Returns
Type | Description |
---|---|
Scans 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: