public interface ServerProfileClient
Modifier and Type | Method and Description |
---|---|
TaskResourceV2 |
createServerProfile(RestParams params,
ServerProfile serverProfileDto,
boolean aSync,
boolean useJsonRequest)
The module aids in the creation of a server profile when provided with the
server profile details as a ServerProfile object or JsonRequest.
|
TaskResourceV2 |
deleteServerProfile(RestParams params,
String resourceId,
boolean aSync)
The module aids in deleting a server profile for the specified
server profile resource identifier.
|
TaskResourceV2 |
deleteServerProfileByFilter(RestParams params,
String filter,
Boolean match,
boolean aSync)
This module aids in deleting all server profile objects from the
appliance that match the provided filter.
|
ServerProfileCollection |
getAllServerProfile(RestParams params)
The module aids in fetching the server profile details for all
the server profiles found under the current HPE OneView.
|
AvailableNetworks |
getAvailableNetworksForServerProfile(RestParams params,
String serverHardwareTypeUri,
String enclosureGroupUri)
The module aids in retrieving the list of ethernet networks, fibre
channel networks and network sets that are available to a server profile
along with their respective ports for the specified enclosure group URI and
server hardware type URI.
|
List<AvailableServers> |
getAvailableServersForServerProfile(RestParams params)
Returns a list of the servers that are available for assignment to the
server profile.
|
List<AvailableServers> |
getAvailableServersForServerProfile(RestParams params,
String profileUri)
Returns a list of the servers that are available for assignment to the
server profile.
|
List<AvailableServers> |
getAvailableServersForServerProfile(RestParams params,
String serverHardwareTypeUri,
String enclosureGroupUri)
Returns a list of the servers that are available for assignment to the
server profile.
|
AvailableStorageSystem |
getAvailableStorageSystemForServerProfile(RestParams params,
String enclosureGroupUri,
String serverHardwareTypeUri,
String storageSystemId)
Returns a specific storage system and its associated volumes that are
available to the server profile based on the given server hardware type and
enclosure group.
|
AvailableStorageSystems |
getAvailableStorageSystemsForServerProfile(RestParams params,
String enclosureGroupUri,
String serverHardwareTypeUri)
Returns the list of the storage systems and their associated volumes that
are available to the server profile based on the given server hardware type and
enclosure group.
|
AvailableTargets |
getAvailableTargetsForServerProfile(RestParams params)
Returns a list of the target servers and empty device bays that are available
for assignment to the server profile.
|
AvailableTargets |
getAvailableTargetsForServerProfile(RestParams params,
String enclosureGroupUri,
String serverHardwareTypeUri,
String profileUri)
Returns a list of the target servers and empty device bays that are available
for assignment to the server profile.
|
String |
getId(RestParams params,
String name)
The module aids in fetching the server profile resource identifier for the server profile
name as specified in HPE OneView.
|
ProfilePorts |
getProfilePortsForServerProfile(RestParams params,
String serverHardwareTypeId,
String enclosureGroupId)
Returns the port model associated server hardware type and enclosure group.
|
ServerProfile |
getServerProfile(RestParams params,
String resourceId)
The module aids in fetching the server profile details for the specified
server profile resource identifier.
|
ServerProfile |
getServerProfileByName(RestParams params,
String name)
The module aids in fetching the server profile details for the
server profile name as specified in HPE OneView.
|
ServerProfileCompliancePreview |
getServerProfileCompliancePreview(RestParams params,
String resourceId)
Returns the preview of manual and automatic updates required to make the
server profile consistent with its template.
|
ServerProfileHealth |
getServerProfileMessages(RestParams params,
String resourceId)
Returns the error or status messages associated with the specified server profile.
|
ServerProfile |
getServerProfileTransformation(RestParams params,
String resourceId,
String serverHardwareTypeUri,
String enclosureGroupUri)
Transforms an existing profile by supplying a new server hardware type and/or
enclosure group.
|
TaskResourceV2 |
patchServerProfile(RestParams params,
String resourceId,
Patch patchDto,
boolean aSync)
Use the PATCH REST API to update the server profile.
|
TaskResourceV2 |
updateServerProfile(RestParams params,
String resourceId,
ServerProfile serverProfileDto,
boolean aSync,
boolean useJsonRequest)
The module takes in a ServerProfile object or JsonRequest and updates
the existing server profile based on the resource identifier.
|
ServerProfile getServerProfile(RestParams params, String resourceId)
params
- The RestParams
is a structure containing the connection details.resourceId
- The resource identifier for server profile as seen in HPE OneView.ServerProfile
containing the server profile details.ServerProfileCollection getAllServerProfile(RestParams params)
params
- The RestParams
is a structure containing the connection details.ServerProfileCollection
containing a collection of server profile details.ServerProfile getServerProfileByName(RestParams params, String name)
params
- The RestParams
is a structure containing the connection details.name
- The resourceName is the server profile name as seen in HPE OneView.ServerProfile
containing the server profile details.ServerProfileCompliancePreview getServerProfileCompliancePreview(RestParams params, String resourceId)
params
- The RestParams
is a structure containing the connection details.resourceId
- The resource identifier for server profile as seen in HPE OneView.ServerProfileCompliancePreview
containing the server profile
compliance preview details.ServerProfileHealth getServerProfileMessages(RestParams params, String resourceId)
params
- The RestParams
is a structure containing the connection details.resourceId
- The resource identifier for server profile as seen in HPE OneView.ServerProfileHealth
containing the server profile health details.ServerProfile getServerProfileTransformation(RestParams params, String resourceId, String serverHardwareTypeUri, String enclosureGroupUri)
params
- The RestParams
is a structure containing the connection details.resourceId
- The resource identifier for server profile as seen in HPE OneView.serverHardwareTypeUri
- String, specifying the server hardware type URI.enclosureGroupUri
- String, specifying the enclosure group URI.ServerProfile
containing the server profile details.AvailableNetworks getAvailableNetworksForServerProfile(RestParams params, String serverHardwareTypeUri, String enclosureGroupUri)
params
- The RestParams
is a structure containing the connection details.serverHardwareTypeUri
- String, specifying the server hardware type URI.enclosureGroupUri
- String, specifying the enclosure group URI.AvailableNetworks
containing the AvailableNetworks details.List<AvailableServers> getAvailableServersForServerProfile(RestParams params)
params
- The RestParams
is a structure containing the connection details.List
of AvailableServers
containing a collection of available servers details.List<AvailableServers> getAvailableServersForServerProfile(RestParams params, String serverHardwareTypeUri, String enclosureGroupUri)
params
- The RestParams
is a structure containing the connection details.serverHardwareTypeUri
- String, specifying the server hardware type URI.enclosureGroupUri
- String, specifying the enclosure group URI.List
of AvailableServers
containing a collection of available servers details.List<AvailableServers> getAvailableServersForServerProfile(RestParams params, String profileUri)
params
- The RestParams
is a structure containing the connection details.profileUri
- String, specifying the server profile URI.List
of AvailableServers
containing a collection of available servers details.AvailableStorageSystem getAvailableStorageSystemForServerProfile(RestParams params, String enclosureGroupUri, String serverHardwareTypeUri, String storageSystemId)
params
- The RestParams
is a structure containing the connection details.enclosureGroupUri
- String, specifying the enclosure group URI.serverHardwareTypeUri
- String, specifying the server hardware type URI.storageSystemId
- String, specifying the storage system identifier.AvailableStorageSystem
containing the storage system details.AvailableStorageSystems getAvailableStorageSystemsForServerProfile(RestParams params, String enclosureGroupUri, String serverHardwareTypeUri)
params
- The RestParams
is a structure containing the connection details.enclosureGroupUri
- String, specifying the enclosure group URI.serverHardwareTypeUri
- String, specifying the server hardware type URI.AvailableStorageSystems
containing a collection of storage system details.AvailableTargets getAvailableTargetsForServerProfile(RestParams params)
params
- The RestParams
is a structure containing the connection details.AvailableTargets
containing the available target details.AvailableTargets getAvailableTargetsForServerProfile(RestParams params, String enclosureGroupUri, String serverHardwareTypeUri, String profileUri)
params
- The RestParams
is a structure containing the connection details.enclosureGroupUri
- String, specifying the enclosure group URI.serverHardwareTypeUri
- String, specifying the server hardware type URI.profileUri
- String, specifying the server profile URI.AvailableTargets
containing the available target details.ProfilePorts getProfilePortsForServerProfile(RestParams params, String serverHardwareTypeId, String enclosureGroupId)
params
- The RestParams
is a structure containing the connection details.serverHardwareTypeId
- String, specifying the server hardware type identifier.enclosureGroupId
- String, specifying the enclosure group identifier.ProfilePorts
containing the profile ports details.TaskResourceV2 createServerProfile(RestParams params, ServerProfile serverProfileDto, boolean aSync, boolean useJsonRequest)
params
- The RestParams
is a structure containing the connection details.serverProfileDto
- Object containing the server profile details, used to create a server profile.aSync
- Flag input to process request asynchronously or synchronously.useJsonRequest
- The JsonRequest body is part of ServerProfile object which
takes in a String containing the new server profile details,
which is converted to ServerProfile object using an adaptor and
processed.TaskResourceV2
containing the task status for the process.TaskResourceV2 updateServerProfile(RestParams params, String resourceId, ServerProfile serverProfileDto, boolean aSync, boolean useJsonRequest)
params
- The RestParams
is a structure containing the connection details.resourceId
- The resource identifier for server profile as seen in HPE OneView.serverProfileDto
- Object containing the server profile details, used to update a server profile.aSync
- Flag input to process request asynchronously or synchronously.useJsonRequest
- The JsonRequest body is part of ServerProfile object which
takes in a String containing the update to be made, which is
converted to ServerProfile object using an adaptor and processed.TaskResourceV2
containing the task status for the process.TaskResourceV2 patchServerProfile(RestParams params, String resourceId, Patch patchDto, boolean aSync)
params
- The RestParams
is a structure containing the connection details.resourceId
- The resource identifier for server profile as seen in HPE OneView.patchDto
- Object containing the patch details, used to update a server profile.aSync
- Flag input to process request asynchronously or synchronously.TaskResourceV2
containing the task status for the process.TaskResourceV2 deleteServerProfile(RestParams params, String resourceId, boolean aSync)
params
- The RestParams
is a structure containing the connection details.resourceId
- The resource identifier for server profile as seen in HPE OneView.aSync
- Flag input to process request asynchronously or synchronously.TaskResourceV2
containing the task status for the process.TaskResourceV2 deleteServerProfileByFilter(RestParams params, String filter, Boolean match, boolean aSync)
params
- The RestParams
is a structure containing the connection details.filter
- The filter is the server profile name as seen in HPE OneView.match
- Flag input to process filter with %filter% or just filter.aSync
- Flag input to process request asynchronously or synchronously.TaskResourceV2
containing the task status for the process.String getId(RestParams params, String name)
params
- The RestParams
is a structure containing the connection details.name
- The name is the server profile name as seen in HPE OneView.Copyright © 2016. All rights reserved.