docs: public Observable<ServiceResponse<VpnProfileResponseInner>> beginGenerateVpnProfileWithServiceResponseAsync(String resourceGroupName, String gatewayName) {
          if (resourceGroupName == null) {
              throw new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.");
          }
          if (gatewayName == null) {
              throw new IllegalArgumentException("Parameter gatewayName is required and cannot be null.");
          }
          if (this.client.subscriptionId() == null) {
              throw new IllegalArgumentException("Parameter this.client.subscriptionId() is required and cannot be null.");
          }
          final String apiVersion = "2018-08-01";
          final AuthenticationMethod authenticationMethod = null;
          P2SVpnProfileParameters parameters = new P2SVpnProfileParameters();
          parameters.withAuthenticationMethod(null);
          return service.beginGenerateVpnProfile(resourceGroupName, gatewayName, this.client.subscriptionId(), apiVersion, this.client.acceptLanguage(), parameters, this.client.userAgent())
              .flatMap(new Func1<Response<ResponseBody>, Observable<ServiceResponse<VpnProfileResponseInner>>>() {
                  @Override
                  public Observable<ServiceResponse<VpnProfileResponseInner>> call(Response<ResponseBody> response) {
                      try {
                          ServiceResponse<VpnProfileResponseInner> clientResponse = beginGenerateVpnProfileDelegate(response);
                          return Observable.just(clientResponse);
                      } catch (Throwable t) {
                          return Observable.error(t);
                      }
                  }
              });
      }