Package org.openstack4j.api.gbp
Interface PolicyActionService
-
- All Known Implementing Classes:
PolicyActionServiceImpl
public interface PolicyActionServiceThis interface defines all methods for the manipulation of policy actions- Author:
- vinod borole
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description PolicyActioncreate(PolicyAction policyAction)Create a new policy actionActionResponsedelete(String id)Delete of the policy actionPolicyActionget(String id)Get the specified policy action by IDList<? extends PolicyAction>list()List all policy actionsList<? extends PolicyAction>list(Map<String,String> filteringParams)Returns list of policy actions filtered by parameters.PolicyActionupdate(String policyActionId, PolicyActionUpdate policyAction)Updates an existing policy action
-
-
-
Method Detail
-
list
List<? extends PolicyAction> list()
List all policy actions- Returns:
- List of policy actions
-
list
List<? extends PolicyAction> list(Map<String,String> filteringParams)
Returns list of policy actions filtered by parameters.- Parameters:
filteringParams- map (name, value) of filtering parameters
-
get
PolicyAction get(String id)
Get the specified policy action by ID- Parameters:
id- the policy action id- Returns:
- policy action or null if not found
-
delete
ActionResponse delete(String id)
Delete of the policy action- Parameters:
id- the policy action id- Returns:
- the action response
-
create
PolicyAction create(PolicyAction policyAction)
Create a new policy action- Parameters:
policy- action- Returns:
- the newly created policy action
-
update
PolicyAction update(String policyActionId, PolicyActionUpdate policyAction)
Updates an existing policy action- Parameters:
policy- action identifierpolicy- action that is be used to updated- Returns:
- the updated policy action
-
-