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" : "NA",
    "commissionState" : "COMMISSIONED",
    "healthSummary" : "NOT_AVAILABLE",
    "configStalenessStatus" : "STALE",
    "healthChecks" : [ {
      "name" : "...",
      "summary" : "HISTORY_NOT_AVAILABLE",
      "explanation" : "...",
      "suppressed" : true
    }, {
      "name" : "...",
      "summary" : "BAD",
      "explanation" : "...",
      "suppressed" : true
    } ],
    "haStatus" : "UNKNOWN",
    "roleUrl" : "...",
    "maintenanceMode" : true,
    "maintenanceOwners" : [ "CLUSTER", "ROLE" ],
    "config" : {
      "items" : [ { }, { } ]
    },
    "roleConfigGroupRef" : {
      "roleConfigGroupName" : "..."
    },
    "zooKeeperServerMode" : "UNKNOWN",
    "entityStatus" : "BAD_HEALTH"
  }, {
    "name" : "...",
    "type" : "...",
    "hostRef" : {
      "hostId" : "...",
      "hostname" : "..."
    },
    "serviceRef" : {
      "peerName" : "...",
      "clusterName" : "...",
      "serviceName" : "...",
      "serviceDisplayName" : "...",
      "serviceType" : "..."
    },
    "roleState" : "BUSY",
    "commissionState" : "COMMISSIONED",
    "healthSummary" : "NOT_AVAILABLE",
    "configStalenessStatus" : "STALE",
    "healthChecks" : [ {
      "name" : "...",
      "summary" : "HISTORY_NOT_AVAILABLE",
      "explanation" : "...",
      "suppressed" : true
    }, {
      "name" : "...",
      "summary" : "NOT_AVAILABLE",
      "explanation" : "...",
      "suppressed" : true
    } ],
    "haStatus" : "ACTIVE",
    "roleUrl" : "...",
    "maintenanceMode" : true,
    "maintenanceOwners" : [ "CLUSTER", "HOST" ],
    "config" : {
      "items" : [ { }, { } ]
    },
    "roleConfigGroupRef" : {
      "roleConfigGroupName" : "..."
    },
    "zooKeeperServerMode" : "UNKNOWN",
    "entityStatus" : "HISTORY_NOT_AVAILABLE"
  } ]
}