命名空间:microsoft.graph
重要: Microsoft Graph 中 /beta 版本下的 API 可能会发生更改,这可能会中断应用程序。 虽然 Microsoft 支持Intune /beta API,但你应自行决定使用这些 API。 通常,建议不要在生产应用程序中使用 /beta API。 若要确定 API 在 v1.0 中是否可用,请使用版本选择器
注意:适用于 Intune 的 Microsoft Graph API 需要适用于租户的活动 Intune 许可证。
存储服务器日志收集状态的实体。
方法
属性
属性 | 类型 | 说明 |
---|---|---|
id | String | 服务器日志收集响应的唯一标识符。 只读。 |
status | microsoftTunnelLogCollectionStatus | 日志收集的状态。 可能的值为:pending、completed、failed。 可取值为:pending 、completed 、failed 、unknownFutureValue 。 |
startDateTime | DateTimeOffset | 收集的日志的开始时间 |
endDateTime | DateTimeOffset | 收集的日志的结束时间 |
sizeInBytes | Int64 | 日志的大小(以字节为单位) |
serverId | String | 请求日志收集的服务器的 ID |
requestDateTime | DateTimeOffset | 请求日志收集的时间 |
expiryDateTime | DateTimeOffset | 日志收集过期的时间 |
关系
无
JSON 表示形式
下面是资源的 JSON 表示形式。
{
"@odata.type": "#microsoft.graph.microsoftTunnelServerLogCollectionResponse",
"id": "String (identifier)",
"status": "String",
"startDateTime": "String (timestamp)",
"endDateTime": "String (timestamp)",
"sizeInBytes": 1024,
"serverId": "String",
"requestDateTime": "String (timestamp)",
"expiryDateTime": "String (timestamp)"
}