Skip to content

Commit

Permalink
add
Browse files Browse the repository at this point in the history
  • Loading branch information
SevenEarth committed Dec 10, 2024
1 parent ef7b20c commit 65eb238
Show file tree
Hide file tree
Showing 5 changed files with 55 additions and 2 deletions.
1 change: 1 addition & 0 deletions tencentcloud/provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -1525,6 +1525,7 @@ func Provider() *schema.Provider {
"tencentcloud_postgresql_account_privileges_operation": postgresql.ResourceTencentCloudPostgresqlAccountPrivilegesOperation(),
"tencentcloud_postgresql_apply_parameter_template_operation": postgresql.ResourceTencentCloudPostgresqlApplyParameterTemplateOperation(),
"tencentcloud_postgresql_clone_db_instance": postgresql.ResourceTencentCloudPostgresqlCloneDbInstance(),
"tencentcloud_postgresql_instance_network_access": postgresql.ResourceTencentCloudPostgresqlInstanceNetworkAccess(),
"tencentcloud_sqlserver_instance": sqlserver.ResourceTencentCloudSqlserverInstance(),
"tencentcloud_sqlserver_db": sqlserver.ResourceTencentCloudSqlserverDB(),
"tencentcloud_sqlserver_account": sqlserver.ResourceTencentCloudSqlserverAccount(),
Expand Down
1 change: 1 addition & 0 deletions tencentcloud/provider.md
Original file line number Diff line number Diff line change
Expand Up @@ -908,6 +908,7 @@ TencentDB for PostgreSQL(PostgreSQL)
tencentcloud_postgresql_account
tencentcloud_postgresql_apply_parameter_template_operation
tencentcloud_postgresql_clone_db_instance
tencentcloud_postgresql_instance_network_access

TencentDB for Redis(crs)
Data Source
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

46 changes: 46 additions & 0 deletions website/docs/r/postgresql_instance_network_access.html.markdown
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
---
subcategory: "TencentDB for PostgreSQL(PostgreSQL)"
layout: "tencentcloud"
page_title: "TencentCloud: tencentcloud_postgresql_instance_network_access"
sidebar_current: "docs-tencentcloud-resource-postgresql_instance_network_access"
description: |-
Provides a resource to create a postgres postgresql_instance_network_access
---

# tencentcloud_postgresql_instance_network_access

Provides a resource to create a postgres postgresql_instance_network_access

## Example Usage

```hcl
resource "tencentcloud_postgresql_instance_network_access" "postgresql_instance_network_access" {
}
```

## Argument Reference

The following arguments are supported:

* `db_instance_id` - (Required, String, ForceNew) Instance ID in the format of postgres-6bwgamo3.
* `is_assign_vip` - (Required, Bool, ForceNew) Whether to manually assign the VIP. Valid values: `true` (manually assign), `false` (automatically assign).
* `subnet_id` - (Required, String, ForceNew) Subnet ID.
* `vpc_id` - (Required, String, ForceNew) Unified VPC ID.
* `vip` - (Optional, String, ForceNew) Target VIP.

## Attributes Reference

In addition to all arguments above, the following attributes are exported:

* `id` - ID of the resource.



## Import

postgres postgresql_instance_network_access can be imported using the id, e.g.

```
terraform import tencentcloud_postgresql_instance_network_access.postgresql_instance_network_access postgresql_instance_network_access_id
```

3 changes: 3 additions & 0 deletions website/tencentcloud.erb
Original file line number Diff line number Diff line change
Expand Up @@ -5959,6 +5959,9 @@
<li>
<a href="/docs/providers/tencentcloud/r/postgresql_instance_ha_config.html">tencentcloud_postgresql_instance_ha_config</a>
</li>
<li>
<a href="/docs/providers/tencentcloud/r/postgresql_instance_network_access.html">tencentcloud_postgresql_instance_network_access</a>
</li>
<li>
<a href="/docs/providers/tencentcloud/r/postgresql_isolate_db_instance_operation.html">tencentcloud_postgresql_isolate_db_instance_operation</a>
</li>
Expand Down

0 comments on commit 65eb238

Please sign in to comment.