Interface SqlVulnerabilityAssessmentScanResultsClient
public interface SqlVulnerabilityAssessmentScanResultsClient
An instance of this class provides access to all the operations defined in
SqlVulnerabilityAssessmentScanResultsClient.
-
Method Summary
Modifier and TypeMethodDescriptionGets the scan results of a single rule in a scan record.com.azure.core.http.rest.Response<ScanResultInner>
getWithResponse
(String scanId, String scanResultId, String workspaceId, String resourceId, com.azure.core.util.Context context) Gets the scan results of a single rule in a scan record.Gets a list of scan results for a single scan record.com.azure.core.http.rest.Response<ScanResultsInner>
listWithResponse
(String scanId, String workspaceId, String resourceId, com.azure.core.util.Context context) Gets a list of scan results for a single scan record.
-
Method Details
-
get
Gets the scan results of a single rule in a scan record.- Parameters:
scanId
- The scan Id. Type 'latest' to get the scan results for the latest scan.scanResultId
- The rule Id of the results.workspaceId
- The workspace Id.resourceId
- The identifier of the resource.- Returns:
- the scan results of a single rule in a scan record.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
getWithResponse
com.azure.core.http.rest.Response<ScanResultInner> getWithResponse(String scanId, String scanResultId, String workspaceId, String resourceId, com.azure.core.util.Context context) Gets the scan results of a single rule in a scan record.- Parameters:
scanId
- The scan Id. Type 'latest' to get the scan results for the latest scan.scanResultId
- The rule Id of the results.workspaceId
- The workspace Id.resourceId
- The identifier of the resource.context
- The context to associate with this operation.- Returns:
- the scan results of a single rule in a scan record along with
Response
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
list
Gets a list of scan results for a single scan record.- Parameters:
scanId
- The scan Id. Type 'latest' to get the scan results for the latest scan.workspaceId
- The workspace Id.resourceId
- The identifier of the resource.- Returns:
- a list of scan results for a single scan record.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
listWithResponse
com.azure.core.http.rest.Response<ScanResultsInner> listWithResponse(String scanId, String workspaceId, String resourceId, com.azure.core.util.Context context) Gets a list of scan results for a single scan record.- Parameters:
scanId
- The scan Id. Type 'latest' to get the scan results for the latest scan.workspaceId
- The workspace Id.resourceId
- The identifier of the resource.context
- The context to associate with this operation.- Returns:
- a list of scan results for a single scan record along with
Response
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-