public interface EnclosureClient
Modifier and Type | Method and Description |
---|---|
TaskResourceV2 |
createEnclosure(RestParams params,
AddEnclosureV2 addEnclosureDto,
boolean aSync,
boolean useJsonRequest)
The module aids in the creation of an enclosure when provided with the enclosure
details as an AddEnclosure object or JsonRequest.
|
TaskResourceV2 |
deleteEnclosure(RestParams params,
String resourceId,
boolean aSync)
The module aids in deleting an enclosure for the specified enclosure
resource identifier.
|
SsoUrlData |
getActiveOaSsoUrl(RestParams params,
String resourceId)
This method aids in fetching data that can be used to construct a single
sign-on URL for an Onboard Administrator.
|
EnclosureCollectionV2 |
getAllEnclosures(RestParams params)
The module aids in fetching the enclosure details for all enclosures
registered under the current HPE OneView.
|
Enclosures |
getEnclosure(RestParams params,
String resourceId)
The module aids in fetching the enclosure details for the specified
enclosure resource identifier.
|
Enclosures |
getEnclosureByName(RestParams params,
String name)
The module aids in fetching the enclosure details for the specified
enclosure name.
|
EnvironmentalConfiguration |
getEnvironmentalConfiguration(RestParams param,
String resourceId)
This method aids in fetching the environmental configuration of the
enclosure identified by the given enclosure identifier.
|
String |
getId(RestParams params,
String name)
The module aids in fetching the enclosure resource identifier for the enclosure name
as specified in HPE OneView.
|
String |
getScript(RestParams params,
String resourceId)
The module aids in fetching the configuration script for the specified
enclosure resource identifier.
|
SsoUrlData |
getStandbyOaSsoUrl(RestParams params,
String resourceId)
This method aids in fetching data that can be used to construct a single
sign-on URL for an onboard administrator.
|
UtilizationData |
getUtilization(RestParams params,
String resourceId)
This method aids in retrieving historical utilization data for the
specified enclosure.
|
TaskResourceV2 |
patchEnclosure(RestParams params,
String resourceId,
Patch patchDto,
boolean aSync)
The module takes in a Patch object or JsonRequest and updates the
existing enclosure based on the resource identifier and the content of the Patch object.
|
TaskResourceV2 |
updateCompliance(RestParams params,
String resourceId,
boolean aSync)
This method aids in updating the enclosure configuration with that of
the enclosure group script.
|
TaskResourceV2 |
updateConfiguration(RestParams params,
String resourceId,
boolean aSync)
This method aids in reapplying the enclosure configuration.
|
TaskResourceV2 |
updateEnclosure(RestParams params,
String resourceId,
Enclosures enclosureDto,
boolean aSync,
boolean useJsonRequest)
The module takes in an enclosure object or JsonRequest and updates the
existing enclosure based on the resource identifier.
|
TaskResourceV2 |
updateEnclosureFwBaseline(RestParams params,
String resourceId,
FwBaselineConfig fwBaselineConfigDto,
boolean aSync)
This method aids in applying the firmware baseline to the enclosure.
|
EnvironmentalConfiguration |
updateEnvironmentalConfiguration(RestParams param,
String resourceId,
EnvironmentalConfigurationUpdate environmentalConfigurationUpdateDto)
This method aids in updating the environmental configuration of the
enclosure resource identifier.
|
TaskResourceV2 |
updateRefreshState(RestParams params,
String resourceId,
RefreshStateConfig refreshStateConfigDto,
boolean aSync)
This method aids in refreshing the enclosure to fix configuration issues.
|
TaskResourceV2 |
updateScript(RestParams params,
String resourceId,
String scriptData,
boolean aSync,
boolean useJsonRequest)
The module aids in updating the configuration script for the specified
enclosure resource identifier.
|
Enclosures getEnclosure(RestParams params, String resourceId)
params
- The RestParams
is a structure containing the connection details.resourceId
- The resource identifier for enclosure as seen in HPE OneView.Enclosures
containing the enclosure details.EnclosureCollectionV2 getAllEnclosures(RestParams params)
params
- The RestParams
is a structure containing the connection details.Enclosures getEnclosureByName(RestParams params, String name)
params
- The RestParams
is a structure containing the connection details.name
- The name is the enclosure name as seen in HPE.Enclosures
containing the enclosure details.TaskResourceV2 createEnclosure(RestParams params, AddEnclosureV2 addEnclosureDto, boolean aSync, boolean useJsonRequest)
params
- The RestParams
is a structure containing the connection details.addEnclosureDto
- The enclosure information that should be created.aSync
- Flag input to process request asynchronously or synchronously.useJsonRequest
- The JsonRequest body is part of AddEnclosure object which
takes in a String containing the new enclosure details, which
is converted to AddEnclosure object using adaptor and
processed.TaskResourceV2
containing the task status for the process.TaskResourceV2 updateEnclosure(RestParams params, String resourceId, Enclosures enclosureDto, boolean aSync, boolean useJsonRequest)
params
- The RestParams
is a structure containing the connection details.resourceId
- The resource identifier for enclosure as seen in HPE OneView.enclosureDto
- This is a object containing the update to be made to existing
enclosure pointed to by the above mentioned resource identifier.aSync
- Flag input to process request asynchronously or synchronously.useJsonRequest
- The JsonRequest body is part of Enclosures object which takes
in a String containing the update to be made, which is
converted to Enclosure object using adaptor and processed.TaskResourceV2
containing the task status for the process.TaskResourceV2 patchEnclosure(RestParams params, String resourceId, Patch patchDto, boolean aSync)
params
- The RestParams
is a structure containing the connection details.resourceId
- The resource identifier for enclosure as seen in HPE OneView.patchDto
- This is a object containing the update to be made to existing
enclosure pointed to by the above mentioned resource identifier.aSync
- Flag input to process request asynchronously or synchronously.TaskResourceV2
containing the task status for the process.TaskResourceV2 deleteEnclosure(RestParams params, String resourceId, boolean aSync)
params
- The RestParams
is a structure containing the connection details.resourceId
- The resource identifier for enclosure as seen in HPE OneView.aSync
- Flag input to process request asynchronously or synchronously.TaskResourceV2
containing the task status for the process.SsoUrlData getActiveOaSsoUrl(RestParams params, String resourceId)
params
- The RestParams
is a structure containing the connection details.resourceId
- The resource identifier for enclosure as seen in HPE OneView.TaskResourceV2 updateCompliance(RestParams params, String resourceId, boolean aSync)
params
- The RestParams
is a structure containing the connection details.resourceId
- The resource identifier for enclosure as seen in HPE OneView.aSync
- Flag input to process request asynchronously or synchronously.TaskResourceV2
containing the task status for the process.TaskResourceV2 updateConfiguration(RestParams params, String resourceId, boolean aSync)
params
- The RestParams
is a structure containing the connection details.resourceId
- The resource identifier for enclosure as seen in HPE OneView.aSync
- Flag input to process request asynchronously or synchronously.TaskResourceV2
containing the task status for the process.TaskResourceV2 updateEnclosureFwBaseline(RestParams params, String resourceId, FwBaselineConfig fwBaselineConfigDto, boolean aSync)
params
- The RestParams
is a structure containing the connection details.resourceId
- The resource identifier for enclosure as seen in HPE OneView.fwBaselineConfigDto
- fwBaselineConfig is the firmware baseline to be applied to the
enclosureaSync
- Flag input to process request asynchronously or synchronously.TaskResourceV2
containing the task status for the process.EnvironmentalConfiguration getEnvironmentalConfiguration(RestParams param, String resourceId)
param
- The RestParams
is a structure containing the connection details.resourceId
- The resource identifier for enclosure as seen in HPE OneView.EnvironmentalConfiguration
of the enclosure resource.EnvironmentalConfiguration updateEnvironmentalConfiguration(RestParams param, String resourceId, EnvironmentalConfigurationUpdate environmentalConfigurationUpdateDto)
param
- The RestParams
is a structure containing the connection details.resourceId
- The resource identifier for enclosure as seen in HPE OneView.environmentalConfigurationUpdateDto
- environmentalConfiguration, environmental configuration of
enclosure resource specifying the cpu, power value.EnvironmentalConfiguration
of the enclosure resource.TaskResourceV2 updateRefreshState(RestParams params, String resourceId, RefreshStateConfig refreshStateConfigDto, boolean aSync)
params
- The RestParams
is a structure containing the connection details.resourceId
- The resource identifier for enclosure as seen in HPE OneView.refreshStateConfigDto
- refreshStateConfigDto, RefreshStateConfig containing the
refresh state details to fix configuration issues.aSync
- Flag input to process request asynchronously or synchronously.TaskResourceV2
containing the task status for the process.String getScript(RestParams params, String resourceId)
params
- The RestParams
is a structure containing the connection details.resourceId
- The resource identifier for enclosure as seen in HPE OneView.TaskResourceV2 updateScript(RestParams params, String resourceId, String scriptData, boolean aSync, boolean useJsonRequest)
params
- The RestParams
is a structure containing the connection details.resourceId
- The resource identifier for enclosure as seen in HPE OneView.scriptData
- The script data to be updated for enclosure.aSync
- Flag input to process request asynchronously or synchronously.useJsonRequest
- The JsonRequest body is part of Enclosure object which takes
in a String containing the update to be made, which is
converted to FwBaselineConfig object using adaptor and
processed.TaskResourceV2
containing the task status for the process.SsoUrlData getStandbyOaSsoUrl(RestParams params, String resourceId)
params
- The RestParams
is a structure containing the connection details.resourceId
- The resource identifier for enclosure as seen in HPE OneView.SsoUrlData
containing the data used for single sign URL for onboard
administrator.UtilizationData getUtilization(RestParams params, String resourceId)
params
- The RestParams
is a structure containing the connection details.resourceId
- The resource identifier for enclosure as seen in HPE OneView.UtilizationData
containing resource data utilization such as power, cpu.String getId(RestParams params, String name)
params
- The RestParams
is a structure containing the connection details.name
- The name is the enclosure name as seen in HPE OneView.Copyright © 2016. All rights reserved.