A list of roles.
| name | data type | description |
|---|---|---|
| items | array of ApiRole |
Example
{
"items" : [ {
"name" : "...",
"type" : "...",
"hostRef" : {
"hostId" : "...",
"hostname" : "..."
},
"serviceRef" : {
"peerName" : "...",
"clusterName" : "...",
"serviceName" : "...",
"serviceDisplayName" : "...",
"serviceType" : "..."
},
"roleState" : "STOPPING",
"commissionState" : "UNKNOWN",
"healthSummary" : "NOT_AVAILABLE",
"configStalenessStatus" : "STALE",
"healthChecks" : [ {
"name" : "...",
"summary" : "CONCERNING",
"explanation" : "...",
"suppressed" : true
}, {
"name" : "...",
"summary" : "CONCERNING",
"explanation" : "...",
"suppressed" : true
} ],
"haStatus" : "UNKNOWN",
"roleUrl" : "...",
"maintenanceMode" : true,
"maintenanceOwners" : [ "SERVICE", "CLUSTER" ],
"config" : {
"items" : [ { }, { } ]
},
"roleConfigGroupRef" : {
"roleConfigGroupName" : "..."
},
"zooKeeperServerMode" : "REPLICATED_OBSERVER",
"entityStatus" : "STARTING"
}, {
"name" : "...",
"type" : "...",
"hostRef" : {
"hostId" : "...",
"hostname" : "..."
},
"serviceRef" : {
"peerName" : "...",
"clusterName" : "...",
"serviceName" : "...",
"serviceDisplayName" : "...",
"serviceType" : "..."
},
"roleState" : "STARTED",
"commissionState" : "OFFLINED",
"healthSummary" : "BAD",
"configStalenessStatus" : "STALE_REFRESHABLE",
"healthChecks" : [ {
"name" : "...",
"summary" : "DISABLED",
"explanation" : "...",
"suppressed" : true
}, {
"name" : "...",
"summary" : "DISABLED",
"explanation" : "...",
"suppressed" : true
} ],
"haStatus" : "STANDBY",
"roleUrl" : "...",
"maintenanceMode" : true,
"maintenanceOwners" : [ "SERVICE", "SERVICE" ],
"config" : {
"items" : [ { }, { } ]
},
"roleConfigGroupRef" : {
"roleConfigGroupName" : "..."
},
"zooKeeperServerMode" : "REPLICATED_OBSERVER",
"entityStatus" : "STOPPING"
} ]
}