Skip to content

Commit 007ea7a

Browse files
tongyimingmikatong
andauthored
add tencentcloud_ha_vip_instance_attachment doc (#3513)
Co-authored-by: mikatong <mikatong@tencent.com>
1 parent d49913a commit 007ea7a

File tree

3 files changed

+51
-0
lines changed

3 files changed

+51
-0
lines changed

tencentcloud/provider.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1303,6 +1303,7 @@ tencentcloud_nat_gateway_flow_monitor
13031303
tencentcloud_nat_refresh_nat_dc_route
13041304
tencentcloud_ha_vip
13051305
tencentcloud_ha_vip_eip_attachment
1306+
tencentcloud_ha_vip_instance_attachment
13061307
tencentcloud_vpc_bandwidth_package
13071308
tencentcloud_vpc_bandwidth_package_attachment
13081309
tencentcloud_ipv6_address_bandwidth
Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
---
2+
subcategory: "Virtual Private Cloud(VPC)"
3+
layout: "tencentcloud"
4+
page_title: "TencentCloud: tencentcloud_ha_vip_instance_attachment"
5+
sidebar_current: "docs-tencentcloud-resource-ha_vip_instance_attachment"
6+
description: |-
7+
Provides a resource to create a vpc ha_vip_instance_attachment
8+
---
9+
10+
# tencentcloud_ha_vip_instance_attachment
11+
12+
Provides a resource to create a vpc ha_vip_instance_attachment
13+
14+
## Example Usage
15+
16+
```hcl
17+
resource "tencentcloud_ha_vip_instance_attachment" "ha_vip_instance_attachment" {
18+
instance_id = "eni-xxxxxx"
19+
ha_vip_id = "havip-xxxxxx"
20+
instance_type = "ENI"
21+
}
22+
```
23+
24+
## Argument Reference
25+
26+
The following arguments are supported:
27+
28+
* `instance_id` - (Required, String, ForceNew) The unique ID of the slave machine or network card to which HaVip is bound.
29+
* `ha_vip_id` - (Optional, String, ForceNew) Unique ID of the HaVip instance.
30+
* `instance_type` - (Optional, String, ForceNew) The type of HaVip binding. Values:CVM, ENI.
31+
32+
## Attributes Reference
33+
34+
In addition to all arguments above, the following attributes are exported:
35+
36+
* `id` - ID of the resource.
37+
38+
39+
40+
## Import
41+
42+
vpc ha_vip_instance_attachment can be imported using the id(${haVipId}#${instanceType}#${instanceId}), e.g.
43+
44+
```
45+
terraform import tencentcloud_ha_vip_instance_attachment.ha_vip_instance_attachment ha_vip_instance_attachment_id
46+
```
47+

website/tencentcloud.erb

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6726,6 +6726,9 @@
67266726
<li>
67276727
<a href="/docs/providers/tencentcloud/r/ha_vip_eip_attachment.html">tencentcloud_ha_vip_eip_attachment</a>
67286728
</li>
6729+
<li>
6730+
<a href="/docs/providers/tencentcloud/r/ha_vip_instance_attachment.html">tencentcloud_ha_vip_instance_attachment</a>
6731+
</li>
67296732
<li>
67306733
<a href="/docs/providers/tencentcloud/r/ipv6_address_bandwidth.html">tencentcloud_ipv6_address_bandwidth</a>
67316734
</li>

0 commit comments

Comments
 (0)