public interface SenlinPolicyService
| Modifier and Type | Method and Description |
|---|---|
Policy |
create(PolicyCreate newPolicy)
|
ActionResponse |
delete(String policyID)
Deletes the specified
Policy from the server. |
Policy |
get(String policyID)
returns details of a
Policy. |
List<? extends Policy> |
list()
Gets a list of currently existing
Policys. |
Policy |
update(String policyID,
PolicyCreate newPolicy)
|
List<? extends Policy> list()
Policys.PolicysPolicy create(PolicyCreate newPolicy)
newPolicy - PolicyCreate object out of which policy is to be createdPolicy as returned from the serverPolicy get(String policyID)
Policy.policyID - Id of PolicyPolicy update(String policyID, PolicyCreate newPolicy)
policyID - Id of PolicynewPolicy - PolicyCreate object out of which stack is to be updatePolicy as returned from the serverActionResponse delete(String policyID)
Policy from the server.policyID - Id of PolicyCopyright © 2017. All rights reserved.