Skip to content

Commit b8a7077

Browse files
authored
fix(cls): [126011561] tencentcloud_cls_topic update doc for period (#3452)
* add * add
1 parent 11f4b1e commit b8a7077

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

.changelog/3452.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_cls_topic: update doc for `period`
3+
```

tencentcloud/services/cls/resource_tc_cls_topic.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ func ResourceTencentCloudClsTopic() *schema.Resource {
7070
Type: schema.TypeInt,
7171
Optional: true,
7272
Computed: true,
73-
Description: "Lifecycle in days. Value range: 1~366. Default value: 30.",
73+
Description: "lifetime. Unit: days. Standard storage value range: 1 to 3600. Infrequent storage value range: 7 to 3600 days. A value of 3640 indicates permanent retention.If this value is not input, it defaults to the Period value of the log set corresponding to the accessed log topic (defaults to 30 days in case of access failure).",
7474
},
7575
"hot_period": {
7676
Type: schema.TypeInt,

website/docs/r/cls_topic.html.markdown

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ The following arguments are supported:
9191
* `is_web_tracking` - (Optional, Bool) No authentication switch. False: closed; True: Enable. The default is false. After activation, anonymous access to the log topic will be supported for specified operations.
9292
* `max_split_partitions` - (Optional, Int) Maximum number of partitions to split into for this topic if automatic split is enabled. Default value: 50.
9393
* `partition_count` - (Optional, Int) Number of log topic partitions. Default value: 1. Maximum value: 10.
94-
* `period` - (Optional, Int) Lifecycle in days. Value range: 1~366. Default value: 30.
94+
* `period` - (Optional, Int) lifetime. Unit: days. Standard storage value range: 1 to 3600. Infrequent storage value range: 7 to 3600 days. A value of 3640 indicates permanent retention.If this value is not input, it defaults to the Period value of the log set corresponding to the accessed log topic (defaults to 30 days in case of access failure).
9595
* `storage_type` - (Optional, String) Log topic storage class. Valid values: hot: real-time storage; cold: offline storage. Default value: hot. If cold is passed in, please contact the customer service to add the log topic to the allowlist first.
9696
* `tags` - (Optional, Map) Tag description list. Up to 10 tag key-value pairs are supported and must be unique.
9797

0 commit comments

Comments
 (0)