Skip to content

Commit 2997d2b

Browse files
committed
fix: modify doc
1 parent a4bfdce commit 2997d2b

File tree

3 files changed

+2
-17
lines changed

3 files changed

+2
-17
lines changed

tencentcloud/services/cvm/data_source_tc_eips.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ func DataSourceTencentCloudEips() *schema.Resource {
3434
Type: schema.TypeString,
3535
Optional: true,
3636
Description: "The elastic ip address.",
37+
Deprecated: "Field 'public_ip' is deprecated.",
3738
},
3839
"tags": {
3940
Type: schema.TypeMap,

tencentcloud/services/cvm/data_source_tc_eips.md

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -24,14 +24,6 @@ data "tencentcloud_eips" "example" {
2424
}
2525
```
2626

27-
Query eip instances by public ip
28-
29-
```hcl
30-
data "tencentcloud_eips" "example" {
31-
public_ip = "1.12.62.3"
32-
}
33-
```
34-
3527
Query eip instances by tags
3628

3729
```hcl

website/docs/d/eips.html.markdown

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -35,14 +35,6 @@ data "tencentcloud_eips" "example" {
3535
}
3636
```
3737

38-
### Query eip instances by public ip
39-
40-
```hcl
41-
data "tencentcloud_eips" "example" {
42-
public_ip = "1.12.62.3"
43-
}
44-
```
45-
4638
### Query eip instances by tags
4739

4840
```hcl
@@ -59,7 +51,7 @@ The following arguments are supported:
5951

6052
* `eip_id` - (Optional, String) ID of the EIP to be queried.
6153
* `eip_name` - (Optional, String) Name of the EIP to be queried.
62-
* `public_ip` - (Optional, String) The elastic ip address.
54+
* `public_ip` - (Optional, String, **Deprecated**) Field 'public_ip' is deprecated. The elastic ip address.
6355
* `result_output_file` - (Optional, String) Used to save results.
6456
* `tags` - (Optional, Map) The tags of EIP.
6557

0 commit comments

Comments
 (0)