equinix_fabric_route_aggregations (Data Source)
Fabric V4 API compatible data resource that allow user to fetch Equinix Fabric Route Aggregations with pagination details Additional Documentation:
- Getting Started: https://docs.equinix.com/fabric/ports/managing-fabric-ports#add-ports-to-an-existing-link-aggregation-group-lag
- API: https://docs.equinix.com/api-catalog/fabricv4/#tag/Route-Aggregations
Example Usage
data "equinix_fabric_route_aggregations" "ra_policy" {
filter = {
property = "/project/projectId"
operator = "="
values = ["<route_aggregation_project_id>"]
}
pagination = {
limit = 2
offset = 1
}
}
output "first_route_aggregation_name" {
value = data.equinix_fabric_route_aggregations.ra_policy.data.0.name
}
output "first_route_aggregation_description" {
value = data.equinix_fabric_route_aggregations.ra_policy.data.0.description
}
output "first_route_aggregation_connections_count" {
value = data.equinix_fabric_route_aggregations.ra_policy.data.0.connections_count
}
output "first_route_aggregation_rules_count" {
value = data.equinix_fabric_route_aggregations.ra_policy.data.0.rules_count
}
Schema
Required
filter(Attributes) Filters for the Data Source Search Request (see below for nested schema)
Optional
pagination(Attributes) Pagination details for the returned route aggregations list (see below for nested schema)sort(Attributes) Filters for the Data Source Search Request (see below for nested schema)
Read-Only
data(Attributes List) Returned list of route aggregation objects (see below for nested schema)id(String) The unique identifier of the resource
Nested Schema for filter
Required:
operator(String) Operators to use on your filtered field with the values given. One of [ =, !=, >, >=, <, <=, BETWEEN, NOT BETWEEN, LIKE, NOT LIKE, IN, NOT IN, IS NOT NULL, IS NULL]property(String) possible field names to use on filters. One of [/type /name /project/projectId /uuid /state]values(List of String) The values that you want to apply the property+operator combination to in order to filter your data search
Nested Schema for pagination
Optional:
limit(Number) Maximum number of search results returned per page. Number must be between 1 and 100, and the default is 20offset(Number) Index of the first item returned in the response. The default is 0
Read-Only:
next(String) The URL relative to the next item in the responseprevious(String) The URL relative to the previous item in the responsetotal(Number) The total number of route aggregations available to the user making the request
Nested Schema for sort
Optional:
direction(String) The sorting direction. Can be one of: [DESC, ASC], Defaults to DESCproperty(String) The property name to use in sorting. One of [/type /name /project/projectId /uuid /state] Defaults to /name
Nested Schema for data
Read-Only:
change(Attributes) Current state of latest Route Aggregation change (see below for nested schema)change_log(Attributes) Details of the last change on the route aggregation resource (see below for nested schema)connections_count(Number) Number of Connections attached to route aggregationdescription(String) Customer-provided route aggregation descriptionhref(String) Equinix auto generated URI to the route aggregation resourcename(String) Customer provided name of the route aggregationproject(Attributes) Equinix Project attribute object (see below for nested schema)rules_count(Number) Number of Rules attached to route aggregationstate(String) Value representing provisioning status for the route aggregation resourcetype(String) Equinix defined Route Aggregation Type; BGP_IPv4_PREFIX_AGGREGATION, BGP_IPv6_PREFIX_AGGREGATIONuuid(String) Equinix-assigned unique id for the route aggregation resource
Nested Schema for data.change
Read-Only:
href(String) Equinix auto generated URI to the route aggregation changetype(String) Equinix defined Route Aggregation Change Typeuuid(String) Equinix-assigned unique id for a change
Nested Schema for data.change_log
Read-Only:
created_by(String) User name of creator of the route aggregation resourcecreated_by_email(String) Email of creator of the route aggregation resourcecreated_by_full_name(String) Legal name of creator of the route aggregation resourcecreated_date_time(String) Creation time of the route aggregation resourcedeleted_by(String) User name of deleter of the route aggregation resourcedeleted_by_email(String) Email of deleter of the route aggregation resourcedeleted_by_full_name(String) Legal name of deleter of the route aggregation resourcedeleted_date_time(String) Deletion time of the route aggregation resourceupdated_by(String) User name of last updater of the route aggregation resourceupdated_by_email(String) Email of last updater of the route aggregation resourceupdated_by_full_name(String) Legal name of last updater of the route aggregation resourceupdated_date_time(String) Last update time of the route aggregation resource
Nested Schema for data.project
Read-Only:
project_id(String) Equinix Subscriber-assigned project ID