|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface PrivateChefApi
Provides synchronous access to the Private Chef.
PrivateChefAsyncApi,
| Method Summary | |
|---|---|
Organization |
createOrganization(Organization organization)
creates a new organization |
User |
createUser(User user)
creates a new user |
Organization |
deleteOrganization(String organizationname)
deletes an existing organization. |
User |
deleteUser(String username)
deletes an existing user. |
PatchedChefApi |
getChefApi()
|
Organization |
getOrganization(String organizationname)
retrieves an existing organization. |
User |
getUser(String username)
retrieves an existing user. |
Set<String> |
listOrganizations()
|
Set<String> |
listUsers()
|
boolean |
organizationExists(String name)
|
Organization |
updateOrganization(Organization organization)
updates an existing organization. |
User |
updateUser(User user)
updates an existing user. |
boolean |
userExists(String name)
|
| Method Detail |
|---|
PatchedChefApi getChefApi()
Set<String> listUsers()
org.jclouds.rest.AuthorizationException -
"401 Unauthorized" if you are not a recognized user.
"403 Forbidden" if you do not have rights to list users.boolean userExists(String name)
org.jclouds.rest.AuthorizationException -
"401 Unauthorized" if you are not a recognized user.
"403 Forbidden" if you do not have rights to view the user.User createUser(User user)
org.jclouds.rest.AuthorizationException -
"401 Unauthorized" if the caller is not a recognized user.
"403 Forbidden" if the caller is not authorized to create a user.User updateUser(User user)
org.jclouds.rest.AuthorizationException -
"401 Unauthorized" if you are not a recognized user.
"403 Forbidden" if you do not have Update rights on the user.
org.jclouds.rest.ResourceNotFoundException - if the user does not exist.User getUser(String username)
User deleteUser(String username)
org.jclouds.rest.AuthorizationException -
"401 Unauthorized" if you are not a recognized user.
"403 Forbidden" if you do not have Delete rights on the user.Set<String> listOrganizations()
org.jclouds.rest.AuthorizationException -
"401 Unauthorized" if you are not a recognized user.
"403 Forbidden" if you do not have rights to list organizations.boolean organizationExists(String name)
org.jclouds.rest.AuthorizationException -
"401 Unauthorized" if you are not a recognized user.
"403 Forbidden" if you do not have rights to view the organization.Organization createOrganization(Organization organization)
org.jclouds.rest.AuthorizationException -
"401 Unauthorized" if the caller is not a recognized organization.
"403 Forbidden" if the caller is not authorized to create a organization.Organization updateOrganization(Organization organization)
org.jclouds.rest.AuthorizationException -
"401 Unauthorized" if you are not a recognized organization.
"403 Forbidden" if you do not have Update rights on the organization.
org.jclouds.rest.ResourceNotFoundException - if the organization does not exist.Organization getOrganization(String organizationname)
Organization deleteOrganization(String organizationname)
org.jclouds.rest.AuthorizationException -
"401 Unauthorized" if you are not a recognized organization.
"403 Forbidden" if you do not have Delete rights on the organization.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||