code: public Observable<ServiceResponse<DeploymentLocationsInner>> getSubscriptionDeploymentLocationsWithServiceResponseAsync() {
          if (this.subscriptionId() == null) {
              throw new IllegalArgumentException("Parameter this.subscriptionId() is required and cannot be null.");
          }
          if (this.apiVersion() == null) {
              throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null.");
          }
          return service.getSubscriptionDeploymentLocations(this.subscriptionId(), this.apiVersion(), this.acceptLanguage(), this.userAgent())
              .flatMap(new Func1<Response<ResponseBody>, Observable<ServiceResponse<DeploymentLocationsInner>>>() {
                  @Override
                  public Observable<ServiceResponse<DeploymentLocationsInner>> call(Response<ResponseBody> response) {
                      try {
                          ServiceResponse<DeploymentLocationsInner> clientResponse = getSubscriptionDeploymentLocationsDelegate(response);
                          return Observable.just(clientResponse);
                      } catch (Throwable t) {
                          return Observable.error(t);
                      }
                  }
              });
      }
docs: Gets list of available geo regions plus ministamps.
  Gets list of available geo regions plus ministamps.
  
  @throws IllegalArgumentException thrown if parameters fail the validation
  @return the observable to the DeploymentLocationsInner object