SqlVulnerabilityAssessmentScans Interface

public interface SqlVulnerabilityAssessmentScans

Resource collection API of SqlVulnerabilityAssessmentScans.

Method Summary

Modifier and Type Method and Description
abstract Scan get(String scanId, String workspaceId, String resourceId)

Gets the scan details of a single scan record.

abstract Response<Scan> getWithResponse(String scanId, String workspaceId, String resourceId, Context context)

Gets the scan details of a single scan record.

abstract Scans list(String workspaceId, String resourceId)

Gets a list of scan records.

abstract Response<Scans> listWithResponse(String workspaceId, String resourceId, Context context)

Gets a list of scan records.

Method Details

get

public abstract Scan get(String scanId, String workspaceId, String resourceId)

Gets the scan details of a single scan record.

Parameters:

scanId - The scan Id. Type 'latest' to get the scan record for the latest scan.
workspaceId - The workspace Id.
resourceId - The identifier of the resource.

Returns:

the scan details of a single scan record.

getWithResponse

public abstract Response getWithResponse(String scanId, String workspaceId, String resourceId, Context context)

Gets the scan details of a single scan record.

Parameters:

scanId - The scan Id. Type 'latest' to get the scan record for the latest scan.
workspaceId - The workspace Id.
resourceId - The identifier of the resource.
context - The context to associate with this operation.

Returns:

the scan details of a single scan record along with Response<T>.

list

public abstract Scans list(String workspaceId, String resourceId)

Gets a list of scan records.

Parameters:

workspaceId - The workspace Id.
resourceId - The identifier of the resource.

Returns:

a list of scan records.

listWithResponse

public abstract Response listWithResponse(String workspaceId, String resourceId, Context context)

Gets a list of scan records.

Parameters:

workspaceId - The workspace Id.
resourceId - The identifier of the resource.
context - The context to associate with this operation.

Returns:

a list of scan records along with Response<T>.

Applies to