public class SenlinProfileServiceImpl extends BaseSenlinServices implements SenlinProfileService
BaseOpenStackService.Invocation<R>| Constructor and Description |
|---|
SenlinProfileServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
Profile |
create(ProfileCreate newProfile)
|
ActionResponse |
delete(String policyID)
Deletes the specified
ActionResponse from the server. |
Profile |
get(String policyID)
returns details of a
Profile. |
List<? extends Profile> |
list()
Gets a list of currently existing
Profiles. |
Profile |
update(String policyID,
ProfileCreate newPolicy)
|
delete, deleteWithResponse, get, getProvider, getServiceVersion, getXOpenstackRequestId, head, patch, patchWithResponse, post, postWithResponse, put, request, toList, uripublic List<? extends Profile> list()
SenlinProfileServiceProfiles.list in interface SenlinProfileServiceProfilespublic Profile create(ProfileCreate newProfile)
SenlinProfileServicecreate in interface SenlinProfileServicenewProfile - ProfileCreate object out of which stack is to be createdProfile as returned from the serverpublic Profile get(String policyID)
SenlinProfileServiceProfile.get in interface SenlinProfileServicepolicyID - Id of Profilepublic Profile update(String policyID, ProfileCreate newPolicy)
SenlinProfileServiceupdate in interface SenlinProfileServicepolicyID - Id of ProfilenewPolicy - ProfileCreate object out of which stack is to be updateProfile as returned from the serverpublic ActionResponse delete(String policyID)
SenlinProfileServiceActionResponse from the server.delete in interface SenlinProfileServicepolicyID - Id of ActionResponseCopyright © 2017. All rights reserved.