code: public ServiceFuture<UploadCertificateResponseInner> uploadCertificateAsync(String deviceName, String resourceGroupName, UploadCertificateRequest parameters, final ServiceCallback<UploadCertificateResponseInner> serviceCallback) {
          return ServiceFuture.fromResponse(uploadCertificateWithServiceResponseAsync(deviceName, resourceGroupName, parameters), serviceCallback);
      }
docs: Uploads registration certificate for the device.
  
  @param deviceName The device name.
  @param resourceGroupName The resource group name.
  @param parameters The upload certificate request.
  @param serviceCallback the async ServiceCallback to handle successful and failed responses.
  @throws IllegalArgumentException thrown if parameters fail the validation
  @return the {@link ServiceFuture} object