code: public void delete(String resourceGroupName, String resourceName, String certificateName, String ifMatch) {
          deleteWithServiceResponseAsync(resourceGroupName, resourceName, certificateName, ifMatch).toBlocking().single().body();
      }
docs: Delete an X509 certificate.
  Deletes an existing X509 certificate or does nothing if it does not exist.
  
  @param resourceGroupName The name of the resource group that contains the IoT hub.
  @param resourceName The name of the IoT hub.
  @param certificateName The name of the certificate
  @param ifMatch ETag of the Certificate.
  @throws IllegalArgumentException thrown if parameters fail the validation
  @throws ErrorDetailsException thrown if the request is rejected by server
  @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent