public interface ServerProfileTemplateClient
Modifier and Type | Method and Description |
---|---|
TaskResourceV2 |
createServerProfileTemplate(RestParams params,
ServerProfileTemplate serverProfileTemplateDto,
boolean aSync)
The module aids in the creation of a server profile Template when provided with the
server profile Template details as a
ServerProfileTemplate object. |
TaskResourceV2 |
deleteServerProfileTemplate(RestParams params,
String resourceId,
boolean aSync)
This method aids in deletion of a server profile template.
|
ResourceCollection<ServerProfileTemplate> |
getAllServerProfileTemplates(RestParams params)
The module aids in fetching the server profile Template details for all
the server profiles Templates found under the current HPE OneView.
|
ServerProfile |
getNewServerProfile(RestParams params,
String resourceId)
A server profile object will be returned with the configuration based on this template.
|
ServerProfileTemplate |
getServerProfileTemplateById(RestParams params,
String resourceId)
The module aids in fetching the server profile Template details for the specified
server profile Template resource identifier.
|
ServerProfileTemplate |
getServerProfileTemplateByName(RestParams params,
String name)
The module aids in fetching the server profile Template details for the
server profile Template name as specified in HPE OneView.
|
TaskResourceV2 |
updateServerProfileTemplate(RestParams params,
String resourceId,
ServerProfileTemplate serverProfileTemplateDto,
boolean aSync)
The module takes in a ServerProfileTemplate object and updates
the existing server profile Template based on the resource identifier.
|
ServerProfileTemplate getServerProfileTemplateById(RestParams params, String resourceId)
params
- The RestParams
is a structure containing the connection details.resourceId
- The resource identifier for server profile Template as seen in HPE OneView.ServerProfileTemplate
containing the server profile Template details.ResourceCollection<ServerProfileTemplate> getAllServerProfileTemplates(RestParams params)
params
- The RestParams
is a structure containing the connection details.ResourceCollection
<ServerProfileTemplate
> containing
the details for all found server profiles Templates.ServerProfile getNewServerProfile(RestParams params, String resourceId)
params
- The RestParams
is a structure containing the connection details.resourceId
- The resource identifier for server profile Template as seen in HPE OneView.ServerProfile
containing the server profile details.ServerProfileTemplate getServerProfileTemplateByName(RestParams params, String name)
params
- The RestParams
is a structure containing the connection details.name
- The resourceName is the server profile Template name as seen in HPE OneView.ServerProfileTemplate
containing the server profile Template details.TaskResourceV2 createServerProfileTemplate(RestParams params, ServerProfileTemplate serverProfileTemplateDto, boolean aSync)
ServerProfileTemplate
object. It can
process the request asynchronously or synchronously, based on the flag input.params
- The RestParams
is a structure containing the connection details.serverProfileTemplateDto
- Object containing the server profile template details, used to create a
server profile template.aSync
- Flag input to process request asynchronously or synchronously.TaskResourceV2
containing the task status for the process.TaskResourceV2 updateServerProfileTemplate(RestParams params, String resourceId, ServerProfileTemplate serverProfileTemplateDto, boolean aSync)
params
- The RestParams
is a structure containing the connection details.resourceId
- The resource identifier for server profile Template as seen in HPE OneView.serverProfileTemplateDto
- Object containing the server profile Template details, used to update a
server profile Template.aSync
- Flag input to process request asynchronously or synchronously.TaskResourceV2
containing the task status for the process.TaskResourceV2 deleteServerProfileTemplate(RestParams params, String resourceId, boolean aSync)
params
- The RestParams
is a structure containing the connection details.resourceId
- The resource identifier for server profile template as seen in HPE OneView.aSync
- flag to indicate whether the request should be processed
asynchronously or synchronously.TaskResourceV2
containing the task status for the process.Copyright © 2016. All rights reserved.