com.cloudera.api.v3
Interface AllHostsResource


public interface AllHostsResource


Method Summary
 ApiConfigList readConfig(DataView dataView)
          Retrieve the default configuration for all hosts.
 ApiConfigList updateConfig(String message, ApiConfigList config)
          Update the default configuration values for all hosts.
 

Method Detail

readConfig

@Path(value="/config")
ApiConfigList readConfig(DataView dataView)
Retrieve the default configuration for all hosts.

These values will apply to all hosts managed by CM unless overridden at the host level.

Parameters:
dataView - The view of the data to materialize, either "summary" or "full".
Returns:
List of config values.

updateConfig

@Path(value="/config")
ApiConfigList updateConfig(String message,
                                ApiConfigList config)
Update the default configuration values for all hosts.

Note that this does not override values set at the host level. It just updates the default values that will be inherited by each host's configuration.

Parameters:
message - Optional message describing the changes.
config - The config values to update.
Returns:
Updated list of config values.


Copyright © Cloudera, Inc. Released under Apache License, Version 2.0.