docs: public Observable<ServiceResponse<DatabaseVulnerabilityAssessmentRuleBaselineInner>> createOrUpdateWithServiceResponseAsync(String resourceGroupName, String managedInstanceName, String databaseName, String ruleId, VulnerabilityAssessmentPolicyBaselineName baselineName, List<DatabaseVulnerabilityAssessmentRuleBaselineItem> baselineResults) {
          if (resourceGroupName == null) {
              throw new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.");
          }
          if (managedInstanceName == null) {
              throw new IllegalArgumentException("Parameter managedInstanceName is required and cannot be null.");
          }
          if (databaseName == null) {
              throw new IllegalArgumentException("Parameter databaseName is required and cannot be null.");
          }
          if (ruleId == null) {
              throw new IllegalArgumentException("Parameter ruleId is required and cannot be null.");
          }
          if (baselineName == null) {
              throw new IllegalArgumentException("Parameter baselineName is required and cannot be null.");
          }
          if (this.client.subscriptionId() == null) {
              throw new IllegalArgumentException("Parameter this.client.subscriptionId() is required and cannot be null.");
          }
          if (this.client.apiVersion() == null) {
              throw new IllegalArgumentException("Parameter this.client.apiVersion() is required and cannot be null.");
          }
          if (baselineResults == null) {
              throw new IllegalArgumentException("Parameter baselineResults is required and cannot be null.");
          }
          Validator.validate(baselineResults);
          final String vulnerabilityAssessmentName = "default";
          DatabaseVulnerabilityAssessmentRuleBaselineInner parameters = new DatabaseVulnerabilityAssessmentRuleBaselineInner();
          parameters.withBaselineResults(baselineResults);
          return service.createOrUpdate(resourceGroupName, managedInstanceName, databaseName, vulnerabilityAssessmentName, ruleId, baselineName, this.client.subscriptionId(), this.client.apiVersion(), this.client.acceptLanguage(), parameters, this.client.userAgent())
              .flatMap(new Func1<Response<ResponseBody>, Observable<ServiceResponse<DatabaseVulnerabilityAssessmentRuleBaselineInner>>>() {
                  @Override
                  public Observable<ServiceResponse<DatabaseVulnerabilityAssessmentRuleBaselineInner>> call(Response<ResponseBody> response) {
                      try {
                          ServiceResponse<DatabaseVulnerabilityAssessmentRuleBaselineInner> clientResponse = createOrUpdateDelegate(response);
                          return Observable.just(clientResponse);
                      } catch (Throwable t) {
                          return Observable.error(t);
                      }
                  }
              });
      }