appLogCollectionRequest 资源类型

命名空间:microsoft.graph

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

注意:适用于 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 指示应用日志收集请求的状态(如果请求挂起、已完成或失败),默认值为挂起。 可能的值是:pendingcompletedfailedunknownFutureValue
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)"
}