-
Notifications
You must be signed in to change notification settings - Fork 136
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ef7b20c
commit 65eb238
Showing
5 changed files
with
55 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 4 additions & 2 deletions
6
tencentcloud/services/postgresql/resource_tc_postgresql_instance_network_access.go
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
46 changes: 46 additions & 0 deletions
46
website/docs/r/postgresql_instance_network_access.html.markdown
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
``` | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters