Skip to content

Commit 505245b

Browse files
committed
format markdown.
1 parent 163172b commit 505245b

11 files changed

+18
-16
lines changed

website/docs/d/mysql_backup_list.html.markdown

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,10 @@ Use this data source to query the list of backup databases.
1212

1313
## Example Usage
1414
```hcl
15-
resource "tencentcloud_mysql_account" "default" {
15+
resource "tencentcloud_mysql_backup_list" "default" {
1616
mysql_id = "my-test-database"
17-
name = "tf_account"
18-
password = "…"
19-
description = "My test account"
17+
max_number = 10
18+
result_output_file = "mytestpath"
2019
}
2120
```
2221

website/docs/d/mysql_instance.html.markdown

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ Use this data source to get information about a MySQL instance
1515
```hcl
1616
data "tencentcloud_mysql_instance" "database"{
1717
mysql_id = "my-test-database"
18+
result_output_file = "mytestpath"
1819
}
1920
```
2021

@@ -35,6 +36,7 @@ The following arguments are supported:
3536
- `with_master` - (Optional) Indicates whether to query master instances.
3637
- `offset` - (Optional) Record offset. Default is 0.
3738
- `limit` - (Optional) Number of results returned for a single request. Default is 20, and maximum is 2000.
39+
- `result_output_file` - (Optional) Used to store results.
3840

3941

4042
## Attributes Reference

website/docs/d/mysql_parameter_list.html.markdown

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ Use this data source to get information about a parameter group of a database in
1616
data "tencentcloud_mysql_parameter_list" "mysql" {
1717
mysql_id = "my-test-database "
1818
engine_version = "5.5"
19+
result_output_file = "mytestpath"
1920
}
2021
2122
```
@@ -25,6 +26,7 @@ The following arguments are supported:
2526

2627
- `mysql_id` - (Optional) Instance ID.
2728
- `engine_version` – (Optional) The version number of the database engine to use. Supported versions include 5.5/5.6/5.7.
29+
- `result_output_file` - (Optional) Used to store results.
2830

2931

3032
## Attributes Reference

website/docs/r/mysql_account.html.markdown

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Provides a MySQL account resource for database management. A MySQL instance supp
1717
resource "tencentcloud_mysql_account" "default" {
1818
mysql_id = "my-test-database"
1919
name = "tf_account"
20-
password = "..."
20+
password = "********"
2121
description = "My test account"
2222
}
2323

website/docs/r/mysql_account_privilege.html.markdown

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ Provides a mysql account privilege resource to grant different access privilege
1616

1717

1818
```hcl
19-
resource " tencentcloud_mysql_account_privilege" "default" {
20-
mysql_id = " my-test-database "
19+
resource "tencentcloud_mysql_account_privilege" "default" {
20+
mysql_id = "my-test-database"
2121
account_name= "tf_account"
2222
privileges = ["SELECT"]
2323
database_names = ["instance.name"]

website/docs/r/mysql_backup_policy.html.markdown

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Provides a mysql policy resource to create a backup policy.
1313
## Example Usage
1414

1515
```hcl
16-
resource " tencentcloud_mysql_backup_policy " "default" {
16+
resource "tencentcloud_mysql_backup_policy" "default" {
1717
mysql_id = "cdb-dnqksd9f"
1818
retention_period = 7
1919
backup_model = "logical"

website/docs/r/mysql_instance.html.markdown

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,13 @@ Provides a mysql instance resource to create master database instances.
1515
## Example Usage
1616

1717
```hcl
18-
resource " tencentcloud_mysql_instance" "default" {
18+
resource "tencentcloud_mysql_instance" "default" {
1919
internet_service = 1
2020
engine_version = "5.7"
2121
parameters = {
2222
max_connections = "1000"
2323
}
24-
root_password = ******
24+
root_password = "********"
2525
slave_deploy_mode = 0
2626
first_slave_zone = "ap-guangzhou-4"
2727
second_slave_zone = "ap-guangzhou-4"

website/docs/r/mysql_readonly_instance.html.markdown

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ Provides a mysql instance resource to create read-only database instances.
1414
## Example Usage
1515

1616
```hcl
17-
resource " tencentcloud_mysql_readonly_instance " "default" {
17+
resource "tencentcloud_mysql_readonly_instance" "default" {
1818
master_instance_id = "cdb-dnqksd9f"
19-
instance_name =" myTestMysql"
19+
instance_name ="myTestMysql"
2020
mem_size = 128000
2121
volume_size = 255
2222
vpc_id = "vpc-12mt3l31"

website/docs/r/security_group.html.markdown

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ The following arguments are supported:
2727

2828
* `name` - (Required) The name of the security group. Name should be unique in each project, and no more than 60 characters.
2929
* `description` - (Optional) The security group's description, maximum length is 100 characters.
30+
* `project_id` - (Optional) The security group's project, default is 0.
3031

3132
## Attributes Reference
3233

website/docs/r/subnet.html.markdown

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ resource "tencentcloud_subnet" "main" {
2020
cidr_block = "10.0.1.0/24"
2121
availability_zone = "ap-guangzhou-3"
2222
vpc_id = "${tencent_vpc.main.id}"
23+
route_table_id = "${tencentcloud_route_table.foo.id}"
2324
}
2425
```
2526

website/tencentcloud.erb

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -164,10 +164,7 @@
164164
<a href="/docs/providers/tencentcloud/r/mysql_backup_policy.html">tencentcloud_mysql_backup_policy</a>
165165
</li>
166166
<li<%= sidebar_current("docs-tencentcloud-resource-mysql-instance") %>>
167-
<a href="/docs/providers/tencentcloud/r/mysql_account.html">tencentcloud_mysql_instance</a>
168-
</li>
169-
<li<%= sidebar_current("docs-tencentcloud-resource-mysql-account-privilege") %>>
170-
<a href="/docs/providers/tencentcloud/r/mysql_account_privilege.html">tencentcloud_mysql_account_privilege</a>
167+
<a href="/docs/providers/tencentcloud/r/mysql_instance.html">tencentcloud_mysql_instance</a>
171168
</li>
172169
<li<%= sidebar_current("docs-tencentcloud-resource-mysql-readonly-instance") %>>
173170
<a href="/docs/providers/tencentcloud/r/mysql_readonly_instance.html">tencentcloud_mysql_readonly_instance</a>

0 commit comments

Comments
 (0)