Interface SqlVulnerabilityAssessmentScans


public interface SqlVulnerabilityAssessmentScans
Resource collection API of SqlVulnerabilityAssessmentScans.
  • Method Summary

    Modifier and Type
    Method
    Description
    get(String scanId, String workspaceId, String resourceId)
    Gets the scan details of a single scan record.
    com.azure.core.http.rest.Response<Scan>
    getWithResponse(String scanId, String workspaceId, String resourceId, com.azure.core.util.Context context)
    Gets the scan details of a single scan record.
    list(String workspaceId, String resourceId)
    Gets a list of scan records.
    com.azure.core.http.rest.Response<Scans>
    listWithResponse(String workspaceId, String resourceId, com.azure.core.util.Context context)
    Gets a list of scan records.
  • Method Details

    • get

      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.
      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<Scan> getWithResponse(String scanId, String workspaceId, String resourceId, com.azure.core.util.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.
      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

      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.
      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<Scans> listWithResponse(String workspaceId, String resourceId, com.azure.core.util.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.
      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.