File tree 3 files changed +42
-7
lines changed
tencentcloud/services/ssl
3 files changed +42
-7
lines changed Original file line number Diff line number Diff line change
1
+ ```release-note:enhancement
2
+ datasource/tencentcloud_ssl_certificates: update doc
3
+ ```
Original file line number Diff line number Diff line change 1
- Use this data source to query SSL certificate .
1
+ Use this data source to query SSL certificates .
2
2
3
3
Example Usage
4
4
5
+ Query all SSL certificates
6
+
7
+ ``` hcl
8
+ data "tencentcloud_ssl_certificates" "example" {}
9
+ ```
10
+
11
+ Query SSL certificates by filter
12
+
5
13
``` hcl
6
- data "tencentcloud_ssl_certificates" "foo" {
7
- name = "certificate"
14
+ data "tencentcloud_ssl_certificates" "example" {
15
+ name = "tf-example"
16
+ }
17
+
18
+ data "tencentcloud_ssl_certificates" "example" {
19
+ type = "CA"
20
+ }
21
+
22
+ data "tencentcloud_ssl_certificates" "example" {
23
+ id = "LCYouprI"
8
24
}
9
25
```
Original file line number Diff line number Diff line change @@ -4,18 +4,34 @@ layout: "tencentcloud"
4
4
page_title : " TencentCloud: tencentcloud_ssl_certificates"
5
5
sidebar_current : " docs-tencentcloud-datasource-ssl_certificates"
6
6
description : |-
7
- Use this data source to query SSL certificate .
7
+ Use this data source to query SSL certificates .
8
8
---
9
9
10
10
# tencentcloud_ssl_certificates
11
11
12
- Use this data source to query SSL certificate .
12
+ Use this data source to query SSL certificates .
13
13
14
14
## Example Usage
15
15
16
+ ### Query all SSL certificates
17
+
18
+ ``` hcl
19
+ data "tencentcloud_ssl_certificates" "example" {}
20
+ ```
21
+
22
+ ### Query SSL certificates by filter
23
+
16
24
``` hcl
17
- data "tencentcloud_ssl_certificates" "foo" {
18
- name = "certificate"
25
+ data "tencentcloud_ssl_certificates" "example" {
26
+ name = "tf-example"
27
+ }
28
+
29
+ data "tencentcloud_ssl_certificates" "example" {
30
+ type = "CA"
31
+ }
32
+
33
+ data "tencentcloud_ssl_certificates" "example" {
34
+ id = "LCYouprI"
19
35
}
20
36
```
21
37
You can’t perform that action at this time.
0 commit comments