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