You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: website/docs/r/clb_log_set.html.markdown
+8-4Lines changed: 8 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -14,15 +14,19 @@ Provides a resource to create an exclusive CLB Logset.
14
14
## Example Usage
15
15
16
16
```hcl
17
-
resource "tencentcloud_clb_log_set" "foo" {
18
-
period = 7
17
+
resource "tencentcloud_clb_log_set" "example" {
18
+
logset_name = "tf-example"
19
+
logset_type = "ACCESS"
20
+
period = 7
19
21
}
20
22
```
21
23
22
24
## Argument Reference
23
25
24
26
The following arguments are supported:
25
27
28
+
*`logset_name` - (Optional, String, ForceNew) Logset name, which must be unique among all CLS logsets; default value: clb_logset.
29
+
*`logset_type` - (Optional, String, ForceNew) Logset type. Valid values: ACCESS (access logs; default value) and HEALTH (health check logs).
26
30
*`period` - (Optional, Int, ForceNew) Logset retention period in days. Maximun value is `90`.
27
31
28
32
## Attributes Reference
@@ -31,7 +35,7 @@ In addition to all arguments above, the following attributes are exported:
31
35
32
36
*`id` - ID of the resource.
33
37
*`create_time` - Logset creation time.
34
-
*`name` - Logset name, which unique and fixed `clb_logset` among all CLS logsets.
38
+
*`name` - (**Deprecated**) It has been deprecated from version 1.81.162+. Please use `logset_name` instead. Logset name, which unique and fixed `clb_logset` among all CLS logsets.
35
39
*`topic_count` - Number of log topics in logset.
36
40
37
41
@@ -40,6 +44,6 @@ In addition to all arguments above, the following attributes are exported:
0 commit comments