Skip to content

Commit

Permalink
feat: add para (#2512)
Browse files Browse the repository at this point in the history
* feat: add para

* feat: add para
  • Loading branch information
WeiMengXS authored Jan 31, 2024
1 parent 38926bb commit b9a8fa4
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .changelog/2512.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:enhancement
resource/tencentcloud_clb_attachments: support param `eni_ip`
```
5 changes: 5 additions & 0 deletions tencentcloud/services/clb/data_source_tc_clb_attachments.go
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,11 @@ func DataSourceTencentCloudClbServerAttachments() *schema.Resource {
Computed: true,
Description: "Id of the backend server.",
},
"eni_ip": {
Type: schema.TypeString,
Computed: true,
Description: "Elastic network card unique ID.",
},
"port": {
Type: schema.TypeInt,
Computed: true,
Expand Down
1 change: 1 addition & 0 deletions website/docs/d/clb_attachments.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ In addition to all arguments above, the following attributes are exported:
* `protocol_type` - Type of protocol within the listener, and available values include `TCP`, `UDP`, `HTTP`, `HTTPS` and `TCP_SSL`. NOTES: `TCP_SSL` is testing internally, please apply if you need to use.
* `rule_id` - ID of the CLB listener rule.
* `targets` - Information of the backends to be attached.
* `eni_ip` - Elastic network card unique ID.
* `instance_id` - Id of the backend server.
* `port` - Port of the backend server.
* `weight` - Forwarding weight of the backend service, the range of [0, 100], defaults to `10`.
Expand Down

0 comments on commit b9a8fa4

Please sign in to comment.