public class ClusterTemplateServiceImpl extends BaseSaharaServices implements ClusterTemplateService
BaseOpenStackService.Invocation<R>
Constructor and Description |
---|
ClusterTemplateServiceImpl() |
Modifier and Type | Method and Description |
---|---|
ClusterTemplate |
create(ClusterTemplate template)
Create a new cluster template
|
ActionResponse |
delete(String templateId)
Delete the specified cluster template
|
ClusterTemplate |
get(String templateId)
Get a cluster template by ID
|
List<? extends ClusterTemplate> |
list()
List all cluster templates
|
delete, deleteWithResponse, get, getProvider, getServiceVersion, getXOpenstackRequestId, head, patch, patchWithResponse, post, postWithResponse, put, request, toList, uri
public List<? extends ClusterTemplate> list()
list
in interface ClusterTemplateService
public ClusterTemplate get(String templateId)
get
in interface ClusterTemplateService
templateId
- the template identifierpublic ClusterTemplate create(ClusterTemplate template)
create
in interface ClusterTemplateService
template
- the cluster template to createpublic ActionResponse delete(String templateId)
delete
in interface ClusterTemplateService
templateId
- the template identifierCopyright © 2017. All rights reserved.