File tree Expand file tree Collapse file tree 3 files changed +16
-19
lines changed
tencentcloud/services/vpn Expand file tree Collapse file tree 3 files changed +16
-19
lines changed Original file line number Diff line number Diff line change 1+ ```release-note:enhancement
2+ datasource/tencentcloud_vpn_gateway_routes: update doc
3+ ```
Original file line number Diff line number Diff line change 1- Use this data source to query detailed information of VPN gateways.
1+ Use this data source to query detailed information of VPN gateways routes .
22
33Example Usage
44
55``` hcl
6- data "tencentcloud_vpn_gateways" "foo" {
7- vpn_gateway_id = "main"
8- destination_cidr_block = "vpngw-8ccsnclt"
9- instance_type = "1.1.1.1"
10- instance_id = "ap-guangzhou-3"
11- tags = {
12- test = "tf"
13- }
6+ data "tencentcloud_vpn_gateway_routes" "example" {
7+ vpn_gateway_id = "vpngw-8dua3tbl"
8+ destination_cidr = "10.0.0.0/8"
9+ instance_type = "VPNCONN"
10+ instance_id = "vpnx-m16m4sw4"
1411}
1512```
Original file line number Diff line number Diff line change @@ -4,24 +4,21 @@ layout: "tencentcloud"
44page_title : " TencentCloud: tencentcloud_vpn_gateway_routes"
55sidebar_current : " docs-tencentcloud-datasource-vpn_gateway_routes"
66description : |-
7- Use this data source to query detailed information of VPN gateways.
7+ Use this data source to query detailed information of VPN gateways routes .
88---
99
1010# tencentcloud_vpn_gateway_routes
1111
12- Use this data source to query detailed information of VPN gateways.
12+ Use this data source to query detailed information of VPN gateways routes .
1313
1414## Example Usage
1515
1616``` hcl
17- data "tencentcloud_vpn_gateways" "foo" {
18- vpn_gateway_id = "main"
19- destination_cidr_block = "vpngw-8ccsnclt"
20- instance_type = "1.1.1.1"
21- instance_id = "ap-guangzhou-3"
22- tags = {
23- test = "tf"
24- }
17+ data "tencentcloud_vpn_gateway_routes" "example" {
18+ vpn_gateway_id = "vpngw-8dua3tbl"
19+ destination_cidr = "10.0.0.0/8"
20+ instance_type = "VPNCONN"
21+ instance_id = "vpnx-m16m4sw4"
2522}
2623```
2724
You can’t perform that action at this time.
0 commit comments