NSX-T Data Center REST API

DirectoryDomainSyncStats (type)

{
  "id": "DirectoryDomainSyncStats",
  "module_id": "DirectoryService",
  "properties": {
    "avg_delta_sync_time": {
      "description": "All the historical delta sync are counted in calculating the average delta sync time in milliseconds.",
      "readonly": true,
      "required": false,
      "title": "Average time spent for all historical delta sync",
      "type": "integer"
    },
    "avg_full_sync_time": {
      "description": "All the historical full sync are counted in calculating the average full sync time in milliseconds.",
      "readonly": true,
      "required": false,
      "title": "Average time spent for all historical full sync",
      "type": "integer"
    },
    "current_state": {
      "description": "Current running state of the directory domain in synchronization life cycle. It could be one of the following five states. SELECTIVE_FULL_SYNC and SELECTIVE_DELTA_SYNC are sync states for selective sync.",
      "enum": [
        "IDLE",
        "FULL_SYNC",
        "DELTA_SYNC",
        "SELECTIVE_FULL_SYNC",
        "SELECTIVE_DELTA_SYNC"
      ],
      "readonly": true,
      "required": true,
      "title": "Current state of directory domain sync context",
      "type": "string"
    },
    "current_state_begin_time": {
      "$ref": "EpochMsTimestamp",
      "description": "Since what time the current state has begun. The time is expressed in millisecond epoch time.",
      "readonly": true,
      "required": true,
      "title": "Current state elapsed time"
    },
    "num_delta_sync": {
      "description": "number of successful historical delta sync initiated either by system or by API request.",
      "readonly": true,
      "required": false,
      "title": "Total number of successful delta sync",
      "type": "integer"
    },
    "num_full_sync": {
      "description": "number of successful historical full sync initiated either by system or by API request.",
      "readonly": true,
      "required": false,
      "title": "Total number of successful full sync",
      "type": "integer"
    },
    "prev_sync_end_time": {
      "$ref": "EpochMsTimestamp",
      "description": "Directory domain previous sync ending time expressed in millisecond epoch time.",
      "readonly": true,
      "required": true,
      "title": "Previous sync ended time"
    },
    "prev_sync_error": {
      "description": "Directory domain previous sync status error if last status was failure.",
      "readonly": true,
      "required": false,
      "title": "Previous sync error",
      "type": "string"
    },
    "prev_sync_status": {
      "description": "Directory domain previous sync status. It could be one of the following two states.",
      "enum": [
        "SUCCESS",
        "FAILURE",
        "UNKNOWN"
      ],
      "readonly": true,
      "required": true,
      "title": "Previous sync status",
      "type": "string"
    },
    "prev_sync_type": {
      "description": "Directory domain previous sync type. It could be one of the following five states. Right after the directory domain is configured, this field is set to IDLE.",
      "enum": [
        "IDLE",
        "FULL_SYNC",
        "DELTA_SYNC",
        "SELECTIVE_FULL_SYNC",
        "SELECTIVE_DELTA_SYNC"
      ],
      "readonly": true,
      "required": true,
      "title": "Previous sync type",
      "type": "string"
    }
  },
  "title": "Directory domain synchronization statistics",
  "type": "object"
}