public interface EnclosureGroupClient extends SearchableResource<EnclosureGroup>
SearchableResource.GetByNameRequestInterceptor
Modifier and Type | Field and Description |
---|---|
static String |
ENCLOSURE_GROUP_SCRIPT_URI |
static String |
ENCLOSURE_GROUP_URI |
Modifier and Type | Method and Description |
---|---|
EnclosureGroup |
create(EnclosureGroup enclosureGroup)
Creates an enclosure group according to the provided
EnclosureGroup object. |
String |
delete(String resourceId)
Deletes the
EnclosureGroup identified by the given resource identifier. |
String |
getConfigurationScript(String resourceId)
Retrieves the configuration script for the specified enclosure group resource identifier.
|
EnclosureGroup |
update(String resourceId,
EnclosureGroup enclosureGroup)
Updates an
EnclosureGroup identified by the given resource identifier. |
String |
updateConfigurationScript(String resourceId,
String scriptData)
Updates the configuration script for the specified enclosure group resource identifier.
|
getByName
static final String ENCLOSURE_GROUP_URI
static final String ENCLOSURE_GROUP_SCRIPT_URI
EnclosureGroup create(EnclosureGroup enclosureGroup)
EnclosureGroup
object.enclosureGroup
- object containing the enclosure group details.EnclosureGroup
containing the created enclosure group.EnclosureGroup update(String resourceId, EnclosureGroup enclosureGroup)
EnclosureGroup
identified by the given resource identifier.resourceId
- enclosure group resource identifier as seen in HPE OneView.enclosureGroup
- object containing the enclosure group details.EnclosureGroup
containing the updated enclosure group.String delete(String resourceId)
EnclosureGroup
identified by the given resource identifier.resourceId
- enclosure group resource identifier as seen in HPE OneView.String
containing the response.String getConfigurationScript(String resourceId)
resourceId
- enclosure group resource identifier as seen in HPE OneView.String updateConfigurationScript(String resourceId, String scriptData)
resourceId
- enclosure group resource identifier as seen in HPE OneView.scriptData
- script data to be updated for enclosure group.Copyright © 2017. All rights reserved.