Interface CloudEvents
- All Known Implementing Classes:
CloudEventsImpl
public interface CloudEvents
Client interface for Equinix Fabric cloud events (
POST /fabric/v4/cloudevents/search,
GET /fabric/v4/cloudevents/{id}) and live events (POST /fabric/v4/liveEvents/search,
the last operational event per subject, used for project-level active alerts).
The per-asset GET /{asset}/{id}/cloudevents endpoint is deprecated in spec 4.34.0 and
is no longer called; use CloudEventQuery.forAsset(String, String).
-
Method Summary
Modifier and TypeMethodDescriptionRetrieves a single cloud event by its unique identifier.search(CloudEventQuery query) Searches cloud events with a filter built by aCloudEventQuery.search(CloudEventQuery query, SortPropertyList sort) Searches cloud events with aCloudEventQueryand a sort order.search(FilterPropertyList filter, SortPropertyList sort) Searches cloud events with a hand-built filter.searchLiveEvents(String... subjects) Returns the last operational event of each given subject (POST /fabric/v4/liveEvents/search), for example the current port-status alert.
-
Method Details
-
search
Searches cloud events with a filter built by aCloudEventQuery.- Parameters:
query- the query (scoped by subject, project or organization)- Returns:
- a paginated, filtered list of matching cloud events
-
search
Searches cloud events with aCloudEventQueryand a sort order.- Parameters:
query- the querysort- the sort criteria, ornull- Returns:
- a paginated, filtered list of matching cloud events
-
search
Searches cloud events with a hand-built filter.- Parameters:
filter- the filter; it must contain/subject,/equinixprojector/equinixorganizationsort- the sort criteria, ornull- Returns:
- a paginated, filtered list of matching cloud events
- Throws:
IllegalArgumentException- when the filter has no scope expression
-
getByUuid
Retrieves a single cloud event by its unique identifier.- Parameters:
uuid- the unique identifier of the cloud event- Returns:
- the cloud event matching the given UUID
-
searchLiveEvents
Returns the last operational event of each given subject (POST /fabric/v4/liveEvents/search), for example the current port-status alert.Live behaviour (observed 2026-11-11): exact subjects such as
/fabric/v4/ports/{uuid}work withIN; an empty filter answers HTTP 500 and a wildcard subject is rejected, so at least one exact subject is required.- Parameters:
subjects- the exact subject paths (at least one)- Returns:
- a paginated, filtered list of the live events
-