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" : "STARTING",
    "commissionState" : "UNKNOWN",
    "healthSummary" : "GOOD",
    "configStalenessStatus" : "STALE_REFRESHABLE",
    "healthChecks" : [ {
      "name" : "...",
      "summary" : "DISABLED",
      "explanation" : "...",
      "suppressed" : true
    }, {
      "name" : "...",
      "summary" : "BAD",
      "explanation" : "...",
      "suppressed" : true
    } ],
    "haStatus" : "ACTIVE",
    "roleUrl" : "...",
    "maintenanceMode" : true,
    "maintenanceOwners" : [ "ROLE", "SERVICE" ],
    "config" : {
      "items" : [ { }, { } ]
    },
    "roleConfigGroupRef" : {
      "roleConfigGroupName" : "..."
    },
    "zooKeeperServerMode" : "REPLICATED_OBSERVER",
    "entityStatus" : "UNKNOWN_HEALTH",
    "tags" : [ {
      "name" : "...",
      "value" : "..."
    }, {
      "name" : "...",
      "value" : "..."
    } ]
  }, {
    "name" : "...",
    "type" : "...",
    "hostRef" : {
      "hostId" : "...",
      "hostname" : "..."
    },
    "serviceRef" : {
      "peerName" : "...",
      "clusterName" : "...",
      "serviceName" : "...",
      "serviceDisplayName" : "...",
      "serviceType" : "..."
    },
    "roleState" : "STOPPED",
    "commissionState" : "DECOMMISSIONING",
    "healthSummary" : "BAD",
    "configStalenessStatus" : "FRESH",
    "healthChecks" : [ {
      "name" : "...",
      "summary" : "NOT_AVAILABLE",
      "explanation" : "...",
      "suppressed" : true
    }, {
      "name" : "...",
      "summary" : "HISTORY_NOT_AVAILABLE",
      "explanation" : "...",
      "suppressed" : true
    } ],
    "haStatus" : "ACTIVE",
    "roleUrl" : "...",
    "maintenanceMode" : true,
    "maintenanceOwners" : [ "CLUSTER", "CLUSTER" ],
    "config" : {
      "items" : [ { }, { } ]
    },
    "roleConfigGroupRef" : {
      "roleConfigGroupName" : "..."
    },
    "zooKeeperServerMode" : "REPLICATED_OBSERVER",
    "entityStatus" : "DOWN",
    "tags" : [ {
      "name" : "...",
      "value" : "..."
    }, {
      "name" : "...",
      "value" : "..."
    } ]
  } ]
}