File tree 2 files changed +13
-19
lines changed
tencentcloud/services/vpn 2 files changed +13
-19
lines changed 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 .
2
2
3
3
Example Usage
4
4
5
5
``` 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"
14
11
}
15
12
```
Original file line number Diff line number Diff line change @@ -4,24 +4,21 @@ layout: "tencentcloud"
4
4
page_title : " TencentCloud: tencentcloud_vpn_gateway_routes"
5
5
sidebar_current : " docs-tencentcloud-datasource-vpn_gateway_routes"
6
6
description : |-
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 .
8
8
---
9
9
10
10
# tencentcloud_vpn_gateway_routes
11
11
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 .
13
13
14
14
## Example Usage
15
15
16
16
``` 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"
25
22
}
26
23
```
27
24
You can’t perform that action at this time.
0 commit comments