From a6cc3eb850d0e9270d93c2e888f39bda29368f17 Mon Sep 17 00:00:00 2001 From: hellertang Date: Tue, 3 Dec 2024 12:39:08 +0800 Subject: [PATCH 1/2] optimize doc --- tencentcloud/services/ccn/resource_tc_ccn.go | 2 +- website/docs/r/ccn.html.markdown | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tencentcloud/services/ccn/resource_tc_ccn.go b/tencentcloud/services/ccn/resource_tc_ccn.go index 06641d490e..7b1e719b93 100644 --- a/tencentcloud/services/ccn/resource_tc_ccn.go +++ b/tencentcloud/services/ccn/resource_tc_ccn.go @@ -46,7 +46,7 @@ func ResourceTencentCloudCcn() *schema.Resource { ForceNew: true, Default: CNN_QOS_AU, ValidateFunc: tccommon.ValidateAllowedStringValue([]string{CNN_QOS_PT, CNN_QOS_AU, CNN_QOS_AG}), - Description: "Service quality of CCN. Valid values: `PT`, `AU`, `AG`. The default is `AU`.", + Description: "CCN service quality, 'PT': Platinum, 'AU': Gold, 'AG': Silver. The default is 'AU'.", }, "charge_type": { Type: schema.TypeString, diff --git a/website/docs/r/ccn.html.markdown b/website/docs/r/ccn.html.markdown index 1f9114f768..7366a7fa4b 100644 --- a/website/docs/r/ccn.html.markdown +++ b/website/docs/r/ccn.html.markdown @@ -67,7 +67,7 @@ The following arguments are supported: * `bandwidth_limit_type` - (Optional, String) The speed limit type. Valid values: `INTER_REGION_LIMIT`, `OUTER_REGION_LIMIT`. `OUTER_REGION_LIMIT` represents the regional export speed limit, `INTER_REGION_LIMIT` is the inter-regional speed limit. The default is `OUTER_REGION_LIMIT`. * `charge_type` - (Optional, String, ForceNew) Billing mode. Valid values: `PREPAID`, `POSTPAID`. `PREPAID` means prepaid, which means annual and monthly subscription, `POSTPAID` means post-payment, which means billing by volume. The default is `POSTPAID`. The prepaid model only supports inter-regional speed limit, and the post-paid model supports inter-regional speed limit and regional export speed limit. * `description` - (Optional, String) Description of CCN, and maximum length does not exceed 100 bytes. -* `qos` - (Optional, String, ForceNew) Service quality of CCN. Valid values: `PT`, `AU`, `AG`. The default is `AU`. +* `qos` - (Optional, String, ForceNew) CCN service quality, 'PT': Platinum, 'AU': Gold, 'AG': Silver. The default is 'AU'. * `route_ecmp_flag` - (Optional, Bool) Whether to enable the equivalent routing function. `true`: enabled, `false`: disabled. * `route_overlap_flag` - (Optional, Bool) Whether to enable the routing overlap function. `true`: enabled, `false`: disabled. * `tags` - (Optional, Map) Instance tag. From 3eb85687db9a8e2505de6b560445752cf1533418 Mon Sep 17 00:00:00 2001 From: hellertang Date: Tue, 3 Dec 2024 12:41:45 +0800 Subject: [PATCH 2/2] add changelog --- .changelog/2989.txt | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 .changelog/2989.txt diff --git a/.changelog/2989.txt b/.changelog/2989.txt new file mode 100644 index 0000000000..71802cac06 --- /dev/null +++ b/.changelog/2989.txt @@ -0,0 +1,3 @@ +```release-note:enhancement +resource/tencentcloud_ccn: Modify the description of `qos` +``` \ No newline at end of file