code: public Observable<ServiceResponse<AzureVMResourceFeatureSupportResponseInner>> validateWithServiceResponseAsync(String azureRegion, FeatureSupportRequest parameters) {
          if (azureRegion == null) {
              throw new IllegalArgumentException("Parameter azureRegion 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 (parameters == null) {
              throw new IllegalArgumentException("Parameter parameters is required and cannot be null.");
          }
          Validator.validate(parameters);
          final String apiVersion = "2017-07-01";
          return service.validate(azureRegion, this.client.subscriptionId(), apiVersion, parameters, this.client.acceptLanguage(), this.client.userAgent())
              .flatMap(new Func1<Response<ResponseBody>, Observable<ServiceResponse<AzureVMResourceFeatureSupportResponseInner>>>() {
                  @Override
                  public Observable<ServiceResponse<AzureVMResourceFeatureSupportResponseInner>> call(Response<ResponseBody> response) {
                      try {
                          ServiceResponse<AzureVMResourceFeatureSupportResponseInner> clientResponse = validateDelegate(response);
                          return Observable.just(clientResponse);
                      } catch (Throwable t) {
                          return Observable.error(t);
                      }
                  }
              });
      }
docs: It will validate if given feature with resource properties is supported in service.
  
  @param azureRegion Azure region to hit Api
  @param parameters Feature support request object
  @throws IllegalArgumentException thrown if parameters fail the validation
  @return the observable to the AzureVMResourceFeatureSupportResponseInner object