HaInfo (type)

{
  "id": "HaInfo", 
  "properties": {
    "failover_mode": {
      "description": "Logical router failover mode", 
      "enum": [
        "PREEMPTIVE", 
        "NON-PREEMPTIVE"
      ], 
      "readonly": true, 
      "title": "Logical router failover mode", 
      "type": "string"
    }, 
    "ha_mode": {
      "description": "Logical router HA mode", 
      "enum": [
        "ACTIVE-STANDBY", 
        "ACTIVE-ACTIVE"
      ], 
      "readonly": true, 
      "title": "Logical router HA mode", 
      "type": "string"
    }, 
    "ha_state": {
      "description": "Logical router HA state DOWN - Logical router is not in good health SYNC -  Logical router is synchronizing data from peer logical router STANDBY - Logical router is available to go Active ACTIVE - Logical router is forwarding traffic", 
      "enum": [
        "DOWN", 
        "SYNC", 
        "STANDBY", 
        "ACTIVE"
      ], 
      "readonly": true, 
      "title": "Logical router HA state", 
      "type": "string"
    }, 
    "rank": {
      "description": "Rank of logical router", 
      "readonly": true, 
      "title": "Rank of logical router", 
      "type": "integer"
    }, 
    "state-history": {
      "$ref": "LogicalRouterHaHistory, 
      "description": "Logical router high-availability history", 
      "readonly": true, 
      "title": "Logical router high-availability history"
    }
  }, 
  "type": "object"
}