ApiRoleList Data Model

A list of roles.

Properties
name data type description
items array of ApiRole

Example

{
  "items" : [ {
    "name" : "...",
    "type" : "...",
    "hostRef" : {
      "hostId" : "...",
      "hostname" : "..."
    },
    "serviceRef" : {
      "peerName" : "...",
      "clusterName" : "...",
      "serviceName" : "...",
      "serviceDisplayName" : "...",
      "serviceType" : "..."
    },
    "roleState" : "STARTED",
    "commissionState" : "DECOMMISSIONED",
    "healthSummary" : "HISTORY_NOT_AVAILABLE",
    "configStalenessStatus" : "STALE_REFRESHABLE",
    "healthChecks" : [ {
      "name" : "...",
      "summary" : "CONCERNING",
      "explanation" : "...",
      "suppressed" : true
    }, {
      "name" : "...",
      "summary" : "DISABLED",
      "explanation" : "...",
      "suppressed" : true
    } ],
    "haStatus" : "STANDBY",
    "roleUrl" : "...",
    "maintenanceMode" : true,
    "maintenanceOwners" : [ "SERVICE", "HOST" ],
    "config" : {
      "items" : [ { }, { } ]
    },
    "roleConfigGroupRef" : {
      "roleConfigGroupName" : "..."
    },
    "zooKeeperServerMode" : "REPLICATED_LEADER_ELECTION",
    "entityStatus" : "GOOD_HEALTH"
  }, {
    "name" : "...",
    "type" : "...",
    "hostRef" : {
      "hostId" : "...",
      "hostname" : "..."
    },
    "serviceRef" : {
      "peerName" : "...",
      "clusterName" : "...",
      "serviceName" : "...",
      "serviceDisplayName" : "...",
      "serviceType" : "..."
    },
    "roleState" : "STARTING",
    "commissionState" : "UNKNOWN",
    "healthSummary" : "BAD",
    "configStalenessStatus" : "FRESH",
    "healthChecks" : [ {
      "name" : "...",
      "summary" : "DISABLED",
      "explanation" : "...",
      "suppressed" : true
    }, {
      "name" : "...",
      "summary" : "GOOD",
      "explanation" : "...",
      "suppressed" : true
    } ],
    "haStatus" : "UNKNOWN",
    "roleUrl" : "...",
    "maintenanceMode" : true,
    "maintenanceOwners" : [ "CLUSTER", "CLUSTER" ],
    "config" : {
      "items" : [ { }, { } ]
    },
    "roleConfigGroupRef" : {
      "roleConfigGroupName" : "..."
    },
    "zooKeeperServerMode" : "REPLICATED_LEADER",
    "entityStatus" : "STOPPED"
  } ]
}