deviceManagementIntentDeviceState 资源类型

命名空间:microsoft.graph

重要: /beta 版本下的 Microsoft Graph API 可能会更改;不支持生产使用。

注意:适用于 Intune 的 Microsoft Graph API 需要适用于租户的活动 Intune 许可证

表示意向的设备状态的实体

方法

方法 返回类型 说明
列出 deviceManagementIntentDeviceStates deviceManagementIntentDeviceState 集合 列出 deviceManagementIntentDeviceState 对象的属性和关系。
获取 deviceManagementIntentDeviceState deviceManagementIntentDeviceState 读取 deviceManagementIntentDeviceState 对象的属性和关系。
创建 deviceManagementIntentDeviceState deviceManagementIntentDeviceState 创建新的 deviceManagementIntentDeviceState 对象。
删除 deviceManagementIntentDeviceState 删除 deviceManagementIntentDeviceState
更新 deviceManagementIntentDeviceState deviceManagementIntentDeviceState 更新 deviceManagementIntentDeviceState 对象的属性。

属性

属性 类型 说明
id String The ID
userPrincipalName String 正在设备上报告的用户主体名称
userName String 正在设备上报告的用户名
deviceDisplayName String 正在报告的设备名称
lastReportedDateTime DateTimeOffset 意向报表的上次修改日期时间
state complianceStatus 意向的设备状态。 可取值为:unknownnotApplicablecompliantremediatednonComplianterrorconflictnotAssigned
deviceId String 正在报告的设备 ID

关系

JSON 表示形式

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

{
  "@odata.type": "#microsoft.graph.deviceManagementIntentDeviceState",
  "id": "String (identifier)",
  "userPrincipalName": "String",
  "userName": "String",
  "deviceDisplayName": "String",
  "lastReportedDateTime": "String (timestamp)",
  "state": "String",
  "deviceId": "String"
}