Package org.openstack4j.api.senlin
Interface SenlinProfileService
-
- All Known Implementing Classes:
SenlinProfileServiceImpl
public interface SenlinProfileServiceThis interface defines all methods for the manipulation of Profile- Author:
- lion
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Profilecreate(ProfileCreate newProfile)POST /v1/profilesActionResponsedelete(String profileID)Deletes the specifiedActionResponsefrom the server.Profileget(String profileID)returns details of aProfile.List<? extends Profile>list()Gets a list of currently existingProfiles.Profileupdate(String profileID, ProfileCreate newProfile)PATCH /v1/profiles/{profile_id}
-
-
-
Method Detail
-
list
List<? extends Profile> list()
Gets a list of currently existingProfiles.- Returns:
- the list of
Profiles
-
create
Profile create(ProfileCreate newProfile)
- Parameters:
newProfile-ProfileCreateobject out of which stack is to be created- Returns:
- new
Profileas returned from the server
-
get
Profile get(String profileID)
returns details of aProfile.- Parameters:
profileID- Id ofProfile- Returns:
- Profile
-
update
Profile update(String profileID, ProfileCreate newProfile)
- Parameters:
profileID- Id ofProfilenewProfile-ProfileCreateobject out of which stack is to be update- Returns:
- new
Profileas returned from the server
-
delete
ActionResponse delete(String profileID)
Deletes the specifiedActionResponsefrom the server.- Parameters:
profileID- Id ofActionResponse- Returns:
- the action response
-
-