code: public OperationStatusResponseInner reimageAll(String resourceGroupName, String vmScaleSetName) {
          return reimageAllWithServiceResponseAsync(resourceGroupName, vmScaleSetName).toBlocking().last().body();
      }
docs: Reimages all the disks ( including data disks ) in the virtual machines in a VM scale set. This operation is only supported for managed disks.
  
  @param resourceGroupName The name of the resource group.
  @param vmScaleSetName The name of the VM scale set.
  @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
  @return the OperationStatusResponseInner object if successful.