Skip to content

Commit 65eb238

Browse files
committed
add
1 parent ef7b20c commit 65eb238

File tree

5 files changed

+55
-2
lines changed

5 files changed

+55
-2
lines changed

tencentcloud/provider.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1525,6 +1525,7 @@ func Provider() *schema.Provider {
15251525
"tencentcloud_postgresql_account_privileges_operation": postgresql.ResourceTencentCloudPostgresqlAccountPrivilegesOperation(),
15261526
"tencentcloud_postgresql_apply_parameter_template_operation": postgresql.ResourceTencentCloudPostgresqlApplyParameterTemplateOperation(),
15271527
"tencentcloud_postgresql_clone_db_instance": postgresql.ResourceTencentCloudPostgresqlCloneDbInstance(),
1528+
"tencentcloud_postgresql_instance_network_access": postgresql.ResourceTencentCloudPostgresqlInstanceNetworkAccess(),
15281529
"tencentcloud_sqlserver_instance": sqlserver.ResourceTencentCloudSqlserverInstance(),
15291530
"tencentcloud_sqlserver_db": sqlserver.ResourceTencentCloudSqlserverDB(),
15301531
"tencentcloud_sqlserver_account": sqlserver.ResourceTencentCloudSqlserverAccount(),

tencentcloud/provider.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -908,6 +908,7 @@ TencentDB for PostgreSQL(PostgreSQL)
908908
tencentcloud_postgresql_account
909909
tencentcloud_postgresql_apply_parameter_template_operation
910910
tencentcloud_postgresql_clone_db_instance
911+
tencentcloud_postgresql_instance_network_access
911912

912913
TencentDB for Redis(crs)
913914
Data Source

tencentcloud/services/postgresql/resource_tc_postgresql_instance_network_access.go

Lines changed: 4 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
---
2+
subcategory: "TencentDB for PostgreSQL(PostgreSQL)"
3+
layout: "tencentcloud"
4+
page_title: "TencentCloud: tencentcloud_postgresql_instance_network_access"
5+
sidebar_current: "docs-tencentcloud-resource-postgresql_instance_network_access"
6+
description: |-
7+
Provides a resource to create a postgres postgresql_instance_network_access
8+
---
9+
10+
# tencentcloud_postgresql_instance_network_access
11+
12+
Provides a resource to create a postgres postgresql_instance_network_access
13+
14+
## Example Usage
15+
16+
```hcl
17+
resource "tencentcloud_postgresql_instance_network_access" "postgresql_instance_network_access" {
18+
}
19+
```
20+
21+
## Argument Reference
22+
23+
The following arguments are supported:
24+
25+
* `db_instance_id` - (Required, String, ForceNew) Instance ID in the format of postgres-6bwgamo3.
26+
* `is_assign_vip` - (Required, Bool, ForceNew) Whether to manually assign the VIP. Valid values: `true` (manually assign), `false` (automatically assign).
27+
* `subnet_id` - (Required, String, ForceNew) Subnet ID.
28+
* `vpc_id` - (Required, String, ForceNew) Unified VPC ID.
29+
* `vip` - (Optional, String, ForceNew) Target VIP.
30+
31+
## Attributes Reference
32+
33+
In addition to all arguments above, the following attributes are exported:
34+
35+
* `id` - ID of the resource.
36+
37+
38+
39+
## Import
40+
41+
postgres postgresql_instance_network_access can be imported using the id, e.g.
42+
43+
```
44+
terraform import tencentcloud_postgresql_instance_network_access.postgresql_instance_network_access postgresql_instance_network_access_id
45+
```
46+

website/tencentcloud.erb

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5959,6 +5959,9 @@
59595959
<li>
59605960
<a href="/docs/providers/tencentcloud/r/postgresql_instance_ha_config.html">tencentcloud_postgresql_instance_ha_config</a>
59615961
</li>
5962+
<li>
5963+
<a href="/docs/providers/tencentcloud/r/postgresql_instance_network_access.html">tencentcloud_postgresql_instance_network_access</a>
5964+
</li>
59625965
<li>
59635966
<a href="/docs/providers/tencentcloud/r/postgresql_isolate_db_instance_operation.html">tencentcloud_postgresql_isolate_db_instance_operation</a>
59645967
</li>

0 commit comments

Comments
 (0)