» tencentcloud_eip
The EIP data source fetch proper EIP from user's EIP pool.
» Example Usage
data "tencentcloud_eip" "my_eip" {
filter {
name = "address-status"
values = ["UNBIND"]
}
}
» Argument Reference
-
filter
- (Optional) One or more name/value pairs to filter off of. There are several valid keys:address-id
,address-name
,address-ip
. For a full reference, check out DescribeImages in the TencentCloud API reference.
» Attributes Reference
-
id
- An EIP id indicate the uniqueness of a certain EIP, which can be used for instance binding or network interface binding. -
public_ip
- An public IP address for the EIP. -
status
- The status of the EIP, there are several status likeBIND
,UNBIND
, andBIND_ENI
. For a full reference, check out DescribeImages in the TencentCloud API reference.