| name | String | The name of the role. Optional when creating a role since API v6. If not specified, a name will be automatically generated for the role. | [optional] |
| type | String | The type of the role, e.g. NAMENODE, DATANODE, TASKTRACKER. | [optional] |
| hostRef | ApiHostRef | | [optional] |
| serviceRef | ApiServiceRef | | [optional] |
| roleState | ApiRoleState | | [optional] |
| commissionState | ApiCommissionState | | [optional] |
| healthSummary | ApiHealthSummary | | [optional] |
| configStale | Boolean | Readonly. Expresses whether the role configuration is stale. | [optional] |
| configStalenessStatus | ApiConfigStalenessStatus | | [optional] |
| healthChecks | List<ApiHealthCheck> | Readonly. The list of health checks of this service. | [optional] |
| haStatus | HaStatus | | [optional] |
| roleUrl | String | Readonly. Link into the Cloudera Manager web UI for this specific role. | [optional] |
| maintenanceMode | Boolean | Readonly. Whether the role is in maintenance mode. Available since API v2. | [optional] |
| maintenanceOwners | List<ApiEntityType> | Readonly. The list of objects that trigger this role to be in maintenance mode. Available since API v2. | [optional] |
| config | ApiConfigList | | [optional] |
| roleConfigGroupRef | ApiRoleConfigGroupRef | | [optional] |
| zooKeeperServerMode | ZooKeeperServerMode | | [optional] |
| entityStatus | ApiEntityStatus | | [optional] |
| tags | List<ApiEntityTag> | Tags associated with the role. Available since V41. | [optional] |