Interface Ports
- All Known Implementing Classes:
PortsImpl
public interface Ports
Client interface for managing Equinix Fabric ports. Provides operations for listing,
retrieving, and monitoring port bandwidth statistics.
- Version:
- $Id: $Id
- Author:
- ianjones
-
Method Summary
Modifier and TypeMethodDescriptionRetrieves a single port by its unique identifier.getStatistics(String uuid, LocalDateTime startDateTime, LocalDateTime endDateTime) Retrieves bandwidth statistics for a port over the specified time range.getTopStatistics(StatisticDuration duration, Sortable sortable) Retrieves top port statistics ranked by bandwidth usage for the specified duration.getTopStatistics(StatisticDuration duration, Sortable sortable, RequestBuilder.TopPortStatistics requestBuilder) Retrieves top port statistics ranked by bandwidth usage with additional request options.list()Lists all ports accessible to the current account.
-
Method Details
-
list
PaginatedList<Port> list()Lists all ports accessible to the current account.- Returns:
- a paginated list of ports
-
getByUuid
-
getStatistics
Retrieves bandwidth statistics for a port over the specified time range.- Parameters:
uuid- the unique identifier of the portstartDateTime- the start of the statistics time rangeendDateTime- the end of the statistics time range- Returns:
- the port statistics for the specified time range
-
getTopStatistics
Retrieves top port statistics ranked by bandwidth usage for the specified duration.- Parameters:
duration- the time duration to aggregate statistics oversortable- the sort configuration for ranking results- Returns:
- a paginated list of top port statistics
-
getTopStatistics
PaginatedList<PortStatistic> getTopStatistics(StatisticDuration duration, Sortable sortable, RequestBuilder.TopPortStatistics requestBuilder) Retrieves top port statistics ranked by bandwidth usage with additional request options.- Parameters:
duration- the time duration to aggregate statistics oversortable- the sort configuration for ranking resultsrequestBuilder- additional request parameters for filtering top statistics- Returns:
- a paginated list of top port statistics
-