public interface LogicalEnclosureClient extends SearchableResource<LogicalEnclosure>, CreatableResource<AddLogicalEnclosure>, UpdatableResource<LogicalEnclosure>, PatchableResource, DeletableResource
SearchableResource.GetByNameRequestInterceptor
Modifier and Type | Field and Description |
---|---|
static String |
CONFIGURATION_URI |
static String |
LOGICAL_ENCLOSURE_URI |
static String |
SCRIPT_URI |
static String |
SUPPORT_DUMP_URI |
static String |
UPDATE_FROM_GROUP_URI |
Modifier and Type | Method and Description |
---|---|
TaskResource |
createSupportDump(String resourceId,
SupportDump supportDump,
RequestOption... options)
Creates a support dump according to the provided
SupportDump object for
the logical enclosure identified by the resourceId . |
String |
getConfigurationScript(String resourceId)
Retrieves the configuration script (
String ) of the logical enclosure
identified by the provided resourceId . |
TaskResource |
updateConfiguration(String resourceId,
RequestOption... options)
Re-applies the logical enclosure configuration in the logical enclosure identified
by the provided
resourceId . |
TaskResource |
updateConfigurationScript(String resourceId,
String scriptData,
RequestOption... options)
Updates the logical enclosure script identified by the
resourceId according
to the provided script data. |
TaskResource |
updateFromGroup(String resourceId,
RequestOption... options)
Updates the logical enclosure identified by the provided
resourceId
to make it consistent with the associated enclosure group when the logical enclosure is
in an inconsistent state. |
getByName
get, get, getAll, getAll, getById
create
update
patch
delete
static final String LOGICAL_ENCLOSURE_URI
static final String UPDATE_FROM_GROUP_URI
static final String CONFIGURATION_URI
static final String SCRIPT_URI
static final String SUPPORT_DUMP_URI
TaskResource updateFromGroup(String resourceId, RequestOption... options)
resourceId
to make it consistent with the associated enclosure group when the logical enclosure is
in an inconsistent state.
Since this operation can take some time to complete, it is possible to specify a timeout
using the option TaskTimeout
. If no timeout
is specified, the default behavior is to wait until the update completes.resourceId
- resource identifier as seen in HPE OneView.options
- varargs
of RequestOption
, which can be used to specify
some request options.TaskResource
task containing the result of this request.TaskResource updateConfiguration(String resourceId, RequestOption... options)
resourceId
.
Since this operation can take some time to complete, it is possible to specify a timeout
using the option TaskTimeout
. If no timeout
is specified, the default behavior is to wait until the update completes.resourceId
- resource identifier as seen in HPE OneView.options
- varargs
of RequestOption
, which can be used to specify
some request options.TaskResource
task containing the result of this request.String getConfigurationScript(String resourceId)
String
) of the logical enclosure
identified by the provided resourceId
.resourceId
- resource identifier as seen in HPE OneView.List
containing the URIs for the associated server profiles.TaskResource updateConfigurationScript(String resourceId, String scriptData, RequestOption... options)
resourceId
according
to the provided script data.
Since this operation can take some time to complete, it is possible to specify a timeout
using the option TaskTimeout
. If no timeout
is specified, the default behavior is to wait until the update completes.resourceId
- resource identifier as seen in HPE OneView.scriptData
- script data to be configured in the logical enclosure.options
- varargs
of RequestOption
, which can be used to specify
some request options.TaskResource
task containing the result of this request.TaskResource createSupportDump(String resourceId, SupportDump supportDump, RequestOption... options)
SupportDump
object for
the logical enclosure identified by the resourceId
. A logical enclosure
support dump includes content for logical interconnects associated with that
logical enclosure and it also contains some appliance support dump content.
Since this operation can take some time to complete, it is possible to specify a timeout
using the option TaskTimeout
. If no timeout
is specified, the default behavior is to wait until the create action completes.resourceId
- resource identifier as seen in HPE OneView.supportDump
- object containing the details about how the support dump should be created.options
- varargs
of RequestOption
, which can be used to specify
some request options.TaskResource
task containing the result of this request.Copyright © 2017. All rights reserved.