public interface ExternalAccountsResourceV14
Modifier and Type | Method and Description |
---|---|
ApiExternalAccount |
createAccount(ApiExternalAccount account)
Create a new external account.
|
ApiExternalAccount |
deleteAccount(String name)
Delete an external account, specifying its name.
|
ApiExternalAccountCategoryList |
getSupportedCategories()
List of external account categories supported by this Cloudera Manager.
|
ApiExternalAccountTypeList |
getSupportedTypes(String categoryName)
List of external account types supported by this Cloudera Manager by category.
|
ApiExternalAccount |
readAccount(String name,
DataView view)
Get a single external account by account name.
|
ApiExternalAccount |
readAccountByDisplayName(String displayName,
DataView view)
Get a single external account by display name.
|
ApiExternalAccountList |
readAccounts(String typeName,
DataView view)
Get a list of external accounts for a specific account type.
|
ApiExternalAccount |
updateAccount(ApiExternalAccount account)
Update an external account.
|
@Path(value="/supportedCategories") ApiExternalAccountCategoryList getSupportedCategories()
@Path(value="/supportedTypes/{categoryName}") ApiExternalAccountTypeList getSupportedTypes(String categoryName)
@Path(value="/type/{typeName}") ApiExternalAccountList readAccounts(String typeName, DataView view)
@Path(value="/account/{name}") ApiExternalAccount readAccount(String name, DataView view)
@Path(value="/accountByDisplayName/{displayName}") ApiExternalAccount readAccountByDisplayName(String displayName, DataView view)
@Path(value="/create") ApiExternalAccount createAccount(ApiExternalAccount account)
@Path(value="/update") ApiExternalAccount updateAccount(ApiExternalAccount account)
@Path(value="/delete/{name}") ApiExternalAccount deleteAccount(String name)
Copyright © Cloudera, Inc. Released under Apache License, Version 2.0.