printConnector 资源类型

命名空间:microsoft.graph

重要

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

表示已使用通用打印订阅注册的打印连接器。 printConnector 资源可用于查看连接器状态和更新属性。

方法

方法 返回类型 Description
List printConnector 检索打印连接器的列表。
Get printConnector 读取连接器对象的属性和关系。
更新 printConnector 更新连接器对象。
删除 None 从通用打印服务中注销连接器。

属性

属性 类型 说明
id String 只读。
displayName String 连接器的名称。
fullyQualifiedDomainName String 连接器计算机的主机名。
operatingSystem String 连接器计算机的操作系统版本。
appVersion String 连接器的版本。
deviceHealth deviceHealth 连接器的设备运行状况。
位置 printerLocation 连接器的物理和/或组织位置。
registeredDateTime DateTimeOffset 注册连接器时的 DateTimeOffset。
registeredBy userIdentity 注册连接器的用户。

JSON 表示形式

以下 JSON 表示形式显示了资源类型。

{
  "id": "String (identifier)",
  "displayName": "String",
  "fullyQualifiedDomainName": "String",
  "operatingSystem": "String",
  "appVersion": "String",
  "deviceHealth": {"@odata.type": "microsoft.graph.deviceHealth"},
  "location": {"@odata.type": "microsoft.graph.printerLocation"},
  "registeredDateTime": "String (timestamp)",
  "registeredBy": {"@odata.type": "microsoft.graph.userIdentity"}
}