public interface AlertClient extends RetrievableResource<AlertResource>
Modifier and Type | Field and Description |
---|---|
static String |
ALERTS_CHANGELOG_URI |
static String |
ALERTS_URI |
Modifier and Type | Method and Description |
---|---|
String |
delete(String resourceId)
Deletes the
AlertResource identified by the given resource identifier. |
String |
deleteAlertChangeLog(String changeLogId)
Deletes the alert change log item identified by changeLogId.
|
TaskResource |
deleteByFilter(String filter,
RequestOption... options)
Deletes all the
AlertResource (s) that match the filter. |
AlertResource |
update(String resourceId,
AlertUpdate resource)
Updates the resource identified by the
resourceId according to the
provided resource object. |
static final String ALERTS_URI
static final String ALERTS_CHANGELOG_URI
AlertResource update(String resourceId, AlertUpdate resource)
resourceId
according to the
provided resource
object.resourceId
- resource identifier as seen in HPE OneView.resource
- object containing the details of the resource that should be created.AlertResource
.String delete(String resourceId)
AlertResource
identified by the given resource identifier.resourceId
- resource identifier as seen in HPE OneView.String
containing the response of the process.TaskResource deleteByFilter(String filter, RequestOption... options)
AlertResource
(s) that match the filter. If no filter
is specified all alerts will be deleted (excepted those not permitted).
The actual deletion will proceed asynchronously. Although, the method can
process the request asynchronously or synchronously, based on the aSync flag input.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.String deleteAlertChangeLog(String changeLogId)
changeLogId
- alert change log identifier as seen in HPE OneView.String
containing the response of the process.Copyright © 2017. All rights reserved.