SqlVulnerabilityAssessmentScanResultsClient Interface

public interface SqlVulnerabilityAssessmentScanResultsClient

An instance of this class provides access to all the operations defined in SqlVulnerabilityAssessmentScanResultsClient.

Method Summary

Modifier and Type Method and Description
abstract ScanResultInner get(String scanId, String scanResultId, String resourceId)

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

abstract Response<ScanResultInner> getWithResponse(String scanId, String scanResultId, String resourceId, String databaseName, Context context)

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

abstract PagedIterable<ScanResultInner> list(String scanId, String resourceId)

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

abstract PagedIterable<ScanResultInner> list(String scanId, String resourceId, String databaseName, Context context)

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

Method Details

get

public abstract ScanResultInner get(String scanId, String scanResultId, String resourceId)

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

Parameters:

scanId - The scan Id.
scanResultId - The rule Id of the results.
resourceId - The fully qualified Azure Resource manager identifier of the resource.

Returns:

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

getWithResponse

public abstract Response<ScanResultInner> getWithResponse(String scanId, String scanResultId, String resourceId, String databaseName, Context context)

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

Parameters:

scanId - The scan Id.
scanResultId - The rule Id of the results.
resourceId - The fully qualified Azure Resource manager identifier of the resource.
databaseName - The name of the database to assess. Required when the API is called on the parent resource (e.g., server level) rather than on a specific database resource, since the database name is not part of the resource URI. This is the only way to assess system databases (e.g., master), which cannot be referenced directly in the resource URI.
context - The context to associate with this operation.

Returns:

the scan results of a single rule in a scan record along with Response<T>.

list

public abstract PagedIterable<ScanResultInner> list(String scanId, String resourceId)

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

Parameters:

scanId - The scan Id.
resourceId - The fully qualified Azure Resource manager identifier of the resource.

Returns:

a list of scan results for a single scan record as paginated response with PagedIterable<T>.

list

public abstract PagedIterable<ScanResultInner> list(String scanId, String resourceId, String databaseName, Context context)

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

Parameters:

scanId - The scan Id.
resourceId - The fully qualified Azure Resource manager identifier of the resource.
databaseName - The name of the database to assess. Required when the API is called on the parent resource (e.g., server level) rather than on a specific database resource, since the database name is not part of the resource URI. This is the only way to assess system databases (e.g., master), which cannot be referenced directly in the resource URI.
context - The context to associate with this operation.

Returns:

a list of scan results for a single scan record as paginated response with PagedIterable<T>.

Applies to