deviceManagementScriptUserState 资源类型

命名空间:microsoft.graph

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

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

包含设备管理脚本的用户运行状态的属性。

方法

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

属性

属性 类型 说明
id String 设备管理脚本用户状态实体的密钥。 此属性是只读的。
successDeviceCount Int32 特定用户的成功设备计数。
errorDeviceCount Int32 特定用户的错误设备计数。
userPrincipalName String 特定用户的用户主体名称。

关系

关系 类型 说明
deviceRunStates deviceManagementScriptDeviceState 集合 特定用户的所有设备上此脚本的运行状态列表。

JSON 表示形式

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

{
  "@odata.type": "#microsoft.graph.deviceManagementScriptUserState",
  "id": "String (identifier)",
  "successDeviceCount": 1024,
  "errorDeviceCount": 1024,
  "userPrincipalName": "String"
}