@@ -11,6 +11,7 @@ A [Terraform][1] plugin for managing [FortiADC][2].
1111 * [ ` fortiadc_loadbalance_pool ` ] ( #fortiadc_loadbalance_pool )
1212 * [ ` fortiadc_loadbalance_pool_member ` ] ( #fortiadc_loadbalance_pool_member )
1313 * [ ` fortiadc_loadbalance_virtual_server ` ] ( #fortiadc_loadbalance_virtual_server )
14+ * [ ` fortiadc_loadbalance_content_routing ` ] ( #fortiadc_loadbalance_content_routing )
1415* [ Requirements] ( #requirements )
1516
1617## Installation
@@ -212,6 +213,42 @@ resource "fortiadc_loadbalance_virtual_server" "myvirtualserver" {
212213| ---------------- | ----------------------- |
213214| ` id ` | Virtual server Mkey |
214215
216+ ### ` fortiadc_loadbalance_content_routing `
217+
218+ A resource for managing content routing.
219+
220+ #### Example
221+
222+ ``` hcl
223+ resource "fortiadc_loadbalance_pool" "mypool" {
224+ name = "mypool"
225+ healtcheck_enable = true
226+ healtcheck_list = ["LB_HLTHCK_HTTP", "LB_HLTHCK_HTTPS"]
227+ }
228+
229+ resource "fortiadc_loadbalance_content_routing" "mycr" {
230+ name = "mycr"
231+ pool = "${fortiadc_loadbalance_pool.mypool.name}"
232+ }
233+ ```
234+
235+ #### Arguments
236+
237+ | Property | Description | Type | Required | Default |
238+ | ---------------- | ----------------------- | ------- | ----------- | ---------- |
239+ | ` name ` | Content routing name | String | true | |
240+ | ` type ` | Type | String | false | ` l7-content-routing ` |
241+ | ` pool ` | Real server destination pool | String | true | |
242+ | ` ipv4 ` | Source IPv4 address for l4 mode | String | false | ` 0.0.0.0/0 ` |
243+ | ` ipv6 ` | Source IPv6 address for l4 mode | String | false | ` ::/0 ` |
244+ | ` comment ` | Comment | String | false | ` comments ` |
245+
246+ #### Attributes
247+
248+ | Property | Description |
249+ | ---------------- | ----------------------- |
250+ | ` id ` | Content routing Mkey |
251+
215252
216253## Requirements
217254* FortiADC == 4.8.x
0 commit comments