public class NetworkPolicyServiceImpl extends BaseNetworkingServices implements NetworkPolicyService
BaseOpenStackService.Invocation<R>
Constructor and Description |
---|
NetworkPolicyServiceImpl() |
Modifier and Type | Method and Description |
---|---|
GbpNetworkServicePolicy |
create(NetworkServicePolicy gbpServicePolicy)
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
|
delete, deleteWithResponse, get, getProvider, getServiceVersion, getXOpenstackRequestId, head, patch, patchWithResponse, post, postWithResponse, put, request, toList, uri
public List<? extends NetworkServicePolicy> list()
list
in interface NetworkPolicyService
public List<? extends NetworkServicePolicy> list(Map<String,String> filteringParams)
list
in interface NetworkPolicyService
filteringParams
- map (name, value) of filtering parameterspublic NetworkServicePolicy get(String id)
get
in interface NetworkPolicyService
public GbpNetworkServicePolicy create(NetworkServicePolicy gbpServicePolicy)
create
in interface NetworkPolicyService
public ActionResponse delete(String id)
delete
in interface NetworkPolicyService
public NetworkServicePolicy update(String gbpServicePolicyId, NetworkServicePolicy gbpServicePolicy)
update
in interface NetworkPolicyService
Copyright © 2017. All rights reserved.