Skip to content

Commit c0f2435

Browse files
authored
fix(ccn): [120885420] tencentcloud_ccn update doc and code (#2989)
* optimize doc * add changelog
1 parent 278c252 commit c0f2435

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

.changelog/2989.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
```release-note:enhancement
2+
resource/tencentcloud_ccn: Modify the description of `qos`
3+
```

tencentcloud/services/ccn/resource_tc_ccn.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ func ResourceTencentCloudCcn() *schema.Resource {
4646
ForceNew: true,
4747
Default: CNN_QOS_AU,
4848
ValidateFunc: tccommon.ValidateAllowedStringValue([]string{CNN_QOS_PT, CNN_QOS_AU, CNN_QOS_AG}),
49-
Description: "Service quality of CCN. Valid values: `PT`, `AU`, `AG`. The default is `AU`.",
49+
Description: "CCN service quality, 'PT': Platinum, 'AU': Gold, 'AG': Silver. The default is 'AU'.",
5050
},
5151
"charge_type": {
5252
Type: schema.TypeString,

website/docs/r/ccn.html.markdown

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ The following arguments are supported:
6767
* `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`.
6868
* `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.
6969
* `description` - (Optional, String) Description of CCN, and maximum length does not exceed 100 bytes.
70-
* `qos` - (Optional, String, ForceNew) Service quality of CCN. Valid values: `PT`, `AU`, `AG`. The default is `AU`.
70+
* `qos` - (Optional, String, ForceNew) CCN service quality, 'PT': Platinum, 'AU': Gold, 'AG': Silver. The default is 'AU'.
7171
* `route_ecmp_flag` - (Optional, Bool) Whether to enable the equivalent routing function. `true`: enabled, `false`: disabled.
7272
* `route_overlap_flag` - (Optional, Bool) Whether to enable the routing overlap function. `true`: enabled, `false`: disabled.
7373
* `tags` - (Optional, Map) Instance tag.

0 commit comments

Comments
 (0)