Equinix v0.27.1 published on Wednesday, Oct 29, 2025 by Equinix
Equinix v0.27.1 published on Wednesday, Oct 29, 2025 by Equinix
Fabric V4 API compatible data resource that allow user to fetch route filter for a given UUID
Additional Documentation:
- Getting Started: https://docs.equinix.com/en-us/Content/Interconnection/FCR/FCR-route-filters.htm
- API: https://developer.equinix.com/dev-docs/fabric/api-reference/fabric-v4-apis#route-filters
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as equinix from "@pulumi/equinix";
const rfPolicy = equinix.fabric.getRouteFilter({
uuid: "<uuid_of_route_filter",
});
export const id = rfPolicy.then(rfPolicy => rfPolicy.id);
export const type = rfPolicy.then(rfPolicy => rfPolicy.type);
export const state = rfPolicy.then(rfPolicy => rfPolicy.state);
export const notMatchedRulesAction = rfPolicy.then(rfPolicy => rfPolicy.notMatchedRuleAction);
export const connectionsCount = rfPolicy.then(rfPolicy => rfPolicy.connectionsCount);
export const rulesCount = rfPolicy.then(rfPolicy => rfPolicy.rulesCount);
import pulumi
import pulumi_equinix as equinix
rf_policy = equinix.fabric.get_route_filter(uuid="<uuid_of_route_filter")
pulumi.export("id", rf_policy.id)
pulumi.export("type", rf_policy.type)
pulumi.export("state", rf_policy.state)
pulumi.export("notMatchedRulesAction", rf_policy.not_matched_rule_action)
pulumi.export("connectionsCount", rf_policy.connections_count)
pulumi.export("rulesCount", rf_policy.rules_count)
package main
import (
"github.com/equinix/pulumi-equinix/sdk/go/equinix/fabric"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
rfPolicy, err := fabric.LookupRouteFilter(ctx, &fabric.LookupRouteFilterArgs{
Uuid: "<uuid_of_route_filter",
}, nil)
if err != nil {
return err
}
ctx.Export("id", rfPolicy.Id)
ctx.Export("type", rfPolicy.Type)
ctx.Export("state", rfPolicy.State)
ctx.Export("notMatchedRulesAction", rfPolicy.NotMatchedRuleAction)
ctx.Export("connectionsCount", rfPolicy.ConnectionsCount)
ctx.Export("rulesCount", rfPolicy.RulesCount)
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Equinix = Pulumi.Equinix;
return await Deployment.RunAsync(() =>
{
var rfPolicy = Equinix.Fabric.GetRouteFilter.Invoke(new()
{
Uuid = "<uuid_of_route_filter",
});
return new Dictionary<string, object?>
{
["id"] = rfPolicy.Apply(getRouteFilterResult => getRouteFilterResult.Id),
["type"] = rfPolicy.Apply(getRouteFilterResult => getRouteFilterResult.Type),
["state"] = rfPolicy.Apply(getRouteFilterResult => getRouteFilterResult.State),
["notMatchedRulesAction"] = rfPolicy.Apply(getRouteFilterResult => getRouteFilterResult.NotMatchedRuleAction),
["connectionsCount"] = rfPolicy.Apply(getRouteFilterResult => getRouteFilterResult.ConnectionsCount),
["rulesCount"] = rfPolicy.Apply(getRouteFilterResult => getRouteFilterResult.RulesCount),
};
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.equinix.fabric.FabricFunctions;
import com.pulumi.equinix.fabric.inputs.GetRouteFilterArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var rfPolicy = FabricFunctions.getRouteFilter(GetRouteFilterArgs.builder()
.uuid("<uuid_of_route_filter")
.build());
ctx.export("id", rfPolicy.applyValue(getRouteFilterResult -> getRouteFilterResult.id()));
ctx.export("type", rfPolicy.applyValue(getRouteFilterResult -> getRouteFilterResult.type()));
ctx.export("state", rfPolicy.applyValue(getRouteFilterResult -> getRouteFilterResult.state()));
ctx.export("notMatchedRulesAction", rfPolicy.applyValue(getRouteFilterResult -> getRouteFilterResult.notMatchedRuleAction()));
ctx.export("connectionsCount", rfPolicy.applyValue(getRouteFilterResult -> getRouteFilterResult.connectionsCount()));
ctx.export("rulesCount", rfPolicy.applyValue(getRouteFilterResult -> getRouteFilterResult.rulesCount()));
}
}
variables:
rfPolicy:
fn::invoke:
function: equinix:fabric:getRouteFilter
arguments:
uuid: <uuid_of_route_filter
outputs:
id: ${rfPolicy.id}
type: ${rfPolicy.type}
state: ${rfPolicy.state}
notMatchedRulesAction: ${rfPolicy.notMatchedRuleAction}
connectionsCount: ${rfPolicy.connectionsCount}
rulesCount: ${rfPolicy.rulesCount}
Using getRouteFilter
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getRouteFilter(args: GetRouteFilterArgs, opts?: InvokeOptions): Promise<GetRouteFilterResult>
function getRouteFilterOutput(args: GetRouteFilterOutputArgs, opts?: InvokeOptions): Output<GetRouteFilterResult>def get_route_filter(uuid: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetRouteFilterResult
def get_route_filter_output(uuid: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetRouteFilterResult]func LookupRouteFilter(ctx *Context, args *LookupRouteFilterArgs, opts ...InvokeOption) (*LookupRouteFilterResult, error)
func LookupRouteFilterOutput(ctx *Context, args *LookupRouteFilterOutputArgs, opts ...InvokeOption) LookupRouteFilterResultOutput> Note: This function is named LookupRouteFilter in the Go SDK.
public static class GetRouteFilter
{
public static Task<GetRouteFilterResult> InvokeAsync(GetRouteFilterArgs args, InvokeOptions? opts = null)
public static Output<GetRouteFilterResult> Invoke(GetRouteFilterInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetRouteFilterResult> getRouteFilter(GetRouteFilterArgs args, InvokeOptions options)
public static Output<GetRouteFilterResult> getRouteFilter(GetRouteFilterArgs args, InvokeOptions options)
fn::invoke:
function: equinix:fabric/getRouteFilter:getRouteFilter
arguments:
# arguments dictionaryThe following arguments are supported:
- Uuid string
- Equinix Assigned ID for Route Filter
- Uuid string
- Equinix Assigned ID for Route Filter
- uuid String
- Equinix Assigned ID for Route Filter
- uuid string
- Equinix Assigned ID for Route Filter
- uuid str
- Equinix Assigned ID for Route Filter
- uuid String
- Equinix Assigned ID for Route Filter
getRouteFilter Result
The following output properties are available:
- Change
Logs List<GetRoute Filter Change Log> - Changes
List<Get
Route Filter Change> - An object with the details of the previous change applied on the Route Filter
- Connections
Count int - The number of Fabric Connections that this Route Filter is attached to
- Description string
- Optional description to add to the Route Filter you will be creating
- Href string
- Route filter URI
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- Name of the Route Filter
- Not
Matched stringRule Action - The action that will be taken on ip ranges that don't match the rules present within the Route Filter
- Projects
List<Get
Route Filter Project> - The Project object that contains project_id and href that is related to the Fabric Project containing connections the Route Filter can be attached to
- Rules
Count int - The number of Route Filter Rules attached to this Route Filter
- State string
- State of the Route Filter in its lifecycle
- Type string
- Route Filter Type. One of [ "BGPIPv4PREFIXFILTER", "BGPIPv6PREFIXFILTER" ]
- Uuid string
- Equinix Assigned ID for Route Filter
- Change
Logs []GetRoute Filter Change Log - Changes
[]Get
Route Filter Change - An object with the details of the previous change applied on the Route Filter
- Connections
Count int - The number of Fabric Connections that this Route Filter is attached to
- Description string
- Optional description to add to the Route Filter you will be creating
- Href string
- Route filter URI
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- Name of the Route Filter
- Not
Matched stringRule Action - The action that will be taken on ip ranges that don't match the rules present within the Route Filter
- Projects
[]Get
Route Filter Project - The Project object that contains project_id and href that is related to the Fabric Project containing connections the Route Filter can be attached to
- Rules
Count int - The number of Route Filter Rules attached to this Route Filter
- State string
- State of the Route Filter in its lifecycle
- Type string
- Route Filter Type. One of [ "BGPIPv4PREFIXFILTER", "BGPIPv6PREFIXFILTER" ]
- Uuid string
- Equinix Assigned ID for Route Filter
- change
Logs List<GetRoute Filter Change Log> - changes
List<Get
Route Filter Change> - An object with the details of the previous change applied on the Route Filter
- connections
Count Integer - The number of Fabric Connections that this Route Filter is attached to
- description String
- Optional description to add to the Route Filter you will be creating
- href String
- Route filter URI
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- Name of the Route Filter
- not
Matched StringRule Action - The action that will be taken on ip ranges that don't match the rules present within the Route Filter
- projects
List<Get
Route Filter Project> - The Project object that contains project_id and href that is related to the Fabric Project containing connections the Route Filter can be attached to
- rules
Count Integer - The number of Route Filter Rules attached to this Route Filter
- state String
- State of the Route Filter in its lifecycle
- type String
- Route Filter Type. One of [ "BGPIPv4PREFIXFILTER", "BGPIPv6PREFIXFILTER" ]
- uuid String
- Equinix Assigned ID for Route Filter
- change
Logs GetRoute Filter Change Log[] - changes
Get
Route Filter Change[] - An object with the details of the previous change applied on the Route Filter
- connections
Count number - The number of Fabric Connections that this Route Filter is attached to
- description string
- Optional description to add to the Route Filter you will be creating
- href string
- Route filter URI
- id string
- The provider-assigned unique ID for this managed resource.
- name string
- Name of the Route Filter
- not
Matched stringRule Action - The action that will be taken on ip ranges that don't match the rules present within the Route Filter
- projects
Get
Route Filter Project[] - The Project object that contains project_id and href that is related to the Fabric Project containing connections the Route Filter can be attached to
- rules
Count number - The number of Route Filter Rules attached to this Route Filter
- state string
- State of the Route Filter in its lifecycle
- type string
- Route Filter Type. One of [ "BGPIPv4PREFIXFILTER", "BGPIPv6PREFIXFILTER" ]
- uuid string
- Equinix Assigned ID for Route Filter
- change_
logs Sequence[GetRoute Filter Change Log] - changes
Sequence[Get
Route Filter Change] - An object with the details of the previous change applied on the Route Filter
- connections_
count int - The number of Fabric Connections that this Route Filter is attached to
- description str
- Optional description to add to the Route Filter you will be creating
- href str
- Route filter URI
- id str
- The provider-assigned unique ID for this managed resource.
- name str
- Name of the Route Filter
- not_
matched_ strrule_ action - The action that will be taken on ip ranges that don't match the rules present within the Route Filter
- projects
Sequence[Get
Route Filter Project] - The Project object that contains project_id and href that is related to the Fabric Project containing connections the Route Filter can be attached to
- rules_
count int - The number of Route Filter Rules attached to this Route Filter
- state str
- State of the Route Filter in its lifecycle
- type str
- Route Filter Type. One of [ "BGPIPv4PREFIXFILTER", "BGPIPv6PREFIXFILTER" ]
- uuid str
- Equinix Assigned ID for Route Filter
- change
Logs List<Property Map> - changes List<Property Map>
- An object with the details of the previous change applied on the Route Filter
- connections
Count Number - The number of Fabric Connections that this Route Filter is attached to
- description String
- Optional description to add to the Route Filter you will be creating
- href String
- Route filter URI
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- Name of the Route Filter
- not
Matched StringRule Action - The action that will be taken on ip ranges that don't match the rules present within the Route Filter
- projects List<Property Map>
- The Project object that contains project_id and href that is related to the Fabric Project containing connections the Route Filter can be attached to
- rules
Count Number - The number of Route Filter Rules attached to this Route Filter
- state String
- State of the Route Filter in its lifecycle
- type String
- Route Filter Type. One of [ "BGPIPv4PREFIXFILTER", "BGPIPv6PREFIXFILTER" ]
- uuid String
- Equinix Assigned ID for Route Filter
Supporting Types
GetRouteFilterChange
- Href string
- The URI of the previous Route Filter Change
- Type string
- Type of change. One of [ "BGP_IPv4_PREFIX_FILTER_UPDATE","BGP_IPv4_PREFIX_FILTER_CREATION","BGP_IPv4_PREFIX_FILTER_DELETION","BGP_IPv6_PREFIX_FILTER_UPDATE","BGP_IPv6_PREFIX_FILTER_CREATION","BGP_IPv6_PREFIX_FILTER_DELETION" ]
- Uuid string
- Unique identifier for the previous change
- Href string
- The URI of the previous Route Filter Change
- Type string
- Type of change. One of [ "BGP_IPv4_PREFIX_FILTER_UPDATE","BGP_IPv4_PREFIX_FILTER_CREATION","BGP_IPv4_PREFIX_FILTER_DELETION","BGP_IPv6_PREFIX_FILTER_UPDATE","BGP_IPv6_PREFIX_FILTER_CREATION","BGP_IPv6_PREFIX_FILTER_DELETION" ]
- Uuid string
- Unique identifier for the previous change
- href String
- The URI of the previous Route Filter Change
- type String
- Type of change. One of [ "BGP_IPv4_PREFIX_FILTER_UPDATE","BGP_IPv4_PREFIX_FILTER_CREATION","BGP_IPv4_PREFIX_FILTER_DELETION","BGP_IPv6_PREFIX_FILTER_UPDATE","BGP_IPv6_PREFIX_FILTER_CREATION","BGP_IPv6_PREFIX_FILTER_DELETION" ]
- uuid String
- Unique identifier for the previous change
- href string
- The URI of the previous Route Filter Change
- type string
- Type of change. One of [ "BGP_IPv4_PREFIX_FILTER_UPDATE","BGP_IPv4_PREFIX_FILTER_CREATION","BGP_IPv4_PREFIX_FILTER_DELETION","BGP_IPv6_PREFIX_FILTER_UPDATE","BGP_IPv6_PREFIX_FILTER_CREATION","BGP_IPv6_PREFIX_FILTER_DELETION" ]
- uuid string
- Unique identifier for the previous change
- href str
- The URI of the previous Route Filter Change
- type str
- Type of change. One of [ "BGP_IPv4_PREFIX_FILTER_UPDATE","BGP_IPv4_PREFIX_FILTER_CREATION","BGP_IPv4_PREFIX_FILTER_DELETION","BGP_IPv6_PREFIX_FILTER_UPDATE","BGP_IPv6_PREFIX_FILTER_CREATION","BGP_IPv6_PREFIX_FILTER_DELETION" ]
- uuid str
- Unique identifier for the previous change
- href String
- The URI of the previous Route Filter Change
- type String
- Type of change. One of [ "BGP_IPv4_PREFIX_FILTER_UPDATE","BGP_IPv4_PREFIX_FILTER_CREATION","BGP_IPv4_PREFIX_FILTER_DELETION","BGP_IPv6_PREFIX_FILTER_UPDATE","BGP_IPv6_PREFIX_FILTER_CREATION","BGP_IPv6_PREFIX_FILTER_DELETION" ]
- uuid String
- Unique identifier for the previous change
GetRouteFilterChangeLog
- Created
By string - Created by User Key
- Created
By stringEmail - Created by User Email Address
- Created
By stringFull Name - Created by User Full Name
- Created
Date stringTime - Created by Date and Time
- Deleted
By string - Deleted by User Key
- Deleted
By stringEmail - Deleted by User Email Address
- Deleted
By stringFull Name - Deleted by User Full Name
- Deleted
Date stringTime - Deleted by Date and Time
- Updated
By string - Updated by User Key
- Updated
By stringEmail - Updated by User Email Address
- Updated
By stringFull Name - Updated by User Full Name
- Updated
Date stringTime - Updated by Date and Time
- Created
By string - Created by User Key
- Created
By stringEmail - Created by User Email Address
- Created
By stringFull Name - Created by User Full Name
- Created
Date stringTime - Created by Date and Time
- Deleted
By string - Deleted by User Key
- Deleted
By stringEmail - Deleted by User Email Address
- Deleted
By stringFull Name - Deleted by User Full Name
- Deleted
Date stringTime - Deleted by Date and Time
- Updated
By string - Updated by User Key
- Updated
By stringEmail - Updated by User Email Address
- Updated
By stringFull Name - Updated by User Full Name
- Updated
Date stringTime - Updated by Date and Time
- created
By String - Created by User Key
- created
By StringEmail - Created by User Email Address
- created
By StringFull Name - Created by User Full Name
- created
Date StringTime - Created by Date and Time
- deleted
By String - Deleted by User Key
- deleted
By StringEmail - Deleted by User Email Address
- deleted
By StringFull Name - Deleted by User Full Name
- deleted
Date StringTime - Deleted by Date and Time
- updated
By String - Updated by User Key
- updated
By StringEmail - Updated by User Email Address
- updated
By StringFull Name - Updated by User Full Name
- updated
Date StringTime - Updated by Date and Time
- created
By string - Created by User Key
- created
By stringEmail - Created by User Email Address
- created
By stringFull Name - Created by User Full Name
- created
Date stringTime - Created by Date and Time
- deleted
By string - Deleted by User Key
- deleted
By stringEmail - Deleted by User Email Address
- deleted
By stringFull Name - Deleted by User Full Name
- deleted
Date stringTime - Deleted by Date and Time
- updated
By string - Updated by User Key
- updated
By stringEmail - Updated by User Email Address
- updated
By stringFull Name - Updated by User Full Name
- updated
Date stringTime - Updated by Date and Time
- created_
by str - Created by User Key
- created_
by_ stremail - Created by User Email Address
- created_
by_ strfull_ name - Created by User Full Name
- created_
date_ strtime - Created by Date and Time
- deleted_
by str - Deleted by User Key
- deleted_
by_ stremail - Deleted by User Email Address
- deleted_
by_ strfull_ name - Deleted by User Full Name
- deleted_
date_ strtime - Deleted by Date and Time
- updated_
by str - Updated by User Key
- updated_
by_ stremail - Updated by User Email Address
- updated_
by_ strfull_ name - Updated by User Full Name
- updated_
date_ strtime - Updated by Date and Time
- created
By String - Created by User Key
- created
By StringEmail - Created by User Email Address
- created
By StringFull Name - Created by User Full Name
- created
Date StringTime - Created by Date and Time
- deleted
By String - Deleted by User Key
- deleted
By StringEmail - Deleted by User Email Address
- deleted
By StringFull Name - Deleted by User Full Name
- deleted
Date StringTime - Deleted by Date and Time
- updated
By String - Updated by User Key
- updated
By StringEmail - Updated by User Email Address
- updated
By StringFull Name - Updated by User Full Name
- updated
Date StringTime - Updated by Date and Time
GetRouteFilterProject
- href str
- URI of the Fabric Project
- project_
id str - Project id associated with Fabric Project
Package Details
- Repository
- equinix equinix/pulumi-equinix
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
equinixTerraform Provider.
Equinix v0.27.1 published on Wednesday, Oct 29, 2025 by Equinix
