Skip to content

Commit 09bd690

Browse files
committed
add
1 parent a734973 commit 09bd690

File tree

2 files changed

+13
-19
lines changed

2 files changed

+13
-19
lines changed
Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,12 @@
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

33
Example 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
```

website/docs/d/vpn_gateway_routes.html.markdown

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4,24 +4,21 @@ layout: "tencentcloud"
44
page_title: "TencentCloud: tencentcloud_vpn_gateway_routes"
55
sidebar_current: "docs-tencentcloud-datasource-vpn_gateway_routes"
66
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.
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

0 commit comments

Comments
 (0)