Class PowerEventsImpl
java.lang.Object
com.eqixiac.equinix.ibxsmartview.client.implementation.PowerEventsImpl
- All Implemented Interfaces:
PowerEvents
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns a builder for defining and creating a new power alert configuration.voiddeleteAlertConfiguration(String alertConfigurationUid) Permanently deletes a power alert configuration.voidpauseAlertConfiguration(String alertConfigurationUid) Pauses an active power alert configuration so that it stops triggering new alerts until resumed.voidresumeAlertConfiguration(String alertConfigurationUid) Resumes a previously paused power alert configuration, returning it to theACTIVEstate.Searches power events matching the specified filters.searchAlertConfigurations(List<String> ibx, List<String> state, int offset, int limit) Searches power alert configurations matching the specified filters.updateAlertConfiguration(String alertConfigurationUid) Returns a builder for updating an existing power alert configuration.
-
Constructor Details
-
PowerEventsImpl
public PowerEventsImpl()
-
-
Method Details
-
search
public PaginatedList<PowerEvent> search(List<String> ibx, List<String> status, String edgeCollectedOn, int offset, int limit) Description copied from interface:PowerEventsSearches power events matching the specified filters.- Specified by:
searchin interfacePowerEvents- Parameters:
ibx- the list of IBX codes to filter by, ornullfor allstatus- the list of statuses to filter by (e.g.ACTIVE,INACTIVE), ornullfor alledgeCollectedOn- an ISO-8601 date to retrieve events collected after a specific date, ornullfor alloffset- the zero-based record offset for paginationlimit- the maximum number of records to retrieve per request- Returns:
- a paginated list of matching power events
-
defineAlertConfiguration
Description copied from interface:PowerEventsReturns a builder for defining and creating a new power alert configuration.- Specified by:
defineAlertConfigurationin interfacePowerEvents- Returns:
- a power alert configuration builder
-
searchAlertConfigurations
public PaginatedList<PowerAlertConfiguration> searchAlertConfigurations(List<String> ibx, List<String> state, int offset, int limit) Description copied from interface:PowerEventsSearches power alert configurations matching the specified filters.- Specified by:
searchAlertConfigurationsin interfacePowerEvents- Parameters:
ibx- the list of IBX codes to filter by, ornullfor allstate- the list of states to filter by (e.g.ACTIVE,PAUSED,DELETED), ornullfor alloffset- the zero-based record offset for paginationlimit- the maximum number of records to retrieve per request- Returns:
- a paginated list of matching power alert configurations
-
updateAlertConfiguration
public PowerAlertConfigurationOperator.PowerAlertConfigurationUpdateBuilder updateAlertConfiguration(String alertConfigurationUid) Description copied from interface:PowerEventsReturns a builder for updating an existing power alert configuration. ThealertConfigurationUididentifies the configuration to update.- Specified by:
updateAlertConfigurationin interfacePowerEvents- Parameters:
alertConfigurationUid- the unique identifier of the power alert configuration to update- Returns:
- a power alert configuration update builder
-
pauseAlertConfiguration
Description copied from interface:PowerEventsPauses an active power alert configuration so that it stops triggering new alerts until resumed.- Specified by:
pauseAlertConfigurationin interfacePowerEvents- Parameters:
alertConfigurationUid- the unique identifier of the power alert configuration to pause
-
resumeAlertConfiguration
Description copied from interface:PowerEventsResumes a previously paused power alert configuration, returning it to theACTIVEstate.- Specified by:
resumeAlertConfigurationin interfacePowerEvents- Parameters:
alertConfigurationUid- the unique identifier of the power alert configuration to resume
-
deleteAlertConfiguration
Description copied from interface:PowerEventsPermanently deletes a power alert configuration. Deleted configurations cannot be recovered.- Specified by:
deleteAlertConfigurationin interfacePowerEvents- Parameters:
alertConfigurationUid- the unique identifier of the power alert configuration to delete
-