From 09bd6907373932e7295476fae1b7def0e2f862a0 Mon Sep 17 00:00:00 2001 From: SevenEarth <391613297@qq.com> Date: Mon, 7 Apr 2025 17:38:40 +0800 Subject: [PATCH 1/2] add --- .../vpn/data_source_tc_vpn_gateway_routes.md | 15 ++++++--------- website/docs/d/vpn_gateway_routes.html.markdown | 17 +++++++---------- 2 files changed, 13 insertions(+), 19 deletions(-) diff --git a/tencentcloud/services/vpn/data_source_tc_vpn_gateway_routes.md b/tencentcloud/services/vpn/data_source_tc_vpn_gateway_routes.md index 554a28be40..69f0ae14bb 100644 --- a/tencentcloud/services/vpn/data_source_tc_vpn_gateway_routes.md +++ b/tencentcloud/services/vpn/data_source_tc_vpn_gateway_routes.md @@ -1,15 +1,12 @@ -Use this data source to query detailed information of VPN gateways. +Use this data source to query detailed information of VPN gateways routes. Example Usage ```hcl -data "tencentcloud_vpn_gateways" "foo" { - vpn_gateway_id = "main" - destination_cidr_block = "vpngw-8ccsnclt" - instance_type = "1.1.1.1" - instance_id = "ap-guangzhou-3" - tags = { - test = "tf" - } +data "tencentcloud_vpn_gateway_routes" "example" { + vpn_gateway_id = "vpngw-8dua3tbl" + destination_cidr = "10.0.0.0/8" + instance_type = "VPNCONN" + instance_id = "vpnx-m16m4sw4" } ``` \ No newline at end of file diff --git a/website/docs/d/vpn_gateway_routes.html.markdown b/website/docs/d/vpn_gateway_routes.html.markdown index 20acbdacc6..164b69c02d 100644 --- a/website/docs/d/vpn_gateway_routes.html.markdown +++ b/website/docs/d/vpn_gateway_routes.html.markdown @@ -4,24 +4,21 @@ layout: "tencentcloud" page_title: "TencentCloud: tencentcloud_vpn_gateway_routes" sidebar_current: "docs-tencentcloud-datasource-vpn_gateway_routes" description: |- - Use this data source to query detailed information of VPN gateways. + Use this data source to query detailed information of VPN gateways routes. --- # tencentcloud_vpn_gateway_routes -Use this data source to query detailed information of VPN gateways. +Use this data source to query detailed information of VPN gateways routes. ## Example Usage ```hcl -data "tencentcloud_vpn_gateways" "foo" { - vpn_gateway_id = "main" - destination_cidr_block = "vpngw-8ccsnclt" - instance_type = "1.1.1.1" - instance_id = "ap-guangzhou-3" - tags = { - test = "tf" - } +data "tencentcloud_vpn_gateway_routes" "example" { + vpn_gateway_id = "vpngw-8dua3tbl" + destination_cidr = "10.0.0.0/8" + instance_type = "VPNCONN" + instance_id = "vpnx-m16m4sw4" } ``` From dd0b131bee13aac8614eb8f875feb8b49fce5eb8 Mon Sep 17 00:00:00 2001 From: SevenEarth <391613297@qq.com> Date: Mon, 7 Apr 2025 17:39:52 +0800 Subject: [PATCH 2/2] add --- .changelog/3275.txt | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 .changelog/3275.txt diff --git a/.changelog/3275.txt b/.changelog/3275.txt new file mode 100644 index 0000000000..c8ed63a73f --- /dev/null +++ b/.changelog/3275.txt @@ -0,0 +1,3 @@ +```release-note:enhancement +datasource/tencentcloud_vpn_gateway_routes: update doc +``` \ No newline at end of file