A list of roles.
| name | data type | description |
|---|---|---|
| items | array of ApiRole |
Example
{
"items" : [ {
"name" : "...",
"type" : "...",
"hostRef" : {
"hostId" : "...",
"hostname" : "..."
},
"serviceRef" : {
"peerName" : "...",
"clusterName" : "...",
"serviceName" : "..."
},
"roleState" : "STOPPED",
"commissionState" : "DECOMMISSIONED",
"healthSummary" : "GOOD",
"configStalenessStatus" : "STALE_REFRESHABLE",
"healthChecks" : [ {
"name" : "...",
"summary" : "NOT_AVAILABLE",
"explanation" : "...",
"suppressed" : true
}, {
"name" : "...",
"summary" : "HISTORY_NOT_AVAILABLE",
"explanation" : "...",
"suppressed" : true
} ],
"haStatus" : "UNKNOWN",
"roleUrl" : "...",
"maintenanceMode" : true,
"maintenanceOwners" : [ "HOST", "ROLE" ],
"config" : {
"items" : [ { }, { } ]
},
"roleConfigGroupRef" : {
"roleConfigGroupName" : "..."
},
"zooKeeperServerMode" : "REPLICATED_LEADER",
"entityStatus" : "NONE"
}, {
"name" : "...",
"type" : "...",
"hostRef" : {
"hostId" : "...",
"hostname" : "..."
},
"serviceRef" : {
"peerName" : "...",
"clusterName" : "...",
"serviceName" : "..."
},
"roleState" : "BUSY",
"commissionState" : "DECOMMISSIONING",
"healthSummary" : "HISTORY_NOT_AVAILABLE",
"configStalenessStatus" : "STALE",
"healthChecks" : [ {
"name" : "...",
"summary" : "NOT_AVAILABLE",
"explanation" : "...",
"suppressed" : true
}, {
"name" : "...",
"summary" : "BAD",
"explanation" : "...",
"suppressed" : true
} ],
"haStatus" : "ACTIVE",
"roleUrl" : "...",
"maintenanceMode" : true,
"maintenanceOwners" : [ "ROLE", "HOST" ],
"config" : {
"items" : [ { }, { } ]
},
"roleConfigGroupRef" : {
"roleConfigGroupName" : "..."
},
"zooKeeperServerMode" : "REPLICATED_FOLLOWER",
"entityStatus" : "UNKNOWN"
} ]
}