SqlVulnerabilityAssessmentScansOperations Class

Warning

DO NOT instantiate this class directly.

Instead, you should access the following operations through

SecurityCenter's

<xref:sql_vulnerability_assessment_scans> attribute.

Constructor

Python
SqlVulnerabilityAssessmentScansOperations(*args, **kwargs)

Methods

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.

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

Parameters

Name Description
scan_id
Required
str

The scan Id. Type 'latest' to get the scan record 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

Scan or the result of cls(response)

Exceptions

Type Description

list

Gets a list of scan records.

Gets a list of scan records.

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

Parameters

Name Description
workspace_id
Required
str

The workspace Id. Required.

resource_id
Required
str

The identifier of the resource. Required.

Returns

Type Description

Scans 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'>