| name | str | 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 | str | The type of the role, e.g. NAMENODE, DATANODE, TASKTRACKER. | [optional] |
| host_ref | ApiHostRef | | [optional] |
| service_ref | ApiServiceRef | | [optional] |
| role_state | ApiRoleState | | [optional] |
| commission_state | ApiCommissionState | | [optional] |
| health_summary | ApiHealthSummary | | [optional] |
| config_stale | bool | Readonly. Expresses whether the role configuration is stale. | [optional] |
| config_staleness_status | ApiConfigStalenessStatus | | [optional] |
| health_checks | list[ApiHealthCheck] | Readonly. The list of health checks of this service. | [optional] |
| ha_status | HaStatus | | [optional] |
| role_url | str | Readonly. Link into the Cloudera Manager web UI for this specific role. | [optional] |
| maintenance_mode | bool | Readonly. Whether the role is in maintenance mode. Available since API v2. | [optional] |
| maintenance_owners | list[ApiEntityType] | Readonly. The list of objects that trigger this role to be in maintenance mode. Available since API v2. | [optional] |
| config | ApiConfigList | | [optional] |
| role_config_group_ref | ApiRoleConfigGroupRef | | [optional] |
| zoo_keeper_server_mode | ZooKeeperServerMode | | [optional] |
| entity_status | ApiEntityStatus | | [optional] |
| tags | list[ApiEntityTag] | Tags associated with the role. Available since V41. | [optional] |