printUsageByPrinter 资源类型

命名空间:microsoft.graph

重要

Microsoft Graph /beta 版本下的 API 可能会发生更改。 不支持在生产应用程序中使用这些 API。 若要确定 API 是否在 v1.0 中可用,请使用 版本 选择器。

描述打印机在指定时间段内 (usageDate) 的打印活动。

方法

方法 返回类型 说明
按打印机列出每日报表 printUsageByPrinter 获取按打印机分组的每日打印使用情况摘要列表。
按打印机列出每月报表 printUsageByPrinter 获取按打印机分组的每月打印使用情况摘要列表。
Get printUsageByPrinter 读取 printUsageByPrinter 对象的属性和关系。

属性

属性 类型 说明
blackAndWhitePageCount Int64 根据打印机的报告打印的黑白页的估计数量。
colorPageCount Int64 根据打印机的报告打印的彩色页的估计数量。
completedBlackAndWhiteJobCount Int64 打印机完成的黑白打印作业数。
completedColorJobCount Int64 打印机完成的彩色打印作业数。
completedJobCount Int64 打印机完成的打印作业数。
doubleSidedSheetCount Int64 根据打印机的报告打印的双面介质表的估计数量。
id String 此使用情况摘要的 ID。
incompleteJobCount Int64 已为打印机排队但尚未完成的打印作业数。
mediaSheetCount Int64 根据打印机的报告打印的介质表的估计数量。
pageCount Int64 根据打印机的报告打印的估计页数。
printerId String 由这些统计信息表示的打印机的 ID。
printerName String 由这些统计信息表示的打印机的名称。
singleSidedSheetCount Int64 根据打印机的报告打印的单面介质表的估计数量。
usageDate 日期 与这些统计信息关联的日期。

JSON 表示形式

下面是资源的 JSON 表示形式。

{
    "id": "String (identifier)",
    "printerId": "String (identifier)",
    "printerName": "String (identifier)",
    "usageDate": "String (timestamp)",
    "completedBlackAndWhiteJobCount": "Integer",
    "completedColorJobCount": "Integer",
    "completedJobCount": "Integer",
    "incompleteJobCount": "Integer",
    "pageCount": "Integer",
    "blackAndWhitePageCount": "Integer",
    "colorPageCount": "Integer",
    "mediaSheetCount": "Integer",
    "doubleSidedSheetCount": "Integer",
    "singleSidedSheetCount": "Integer"
}