Interface DatabaseVulnerabilityAssessmentScansClient


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

    • listByDatabaseAsync

      com.azure.core.http.rest.PagedFlux<VulnerabilityAssessmentScanRecordInner> listByDatabaseAsync(String resourceGroupName, String serverName, String databaseName, VulnerabilityAssessmentName vulnerabilityAssessmentName)
      Lists the vulnerability assessment scans of a database.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      serverName - The name of the server.
      databaseName - The name of the database.
      vulnerabilityAssessmentName - The name of the vulnerability assessment.
      Returns:
      a list of vulnerability assessment scan records as paginated response with PagedFlux.
      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.
    • listByDatabase

      com.azure.core.http.rest.PagedIterable<VulnerabilityAssessmentScanRecordInner> listByDatabase(String resourceGroupName, String serverName, String databaseName, VulnerabilityAssessmentName vulnerabilityAssessmentName)
      Lists the vulnerability assessment scans of a database.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      serverName - The name of the server.
      databaseName - The name of the database.
      vulnerabilityAssessmentName - The name of the vulnerability assessment.
      Returns:
      a list of vulnerability assessment scan records as paginated response with PagedIterable.
      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.
    • listByDatabase

      com.azure.core.http.rest.PagedIterable<VulnerabilityAssessmentScanRecordInner> listByDatabase(String resourceGroupName, String serverName, String databaseName, VulnerabilityAssessmentName vulnerabilityAssessmentName, com.azure.core.util.Context context)
      Lists the vulnerability assessment scans of a database.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      serverName - The name of the server.
      databaseName - The name of the database.
      vulnerabilityAssessmentName - The name of the vulnerability assessment.
      context - The context to associate with this operation.
      Returns:
      a list of vulnerability assessment scan records as paginated response with PagedIterable.
      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.
    • getWithResponseAsync

      Mono<com.azure.core.http.rest.Response<VulnerabilityAssessmentScanRecordInner>> getWithResponseAsync(String resourceGroupName, String serverName, String databaseName, VulnerabilityAssessmentName vulnerabilityAssessmentName, String scanId)
      Gets a vulnerability assessment scan record of a database.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      serverName - The name of the server.
      databaseName - The name of the database.
      vulnerabilityAssessmentName - The name of the vulnerability assessment.
      scanId - The vulnerability assessment scan Id of the scan to retrieve.
      Returns:
      a vulnerability assessment scan record of a database along with Response on successful completion of Mono.
      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.
    • getAsync

      Mono<VulnerabilityAssessmentScanRecordInner> getAsync(String resourceGroupName, String serverName, String databaseName, VulnerabilityAssessmentName vulnerabilityAssessmentName, String scanId)
      Gets a vulnerability assessment scan record of a database.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      serverName - The name of the server.
      databaseName - The name of the database.
      vulnerabilityAssessmentName - The name of the vulnerability assessment.
      scanId - The vulnerability assessment scan Id of the scan to retrieve.
      Returns:
      a vulnerability assessment scan record of a database on successful completion of Mono.
      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<VulnerabilityAssessmentScanRecordInner> getWithResponse(String resourceGroupName, String serverName, String databaseName, VulnerabilityAssessmentName vulnerabilityAssessmentName, String scanId, com.azure.core.util.Context context)
      Gets a vulnerability assessment scan record of a database.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      serverName - The name of the server.
      databaseName - The name of the database.
      vulnerabilityAssessmentName - The name of the vulnerability assessment.
      scanId - The vulnerability assessment scan Id of the scan to retrieve.
      context - The context to associate with this operation.
      Returns:
      a vulnerability assessment scan record of a database 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.
    • get

      VulnerabilityAssessmentScanRecordInner get(String resourceGroupName, String serverName, String databaseName, VulnerabilityAssessmentName vulnerabilityAssessmentName, String scanId)
      Gets a vulnerability assessment scan record of a database.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      serverName - The name of the server.
      databaseName - The name of the database.
      vulnerabilityAssessmentName - The name of the vulnerability assessment.
      scanId - The vulnerability assessment scan Id of the scan to retrieve.
      Returns:
      a vulnerability assessment scan record of a database.
      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.
    • exportWithResponseAsync

      Mono<com.azure.core.http.rest.Response<DatabaseVulnerabilityAssessmentScansExportInner>> exportWithResponseAsync(String resourceGroupName, String serverName, String databaseName, VulnerabilityAssessmentName vulnerabilityAssessmentName, String scanId)
      Convert an existing scan result to a human readable format. If already exists nothing happens.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      serverName - The name of the server.
      databaseName - The name of the scanned database.
      vulnerabilityAssessmentName - The name of the vulnerability assessment.
      scanId - The vulnerability assessment scan Id.
      Returns:
      a database Vulnerability Assessment scan export resource along with Response on successful completion of Mono.
      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.
    • exportAsync

      Mono<DatabaseVulnerabilityAssessmentScansExportInner> exportAsync(String resourceGroupName, String serverName, String databaseName, VulnerabilityAssessmentName vulnerabilityAssessmentName, String scanId)
      Convert an existing scan result to a human readable format. If already exists nothing happens.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      serverName - The name of the server.
      databaseName - The name of the scanned database.
      vulnerabilityAssessmentName - The name of the vulnerability assessment.
      scanId - The vulnerability assessment scan Id.
      Returns:
      a database Vulnerability Assessment scan export resource on successful completion of Mono.
      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.
    • exportWithResponse

      com.azure.core.http.rest.Response<DatabaseVulnerabilityAssessmentScansExportInner> exportWithResponse(String resourceGroupName, String serverName, String databaseName, VulnerabilityAssessmentName vulnerabilityAssessmentName, String scanId, com.azure.core.util.Context context)
      Convert an existing scan result to a human readable format. If already exists nothing happens.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      serverName - The name of the server.
      databaseName - The name of the scanned database.
      vulnerabilityAssessmentName - The name of the vulnerability assessment.
      scanId - The vulnerability assessment scan Id.
      context - The context to associate with this operation.
      Returns:
      a database Vulnerability Assessment scan export resource 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.
    • export

      DatabaseVulnerabilityAssessmentScansExportInner export(String resourceGroupName, String serverName, String databaseName, VulnerabilityAssessmentName vulnerabilityAssessmentName, String scanId)
      Convert an existing scan result to a human readable format. If already exists nothing happens.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      serverName - The name of the server.
      databaseName - The name of the scanned database.
      vulnerabilityAssessmentName - The name of the vulnerability assessment.
      scanId - The vulnerability assessment scan Id.
      Returns:
      a database Vulnerability Assessment scan export resource.
      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.
    • initiateScanWithResponseAsync

      Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> initiateScanWithResponseAsync(String resourceGroupName, String serverName, String databaseName, VulnerabilityAssessmentName vulnerabilityAssessmentName, String scanId)
      Executes a Vulnerability Assessment database scan.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      serverName - The name of the server.
      databaseName - The name of the database.
      vulnerabilityAssessmentName - The name of the vulnerability assessment.
      scanId - The vulnerability assessment scan Id of the scan to retrieve.
      Returns:
      the Response on successful completion of Mono.
      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.
    • beginInitiateScanAsync

      com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>, Void> beginInitiateScanAsync(String resourceGroupName, String serverName, String databaseName, VulnerabilityAssessmentName vulnerabilityAssessmentName, String scanId)
      Executes a Vulnerability Assessment database scan.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      serverName - The name of the server.
      databaseName - The name of the database.
      vulnerabilityAssessmentName - The name of the vulnerability assessment.
      scanId - The vulnerability assessment scan Id of the scan to retrieve.
      Returns:
      the PollerFlux for polling of long-running operation.
      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.
    • beginInitiateScan

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>, Void> beginInitiateScan(String resourceGroupName, String serverName, String databaseName, VulnerabilityAssessmentName vulnerabilityAssessmentName, String scanId)
      Executes a Vulnerability Assessment database scan.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      serverName - The name of the server.
      databaseName - The name of the database.
      vulnerabilityAssessmentName - The name of the vulnerability assessment.
      scanId - The vulnerability assessment scan Id of the scan to retrieve.
      Returns:
      the SyncPoller for polling of long-running operation.
      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.
    • beginInitiateScan

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>, Void> beginInitiateScan(String resourceGroupName, String serverName, String databaseName, VulnerabilityAssessmentName vulnerabilityAssessmentName, String scanId, com.azure.core.util.Context context)
      Executes a Vulnerability Assessment database scan.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      serverName - The name of the server.
      databaseName - The name of the database.
      vulnerabilityAssessmentName - The name of the vulnerability assessment.
      scanId - The vulnerability assessment scan Id of the scan to retrieve.
      context - The context to associate with this operation.
      Returns:
      the SyncPoller for polling of long-running operation.
      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.
    • initiateScanAsync

      Mono<Void> initiateScanAsync(String resourceGroupName, String serverName, String databaseName, VulnerabilityAssessmentName vulnerabilityAssessmentName, String scanId)
      Executes a Vulnerability Assessment database scan.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      serverName - The name of the server.
      databaseName - The name of the database.
      vulnerabilityAssessmentName - The name of the vulnerability assessment.
      scanId - The vulnerability assessment scan Id of the scan to retrieve.
      Returns:
      A Mono that completes when a successful response is received.
      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.
    • initiateScan

      void initiateScan(String resourceGroupName, String serverName, String databaseName, VulnerabilityAssessmentName vulnerabilityAssessmentName, String scanId)
      Executes a Vulnerability Assessment database scan.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      serverName - The name of the server.
      databaseName - The name of the database.
      vulnerabilityAssessmentName - The name of the vulnerability assessment.
      scanId - The vulnerability assessment scan Id of the scan to retrieve.
      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.
    • initiateScan

      void initiateScan(String resourceGroupName, String serverName, String databaseName, VulnerabilityAssessmentName vulnerabilityAssessmentName, String scanId, com.azure.core.util.Context context)
      Executes a Vulnerability Assessment database scan.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      serverName - The name of the server.
      databaseName - The name of the database.
      vulnerabilityAssessmentName - The name of the vulnerability assessment.
      scanId - The vulnerability assessment scan Id of the scan to retrieve.
      context - The context to associate with this operation.
      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.