ApiRoleList Data Model

A list of roles.

Properties
name data type description
items array of ApiRole

Example

{
  "items" : [ {
    "name" : "...",
    "type" : "...",
    "hostRef" : {
      "hostId" : "..."
    },
    "serviceRef" : {
      "peerName" : "...",
      "clusterName" : "...",
      "serviceName" : "..."
    },
    "roleState" : "HISTORY_NOT_AVAILABLE",
    "commissionState" : "DECOMMISSIONED",
    "healthSummary" : "CONCERNING",
    "configStalenessStatus" : "STALE",
    "healthChecks" : [ {
      "name" : "...",
      "summary" : "GOOD",
      "explanation" : "...",
      "suppressed" : true
    }, {
      "name" : "...",
      "summary" : "GOOD",
      "explanation" : "...",
      "suppressed" : true
    } ],
    "haStatus" : "UNKNOWN",
    "roleUrl" : "...",
    "maintenanceMode" : true,
    "maintenanceOwners" : [ "SERVICE", "CLUSTER" ],
    "config" : {
      "items" : [ { }, { } ]
    },
    "roleConfigGroupRef" : {
      "roleConfigGroupName" : "..."
    },
    "zooKeeperServerMode" : "STANDALONE",
    "entityStatus" : "NONE"
  }, {
    "name" : "...",
    "type" : "...",
    "hostRef" : {
      "hostId" : "..."
    },
    "serviceRef" : {
      "peerName" : "...",
      "clusterName" : "...",
      "serviceName" : "..."
    },
    "roleState" : "BUSY",
    "commissionState" : "OFFLINING",
    "healthSummary" : "NOT_AVAILABLE",
    "configStalenessStatus" : "FRESH",
    "healthChecks" : [ {
      "name" : "...",
      "summary" : "CONCERNING",
      "explanation" : "...",
      "suppressed" : true
    }, {
      "name" : "...",
      "summary" : "NOT_AVAILABLE",
      "explanation" : "...",
      "suppressed" : true
    } ],
    "haStatus" : "ACTIVE",
    "roleUrl" : "...",
    "maintenanceMode" : true,
    "maintenanceOwners" : [ "CLUSTER", "HOST" ],
    "config" : {
      "items" : [ { }, { } ]
    },
    "roleConfigGroupRef" : {
      "roleConfigGroupName" : "..."
    },
    "zooKeeperServerMode" : "REPLICATED_LEADER",
    "entityStatus" : "STARTING"
  } ]
}