public class ExternalPolicyServiceImpl extends BaseNetworkingServices implements ExternalPolicyService
BaseOpenStackService.Invocation<R>
Constructor and Description |
---|
ExternalPolicyServiceImpl() |
Modifier and Type | Method and Description |
---|---|
ExternalPolicy |
create(ExternalPolicyCreate externalPolicy)
Create a new external policy
|
ActionResponse |
delete(String id)
Delete of the external policy
|
ExternalPolicy |
get(String id)
Get the specified external policy by ID
|
List<? extends ExternalPolicy> |
list()
List all external policies
|
List<? extends ExternalPolicy> |
list(Map<String,String> filteringParams)
Returns list of external policies filtered by parameters.
|
ExternalPolicy |
update(String externalPolicyId,
ExternalPolicyCreate externalPolicy)
Updates an existing external policy
|
delete, deleteWithResponse, get, getProvider, getServiceVersion, getXOpenstackRequestId, head, patch, patchWithResponse, post, postWithResponse, put, request, toList, uri
public List<? extends ExternalPolicy> list()
list
in interface ExternalPolicyService
public List<? extends ExternalPolicy> list(Map<String,String> filteringParams)
list
in interface ExternalPolicyService
filteringParams
- map (name, value) of filtering parameterspublic ExternalPolicy get(String id)
get
in interface ExternalPolicyService
id
- the external policy idpublic ActionResponse delete(String id)
delete
in interface ExternalPolicyService
id
- the external policy idpublic ExternalPolicy create(ExternalPolicyCreate externalPolicy)
create
in interface ExternalPolicyService
public ExternalPolicy update(String externalPolicyId, ExternalPolicyCreate externalPolicy)
update
in interface ExternalPolicyService
Copyright © 2017. All rights reserved.