Skip to content

Commit a186a5c

Browse files
author
mikatong
committed
add doc
1 parent d462f44 commit a186a5c

File tree

3 files changed

+63
-0
lines changed

3 files changed

+63
-0
lines changed

tencentcloud/provider.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1275,6 +1275,7 @@ Virtual Private Cloud(VPC)
12751275
tencentcloud_vpc_bandwidth_package
12761276
tencentcloud_vpc_bandwidth_package_attachment
12771277
tencentcloud_ipv6_address_bandwidth
1278+
tencentcloud_reserve_ip_address
12781279

12791280
Private Link(PLS)
12801281
Resource
Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
---
2+
subcategory: "Virtual Private Cloud(VPC)"
3+
layout: "tencentcloud"
4+
page_title: "TencentCloud: tencentcloud_reserve_ip_address"
5+
sidebar_current: "docs-tencentcloud-resource-reserve_ip_address"
6+
description: |-
7+
Provides a resource to create a vpc reserve ip addresses
8+
---
9+
10+
# tencentcloud_reserve_ip_address
11+
12+
Provides a resource to create a vpc reserve ip addresses
13+
14+
## Example Usage
15+
16+
```hcl
17+
resource "tencentcloud_reserve_ip_address" "reserve_ip" {
18+
vpc_id = "xxxxxx"
19+
subnet_id = "xxxxxx"
20+
ip_address = "10.0.0.13"
21+
name = "reserve-ip-tf"
22+
description = "description"
23+
tags = {
24+
"test1" = "test1"
25+
}
26+
}
27+
```
28+
29+
## Argument Reference
30+
31+
The following arguments are supported:
32+
33+
* `vpc_id` - (Required, String) VPC unique ID.
34+
* `description` - (Optional, String) The IP description is retained on the intranet.
35+
* `ip_address` - (Optional, String) Specify the reserved IP address of the intranet for which the IP application is requested.
36+
* `name` - (Optional, String) The IP name is reserved for the intranet.
37+
* `subnet_id` - (Optional, String) Subnet ID.
38+
* `tags` - (Optional, Map) Tags.
39+
40+
## Attributes Reference
41+
42+
In addition to all arguments above, the following attributes are exported:
43+
44+
* `id` - ID of the resource.
45+
* `created_time` - Created time.
46+
* `ip_type` - Ip type for product application.
47+
* `reserve_ip_id` - Reserve ip ID.
48+
* `resource_id` - The intranet retains the resource instance ID bound to the IPs.
49+
* `state` - Binding status.
50+
51+
52+
## Import
53+
54+
vpc reserve_ip_addresses can be imported using the id, e.g.
55+
56+
```
57+
terraform import tencentcloud_reserve_ip_addresses.reserve_ip_addresses ${vpcId}#${reserveIpId}
58+
```
59+

website/tencentcloud.erb

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6397,6 +6397,9 @@
63976397
<li>
63986398
<a href="/docs/providers/tencentcloud/r/protocol_template_group.html">tencentcloud_protocol_template_group</a>
63996399
</li>
6400+
<li>
6401+
<a href="/docs/providers/tencentcloud/r/reserve_ip_address.html">tencentcloud_reserve_ip_address</a>
6402+
</li>
64006403
<li>
64016404
<a href="/docs/providers/tencentcloud/r/route_entry.html">tencentcloud_route_entry</a>
64026405
</li>

0 commit comments

Comments
 (0)