Package org.openstack4j.api.sahara
Interface NodeGroupTemplateService
-
- All Superinterfaces:
RestService
- All Known Implementing Classes:
NodeGroupTemplateServiceImpl
public interface NodeGroupTemplateService extends RestService
Sahara Data Processing Operations- Author:
- Ekasit Kijsipongse
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description NodeGroupTemplatecreate(NodeGroupTemplate template)Create a new node group templateActionResponsedelete(String templateId)Delete the specified node group templateNodeGroupTemplateget(String templateId)Get a node group template by IDList<? extends NodeGroupTemplate>list()List all node group templates
-
-
-
Method Detail
-
list
List<? extends NodeGroupTemplate> list()
List all node group templates- Returns:
- list of node group templates or empty
-
get
NodeGroupTemplate get(String templateId)
Get a node group template by ID- Parameters:
templateId- the template identifier- Returns:
- the node group template or null if not found
-
create
NodeGroupTemplate create(NodeGroupTemplate template)
Create a new node group template- Parameters:
template- the node group template to create- Returns:
- the created node group template
-
delete
ActionResponse delete(String templateId)
Delete the specified node group template- Parameters:
templateId- the template identifier- Returns:
- the action response
-
-