Home | Trees | Indices | Help |
---|
|
object --+ | types.BaseApiObject --+ | types.BaseApiResource --+ | ApiRole
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from Inherited from Inherited from Inherited from |
|
|||
Inherited from Inherited from |
|
|||
Inherited from |
|
|||
_ATTRIBUTES = {'name': None, 'type': None, 'hostRef': Attr(Api
|
|||
Inherited from |
|
|||
Inherited from |
|
Initializes internal state and sets all known writable properties of the object to None. Then initializes the properties given in the provided attributes dictionary.
|
Default implementation of __str__. Uses the type name and the first attribute retrieved from the attribute map to create the string.
|
Returns the path to the resource. e.g., for a service 'foo' in cluster 'bar', this should return '/clusters/bar/services/foo'.
|
Retrieve a list of running commands for this role.
|
Retrieve the role's configuration. The 'summary' view contains strings as the dictionary values. The full view contains ApiConfig instances as the values.
|
Update the role's configuration.
|
Retrieve the contents of the role's log file.
|
Retrieve the contents of the role's standard output.
|
Retrieve the contents of the role's standard error.
|
Retrieve the contents of the role's stacks log file.
Since: API v8 |
Retrieve a zip file of the role's stacks log files.
Since: API v8 |
This endpoint is not supported as of v6. Use the timeseries API instead. To get all metrics for a role with the timeseries API use the query: 'select * where roleName = $ROLE_NAME'. To get specific metrics for a role use a comma-separated list of the metric names as follows: 'select $METRIC_NAME1, $METRIC_NAME2 where roleName = $ROLE_NAME'. For more information see http://tiny.cloudera.com/tsquery_doc
|
Put the role in maintenance mode.
Since: API v2 |
Take the role out of maintenance mode.
Since: API v2 |
Lists all the commands that can be executed by name on the provided role.
Since: API v6 |
|
_ATTRIBUTES
|
Home | Trees | Indices | Help |
---|
Generated by Epydoc 3.0.1 on Tue Jan 31 10:52:17 2017 | http://epydoc.sourceforge.net |