public interface ServerProfileClient extends SearchableResource<ServerProfile>, CreatableResource<ServerProfile>, DeletableResource, UpdatableResource<ServerProfile>, PatchableResource
SearchableResource.GetByNameRequestInterceptor
Modifier and Type | Field and Description |
---|---|
static String |
SERVER_PROFILE_AVAILABLE_NETWORKS_URI |
static String |
SERVER_PROFILE_AVAILABLE_SERVERS_URI |
static String |
SERVER_PROFILE_AVAILABLE_STORAGE_SYSTEM_URI |
static String |
SERVER_PROFILE_AVAILABLE_STORAGE_SYSTEMS_URI |
static String |
SERVER_PROFILE_AVAILABLE_TARGETS_URI |
static String |
SERVER_PROFILE_COMPLIANCE_MESSAGES_URI |
static String |
SERVER_PROFILE_COMPLIANCE_PREVIEW_URI |
static String |
SERVER_PROFILE_COMPLIANCE_TRANSFORMATION_URI |
static String |
SERVER_PROFILE_PROFILE_PORTS_URI |
static String |
SERVER_PROFILE_URI |
Modifier and Type | Method and Description |
---|---|
TaskResource |
deleteByFilter(String filter,
RequestOption... options)
Removes the
ServerProfile (s) matching the filter. |
AvailableNetworks |
getAvailableNetworks(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> |
getAvailableServers()
Returns a list of the servers that are available for assignment to the
server profile.
|
List<AvailableServers> |
getAvailableServers(String profileUri)
Returns a list of the servers that are available for assignment to the
server profile.
|
List<AvailableServers> |
getAvailableServers(String serverHardwareTypeUri,
String enclosureGroupUri)
Returns a list of the servers that are available for assignment to the
server profile.
|
AvailableStorageSystem |
getAvailableStorageSystem(String serverHardwareTypeUri,
String enclosureGroupUri,
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.
|
ResourceCollection<AvailableStorageSystem> |
getAvailableStorageSystems(String serverHardwareTypeUri,
String enclosureGroupUri)
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 |
getAvailableTargets(String serverHardwareTypeUri,
String enclosureGroupUri,
String profileUri)
Returns a list of the target servers and empty device bays that are available
for assignment to the server profile.
|
ServerProfileCompliancePreview |
getCompliancePreview(String resourceId)
Retrieves a preview of manual and automatic updates required to make the
server profile consistent with its template.
|
ServerProfileHealth |
getMessages(String resourceId)
Returns the error or status messages associated with the specified server profile.
|
ProfilePorts |
getProfilePorts(String serverHardwareTypeUri,
String enclosureGroupUri)
Returns the port model associated server hardware type and enclosure group.
|
ServerProfile |
getTransformation(String resourceId,
String serverHardwareTypeUri,
String enclosureGroupUri)
Transforms an existing profile by supplying a new server hardware type and
enclosure group or both .
|
getByName
get, get, getAll, getAll, getById
create
delete
update
patch
static final String SERVER_PROFILE_URI
static final String SERVER_PROFILE_AVAILABLE_NETWORKS_URI
static final String SERVER_PROFILE_AVAILABLE_SERVERS_URI
static final String SERVER_PROFILE_AVAILABLE_STORAGE_SYSTEM_URI
static final String SERVER_PROFILE_AVAILABLE_STORAGE_SYSTEMS_URI
static final String SERVER_PROFILE_AVAILABLE_TARGETS_URI
static final String SERVER_PROFILE_COMPLIANCE_MESSAGES_URI
static final String SERVER_PROFILE_COMPLIANCE_PREVIEW_URI
static final String SERVER_PROFILE_COMPLIANCE_TRANSFORMATION_URI
static final String SERVER_PROFILE_PROFILE_PORTS_URI
TaskResource deleteByFilter(String filter, RequestOption... options)
ServerProfile
(s) matching the filter. A filter is required
to identify the set of resources to be removed.filter
- A general filter/query string that narrows the list of resources.options
- varargs
of RequestOption
, which can be used to specify
+ * some request options.TaskResource
containing the task status for the process.ServerProfileCompliancePreview getCompliancePreview(String resourceId)
resourceId
- server profile resource identifier as seen in HPE OneView.ServerProfileCompliancePreview
object containing the details.ServerProfileHealth getMessages(String resourceId)
resourceId
- server profile resource identifier as seen in HPE OneView.ServerProfileHealth
object containing the details.ServerProfile getTransformation(String resourceId, String serverHardwareTypeUri, String enclosureGroupUri)
resourceId
- server profile resource identifier as seen in HPE OneView.serverHardwareTypeUri
- string specifying the server hardware type URI.enclosureGroupUri
- string specifying the enclosure group URI.ServerProfile
object containing the details.AvailableNetworks getAvailableNetworks(String serverHardwareTypeUri, String enclosureGroupUri)
serverHardwareTypeUri
- string specifying the server hardware type URI.enclosureGroupUri
- string specifying the enclosure group URI.AvailableNetworks
object containing the details.List<AvailableServers> getAvailableServers()
List
<AvailableServers
> containing a collection of
available servers details.List<AvailableServers> getAvailableServers(String serverHardwareTypeUri, String enclosureGroupUri)
serverHardwareTypeUri
- string specifying the server hardware type URI.enclosureGroupUri
- string specifying the enclosure group URI.List
<AvailableServers
> containing a collection of
available servers details.List<AvailableServers> getAvailableServers(String profileUri)
profileUri
- string specifying the profile URI.List
<AvailableServers
> containing a collection of
available servers details.ResourceCollection<AvailableStorageSystem> getAvailableStorageSystems(String serverHardwareTypeUri, String enclosureGroupUri)
serverHardwareTypeUri
- string specifying the server hardware type URI.enclosureGroupUri
- string specifying the enclosure group URI.ResourceCollection
<AvailableStorageSystem
> containing the details
for all found available storage systems.AvailableStorageSystem getAvailableStorageSystem(String serverHardwareTypeUri, String enclosureGroupUri, String storageSystemId)
serverHardwareTypeUri
- string specifying the server hardware type URI.enclosureGroupUri
- string specifying the enclosure group URI.storageSystemId
- string specifying the storage system identifier.AvailableStorageSystem
containing the storage system details.AvailableTargets getAvailableTargets(String serverHardwareTypeUri, String enclosureGroupUri, String profileUri)
serverHardwareTypeUri
- optional string specifying the server hardware type URI.enclosureGroupUri
- optional string specifying the enclosure group URI.profileUri
- optional string specifying the server profile URI.AvailableTargets
containing the available target details.ProfilePorts getProfilePorts(String serverHardwareTypeUri, String enclosureGroupUri)
serverHardwareTypeUri
- string specifying the server hardware type URI.enclosureGroupUri
- string specifying the enclosure group URI.ProfilePorts
containing the profile ports details.Copyright © 2017. All rights reserved.