synchronizationStatus 资源类型

命名空间:microsoft.graph

表示 synchronizationJob 的当前状态。

属性

属性 类型 说明
code synchronizationStatusCode 同步作业的高级状态代码。 可取值为:NotConfiguredNotRunActivePausedQuarantine
countSuccessiveCompleteFailures Int64 此作业连续失败的次数。
escrowsPruned 布尔值 true 如果作业的托管 (对象级错误,则) 在初始同步过程中被修剪。 如果在初始同步期间达到通常将作业置于隔离状态的错误阈值,则可以删除托管。 同步过程不会进入隔离区,而是清除作业的错误并一直持续到初始同步完成。 初始同步完成后,作业将暂停并等待客户清理错误。
lastExecution synchronizationTaskExecution 上次执行作业的详细信息。
lastSuccessfulExecution synchronizationTaskExecution 上次执行此作业的详细信息,该作业没有任何错误。
lastSuccessfulExecutionWithExports synchronizationTaskExecution 上次执行作业的详细信息,该作业将对象导出到目标目录中。
progress synchronizationProgress 集合 作业完成进度的详细信息。
隔离 synchronizationQuarantine 如果作业处于隔离状态,则隔离详细信息。
steadyStateFirstAchievedTime DateTimeOffset 稳定状态 (过程) 首次实现的更改的时间。 时间戳类型表示采用 ISO 8601 格式的日期和时间信息,始终采用 UTC 时区。 例如,2014 年 1 月 1 日午夜 UTC 为 2014-01-01T00:00:00Z
steadyStateLastAchievedTime DateTimeOffset 稳定状态 (最后一次对过程) 没有变化的时间。 时间戳类型表示采用 ISO 8601 格式的日期和时间信息,始终采用 UTC 时区。 例如,2014 年 1 月 1 日午夜 UTC 为 2014-01-01T00:00:00Z
synchronizedEntryCountByType stringKeyLongValuePair 集合 已同步对象的计数,按对象类型列出。
troubleshootingUrl String 如果出现错误,请使用包含问题故障排除步骤的 URL。

同步状态代码详细信息

说明
NotConfigured 作业未配置且从未运行。 未提供授权。
NotRun 作业已配置,并且可能已启动,但尚未完成其首次运行。
活动 作业定期运行。
已暂停 作业通常由管理员) 暂停 (,当前未运行,但作业状态已保留。
Quarantine 作业处于隔离状态。 当存在大量错误或严重错误(例如吊销/已过期凭据)时,可能会发生这种情况。 在隔离期间,同步过程将尝试以降低频率运行作业。

JSON 表示形式

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

{
  "code": "String",
  "countSuccessiveCompleteFailures": "Integer",
  "escrowsPruned": true,
  "lastExecution": {
    "@odata.type": "microsoft.graph.synchronizationTaskExecution"
  },
  "lastSuccessfulExecution": {
    "@odata.type": "microsoft.graph.synchronizationTaskExecution"
  },
  "lastSuccessfulExecutionWithExports": {
    "@odata.type": "microsoft.graph.synchronizationTaskExecution"
  },
  "progress": [
    {
      "@odata.type": "microsoft.graph.synchronizationProgress"
    }
  ],
  "quarantine": {
    "@odata.type": "microsoft.graph.synchronizationQuarantine"
  },
  "steadyStateFirstAchievedTime": "String (timestamp)",
  "steadyStateLastAchievedTime": "String (timestamp)",
  "synchronizedEntryCountByType": [
    {
      "@odata.type": "microsoft.graph.stringKeyLongValuePair"
    }
  ],
  "troubleshootingUrl": "String"
}