Interface SqlVulnerabilityAssessmentScansClient


public interface SqlVulnerabilityAssessmentScansClient
An instance of this class provides access to all the operations defined in SqlVulnerabilityAssessmentScansClient.
  • Method Details

    • get

      ScanInner 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<ScanInner> 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

      ScansInner 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<ScansInner> 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.