code: public Observable<ServiceResponse<VaultCertificateResponseInner>> createWithServiceResponseAsync(String resourceGroupName, String vaultName, String certificateName) {
          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 (vaultName == null) {
              throw new IllegalArgumentException("Parameter vaultName is required and cannot be null.");
          }
          if (certificateName == null) {
              throw new IllegalArgumentException("Parameter certificateName is required and cannot be null.");
          }
          if (this.client.apiVersion() == null) {
              throw new IllegalArgumentException("Parameter this.client.apiVersion() is required and cannot be null.");
          }
          final RawCertificateData properties = null;
          CertificateRequest certificateRequest = new CertificateRequest();
          certificateRequest.withProperties(null);
          return service.create(this.client.subscriptionId(), resourceGroupName, vaultName, certificateName, this.client.apiVersion(), this.client.acceptLanguage(), certificateRequest, this.client.userAgent())
              .flatMap(new Func1<Response<ResponseBody>, Observable<ServiceResponse<VaultCertificateResponseInner>>>() {
                  @Override
                  public Observable<ServiceResponse<VaultCertificateResponseInner>> call(Response<ResponseBody> response) {
                      try {
                          ServiceResponse<VaultCertificateResponseInner> clientResponse = createDelegate(response);
                          return Observable.just(clientResponse);
                      } catch (Throwable t) {
                          return Observable.error(t);
                      }
                  }
              });
      }
docs: Uploads a certificate for a resource.
  
  @param resourceGroupName The name of the resource group where the recovery services vault is present.
  @param vaultName The name of the recovery services vault.
  @param certificateName Certificate friendly name.
  @throws IllegalArgumentException thrown if parameters fail the validation
  @return the observable to the VaultCertificateResponseInner object