code: public Observable<VulnerabilityAssessmentScanRecordInner> getAsync(String resourceGroupName, String managedInstanceName, String databaseName, String scanId) {
          return getWithServiceResponseAsync(resourceGroupName, managedInstanceName, databaseName, scanId).map(new Func1<ServiceResponse<VulnerabilityAssessmentScanRecordInner>, VulnerabilityAssessmentScanRecordInner>() {
              @Override
              public VulnerabilityAssessmentScanRecordInner call(ServiceResponse<VulnerabilityAssessmentScanRecordInner> response) {
                  return response.body();
              }
          });
      }
docs: Gets a vulnerability assessment scan record of a database.
  
  @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 database.
  @param scanId The vulnerability assessment scan Id of the scan to retrieve.
  @throws IllegalArgumentException thrown if parameters fail the validation
  @return the observable to the VulnerabilityAssessmentScanRecordInner object