|
| 1 | +--- |
| 2 | +subcategory: "Tencent Cloud Service Engine(TSE)" |
| 3 | +layout: "tencentcloud" |
| 4 | +page_title: "TencentCloud: tencentcloud_tse_gateway_routes" |
| 5 | +sidebar_current: "docs-tencentcloud-datasource-tse_gateway_routes" |
| 6 | +description: |- |
| 7 | + Use this data source to query detailed information of tse gateway_routes |
| 8 | +--- |
| 9 | + |
| 10 | +# tencentcloud_tse_gateway_routes |
| 11 | + |
| 12 | +Use this data source to query detailed information of tse gateway_routes |
| 13 | + |
| 14 | +## Example Usage |
| 15 | + |
| 16 | +```hcl |
| 17 | +data "tencentcloud_tse_gateway_routes" "gateway_routes" { |
| 18 | + gateway_id = "gateway-ddbb709b" |
| 19 | + service_name = "test" |
| 20 | + route_name = "keep-routes" |
| 21 | +} |
| 22 | +``` |
| 23 | + |
| 24 | +## Argument Reference |
| 25 | + |
| 26 | +The following arguments are supported: |
| 27 | + |
| 28 | +* `gateway_id` - (Required, String) gateway ID. |
| 29 | +* `result_output_file` - (Optional, String) Used to save results. |
| 30 | +* `route_name` - (Optional, String) route name. |
| 31 | +* `service_name` - (Optional, String) service name. |
| 32 | + |
| 33 | +## Attributes Reference |
| 34 | + |
| 35 | +In addition to all arguments above, the following attributes are exported: |
| 36 | + |
| 37 | +* `result` - result. |
| 38 | + * `route_list` - route list. |
| 39 | + * `created_time` - created time. |
| 40 | + * `destination_ports` - destination port for Layer 4 matching. |
| 41 | + * `force_https` - whether to enable forced HTTPS, no longer use. |
| 42 | + * `headers` - the headers of route. |
| 43 | + * `key` - key of header. |
| 44 | + * `value` - value of header. |
| 45 | + * `hosts` - host list. |
| 46 | + * `https_redirect_status_code` - https redirection status code. |
| 47 | + * `id` - service ID. |
| 48 | + * `methods` - method list. |
| 49 | + * `name` - service name. |
| 50 | + * `paths` - path list. |
| 51 | + * `preserve_host` - whether to keep the host when forwarding to the backend. |
| 52 | + * `protocols` - protocol list. |
| 53 | + * `service_id` - service ID. |
| 54 | + * `service_name` - service name. |
| 55 | + * `strip_path` - whether to strip path when forwarding to the backend. |
| 56 | + * `total_count` - total count. |
| 57 | + |
| 58 | + |
0 commit comments