docs: public Observable<ServiceResponse<VirtualHubInner>> createOrUpdateWithServiceResponseAsync(String resourceGroupName, String virtualHubName, VirtualHubInner virtualHubParameters) {
          if (this.client.subscriptionId() == null) {
              throw new IllegalArgumentException("Parameter this.client.subscriptionId() is required and cannot be null.");
          }
          if (resourceGroupName == null) {
              throw new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.");
          }
          if (virtualHubName == null) {
              throw new IllegalArgumentException("Parameter virtualHubName is required and cannot be null.");
          }
          if (virtualHubParameters == null) {
              throw new IllegalArgumentException("Parameter virtualHubParameters is required and cannot be null.");
          }
          Validator.validate(virtualHubParameters);
          final String apiVersion = "2018-04-01";
          Observable<Response<ResponseBody>> observable = service.createOrUpdate(this.client.subscriptionId(), resourceGroupName, virtualHubName, apiVersion, virtualHubParameters, this.client.acceptLanguage(), this.client.userAgent());
          return client.getAzureClient().getPutOrPatchResultAsync(observable, new TypeToken<VirtualHubInner>() { }.getType());
      }