Class PowerEventsImpl

java.lang.Object
com.eqixiac.equinix.ibxsmartview.client.implementation.PowerEventsImpl
All Implemented Interfaces:
PowerEvents

public class PowerEventsImpl extends Object implements PowerEvents
  • 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: PowerEvents
      Searches power events matching the specified filters.
      Specified by:
      search in interface PowerEvents
      Parameters:
      ibx - the list of IBX codes to filter by, or null for all
      status - the list of statuses to filter by (e.g. ACTIVE, INACTIVE), or null for all
      edgeCollectedOn - an ISO-8601 date to retrieve events collected after a specific date, or null for all
      offset - the zero-based record offset for pagination
      limit - the maximum number of records to retrieve per request
      Returns:
      a paginated list of matching power events
    • defineAlertConfiguration

      Description copied from interface: PowerEvents
      Returns a builder for defining and creating a new power alert configuration.
      Specified by:
      defineAlertConfiguration in interface PowerEvents
      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: PowerEvents
      Searches power alert configurations matching the specified filters.
      Specified by:
      searchAlertConfigurations in interface PowerEvents
      Parameters:
      ibx - the list of IBX codes to filter by, or null for all
      state - the list of states to filter by (e.g. ACTIVE, PAUSED, DELETED), or null for all
      offset - the zero-based record offset for pagination
      limit - 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: PowerEvents
      Returns a builder for updating an existing power alert configuration. The alertConfigurationUid identifies the configuration to update.
      Specified by:
      updateAlertConfiguration in interface PowerEvents
      Parameters:
      alertConfigurationUid - the unique identifier of the power alert configuration to update
      Returns:
      a power alert configuration update builder
    • pauseAlertConfiguration

      public void pauseAlertConfiguration(String alertConfigurationUid)
      Description copied from interface: PowerEvents
      Pauses an active power alert configuration so that it stops triggering new alerts until resumed.
      Specified by:
      pauseAlertConfiguration in interface PowerEvents
      Parameters:
      alertConfigurationUid - the unique identifier of the power alert configuration to pause
    • resumeAlertConfiguration

      public void resumeAlertConfiguration(String alertConfigurationUid)
      Description copied from interface: PowerEvents
      Resumes a previously paused power alert configuration, returning it to the ACTIVE state.
      Specified by:
      resumeAlertConfiguration in interface PowerEvents
      Parameters:
      alertConfigurationUid - the unique identifier of the power alert configuration to resume
    • deleteAlertConfiguration

      public void deleteAlertConfiguration(String alertConfigurationUid)
      Description copied from interface: PowerEvents
      Permanently deletes a power alert configuration. Deleted configurations cannot be recovered.
      Specified by:
      deleteAlertConfiguration in interface PowerEvents
      Parameters:
      alertConfigurationUid - the unique identifier of the power alert configuration to delete