public interface ExternalAccountsResourceV16 extends ExternalAccountsResourceV14
Modifier and Type | Method and Description |
---|---|
ApiCommand |
externalAccountCommandByName(String name,
String commandName)
Executes a command on the external account specified
by name.
|
ApiCommandMetadataList |
listExternalAccountCommands(String typeName)
Lists all the commands that can be executed by name on the
provided external account type.
|
ApiConfigList |
readConfig(String name,
DataView view)
Get configs of external account for the given account name.
|
ApiConfigList |
updateConfig(String name,
ApiConfigList config,
String message)
Upadate configs of external account for the given account name.
|
createAccount, deleteAccount, getSupportedCategories, getSupportedTypes, readAccount, readAccountByDisplayName, readAccounts, updateAccount
@Path(value="/account/{name}/config") ApiConfigList readConfig(String name, DataView view)
external
- account nameview
- The view to materialize, either "summary" or "full".@Path(value="/account/{name}/config") ApiConfigList updateConfig(String name, ApiConfigList config, String message)
external
- account nameconfig
- Settings to update.message
- Optional message describing the changes.@Path(value="/account/{name}/commands/{commandName}") ApiCommand externalAccountCommandByName(String name, String commandName)
Available since API v16.
name
- The external account name.commandName
- The command name.@Path(value="/typeInfo/{typeName}/commandsByName") ApiCommandMetadataList listExternalAccountCommands(String typeName)
Available since API v16.
typeName
- The external account type nameCopyright © Cloudera, Inc. Released under Apache License, Version 2.0.