code: public DatabaseVulnerabilityAssessmentScansExportInner export(String resourceGroupName, String managedInstanceName, String databaseName, String scanId) {
          return exportWithServiceResponseAsync(resourceGroupName, managedInstanceName, databaseName, scanId).toBlocking().single().body();
      }
docs: Convert an existing scan result to a human readable format. If already exists nothing happens.
  
  @param 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.
  @param managedInstanceName The name of the managed instance.
  @param databaseName The name of the scanned database.
  @param scanId The vulnerability assessment scan Id.
  @throws IllegalArgumentException thrown if parameters fail the validation
  @throws CloudException thrown if the request is rejected by server
  @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent
  @return the DatabaseVulnerabilityAssessmentScansExportInner object if successful.