code: public void disableScheduling(String poolId, String nodeId) {
          disableSchedulingWithServiceResponseAsync(poolId, nodeId).toBlocking().single().body();
      }
docs: Disables task scheduling on the specified compute node.
  You can disable task scheduling on a node only if its current scheduling state is enabled.
  
  @param poolId The ID of the pool that contains the compute node.
  @param nodeId The ID of the compute node on which you want to disable task scheduling.
  @throws IllegalArgumentException thrown if parameters fail the validation
  @throws BatchErrorException thrown if the request is rejected by server
  @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent