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
Policy s. |
Policy |
update(String policyID,
PolicyCreate newPolicy)
|
List<? extends Policy> list()
Policy
s.Policy
sPolicy 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 Policy
Policy update(String policyID, PolicyCreate newPolicy)
policyID
- Id of Policy
newPolicy
- 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 Policy
Copyright © 2017. All rights reserved.