def get_update_summary(device_name, resource_group_name, custom_headers:nil)
      response = get_update_summary_async(device_name, resource_group_name, custom_headers:custom_headers).value!
      response.body unless response.nil?
    end
def get_update_summary(device_name, resource_group_name, custom_headers:nil)
      response = get_update_summary_async(device_name, resource_group_name, custom_headers:custom_headers).value!
      response.body unless response.nil?
    end
Gets information about the availability of updates based on the last scan of
 the device. It also gets information about any ongoing download or install
 jobs on the device.

 @param device_name [String] The device name.
 @param resource_group_name [String] The resource group name.
 @param custom_headers [Hash{String => String}] A hash of custom headers that
 will be added to the HTTP request.

 @return [UpdateSummary] operation results.