appLogCollectionRequest 资源类型

命名空间:microsoft.graph

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

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

AppLogCollectionRequest 的实体包含所有日志值。

方法

方法 返回类型 说明
列出 appLogCollectionRequests appLogCollectionRequest 集合 列出 appLogCollectionRequest 对象的属性和关系。
获取 appLogCollectionRequest appLogCollectionRequest 读取 appLogCollectionRequest 对象的属性和关系。
创建 appLogCollectionRequest appLogCollectionRequest 创建新的 appLogCollectionRequest 对象。
删除 appLogCollectionRequest 无 删除 appLogCollectionRequest。
更新 appLogCollectionRequest appLogCollectionRequest 更新 appLogCollectionRequest 对象的属性。
createDownloadUrl 操作 appLogCollectionDownloadDetails

属性

属性 类型 说明
id String 唯一标识符。 这是userId_DeviceId_AppId ID。
status appLogUploadState 指示应用日志收集请求的状态是处于待处理、已完成或失败状态,默认为待处理。 可能的值是:pending、completed、failed、unknownFutureValue。
errorMessage String 指示上传过程中的错误消息(如果有)。
customLogFolders 字符串集合 日志文件夹列表。
completedDateTime DateTimeOffset 上传日志请求达到已完成状态的时间;如果尚未完成,将返回 NULL。

关系

无

JSON 表示形式

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

{
  "@odata.type": "#microsoft.graph.appLogCollectionRequest",
  "id": "String (identifier)",
  "status": "String",
  "errorMessage": "String",
  "customLogFolders": [
    "String"
  ],
  "completedDateTime": "String (timestamp)"
}