Skip to content

Commit 7de7d74

Browse files
committed
add
1 parent 8008aa9 commit 7de7d74

File tree

4 files changed

+66
-0
lines changed

4 files changed

+66
-0
lines changed

.changelog/2845.txt

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
```release-note:enhancement
2+
resource/tencentcloud_postgresql_instance: support `dedicated_cluster_id` params
3+
```
4+
5+
```release-note:enhancement
6+
resource/tencentcloud_postgresql_readonly_instance: support `dedicated_cluster_id` params
7+
```
8+
9+
```release-note:new-data-source
10+
tencentcloud_postgresql_dedicated_clusters
11+
```

tencentcloud/provider.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -876,6 +876,7 @@ TencentDB for PostgreSQL(PostgreSQL)
876876
tencentcloud_postgresql_db_instance_versions
877877
tencentcloud_postgresql_zones
878878
tencentcloud_postgresql_account_privileges
879+
tencentcloud_postgresql_dedicated_clusters
879880

880881
Resource
881882
tencentcloud_postgresql_instance
Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
---
2+
subcategory: "TencentDB for PostgreSQL(PostgreSQL)"
3+
layout: "tencentcloud"
4+
page_title: "TencentCloud: tencentcloud_postgresql_dedicated_clusters"
5+
sidebar_current: "docs-tencentcloud-datasource-postgresql_dedicated_clusters"
6+
description: |-
7+
Use this data source to query detailed information of Postgresql dedicated clusters
8+
---
9+
10+
# tencentcloud_postgresql_dedicated_clusters
11+
12+
Use this data source to query detailed information of Postgresql dedicated clusters
13+
14+
## Example Usage
15+
16+
### Query all instances
17+
18+
```hcl
19+
data "tencentcloud_postgresql_dedicated_clusters" "example" {}
20+
```
21+
22+
### Query instances by filters
23+
24+
```hcl
25+
data "tencentcloud_postgresql_dedicated_clusters" "example" {
26+
filters {
27+
name = "dedicated-cluster-id"
28+
values = ["cluster-262n63e8"]
29+
}
30+
}
31+
```
32+
33+
## Argument Reference
34+
35+
The following arguments are supported:
36+
37+
* `filters` - (Optional, List) Querying based on one or more filtering criteria, the currently supported filtering criteria are: dedicated-cluster-id: filtering by dedicated cluster ID.
38+
* `result_output_file` - (Optional, String) Used to save results.
39+
40+
The `filters` object supports the following:
41+
42+
* `name` - (Optional, String) Filter name.
43+
* `values` - (Optional, Set) Filter values.
44+
45+
## Attributes Reference
46+
47+
In addition to all arguments above, the following attributes are exported:
48+
49+
* `dedicated_cluster_set` - Dedicated cluster set info.
50+
51+

website/tencentcloud.erb

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5781,6 +5781,9 @@
57815781
<li>
57825782
<a href="/docs/providers/tencentcloud/d/postgresql_db_instance_versions.html">tencentcloud_postgresql_db_instance_versions</a>
57835783
</li>
5784+
<li>
5785+
<a href="/docs/providers/tencentcloud/d/postgresql_dedicated_clusters.html">tencentcloud_postgresql_dedicated_clusters</a>
5786+
</li>
57845787
<li>
57855788
<a href="/docs/providers/tencentcloud/d/postgresql_default_parameters.html">tencentcloud_postgresql_default_parameters</a>
57865789
</li>

0 commit comments

Comments
 (0)