public interface NetworkPolicyService
Modifier and Type | Method and Description |
---|---|
NetworkServicePolicy |
create(NetworkServicePolicy networkServicePolicy)
Create a gbp network service policy
|
ActionResponse |
delete(String id)
Delete a gbp network service policy specified by id
|
NetworkServicePolicy |
get(String id)
Get a gbp network service policy specified by id
|
List<? extends NetworkServicePolicy> |
list()
List all gbp network service policies
|
List<? extends NetworkServicePolicy> |
list(Map<String,String> filteringParams)
Returns list of service policy filtered by parameters.
|
NetworkServicePolicy |
update(String gbpServicePolicyId,
NetworkServicePolicy gbpServicePolicy)
Update the gbp network service policy specified by id
|
List<? extends NetworkServicePolicy> list()
List<? extends NetworkServicePolicy> list(Map<String,String> filteringParams)
filteringParams
- map (name, value) of filtering parametersNetworkServicePolicy get(String id)
id
- NetworkServicePolicy create(NetworkServicePolicy networkServicePolicy)
networkServicePolicy
- ActionResponse delete(String id)
id
- NetworkServicePolicy update(String gbpServicePolicyId, NetworkServicePolicy gbpServicePolicy)
gbpServicePolicyId
- gbpServicePolicy
- Copyright © 2017. All rights reserved.