code: public Observable<Void> beginDeleteByIdAsync(String resourceId, String apiVersion) {
          return beginDeleteByIdWithServiceResponseAsync(resourceId, apiVersion).map(new Func1<ServiceResponse<Void>, Void>() {
              @Override
              public Void call(ServiceResponse<Void> response) {
                  return response.body();
              }
          });
      }
docs: Deletes a resource by ID.
  
  @param resourceId The fully qualified ID of the resource, including the resource name and resource type. Use the format, /subscriptions/{guid}/resourceGroups/{resource-group-name}/{resource-provider-namespace}/{resource-type}/{resource-name}
  @param apiVersion The API version to use for the operation.
  @throws IllegalArgumentException thrown if parameters fail the validation
  @return the {@link ServiceResponse} object if successful.