Interface RouteFilterRules
- All Known Implementing Classes:
RouteFilterRulesImpl
public interface RouteFilterRules
Client interface for managing rules within an Equinix Fabric route filter. Each rule defines
a prefix match and action (permit/deny) that controls route acceptance.
-
Method Summary
Modifier and TypeMethodDescriptioncreateBulk(String routeFilterId, List<RouteFilterRuleCreatorJson> routeFilterRuleCreatorJsonList) Creates multiple route filter rules under a route filter in a single request.Begins the fluent builder for creating a new route filter rule.Retrieves a single route filter rule by its unique identifier.Retrieves a single change applied to a route filter rule by its change identifier.getChanges(String routeFilterId, String uuid) Retrieves the change history for a route filter rule.Lists all rules belonging to the specified route filter.replace(String routeFilterId, String uuid, RouteFilterRuleCreatorJson routeFilterRuleCreatorJson) Replaces an existing route filter rule's configuration in full.search(String routeFilterId, FilterPropertyList filter, SortPropertyList sort) Searches the rules belonging to a route filter using the given filter and sort criteria.
-
Method Details
-
list
Lists all rules belonging to the specified route filter.- Parameters:
routeFilterId- the unique identifier of the parent route filter- Returns:
- a paginated list of route filter rules
-
getByUuid
Retrieves a single route filter rule by its unique identifier.- Parameters:
routeFilterId- the unique identifier of the parent route filteruuid- the unique identifier of the route filter rule- Returns:
- the route filter rule matching the given UUID
-
define
Begins the fluent builder for creating a new route filter rule. Call methods on the returned builder to configure the rule, then callcreate().- Parameters:
routeFilterId- the unique identifier of the parent route filter- Returns:
- a builder for configuring the new route filter rule
-
replace
RouteFilterRule replace(String routeFilterId, String uuid, RouteFilterRuleCreatorJson routeFilterRuleCreatorJson) Replaces an existing route filter rule's configuration in full.- Parameters:
routeFilterId- the unique identifier of the parent route filteruuid- the unique identifier of the route filter rule to replacerouteFilterRuleCreatorJson- the new rule configuration- Returns:
- the replaced route filter rule
-
createBulk
List<RouteFilterRule> createBulk(String routeFilterId, List<RouteFilterRuleCreatorJson> routeFilterRuleCreatorJsonList) Creates multiple route filter rules under a route filter in a single request.- Parameters:
routeFilterId- the unique identifier of the parent route filterrouteFilterRuleCreatorJsonList- the rule configurations to create- Returns:
- the list of created route filter rules
-
search
PaginatedFilteredList<RouteFilterRule> search(String routeFilterId, FilterPropertyList filter, SortPropertyList sort) Searches the rules belonging to a route filter using the given filter and sort criteria.- Parameters:
routeFilterId- the unique identifier of the parent route filterfilter- the filter criteria to applysort- the sort criteria to apply- Returns:
- a paginated, filtered list of matching route filter rules
-
getChanges
Retrieves the change history for a route filter rule.- Parameters:
routeFilterId- the unique identifier of the parent route filteruuid- the unique identifier of the route filter rule- Returns:
- the list of changes applied to the route filter rule
-
getChange
Retrieves a single change applied to a route filter rule by its change identifier.- Parameters:
routeFilterId- the unique identifier of the parent route filteruuid- the unique identifier of the route filter rulechangeId- the unique identifier of the change- Returns:
- the matching change
-