code: public void rebootWorker(String resourceGroupName, String name, String workerName) {
          rebootWorkerWithServiceResponseAsync(resourceGroupName, name, workerName).toBlocking().single().body();
      }
docs: Reboot a worker machine in an App Service plan.
  Reboot a worker machine in an App Service plan.
  
  @param resourceGroupName Name of the resource group to which the resource belongs.
  @param name Name of the App Service plan.
  @param workerName Name of worker machine, which typically starts with RD.
  @throws IllegalArgumentException thrown if parameters fail the validation
  @throws CloudException thrown if the request is rejected by server
  @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent