# equinix\_fabric\_route\_filter\_rule(资源) Fabric V4 API 兼容资源允许创建和管理 Equinix Fabric 路由过滤器规则 补充文件: * 入门指南: * API: ## 用法示例[​](#用法示例 "直接链接至用法示例") ``` resource "equinix_fabric_route_filter_rule" "rf_rule" { route_filter_id = "" name = "Route Filter Rule Name" prefix = "192.168.0.0/24" prefix_match = "exact" description = "Route Filter Rule for X Purpose" } output "route_filter_rule_id" { value = equinix_fabric_route_filter_rule.rf_rule.id } output "route_filter_id" { value = equinix_fabric_route_filter_rule.rf_rule.route_filter_id } output "route_filter_rule_prefix" { value = equinix_fabric_route_filter_rule.rf_rule.prefix } output "route_filter_rule_prefix_match" { value = equinix_fabric_route_filter_rule.rf_rule.prefix_match } ``` ## 模式[​](#模式 "直接链接至模式") ### 需要[​](#需要 "直接链接至需要") * `prefix`(字符串)要过滤的 IP 地址前缀 * `route_filter_id`(字符串)要应用此规则的路由过滤策略的 UUID ### 可选[​](#可选 "直接链接至可选") * `description`(字符串)可选描述,用于添加到您将要创建的路由过滤器中。 * `name`(字符串)路由过滤器的名称 * `prefix_match`(字符串)前缀匹配运算符。取值范围为 \[ orlonger, exact ]。默认值为 "orlonger"。 * `timeouts`(块,可选)(有关嵌套模式,请参见[下文](#nestedblock--timeouts)) ### 只读[​](#只读 "直接链接至只读") * `action`(字符串)将对符合规则的 IP 地址执行的操作 * `change`(对象集)包含先前应用于路由过滤器的更改的详细信息的对象(有关嵌套架构,请参见[下文](#nestedatt--change)) * `change_log`(对象集合)(有关嵌套模式,请参见[下文](#nestedatt--change_log)) * `href`(字符串)路由过滤规则 URI * `id`(字符串)此资源的 ID。 * `state`(字符串)路由筛选规则在其生命周期中的状态 * `type`(字符串)路由过滤器类型。取值范围为 \[ BGP\_IPv4\_PREFIX\_FILTER\_RULE, BGP\_IPv6\_PREFIX\_FILTER\_RULE ] * `uuid`(字符串)Equinix 为路由筛选规则分配的 ID []() ### `timeouts` 的嵌套模式[​](#timeouts-的嵌套模式 "直接链接至timeouts-的嵌套模式") 选修的: * `create`(字符串) * `delete`(字符串) * `read`(字符串) * `update`(字符串) []() ### `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`(字符串)