public class SenlinProfileServiceImpl extends BaseSenlinServices implements SenlinProfileService
BaseOpenStackService.Invocation<R>| Constructor and Description |
|---|
SenlinProfileServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
Profile |
create(ProfileCreate newProfile)
POST /v1/profiles |
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)
PATCH /v1/profiles/{profile_id} |
delete, deleteWithResponse, get, getProvider, getServiceVersion, getWithResponse, getXOpenstackRequestId, head, patch, patchWithResponse, post, postWithResponse, put, putWithResponse, 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 © 2021. All rights reserved.