# equinix\_fabric\_route\_filter\_rule(数据源) 兼容 Fabric V4 API 的数据资源,允许用户获取给定 UUID 的路由过滤器。 补充文件: * 入门指南: * API: ## 用法示例[​](#用法示例 "直接链接至用法示例") ``` data "equinix_fabric_route_filter_rule" "rf_rule" { route_filter_id = "" uuid = "" } output "route_filter_rule_name" { value = data.equinix_fabric_route_filter_rule.rf_rule.name } output "route_filter_rule_description" { value = data.equinix_fabric_route_filter_rule.rf_rule.description } output "route_filter_rule_prefix" { value = data.equinix_fabric_route_filter_rule.rf_rule.prefix } output "route_filter_rule_prefix_match" { value = data.equinix_fabric_route_filter_rule.rf_rule.prefix_match } ``` ## 模式[​](#模式 "直接链接至模式") ### 需要[​](#需要 "直接链接至需要") * `route_filter_id`(字符串)规则所附加的路由过滤策略的 UUID * `uuid`(字符串)Equinix 为路由筛选规则分配的 ID,用于检索数据 ### 只读[​](#只读 "直接链接至只读") * `action`(字符串)将对符合规则的 IP 地址执行的操作 * `change`(对象集)包含先前应用于路由过滤器的更改的详细信息的对象(有关嵌套架构,请参见[下文](#nestedatt--change)) * `change_log`(对象集合)(有关嵌套模式,请参见[下文](#nestedatt--change_log)) * `description`(字符串)可选描述,用于添加到您将要创建的路由过滤器中。 * `href`(字符串)路由过滤规则 URI * `id`(字符串)此资源的 ID。 * `name`(字符串)路由过滤器的名称 * `prefix`(字符串)要过滤的 IP 地址前缀 * `prefix_match`(字符串)前缀匹配运算符。取值范围为 \[ orlonger, exact ]。默认值为 "orlonger"。 * `state`(字符串)路由筛选规则在其生命周期中的状态 * `type`(字符串)路由过滤器类型。取值范围为 \[ BGP\_IPv4\_PREFIX\_FILTER\_RULE, BGP\_IPv6\_PREFIX\_FILTER\_RULE ] []() ### `change` 的嵌套模式[​](#change-的嵌套模式 "直接链接至change-的嵌套模式") 只读: * `href`(字符串) * `type`(字符串) * `uuid`(字符串) []() ### `change_log` 的嵌套模式[​](#change_log-的嵌套模式 "直接链接至change_log-的嵌套模式") 只读: * `created_by`(字符串) * `created_by_email`(字符串) * `created_by_full_name`(字符串) * `created_date_time`(字符串) * `deleted_by`(字符串) * `deleted_by_email`(字符串) * `deleted_by_full_name`(字符串) * `deleted_date_time`(字符串) * `updated_by`(字符串) * `updated_by_email`(字符串) * `updated_by_full_name`(字符串) * `updated_date_time`(字符串)