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, uripublic List<? extends ClusterTemplate> list()
list in interface ClusterTemplateServicepublic ClusterTemplate get(String templateId)
get in interface ClusterTemplateServicetemplateId - the template identifierpublic ClusterTemplate create(ClusterTemplate template)
create in interface ClusterTemplateServicetemplate - the cluster template to createpublic ActionResponse delete(String templateId)
delete in interface ClusterTemplateServicetemplateId - the template identifierCopyright © 2017. All rights reserved.