Skip to content

Commit 04b404e

Browse files
authored
feat(eb): [125536441] update eb doc description (#3450)
* update eb doc * update eb doc
1 parent aaf58a2 commit 04b404e

File tree

4 files changed

+9
-4
lines changed

4 files changed

+9
-4
lines changed

.changelog/3450.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_eb_bus: update desc of `order_by`
3+
```

tencentcloud/services/eb/data_source_tc_eb_bus.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ func DataSourceTencentCloudEbBus() *schema.Resource {
1919
"order_by": {
2020
Optional: true,
2121
Type: schema.TypeString,
22-
Description: "According to which field to sort the returned results, the following fields are supported: AddTime (creation time), ModTime (modification time).",
22+
Description: "According to which field to sort the returned results, the following fields are supported: `created_at` (creation time), `updated_at` (modification time).",
2323
},
2424

2525
"order": {

tencentcloud/services/eb/data_source_tc_eb_bus.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,9 @@ resource "tencentcloud_eb_event_bus" "foo" {
1212
"createdBy" = "terraform"
1313
}
1414
}
15+
1516
data "tencentcloud_eb_bus" "bus" {
16-
order_by = "AddTime"
17+
order_by = "created_at"
1718
order = "DESC"
1819
filters {
1920
values = ["Custom"]

website/docs/d/eb_bus.html.markdown

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,9 @@ resource "tencentcloud_eb_event_bus" "foo" {
2323
"createdBy" = "terraform"
2424
}
2525
}
26+
2627
data "tencentcloud_eb_bus" "bus" {
27-
order_by = "AddTime"
28+
order_by = "created_at"
2829
order = "DESC"
2930
filters {
3031
values = ["Custom"]
@@ -40,7 +41,7 @@ data "tencentcloud_eb_bus" "bus" {
4041
The following arguments are supported:
4142

4243
* `filters` - (Optional, List) Filter conditions. The upper limit of Filters per request is 10, and the upper limit of Filter.Values 5.
43-
* `order_by` - (Optional, String) According to which field to sort the returned results, the following fields are supported: AddTime (creation time), ModTime (modification time).
44+
* `order_by` - (Optional, String) According to which field to sort the returned results, the following fields are supported: `created_at` (creation time), `updated_at` (modification time).
4445
* `order` - (Optional, String) Return results in ascending or descending order, optional values ASC (ascending) and DESC (descending).
4546
* `result_output_file` - (Optional, String) Used to save results.
4647

0 commit comments

Comments
 (0)