deviceManagementIntentUserState 资源类型

命名空间:microsoft.graph

重要提示:Microsoft 支持 Intune/beta API,但它们可能会进行更频繁的更改。 Microsoft 建议尽可能使用 v1.0 版本。 使用版本选择器检查 API 在版本 v1.0 中的可用性。

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

表示意向的用户状态的实体

方法

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

属性

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

关系

JSON 表示形式

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

{
  "@odata.type": "#microsoft.graph.deviceManagementIntentUserState",
  "id": "String (identifier)",
  "userPrincipalName": "String",
  "userName": "String",
  "deviceCount": 1024,
  "lastReportedDateTime": "String (timestamp)",
  "state": "String"
}