+
+
+ EOT
+ }
+}
+```
+
+## Argument Reference
+
+The following arguments are supported:
+
+* `template_content` - (Required, List) Sms Template Content.
+* `template_name` - (Required, String) smsTemplateName, which must be required.
+
+The `template_content` object supports the following:
+
+* `html` - (Optional, String) Html code after base64.
+* `text` - (Optional, String) Text content after base64.
+
+## Attributes Reference
+
+In addition to all arguments above, the following attributes are exported:
+
+* `id` - ID of the resource.
+
+
+
+## Import
+
+ses template can be imported using the id, e.g.
+```
+$ terraform import tencentcloud_ses_template.example template_id
+```
+
diff --git a/config/docs/r/ses_verify_domain.html.markdown b/config/docs/r/ses_verify_domain.html.markdown
new file mode 100644
index 0000000..c1357c2
--- /dev/null
+++ b/config/docs/r/ses_verify_domain.html.markdown
@@ -0,0 +1,37 @@
+---
+subcategory: "Simple Email Service(SES)"
+layout: "tencentcloud"
+page_title: "TencentCloud: tencentcloud_ses_verify_domain"
+sidebar_current: "docs-tencentcloud-resource-ses_verify_domain"
+description: |-
+ Provides a resource to create a ses verify_domain
+---
+
+# tencentcloud_ses_verify_domain
+
+Provides a resource to create a ses verify_domain
+
+~> **NOTE:** Please add the `attributes` information returned by `tencentcloud_ses_domain` to the domain name resolution record through `tencentcloud_dnspod_record`, and then verify it.
+
+## Example Usage
+
+```hcl
+resource "tencentcloud_ses_verify_domain" "verify_domain" {
+ email_identity = "example.com"
+}
+```
+
+## Argument Reference
+
+The following arguments are supported:
+
+* `email_identity` - (Required, String, ForceNew) Domain name requested for verification.
+
+## Attributes Reference
+
+In addition to all arguments above, the following attributes are exported:
+
+* `id` - ID of the resource.
+
+
+
diff --git a/config/docs/r/sms_sign.html.markdown b/config/docs/r/sms_sign.html.markdown
new file mode 100644
index 0000000..ef0c838
--- /dev/null
+++ b/config/docs/r/sms_sign.html.markdown
@@ -0,0 +1,49 @@
+---
+subcategory: "Short Message Service(SMS)"
+layout: "tencentcloud"
+page_title: "TencentCloud: tencentcloud_sms_sign"
+sidebar_current: "docs-tencentcloud-resource-sms_sign"
+description: |-
+ Provides a resource to create a sms sign
+---
+
+# tencentcloud_sms_sign
+
+Provides a resource to create a sms sign
+
+## Example Usage
+
+### Create a sms sign instance
+
+```hcl
+resource "tencentcloud_sms_sign" "example" {
+ sign_name = "tf_example_sms_sign"
+ sign_type = 1 # 1:APP, DocumentType can be chosen(0,1,2,3,4)
+ document_type = 4 # Screenshot of application background management (personally developed APP)
+ international = 0 # Mainland China SMS
+ sign_purpose = 0 # personal use
+ proof_image = "your_proof_image"
+}
+```
+
+## Argument Reference
+
+The following arguments are supported:
+
+* `document_type` - (Required, Int) DocumentType is used for enterprise authentication, or website, app authentication, etc. DocumentType: 0, 1, 2, 3, 4, 5, 6, 7, 8.
+* `international` - (Required, Int) Whether it is Global SMS: 0: Mainland China SMS; 1: Global SMS.
+* `proof_image` - (Required, String) You should Base64-encode the image of the identity certificate corresponding to the signature first, remove the prefix data:image/jpeg;base64, from the resulted string, and then use it as the value of this parameter.
+* `sign_name` - (Required, String) Sms sign name, unique.
+* `sign_purpose` - (Required, Int) Signature purpose: 0: for personal use; 1: for others.
+* `sign_type` - (Required, Int) Sms sign type: 0, 1, 2, 3, 4, 5, 6.
+* `commission_image` - (Optional, String) Power of attorney, which should be submitted if SignPurpose is for use by others. You should Base64-encode the image first, remove the prefix data:image/jpeg;base64, from the resulted string, and then use it as the value of this parameter. Note: this field will take effect only when SignPurpose is 1 (for user by others).
+* `remark` - (Optional, String) Signature application remarks.
+
+## Attributes Reference
+
+In addition to all arguments above, the following attributes are exported:
+
+* `id` - ID of the resource.
+
+
+
diff --git a/config/docs/r/sms_template.html.markdown b/config/docs/r/sms_template.html.markdown
new file mode 100644
index 0000000..8bfdbc8
--- /dev/null
+++ b/config/docs/r/sms_template.html.markdown
@@ -0,0 +1,45 @@
+---
+subcategory: "Short Message Service(SMS)"
+layout: "tencentcloud"
+page_title: "TencentCloud: tencentcloud_sms_template"
+sidebar_current: "docs-tencentcloud-resource-sms_template"
+description: |-
+ Provides a resource to create a sms template
+---
+
+# tencentcloud_sms_template
+
+Provides a resource to create a sms template
+
+## Example Usage
+
+### Create a sms template
+
+```hcl
+resource "tencentcloud_sms_template" "template" {
+ template_name = "tf_example_sms_template"
+ template_content = "example for sms template"
+ international = 0 # Mainland China SMS
+ sms_type = 0 # regular SMS
+ remark = "terraform example"
+}
+```
+
+## Argument Reference
+
+The following arguments are supported:
+
+* `international` - (Required, Int) Whether it is Global SMS: 0: Mainland China SMS; 1: Global SMS.
+* `remark` - (Required, String) Template remarks, such as reason for application and use case.
+* `sms_type` - (Required, Int) SMS type. 0: regular SMS, 1: marketing SMS.
+* `template_content` - (Required, String) Message Template Content.
+* `template_name` - (Required, String) Message Template name, which must be unique.
+
+## Attributes Reference
+
+In addition to all arguments above, the following attributes are exported:
+
+* `id` - ID of the resource.
+
+
+
diff --git a/config/docs/r/sqlserver_account.html.markdown b/config/docs/r/sqlserver_account.html.markdown
new file mode 100644
index 0000000..2b97dd7
--- /dev/null
+++ b/config/docs/r/sqlserver_account.html.markdown
@@ -0,0 +1,95 @@
+---
+subcategory: "SQLServer"
+layout: "tencentcloud"
+page_title: "TencentCloud: tencentcloud_sqlserver_account"
+sidebar_current: "docs-tencentcloud-resource-sqlserver_account"
+description: |-
+ Use this resource to create SQL Server account
+---
+
+# tencentcloud_sqlserver_account
+
+Use this resource to create SQL Server account
+
+## Example Usage
+
+```hcl
+data "tencentcloud_availability_zones_by_product" "zones" {
+ product = "sqlserver"
+}
+
+resource "tencentcloud_vpc" "vpc" {
+ name = "vpc-example"
+ cidr_block = "10.0.0.0/16"
+}
+
+resource "tencentcloud_subnet" "subnet" {
+ availability_zone = data.tencentcloud_availability_zones_by_product.zones.zones.4.name
+ name = "subnet-example"
+ vpc_id = tencentcloud_vpc.vpc.id
+ cidr_block = "10.0.0.0/16"
+ is_multicast = false
+}
+
+resource "tencentcloud_security_group" "security_group" {
+ name = "sg-example"
+ description = "desc."
+}
+
+resource "tencentcloud_sqlserver_basic_instance" "example" {
+ name = "tf-example"
+ availability_zone = data.tencentcloud_availability_zones_by_product.zones.zones.4.name
+ charge_type = "POSTPAID_BY_HOUR"
+ vpc_id = tencentcloud_vpc.vpc.id
+ subnet_id = tencentcloud_subnet.subnet.id
+ project_id = 0
+ memory = 4
+ storage = 100
+ cpu = 2
+ machine_type = "CLOUD_PREMIUM"
+ maintenance_week_set = [1, 2, 3]
+ maintenance_start_time = "09:00"
+ maintenance_time_span = 3
+ security_groups = [tencentcloud_security_group.security_group.id]
+
+ tags = {
+ "test" = "test"
+ }
+}
+
+resource "tencentcloud_sqlserver_account" "example" {
+ instance_id = tencentcloud_sqlserver_basic_instance.example.id
+ name = "tf_example_account"
+ password = "Qwer@234"
+ remark = "test-remark"
+}
+```
+
+## Argument Reference
+
+The following arguments are supported:
+
+* `instance_id` - (Required, String, ForceNew) Instance ID that the account belongs to.
+* `name` - (Required, String) Name of the SQL Server account.
+* `password` - (Required, String) Password of the SQL Server account.
+* `is_admin` - (Optional, Bool) Indicate that the account is root account or not.
+* `remark` - (Optional, String) Remark of the SQL Server account.
+
+## Attributes Reference
+
+In addition to all arguments above, the following attributes are exported:
+
+* `id` - ID of the resource.
+* `create_time` - Create time of the SQL Server account.
+* `status` - Status of the SQL Server account. Valid values: 1, 2, 3, 4. 1 for creating, 2 for running, 3 for modifying, 4 for resetting password, -1 for deleting.
+* `update_time` - Last updated time of the SQL Server account.
+
+
+## Import
+
+SQL Server account can be imported using the id, e.g.
+
+```
+$ terraform import tencentcloud_sqlserver_account.example mssql-3cdq7kx5#tf_example_account
+```
+
diff --git a/config/docs/r/sqlserver_account_db_attachment.html.markdown b/config/docs/r/sqlserver_account_db_attachment.html.markdown
new file mode 100644
index 0000000..1e7bbba
--- /dev/null
+++ b/config/docs/r/sqlserver_account_db_attachment.html.markdown
@@ -0,0 +1,106 @@
+---
+subcategory: "SQLServer"
+layout: "tencentcloud"
+page_title: "TencentCloud: tencentcloud_sqlserver_account_db_attachment"
+sidebar_current: "docs-tencentcloud-resource-sqlserver_account_db_attachment"
+description: |-
+ Use this resource to create SQL Server account DB attachment
+---
+
+# tencentcloud_sqlserver_account_db_attachment
+
+Use this resource to create SQL Server account DB attachment
+
+## Example Usage
+
+```hcl
+data "tencentcloud_availability_zones_by_product" "zones" {
+ product = "sqlserver"
+}
+
+resource "tencentcloud_vpc" "vpc" {
+ name = "vpc-example"
+ cidr_block = "10.0.0.0/16"
+}
+
+resource "tencentcloud_subnet" "subnet" {
+ availability_zone = data.tencentcloud_availability_zones_by_product.zones.zones.4.name
+ name = "subnet-example"
+ vpc_id = tencentcloud_vpc.vpc.id
+ cidr_block = "10.0.0.0/16"
+ is_multicast = false
+}
+
+resource "tencentcloud_security_group" "security_group" {
+ name = "sg-example"
+ description = "desc."
+}
+
+resource "tencentcloud_sqlserver_basic_instance" "example" {
+ name = "tf-example"
+ availability_zone = data.tencentcloud_availability_zones_by_product.zones.zones.4.name
+ charge_type = "POSTPAID_BY_HOUR"
+ vpc_id = tencentcloud_vpc.vpc.id
+ subnet_id = tencentcloud_subnet.subnet.id
+ project_id = 0
+ memory = 4
+ storage = 100
+ cpu = 2
+ machine_type = "CLOUD_PREMIUM"
+ maintenance_week_set = [1, 2, 3]
+ maintenance_start_time = "09:00"
+ maintenance_time_span = 3
+ security_groups = [tencentcloud_security_group.security_group.id]
+
+ tags = {
+ "test" = "test"
+ }
+}
+
+resource "tencentcloud_sqlserver_db" "example" {
+ instance_id = tencentcloud_sqlserver_basic_instance.example.id
+ name = "tf_example_db"
+ charset = "Chinese_PRC_BIN"
+ remark = "test-remark"
+}
+
+resource "tencentcloud_sqlserver_account" "example" {
+ instance_id = tencentcloud_sqlserver_basic_instance.example.id
+ name = "tf_example_account"
+ password = "Qwer@234"
+ remark = "test-remark"
+}
+
+resource "tencentcloud_sqlserver_account_db_attachment" "example" {
+ instance_id = tencentcloud_sqlserver_basic_instance.example.id
+ account_name = tencentcloud_sqlserver_account.example.name
+ db_name = tencentcloud_sqlserver_db.example.name
+ privilege = "ReadWrite"
+}
+```
+
+## Argument Reference
+
+The following arguments are supported:
+
+* `account_name` - (Required, String, ForceNew) SQL Server account name.
+* `db_name` - (Required, String, ForceNew) SQL Server DB name.
+* `instance_id` - (Required, String, ForceNew) SQL Server instance ID that the account belongs to.
+* `privilege` - (Required, String) Privilege of the account on DB. Valid values: `ReadOnly`, `ReadWrite`.
+
+## Attributes Reference
+
+In addition to all arguments above, the following attributes are exported:
+
+* `id` - ID of the resource.
+
+
+
+## Import
+
+SQL Server account DB attachment can be imported using the id, e.g.
+
+```
+$ terraform import tencentcloud_sqlserver_account_db_attachment.example mssql-3cdq7kx5#tf_example_account#tf_example_db
+```
+
diff --git a/config/docs/r/sqlserver_basic_instance.html.markdown b/config/docs/r/sqlserver_basic_instance.html.markdown
new file mode 100644
index 0000000..1b35079
--- /dev/null
+++ b/config/docs/r/sqlserver_basic_instance.html.markdown
@@ -0,0 +1,104 @@
+---
+subcategory: "SQLServer"
+layout: "tencentcloud"
+page_title: "TencentCloud: tencentcloud_sqlserver_basic_instance"
+sidebar_current: "docs-tencentcloud-resource-sqlserver_basic_instance"
+description: |-
+ Provides a SQL Server instance resource to create basic database instances.
+---
+
+# tencentcloud_sqlserver_basic_instance
+
+Provides a SQL Server instance resource to create basic database instances.
+
+## Example Usage
+
+```hcl
+data "tencentcloud_availability_zones_by_product" "zones" {
+ product = "sqlserver"
+}
+
+resource "tencentcloud_vpc" "vpc" {
+ name = "vpc-example"
+ cidr_block = "10.0.0.0/16"
+}
+
+resource "tencentcloud_subnet" "subnet" {
+ availability_zone = data.tencentcloud_availability_zones_by_product.zones.zones.4.name
+ name = "subnet-example"
+ vpc_id = tencentcloud_vpc.vpc.id
+ cidr_block = "10.0.0.0/16"
+ is_multicast = false
+}
+
+resource "tencentcloud_security_group" "security_group" {
+ name = "sg-example"
+ description = "desc."
+}
+
+resource "tencentcloud_sqlserver_basic_instance" "example" {
+ name = "tf-example"
+ availability_zone = data.tencentcloud_availability_zones_by_product.zones.zones.4.name
+ charge_type = "POSTPAID_BY_HOUR"
+ vpc_id = tencentcloud_vpc.vpc.id
+ subnet_id = tencentcloud_subnet.subnet.id
+ project_id = 0
+ memory = 4
+ storage = 100
+ cpu = 2
+ machine_type = "CLOUD_PREMIUM"
+ maintenance_week_set = [1, 2, 3]
+ maintenance_start_time = "09:00"
+ maintenance_time_span = 3
+ security_groups = [tencentcloud_security_group.security_group.id]
+
+ tags = {
+ "test" = "test"
+ }
+}
+```
+
+## Argument Reference
+
+The following arguments are supported:
+
+* `cpu` - (Required, Int) The CPU number of the SQL Server basic instance.
+* `machine_type` - (Required, String) The host type of the purchased instance, `CLOUD_PREMIUM` for virtual machine high-performance cloud disk, `CLOUD_SSD` for virtual machine SSD cloud disk, `CLOUD_HSSD` for virtual machine enhanced cloud disk, `CLOUD_BSSD` for virtual machine general purpose SSD cloud disk.
+* `memory` - (Required, Int) Memory size (in GB). Allowed value must be larger than `memory` that data source `tencentcloud_sqlserver_specinfos` provides.
+* `name` - (Required, String) Name of the SQL Server basic instance.
+* `storage` - (Required, Int) Disk size (in GB). Allowed value must be a multiple of 10. The storage must be set with the limit of `storage_min` and `storage_max` which data source `tencentcloud_sqlserver_specinfos` provides.
+* `auto_renew` - (Optional, Int) Automatic renewal sign. 0 for normal renewal, 1 for automatic renewal, the default is 1 automatic renewal. Only valid when purchasing a prepaid instance.
+* `auto_voucher` - (Optional, Int) Whether to use the voucher automatically; 1 for yes, 0 for no, the default is 0.
+* `availability_zone` - (Optional, String, ForceNew) Availability zone.
+* `charge_type` - (Optional, String, ForceNew) Pay type of the SQL Server basic instance. For now, only `POSTPAID_BY_HOUR` is valid.
+* `engine_version` - (Optional, String, ForceNew) Version of the SQL Server basic database engine. Allowed values are `2008R2`(SQL Server 2008 Enterprise), `2012SP3`(SQL Server 2012 Enterprise), `2016SP1` (SQL Server 2016 Enterprise), `201602`(SQL Server 2016 Standard) and `2017`(SQL Server 2017 Enterprise). Default is `2008R2`.
+* `maintenance_start_time` - (Optional, String) Start time of the maintenance in one day, format like `HH:mm`.
+* `maintenance_time_span` - (Optional, Int) The timespan of maintenance in one day, unit is hour.
+* `maintenance_week_set` - (Optional, Set: [`Int`]) A list of integer indicates weekly maintenance. For example, [1,7] presents do weekly maintenance on every Monday and Sunday.
+* `period` - (Optional, Int) Purchase instance period, the default value is 1, which means one month. The value does not exceed 48.
+* `project_id` - (Optional, Int) Project ID, default value is 0.
+* `security_groups` - (Optional, Set: [`String`]) Security group bound to the instance.
+* `subnet_id` - (Optional, String, ForceNew) ID of subnet.
+* `tags` - (Optional, Map) The tags of the SQL Server basic instance.
+* `voucher_ids` - (Optional, Set: [`String`]) An array of voucher IDs, currently only one can be used for a single order.
+* `vpc_id` - (Optional, String, ForceNew) ID of VPC.
+
+## Attributes Reference
+
+In addition to all arguments above, the following attributes are exported:
+
+* `id` - ID of the resource.
+* `create_time` - Create time of the SQL Server basic instance.
+* `status` - Status of the SQL Server basic instance. 1 for applying, 2 for running, 3 for running with limit, 4 for isolated, 5 for recycling, 6 for recycled, 7 for running with task, 8 for off-line, 9 for expanding, 10 for migrating, 11 for readonly, 12 for rebooting.
+* `vip` - IP for private access.
+* `vport` - Port for private access.
+
+
+## Import
+
+SQL Server basic instance can be imported using the id, e.g.
+
+```
+$ terraform import tencentcloud_sqlserver_basic_instance.example mssql-3cdq7kx5
+```
+
diff --git a/config/docs/r/sqlserver_business_intelligence_file.html.markdown b/config/docs/r/sqlserver_business_intelligence_file.html.markdown
new file mode 100644
index 0000000..554094f
--- /dev/null
+++ b/config/docs/r/sqlserver_business_intelligence_file.html.markdown
@@ -0,0 +1,88 @@
+---
+subcategory: "SQLServer"
+layout: "tencentcloud"
+page_title: "TencentCloud: tencentcloud_sqlserver_business_intelligence_file"
+sidebar_current: "docs-tencentcloud-resource-sqlserver_business_intelligence_file"
+description: |-
+ Provides a resource to create a sqlserver business_intelligence_file
+---
+
+# tencentcloud_sqlserver_business_intelligence_file
+
+Provides a resource to create a sqlserver business_intelligence_file
+
+## Example Usage
+
+```hcl
+data "tencentcloud_availability_zones_by_product" "zones" {
+ product = "sqlserver"
+}
+
+resource "tencentcloud_vpc" "vpc" {
+ name = "vpc-example"
+ cidr_block = "10.0.0.0/16"
+}
+
+resource "tencentcloud_subnet" "subnet" {
+ availability_zone = data.tencentcloud_availability_zones_by_product.zones.zones.4.name
+ name = "subnet-example"
+ vpc_id = tencentcloud_vpc.vpc.id
+ cidr_block = "10.0.0.0/16"
+ is_multicast = false
+}
+
+resource "tencentcloud_security_group" "security_group" {
+ name = "sg-example"
+ description = "desc."
+}
+
+resource "tencentcloud_sqlserver_business_intelligence_instance" "example" {
+ zone = data.tencentcloud_availability_zones_by_product.zones.zones.4.name
+ memory = 4
+ storage = 100
+ cpu = 2
+ machine_type = "CLOUD_PREMIUM"
+ project_id = 0
+ subnet_id = tencentcloud_subnet.subnet.id
+ vpc_id = tencentcloud_vpc.vpc.id
+ db_version = "201603"
+ security_group_list = [tencentcloud_security_group.security_group.id]
+ weekly = [1, 2, 3, 4, 5, 6, 7]
+ start_time = "00:00"
+ span = 6
+ instance_name = "tf_example"
+}
+
+resource "tencentcloud_sqlserver_business_intelligence_file" "example" {
+ instance_id = tencentcloud_sqlserver_business_intelligence_instance.example.id
+ file_url = "https://tf-example-1208515315.cos.ap-guangzhou.myqcloud.com/sqlserver_business_intelligence_file.txt"
+ file_type = "FLAT"
+ remark = "desc."
+}
+```
+
+## Argument Reference
+
+The following arguments are supported:
+
+* `file_type` - (Required, String, ForceNew) File Type FLAT - Flat File as Data Source, SSIS - ssis project package.
+* `file_url` - (Required, String, ForceNew) Cos Url.
+* `instance_id` - (Required, String, ForceNew) instance id.
+* `remark` - (Optional, String, ForceNew) remark.
+
+## Attributes Reference
+
+In addition to all arguments above, the following attributes are exported:
+
+* `id` - ID of the resource.
+
+
+
+## Import
+
+sqlserver business_intelligence_file can be imported using the id, e.g.
+
+```
+terraform import tencentcloud_sqlserver_business_intelligence_file.example mssqlbi-fo2dwujt#test.xlsx
+```
+
diff --git a/config/docs/r/sqlserver_business_intelligence_instance.html.markdown b/config/docs/r/sqlserver_business_intelligence_instance.html.markdown
new file mode 100644
index 0000000..8b76990
--- /dev/null
+++ b/config/docs/r/sqlserver_business_intelligence_instance.html.markdown
@@ -0,0 +1,97 @@
+---
+subcategory: "SQLServer"
+layout: "tencentcloud"
+page_title: "TencentCloud: tencentcloud_sqlserver_business_intelligence_instance"
+sidebar_current: "docs-tencentcloud-resource-sqlserver_business_intelligence_instance"
+description: |-
+ Provides a resource to create a sqlserver business_intelligence_instance
+---
+
+# tencentcloud_sqlserver_business_intelligence_instance
+
+Provides a resource to create a sqlserver business_intelligence_instance
+
+## Example Usage
+
+```hcl
+data "tencentcloud_availability_zones_by_product" "zones" {
+ product = "sqlserver"
+}
+
+resource "tencentcloud_vpc" "vpc" {
+ name = "vpc-example"
+ cidr_block = "10.0.0.0/16"
+}
+
+resource "tencentcloud_subnet" "subnet" {
+ availability_zone = data.tencentcloud_availability_zones_by_product.zones.zones.4.name
+ name = "subnet-example"
+ vpc_id = tencentcloud_vpc.vpc.id
+ cidr_block = "10.0.0.0/16"
+ is_multicast = false
+}
+
+resource "tencentcloud_security_group" "security_group" {
+ name = "sg-example"
+ description = "desc."
+}
+
+resource "tencentcloud_sqlserver_business_intelligence_instance" "example" {
+ zone = data.tencentcloud_availability_zones_by_product.zones.zones.4.name
+ memory = 4
+ storage = 100
+ cpu = 2
+ machine_type = "CLOUD_PREMIUM"
+ project_id = 0
+ subnet_id = tencentcloud_subnet.subnet.id
+ vpc_id = tencentcloud_vpc.vpc.id
+ db_version = "201603"
+ security_group_list = [tencentcloud_security_group.security_group.id]
+ weekly = [1, 2, 3, 4, 5, 6, 7]
+ start_time = "00:00"
+ span = 6
+ instance_name = "tf_example"
+}
+```
+
+## Argument Reference
+
+The following arguments are supported:
+
+* `cpu` - (Required, Int) The number of CPU cores of the instance you want to purchase.
+* `instance_name` - (Required, String) Instance Name.
+* `machine_type` - (Required, String) The host type of purchased instance. Valid values: CLOUD_PREMIUM (virtual machine with premium cloud disk), CLOUD_SSD (virtual machine with SSD).
+* `memory` - (Required, Int) Instance memory size in GB.
+* `storage` - (Required, Int) Instance disk size in GB.
+* `zone` - (Required, String) Instance AZ, such as ap-guangzhou-1 (Guangzhou Zone 1). Purchasable AZs for an instance can be obtained through theDescribeZones API.
+* `db_version` - (Optional, String) Supported versions of business intelligence server. Valid values: 201603 (SQL Server 2016 Integration Services), 201703 (SQL Server 2017 Integration Services), 201903 (SQL Server 2019 Integration Services). Default value: 201903. As the purchasable versions are region-specific, you can use the DescribeProductConfig API to query the information of purchasable versions in each region.
+* `project_id` - (Optional, Int) Project ID.
+* `resource_tags` - (Optional, List) Tags associated with the instances to be created.
+* `security_group_list` - (Optional, List: [`String`]) Security group list, which contains security group IDs in the format of sg-xxx.
+* `span` - (Optional, Int) Configuration of the maintenance window, which specifies the maintenance duration in hours.
+* `start_time` - (Optional, String) Configuration of the maintenance window, which specifies the start time of daily maintenance.
+* `subnet_id` - (Optional, String) VPC subnet ID in the format of subnet-bdoe83fa. Both SubnetId and VpcId need to be set or unset at the same time.
+* `vpc_id` - (Optional, String) VPC ID in the format of vpc-dsp338hz. Both SubnetId and VpcId need to be set or unset at the same time.
+* `weekly` - (Optional, List: [`Int`]) Configuration of the maintenance window, which specifies the day of the week when maintenance can be performed. Valid values: 1 (Monday), 2 (Tuesday), 3 (Wednesday), 4 (Thursday), 5 (Friday), 6 (Saturday), 7 (Sunday).
+
+The `resource_tags` object supports the following:
+
+* `tag_key` - (Optional, String) Tag key.
+* `tag_value` - (Optional, String) Tag value.
+
+## Attributes Reference
+
+In addition to all arguments above, the following attributes are exported:
+
+* `id` - ID of the resource.
+
+
+
+## Import
+
+sqlserver business_intelligence_instance can be imported using the id, e.g.
+
+```
+terraform import tencentcloud_sqlserver_business_intelligence_instance.example mssqlbi-fo2dwujt
+```
+
diff --git a/config/docs/r/sqlserver_complete_expansion.html.markdown b/config/docs/r/sqlserver_complete_expansion.html.markdown
new file mode 100644
index 0000000..ca32b32
--- /dev/null
+++ b/config/docs/r/sqlserver_complete_expansion.html.markdown
@@ -0,0 +1,104 @@
+---
+subcategory: "SQLServer"
+layout: "tencentcloud"
+page_title: "TencentCloud: tencentcloud_sqlserver_complete_expansion"
+sidebar_current: "docs-tencentcloud-resource-sqlserver_complete_expansion"
+description: |-
+ Provides a resource to create a sqlserver complete_expansion
+---
+
+# tencentcloud_sqlserver_complete_expansion
+
+Provides a resource to create a sqlserver complete_expansion
+
+## Example Usage
+
+### First, Create a basic SQL instance
+
+```hcl
+data "tencentcloud_availability_zones_by_product" "zones" {
+ product = "sqlserver"
+}
+
+resource "tencentcloud_vpc" "vpc" {
+ name = "example-vpc"
+ cidr_block = "10.0.0.0/16"
+}
+
+resource "tencentcloud_subnet" "subnet" {
+ availability_zone = data.tencentcloud_availability_zones_by_product.zones.zones.4.name
+ name = "example-vpc"
+ vpc_id = tencentcloud_vpc.vpc.id
+ cidr_block = "10.0.0.0/16"
+ is_multicast = false
+}
+
+resource "tencentcloud_security_group" "security_group" {
+ name = "example-sg"
+ description = "desc."
+}
+
+resource "tencentcloud_sqlserver_instance" "example" {
+ name = "tf_example_sql"
+ availability_zone = data.tencentcloud_availability_zones_by_product.zones.zones.4.name
+ charge_type = "POSTPAID_BY_HOUR"
+ vpc_id = tencentcloud_vpc.vpc.id
+ subnet_id = tencentcloud_subnet.subnet.id
+ security_groups = [tencentcloud_security_group.security_group.id]
+ project_id = 0
+ memory = 2
+ storage = 20
+ maintenance_week_set = [1, 2, 3]
+ maintenance_start_time = "01:00"
+ maintenance_time_span = 3
+ tags = {
+ "createBy" = "tfExample"
+ }
+}
+```
+
+### Expand the current instance, storage: 20->40, wait_switch = 1
+
+```hcl
+resource "tencentcloud_sqlserver_instance" "example" {
+ name = "tf_example_sql"
+ availability_zone = data.tencentcloud_availability_zones_by_product.zones.zones.4.name
+ charge_type = "POSTPAID_BY_HOUR"
+ vpc_id = tencentcloud_vpc.vpc.id
+ subnet_id = tencentcloud_subnet.subnet.id
+ security_groups = [tencentcloud_security_group.security_group.id]
+ project_id = 0
+ memory = 2
+ storage = 40
+ wait_switch = 1
+ maintenance_week_set = [1, 2, 3]
+ maintenance_start_time = "01:00"
+ maintenance_time_span = 3
+ tags = {
+ "createBy" = "tfExample"
+ }
+}
+```
+
+### Complete the expansion task immediately
+
+```hcl
+resource "tencentcloud_sqlserver_complete_expansion" "example" {
+ instance_id = tencentcloud_sqlserver_instance.example.id
+}
+```
+
+## Argument Reference
+
+The following arguments are supported:
+
+* `instance_id` - (Required, String, ForceNew) ID of imported target instance.
+
+## Attributes Reference
+
+In addition to all arguments above, the following attributes are exported:
+
+* `id` - ID of the resource.
+
+
+
diff --git a/config/docs/r/sqlserver_config_backup_strategy.html.markdown b/config/docs/r/sqlserver_config_backup_strategy.html.markdown
new file mode 100644
index 0000000..d7cd10e
--- /dev/null
+++ b/config/docs/r/sqlserver_config_backup_strategy.html.markdown
@@ -0,0 +1,143 @@
+---
+subcategory: "SQLServer"
+layout: "tencentcloud"
+page_title: "TencentCloud: tencentcloud_sqlserver_config_backup_strategy"
+sidebar_current: "docs-tencentcloud-resource-sqlserver_config_backup_strategy"
+description: |-
+ Provides a resource to create a sqlserver config_backup_strategy
+---
+
+# tencentcloud_sqlserver_config_backup_strategy
+
+Provides a resource to create a sqlserver config_backup_strategy
+
+## Example Usage
+
+### Daily backup
+
+```hcl
+data "tencentcloud_availability_zones_by_product" "zones" {
+ product = "sqlserver"
+}
+
+resource "tencentcloud_vpc" "vpc" {
+ name = "vpc-example"
+ cidr_block = "10.0.0.0/16"
+}
+
+resource "tencentcloud_subnet" "subnet" {
+ availability_zone = data.tencentcloud_availability_zones_by_product.zones.zones.4.name
+ name = "subnet-example"
+ vpc_id = tencentcloud_vpc.vpc.id
+ cidr_block = "10.0.0.0/16"
+ is_multicast = false
+}
+
+resource "tencentcloud_security_group" "security_group" {
+ name = "sg-example"
+ description = "desc."
+}
+
+resource "tencentcloud_sqlserver_basic_instance" "example" {
+ name = "tf-example"
+ availability_zone = data.tencentcloud_availability_zones_by_product.zones.zones.4.name
+ charge_type = "POSTPAID_BY_HOUR"
+ vpc_id = tencentcloud_vpc.vpc.id
+ subnet_id = tencentcloud_subnet.subnet.id
+ project_id = 0
+ memory = 4
+ storage = 100
+ cpu = 2
+ machine_type = "CLOUD_PREMIUM"
+ maintenance_week_set = [1, 2, 3]
+ maintenance_start_time = "09:00"
+ maintenance_time_span = 3
+ security_groups = [tencentcloud_security_group.security_group.id]
+
+ tags = {
+ "test" = "test"
+ }
+}
+
+resource "tencentcloud_sqlserver_config_backup_strategy" "example" {
+ instance_id = tencentcloud_sqlserver_basic_instance.example.id
+ backup_type = "daily"
+ backup_time = 0
+ backup_day = 1
+ backup_model = "master_no_pkg"
+ backup_cycle = [1]
+ backup_save_days = 7
+ regular_backup_enable = "disable"
+ regular_backup_save_days = 90
+ regular_backup_strategy = "months"
+ regular_backup_counts = 1
+}
+```
+
+### Weekly backup
+
+```hcl
+resource "tencentcloud_sqlserver_config_backup_strategy" "example" {
+ instance_id = tencentcloud_sqlserver_basic_instance.example.id
+ backup_type = "weekly"
+ backup_time = 0
+ backup_model = "master_no_pkg"
+ backup_cycle = [1, 3, 5]
+ backup_save_days = 7
+ regular_backup_enable = "disable"
+ regular_backup_save_days = 90
+ regular_backup_strategy = "months"
+ regular_backup_counts = 1
+}
+```
+
+### Regular backup
+
+```hcl
+resource "tencentcloud_sqlserver_config_backup_strategy" "example" {
+ instance_id = tencentcloud_sqlserver_basic_instance.example.id
+ backup_time = 0
+ backup_model = "master_no_pkg"
+ backup_cycle = [1, 3]
+ backup_save_days = 7
+ regular_backup_enable = "enable"
+ regular_backup_save_days = 120
+ regular_backup_strategy = "months"
+ regular_backup_counts = 1
+ regular_backup_start_time = "%s"
+}
+```
+
+## Argument Reference
+
+The following arguments are supported:
+
+* `instance_id` - (Required, String) Instance ID.
+* `backup_cycle` - (Optional, Set: [`Int`]) The days of the week on which backup will be performed when `BackupType` is weekly. If data backup retention period is less than 7 days, the values will be 1-7, indicating that backup will be performed everyday by default; if data backup retention period is greater than or equal to 7 days, the values will be at least any two days, indicating that backup will be performed at least twice in a week by default.
+* `backup_day` - (Optional, Int) Backup interval in days when the BackupType is daily. The current value can only be 1.
+* `backup_model` - (Optional, String) Backup mode. Valid values: master_pkg (archive the backup files of the primary node), master_no_pkg (do not archive the backup files of the primary node), slave_pkg (archive the backup files of the replica node), slave_no_pkg (do not archive the backup files of the replica node). Backup files of the replica node are supported only when Always On disaster recovery is enabled.
+* `backup_save_days` - (Optional, Int) Data (log) backup retention period. Value range: 3-1830 days, default value: 7 days.
+* `backup_time` - (Optional, Int) Backup time. Value range: an integer from 0 to 23.
+* `backup_type` - (Optional, String) Backup type. Valid values: weekly (when length(BackupDay) <=7 && length(BackupDay) >=2), daily (when length(BackupDay)=1). Default value: daily.
+* `regular_backup_counts` - (Optional, Int) The number of retained archive backups. Default value: 1.
+* `regular_backup_enable` - (Optional, String) Archive backup status. Valid values: enable (enabled); disable (disabled). Default value: disable.
+* `regular_backup_save_days` - (Optional, Int) Archive backup retention days. Value range: 90-3650 days. Default value: 365 days.
+* `regular_backup_start_time` - (Optional, String) Archive backup start date in YYYY-MM-DD format, which is the current time by default.
+* `regular_backup_strategy` - (Optional, String) Archive backup policy. Valid values: years (yearly); quarters (quarterly); months(monthly); Default value: `months`.
+
+## Attributes Reference
+
+In addition to all arguments above, the following attributes are exported:
+
+* `id` - ID of the resource.
+
+
+
+## Import
+
+sqlserver config_backup_strategy can be imported using the id, e.g.
+
+```
+terraform import tencentcloud_sqlserver_config_backup_strategy.example mssql-si2823jyl
+```
+
diff --git a/config/docs/r/sqlserver_config_database_cdc.html.markdown b/config/docs/r/sqlserver_config_database_cdc.html.markdown
new file mode 100644
index 0000000..db7f88c
--- /dev/null
+++ b/config/docs/r/sqlserver_config_database_cdc.html.markdown
@@ -0,0 +1,109 @@
+---
+subcategory: "SQLServer"
+layout: "tencentcloud"
+page_title: "TencentCloud: tencentcloud_sqlserver_config_database_cdc"
+sidebar_current: "docs-tencentcloud-resource-sqlserver_config_database_cdc"
+description: |-
+ Provides a resource to create a sqlserver config_database_cdc
+---
+
+# tencentcloud_sqlserver_config_database_cdc
+
+Provides a resource to create a sqlserver config_database_cdc
+
+## Example Usage
+
+### Turn off database data change capture (CDC)
+
+```hcl
+data "tencentcloud_availability_zones_by_product" "zones" {
+ product = "sqlserver"
+}
+
+resource "tencentcloud_vpc" "vpc" {
+ name = "vpc-example"
+ cidr_block = "10.0.0.0/16"
+}
+
+resource "tencentcloud_subnet" "subnet" {
+ availability_zone = data.tencentcloud_availability_zones_by_product.zones.zones.4.name
+ name = "subnet-example"
+ vpc_id = tencentcloud_vpc.vpc.id
+ cidr_block = "10.0.0.0/16"
+ is_multicast = false
+}
+
+resource "tencentcloud_security_group" "security_group" {
+ name = "sg-example"
+ description = "desc."
+}
+
+resource "tencentcloud_sqlserver_basic_instance" "example" {
+ name = "tf-example"
+ availability_zone = data.tencentcloud_availability_zones_by_product.zones.zones.4.name
+ charge_type = "POSTPAID_BY_HOUR"
+ vpc_id = tencentcloud_vpc.vpc.id
+ subnet_id = tencentcloud_subnet.subnet.id
+ project_id = 0
+ memory = 4
+ storage = 100
+ cpu = 2
+ machine_type = "CLOUD_PREMIUM"
+ maintenance_week_set = [1, 2, 3]
+ maintenance_start_time = "09:00"
+ maintenance_time_span = 3
+ security_groups = [tencentcloud_security_group.security_group.id]
+
+ tags = {
+ "test" = "test"
+ }
+}
+
+resource "tencentcloud_sqlserver_db" "example" {
+ instance_id = tencentcloud_sqlserver_basic_instance.example.id
+ name = "tf_example_db"
+ charset = "Chinese_PRC_BIN"
+ remark = "test-remark"
+}
+
+resource "tencentcloud_sqlserver_config_database_cdc" "example" {
+ instance_id = tencentcloud_sqlserver_basic_instance.example.id
+ db_name = tencentcloud_sqlserver_db.example.name
+ modify_type = "disable"
+}
+```
+
+### Enable Database Data Change Capture (CDC)
+
+```hcl
+resource "tencentcloud_sqlserver_config_database_cdc" "example" {
+ instance_id = tencentcloud_sqlserver_basic_instance.example.id
+ db_name = tencentcloud_sqlserver_db.example.name
+ modify_type = "enable"
+}
+```
+
+## Argument Reference
+
+The following arguments are supported:
+
+* `db_name` - (Required, String) database name.
+* `instance_id` - (Required, String) Instance ID.
+* `modify_type` - (Required, String) Enable or disable CDC. Valid values: enable, disable.
+
+## Attributes Reference
+
+In addition to all arguments above, the following attributes are exported:
+
+* `id` - ID of the resource.
+
+
+
+## Import
+
+sqlserver config_database_cdc can be imported using the id, e.g.
+
+```
+terraform import tencentcloud_sqlserver_config_database_cdc.example mssql-i9ma6oy7#tf_example_db
+```
+
diff --git a/config/docs/r/sqlserver_config_database_ct.html.markdown b/config/docs/r/sqlserver_config_database_ct.html.markdown
new file mode 100644
index 0000000..0642b6a
--- /dev/null
+++ b/config/docs/r/sqlserver_config_database_ct.html.markdown
@@ -0,0 +1,99 @@
+---
+subcategory: "SQLServer"
+layout: "tencentcloud"
+page_title: "TencentCloud: tencentcloud_sqlserver_config_database_ct"
+sidebar_current: "docs-tencentcloud-resource-sqlserver_config_database_ct"
+description: |-
+ Provides a resource to create a sqlserver config_database_ct
+---
+
+# tencentcloud_sqlserver_config_database_ct
+
+Provides a resource to create a sqlserver config_database_ct
+
+## Example Usage
+
+```hcl
+data "tencentcloud_availability_zones_by_product" "zones" {
+ product = "sqlserver"
+}
+
+resource "tencentcloud_vpc" "vpc" {
+ name = "vpc-example"
+ cidr_block = "10.0.0.0/16"
+}
+
+resource "tencentcloud_subnet" "subnet" {
+ availability_zone = data.tencentcloud_availability_zones_by_product.zones.zones.4.name
+ name = "subnet-example"
+ vpc_id = tencentcloud_vpc.vpc.id
+ cidr_block = "10.0.0.0/16"
+ is_multicast = false
+}
+
+resource "tencentcloud_security_group" "security_group" {
+ name = "sg-example"
+ description = "desc."
+}
+
+resource "tencentcloud_sqlserver_basic_instance" "example" {
+ name = "tf-example"
+ availability_zone = data.tencentcloud_availability_zones_by_product.zones.zones.4.name
+ charge_type = "POSTPAID_BY_HOUR"
+ vpc_id = tencentcloud_vpc.vpc.id
+ subnet_id = tencentcloud_subnet.subnet.id
+ project_id = 0
+ memory = 4
+ storage = 100
+ cpu = 2
+ machine_type = "CLOUD_PREMIUM"
+ maintenance_week_set = [1, 2, 3]
+ maintenance_start_time = "09:00"
+ maintenance_time_span = 3
+ security_groups = [tencentcloud_security_group.security_group.id]
+
+ tags = {
+ "test" = "test"
+ }
+}
+
+resource "tencentcloud_sqlserver_db" "example" {
+ instance_id = tencentcloud_sqlserver_basic_instance.example.id
+ name = "tf_example_db"
+ charset = "Chinese_PRC_BIN"
+ remark = "test-remark"
+}
+
+resource "tencentcloud_sqlserver_config_database_ct" "example" {
+ instance_id = tencentcloud_sqlserver_basic_instance.example.id
+ db_name = tencentcloud_sqlserver_db.example.name
+ modify_type = "disable"
+ change_retention_day = 7
+}
+```
+
+## Argument Reference
+
+The following arguments are supported:
+
+* `db_name` - (Required, String) database name.
+* `instance_id` - (Required, String) Instance ID.
+* `modify_type` - (Required, String) Enable or disable CT. Valid values: enable, disable.
+* `change_retention_day` - (Optional, Int) Retention period (in days) of change tracking information when CT is enabled. Value range: 3-30. Default value: 3.
+
+## Attributes Reference
+
+In addition to all arguments above, the following attributes are exported:
+
+* `id` - ID of the resource.
+
+
+
+## Import
+
+sqlserver tencentcloud_sqlserver_config_database_ct can be imported using the id, e.g.
+
+```
+terraform import tencentcloud_sqlserver_config_database_ct.example mssql-i9ma6oy7#tf_example_db
+```
+
diff --git a/config/docs/r/sqlserver_config_database_mdf.html.markdown b/config/docs/r/sqlserver_config_database_mdf.html.markdown
new file mode 100644
index 0000000..73fb729
--- /dev/null
+++ b/config/docs/r/sqlserver_config_database_mdf.html.markdown
@@ -0,0 +1,95 @@
+---
+subcategory: "SQLServer"
+layout: "tencentcloud"
+page_title: "TencentCloud: tencentcloud_sqlserver_config_database_mdf"
+sidebar_current: "docs-tencentcloud-resource-sqlserver_config_database_mdf"
+description: |-
+ Provides a resource to create a sqlserver config_database_mdf
+---
+
+# tencentcloud_sqlserver_config_database_mdf
+
+Provides a resource to create a sqlserver config_database_mdf
+
+## Example Usage
+
+```hcl
+data "tencentcloud_availability_zones_by_product" "zones" {
+ product = "sqlserver"
+}
+
+resource "tencentcloud_vpc" "vpc" {
+ name = "vpc-example"
+ cidr_block = "10.0.0.0/16"
+}
+
+resource "tencentcloud_subnet" "subnet" {
+ availability_zone = data.tencentcloud_availability_zones_by_product.zones.zones.4.name
+ name = "subnet-example"
+ vpc_id = tencentcloud_vpc.vpc.id
+ cidr_block = "10.0.0.0/16"
+ is_multicast = false
+}
+
+resource "tencentcloud_security_group" "security_group" {
+ name = "sg-example"
+ description = "desc."
+}
+
+resource "tencentcloud_sqlserver_basic_instance" "example" {
+ name = "tf-example"
+ availability_zone = data.tencentcloud_availability_zones_by_product.zones.zones.4.name
+ charge_type = "POSTPAID_BY_HOUR"
+ vpc_id = tencentcloud_vpc.vpc.id
+ subnet_id = tencentcloud_subnet.subnet.id
+ project_id = 0
+ memory = 4
+ storage = 100
+ cpu = 2
+ machine_type = "CLOUD_PREMIUM"
+ maintenance_week_set = [1, 2, 3]
+ maintenance_start_time = "09:00"
+ maintenance_time_span = 3
+ security_groups = [tencentcloud_security_group.security_group.id]
+
+ tags = {
+ "test" = "test"
+ }
+}
+
+resource "tencentcloud_sqlserver_db" "example" {
+ instance_id = tencentcloud_sqlserver_basic_instance.example.id
+ name = "tf_example_db"
+ charset = "Chinese_PRC_BIN"
+ remark = "test-remark"
+}
+
+resource "tencentcloud_sqlserver_config_database_mdf" "example" {
+ db_name = tencentcloud_sqlserver_db.example.name
+ instance_id = tencentcloud_sqlserver_basic_instance.example.id
+}
+```
+
+## Argument Reference
+
+The following arguments are supported:
+
+* `db_name` - (Required, String) Array of database names.
+* `instance_id` - (Required, String) Instance ID.
+
+## Attributes Reference
+
+In addition to all arguments above, the following attributes are exported:
+
+* `id` - ID of the resource.
+
+
+
+## Import
+
+sqlserver config_database_mdf can be imported using the id, e.g.
+
+```
+terraform import tencentcloud_sqlserver_config_database_mdf.example mssql-i9ma6oy7#tf_example_db
+```
+
diff --git a/config/docs/r/sqlserver_config_delete_db.html.markdown b/config/docs/r/sqlserver_config_delete_db.html.markdown
new file mode 100644
index 0000000..359583d
--- /dev/null
+++ b/config/docs/r/sqlserver_config_delete_db.html.markdown
@@ -0,0 +1,37 @@
+---
+subcategory: "SQLServer"
+layout: "tencentcloud"
+page_title: "TencentCloud: tencentcloud_sqlserver_config_delete_db"
+sidebar_current: "docs-tencentcloud-resource-sqlserver_config_delete_db"
+description: |-
+ Provides a resource to create a sqlserver config_delete_db
+---
+
+# tencentcloud_sqlserver_config_delete_db
+
+Provides a resource to create a sqlserver config_delete_db
+
+## Example Usage
+
+```hcl
+resource "tencentcloud_sqlserver_config_delete_db" "config_delete_db" {
+ instance_id = "mssql-i1z41iwd"
+ name =
+}
+```
+
+## Argument Reference
+
+The following arguments are supported:
+
+* `instance_id` - (Required, String) Instance ID.
+* `name` - (Required, String) collection of database name.
+
+## Attributes Reference
+
+In addition to all arguments above, the following attributes are exported:
+
+* `id` - ID of the resource.
+
+
+
diff --git a/config/docs/r/sqlserver_config_instance_network.html.markdown b/config/docs/r/sqlserver_config_instance_network.html.markdown
new file mode 100644
index 0000000..d9b6470
--- /dev/null
+++ b/config/docs/r/sqlserver_config_instance_network.html.markdown
@@ -0,0 +1,49 @@
+---
+subcategory: "SQLServer"
+layout: "tencentcloud"
+page_title: "TencentCloud: tencentcloud_sqlserver_config_instance_network"
+sidebar_current: "docs-tencentcloud-resource-sqlserver_config_instance_network"
+description: |-
+ Provides a resource to create a sqlserver config_instance_network
+---
+
+# tencentcloud_sqlserver_config_instance_network
+
+Provides a resource to create a sqlserver config_instance_network
+
+## Example Usage
+
+```hcl
+resource "tencentcloud_sqlserver_config_instance_network" "config_instance_network" {
+ instance_id = "mssql-qelbzgwf"
+ new_vpc_id = "vpc-4owdpnwr"
+ new_subnet_id = "sub-ahv6swf2"
+ vip = "172.16.16.48"
+}
+```
+
+## Argument Reference
+
+The following arguments are supported:
+
+* `instance_id` - (Required, String) Instance ID.
+* `new_subnet_id` - (Required, String) ID of the new subnet.
+* `new_vpc_id` - (Required, String) ID of the new VPC.
+* `vip` - (Optional, String) New VIP.
+
+## Attributes Reference
+
+In addition to all arguments above, the following attributes are exported:
+
+* `id` - ID of the resource.
+
+
+
+## Import
+
+sqlserver config_instance_network can be imported using the id, e.g.
+
+```
+terraform import tencentcloud_sqlserver_config_instance_network.config_instance_network config_instance_network_id
+```
+
diff --git a/config/docs/r/sqlserver_config_instance_param.html.markdown b/config/docs/r/sqlserver_config_instance_param.html.markdown
new file mode 100644
index 0000000..a4e0b43
--- /dev/null
+++ b/config/docs/r/sqlserver_config_instance_param.html.markdown
@@ -0,0 +1,96 @@
+---
+subcategory: "SQLServer"
+layout: "tencentcloud"
+page_title: "TencentCloud: tencentcloud_sqlserver_config_instance_param"
+sidebar_current: "docs-tencentcloud-resource-sqlserver_config_instance_param"
+description: |-
+ Provides a resource to create a sqlserver config_instance_param
+---
+
+# tencentcloud_sqlserver_config_instance_param
+
+Provides a resource to create a sqlserver config_instance_param
+
+## Example Usage
+
+```hcl
+data "tencentcloud_availability_zones_by_product" "zones" {
+ product = "sqlserver"
+}
+
+resource "tencentcloud_vpc" "vpc" {
+ name = "vpc-example"
+ cidr_block = "10.0.0.0/16"
+}
+
+resource "tencentcloud_subnet" "subnet" {
+ availability_zone = data.tencentcloud_availability_zones_by_product.zones.zones.4.name
+ name = "subnet-example"
+ vpc_id = tencentcloud_vpc.vpc.id
+ cidr_block = "10.0.0.0/16"
+ is_multicast = false
+}
+
+resource "tencentcloud_security_group" "security_group" {
+ name = "sg-example"
+ description = "desc."
+}
+
+resource "tencentcloud_sqlserver_basic_instance" "example" {
+ name = "tf-example"
+ availability_zone = data.tencentcloud_availability_zones_by_product.zones.zones.4.name
+ charge_type = "POSTPAID_BY_HOUR"
+ vpc_id = tencentcloud_vpc.vpc.id
+ subnet_id = tencentcloud_subnet.subnet.id
+ project_id = 0
+ memory = 4
+ storage = 100
+ cpu = 2
+ machine_type = "CLOUD_PREMIUM"
+ maintenance_week_set = [1, 2, 3]
+ maintenance_start_time = "09:00"
+ maintenance_time_span = 3
+ security_groups = [tencentcloud_security_group.security_group.id]
+
+ tags = {
+ "test" = "test"
+ }
+}
+
+resource "tencentcloud_sqlserver_config_instance_param" "example" {
+ instance_id = tencentcloud_sqlserver_basic_instance.example.id
+ param_list {
+ name = "fill factor(%)"
+ current_value = "90"
+ }
+}
+```
+
+## Argument Reference
+
+The following arguments are supported:
+
+* `instance_id` - (Required, String) Instance ID.
+* `param_list` - (Required, List) List of modified parameters. Each list element has two fields: Name and CurrentValue. Set Name to the parameter name and CurrentValue to the new value after modification. Note: if the instance needs to be restarted for the modified parameter to take effect, it will be restarted immediately or during the maintenance time. Before you modify a parameter, you can use the DescribeInstanceParams API to query whether the instance needs to be restarted.
+
+The `param_list` object supports the following:
+
+* `current_value` - (Optional, String) Parameter value.
+* `name` - (Optional, String) Parameter name.
+
+## Attributes Reference
+
+In addition to all arguments above, the following attributes are exported:
+
+* `id` - ID of the resource.
+
+
+
+## Import
+
+sqlserver config_instance_param can be imported using the id, e.g.
+
+```
+terraform import tencentcloud_sqlserver_config_instance_param.example config_instance_param
+```
+
diff --git a/config/docs/r/sqlserver_config_instance_ro_group.html.markdown b/config/docs/r/sqlserver_config_instance_ro_group.html.markdown
new file mode 100644
index 0000000..5451b1f
--- /dev/null
+++ b/config/docs/r/sqlserver_config_instance_ro_group.html.markdown
@@ -0,0 +1,121 @@
+---
+subcategory: "SQLServer"
+layout: "tencentcloud"
+page_title: "TencentCloud: tencentcloud_sqlserver_config_instance_ro_group"
+sidebar_current: "docs-tencentcloud-resource-sqlserver_config_instance_ro_group"
+description: |-
+ Provides a resource to create a sqlserver config_instance_ro_group
+---
+
+# tencentcloud_sqlserver_config_instance_ro_group
+
+Provides a resource to create a sqlserver config_instance_ro_group
+
+## Example Usage
+
+```hcl
+data "tencentcloud_availability_zones_by_product" "zones" {
+ product = "sqlserver"
+}
+
+resource "tencentcloud_vpc" "vpc" {
+ name = "vpc-example"
+ cidr_block = "10.0.0.0/16"
+}
+
+resource "tencentcloud_subnet" "subnet" {
+ availability_zone = data.tencentcloud_availability_zones_by_product.zones.zones.4.name
+ name = "subnet-example"
+ vpc_id = tencentcloud_vpc.vpc.id
+ cidr_block = "10.0.0.0/16"
+ is_multicast = false
+}
+
+resource "tencentcloud_security_group" "security_group" {
+ name = "sg-example"
+ description = "desc."
+}
+
+resource "tencentcloud_sqlserver_basic_instance" "example" {
+ name = "tf-example"
+ availability_zone = data.tencentcloud_availability_zones_by_product.zones.zones.4.name
+ charge_type = "POSTPAID_BY_HOUR"
+ vpc_id = tencentcloud_vpc.vpc.id
+ subnet_id = tencentcloud_subnet.subnet.id
+ project_id = 0
+ memory = 4
+ storage = 100
+ cpu = 2
+ machine_type = "CLOUD_PREMIUM"
+ maintenance_week_set = [1, 2, 3]
+ maintenance_start_time = "09:00"
+ maintenance_time_span = 3
+ security_groups = [tencentcloud_security_group.security_group.id]
+
+ tags = {
+ "test" = "test"
+ }
+}
+
+resource "tencentcloud_sqlserver_readonly_instance" "example" {
+ name = "tf_example"
+ availability_zone = data.tencentcloud_availability_zones_by_product.zones.zones.4.name
+ charge_type = "POSTPAID_BY_HOUR"
+ vpc_id = tencentcloud_vpc.vpc.id
+ subnet_id = tencentcloud_subnet.subnet.id
+ memory = 4
+ storage = 20
+ master_instance_id = tencentcloud_sqlserver_basic_instance.example.id
+ readonly_group_type = 2
+ read_only_group_name = "tf_example_ro"
+ is_offline_delay = 1
+ read_only_max_delay_time = 10
+ min_read_only_in_group = 0
+ force_upgrade = true
+}
+
+resource "tencentcloud_sqlserver_config_instance_ro_group" "example" {
+ instance_id = tencentcloud_sqlserver_readonly_instance.example.master_instance_id
+ read_only_group_id = tencentcloud_sqlserver_readonly_instance.example.readonly_group_id
+ read_only_group_name = "tf_example_ro_update"
+ is_offline_delay = 1
+ read_only_max_delay_time = 5
+ min_read_only_in_group = 1
+}
+```
+
+## Argument Reference
+
+The following arguments are supported:
+
+* `instance_id` - (Required, String) Instance ID.
+* `read_only_group_id` - (Required, String) Read-only group ID.
+* `auto_weight` - (Optional, Int) 0-user-defined weight (adjusted according to WeightPairs), 1-system automatically assigns weight (WeightPairs is invalid), the default is 0.
+* `balance_weight` - (Optional, Int) 0-do not rebalance the load, 1-rebalance the load, the default is 0.
+* `is_offline_delay` - (Optional, Int) Whether to enable timeout culling function. 0- Disable the culling function. 1- Enable the culling function.
+* `min_read_only_in_group` - (Optional, Int) After the timeout removal function is enabled, the number of read-only copies retained by the read-only group at least, if this parameter is not filled, it will not be modified.
+* `read_only_group_name` - (Optional, String) Read-only group name. If this parameter is not specified, it is not modified.
+* `read_only_max_delay_time` - (Optional, Int) After the timeout elimination function is enabled, the timeout threshold used, if this parameter is not filled, it will not be modified.
+* `weight_pairs` - (Optional, List) Read-only group instance weight modification set, if this parameter is not filled, it will not be modified.
+
+The `weight_pairs` object supports the following:
+
+* `read_only_instance_id` - (Required, String) Read-only instance ID, in the format: mssqlro-3l3fgqn7.
+* `read_only_weight` - (Required, Int) Read-only instance weight, the range is 0-100.
+
+## Attributes Reference
+
+In addition to all arguments above, the following attributes are exported:
+
+* `id` - ID of the resource.
+
+
+
+## Import
+
+sqlserver config_instance_ro_group can be imported using the id, e.g.
+
+```
+terraform import tencentcloud_sqlserver_config_instance_ro_group.example mssql-ds1xhnt9#mssqlro-o6dv2ugx#0#0
+```
+
diff --git a/config/docs/r/sqlserver_config_instance_security_groups.html.markdown b/config/docs/r/sqlserver_config_instance_security_groups.html.markdown
new file mode 100644
index 0000000..96df45a
--- /dev/null
+++ b/config/docs/r/sqlserver_config_instance_security_groups.html.markdown
@@ -0,0 +1,45 @@
+---
+subcategory: "SQLServer"
+layout: "tencentcloud"
+page_title: "TencentCloud: tencentcloud_sqlserver_config_instance_security_groups"
+sidebar_current: "docs-tencentcloud-resource-sqlserver_config_instance_security_groups"
+description: |-
+ Provides a resource to create a sqlserver config_instance_security_groups
+---
+
+# tencentcloud_sqlserver_config_instance_security_groups
+
+Provides a resource to create a sqlserver config_instance_security_groups
+
+## Example Usage
+
+```hcl
+resource "tencentcloud_sqlserver_config_instance_security_groups" "config_instance_security_groups" {
+ instance_id = "mssql-qelbzgwf"
+ security_group_id_set = ["sg-mayqdlt1", "sg-5aubsf8n"]
+}
+```
+
+## Argument Reference
+
+The following arguments are supported:
+
+* `instance_id` - (Required, String) Instance ID.
+* `security_group_id_set` - (Required, Set: [`String`]) A list of security group IDs to modify, an array of one or more security group IDs.
+
+## Attributes Reference
+
+In addition to all arguments above, the following attributes are exported:
+
+* `id` - ID of the resource.
+
+
+
+## Import
+
+sqlserver config_instance_security_groups can be imported using the id, e.g.
+
+```
+terraform import tencentcloud_sqlserver_config_instance_security_groups.config_instance_security_groups config_instance_security_groups_id
+```
+
diff --git a/config/docs/r/sqlserver_config_terminate_db_instance.html.markdown b/config/docs/r/sqlserver_config_terminate_db_instance.html.markdown
new file mode 100644
index 0000000..6283836
--- /dev/null
+++ b/config/docs/r/sqlserver_config_terminate_db_instance.html.markdown
@@ -0,0 +1,86 @@
+---
+subcategory: "SQLServer"
+layout: "tencentcloud"
+page_title: "TencentCloud: tencentcloud_sqlserver_config_terminate_db_instance"
+sidebar_current: "docs-tencentcloud-resource-sqlserver_config_terminate_db_instance"
+description: |-
+ Provides a resource to create a sqlserver config_terminate_db_instance
+---
+
+# tencentcloud_sqlserver_config_terminate_db_instance
+
+Provides a resource to create a sqlserver config_terminate_db_instance
+
+## Example Usage
+
+```hcl
+data "tencentcloud_availability_zones_by_product" "zones" {
+ product = "sqlserver"
+}
+
+resource "tencentcloud_vpc" "vpc" {
+ name = "vpc-example"
+ cidr_block = "10.0.0.0/16"
+}
+
+resource "tencentcloud_subnet" "subnet" {
+ availability_zone = data.tencentcloud_availability_zones_by_product.zones.zones.4.name
+ name = "subnet-example"
+ vpc_id = tencentcloud_vpc.vpc.id
+ cidr_block = "10.0.0.0/16"
+ is_multicast = false
+}
+
+resource "tencentcloud_security_group" "security_group" {
+ name = "sg-example"
+ description = "desc."
+}
+
+resource "tencentcloud_sqlserver_basic_instance" "example" {
+ name = "tf-example"
+ availability_zone = data.tencentcloud_availability_zones_by_product.zones.zones.4.name
+ charge_type = "POSTPAID_BY_HOUR"
+ vpc_id = tencentcloud_vpc.vpc.id
+ subnet_id = tencentcloud_subnet.subnet.id
+ project_id = 0
+ memory = 4
+ storage = 100
+ cpu = 2
+ machine_type = "CLOUD_PREMIUM"
+ maintenance_week_set = [1, 2, 3]
+ maintenance_start_time = "09:00"
+ maintenance_time_span = 3
+ security_groups = [tencentcloud_security_group.security_group.id]
+
+ tags = {
+ "test" = "test"
+ }
+}
+
+resource "tencentcloud_sqlserver_config_terminate_db_instance" "example" {
+ instance_id = tencentcloud_sqlserver_basic_instance.example.id
+}
+```
+
+## Argument Reference
+
+The following arguments are supported:
+
+* `instance_id` - (Required, String) Instance ID.
+
+## Attributes Reference
+
+In addition to all arguments above, the following attributes are exported:
+
+* `id` - ID of the resource.
+
+
+
+## Import
+
+sqlserver config_terminate_db_instance can be imported using the id, e.g.
+
+```
+terraform import tencentcloud_sqlserver_config_terminate_db_instance.example mssql-i9ma6oy7
+```
+
diff --git a/config/docs/r/sqlserver_database_tde.html.markdown b/config/docs/r/sqlserver_database_tde.html.markdown
new file mode 100644
index 0000000..c668820
--- /dev/null
+++ b/config/docs/r/sqlserver_database_tde.html.markdown
@@ -0,0 +1,109 @@
+---
+subcategory: "SQLServer"
+layout: "tencentcloud"
+page_title: "TencentCloud: tencentcloud_sqlserver_database_tde"
+sidebar_current: "docs-tencentcloud-resource-sqlserver_database_tde"
+description: |-
+ Provides a resource to create a sqlserver database_tde
+---
+
+# tencentcloud_sqlserver_database_tde
+
+Provides a resource to create a sqlserver database_tde
+
+## Example Usage
+
+### Open database tde encryption
+
+```hcl
+data "tencentcloud_availability_zones_by_product" "zones" {
+ product = "sqlserver"
+}
+
+resource "tencentcloud_vpc" "vpc" {
+ name = "vpc-example"
+ cidr_block = "10.0.0.0/16"
+}
+
+resource "tencentcloud_subnet" "subnet" {
+ availability_zone = data.tencentcloud_availability_zones_by_product.zones.zones.4.name
+ name = "subnet-example"
+ vpc_id = tencentcloud_vpc.vpc.id
+ cidr_block = "10.0.0.0/16"
+ is_multicast = false
+}
+
+resource "tencentcloud_security_group" "security_group" {
+ name = "sg-example"
+ description = "desc."
+}
+
+resource "tencentcloud_sqlserver_basic_instance" "example" {
+ name = "tf-example"
+ availability_zone = data.tencentcloud_availability_zones_by_product.zones.zones.4.name
+ charge_type = "POSTPAID_BY_HOUR"
+ vpc_id = tencentcloud_vpc.vpc.id
+ subnet_id = tencentcloud_subnet.subnet.id
+ project_id = 0
+ memory = 4
+ storage = 100
+ cpu = 2
+ machine_type = "CLOUD_PREMIUM"
+ maintenance_week_set = [1, 2, 3]
+ maintenance_start_time = "09:00"
+ maintenance_time_span = 3
+ security_groups = [tencentcloud_security_group.security_group.id]
+
+ tags = {
+ "test" = "test"
+ }
+}
+
+resource "tencentcloud_sqlserver_db" "example" {
+ instance_id = tencentcloud_sqlserver_basic_instance.example.id
+ name = "tf_example_db"
+ charset = "Chinese_PRC_BIN"
+ remark = "test-remark"
+}
+
+resource "tencentcloud_sqlserver_database_tde" "example" {
+ instance_id = tencentcloud_sqlserver_basic_instance.example.id
+ db_names = [tencentcloud_sqlserver_db.example.name]
+ encryption = "enable"
+}
+```
+
+### Close database tde encryption
+
+```hcl
+resource "tencentcloud_sqlserver_database_tde" "example" {
+ instance_id = tencentcloud_sqlserver_instance.example.id
+ db_names = [tencentcloud_sqlserver_db.example.name]
+ encryption = "disable"
+}
+```
+
+## Argument Reference
+
+The following arguments are supported:
+
+* `db_names` - (Required, Set: [`String`]) Database name list.
+* `encryption` - (Required, String) `enable` - enable encryption, `disable` - disable encryption.
+* `instance_id` - (Required, String) Instance ID.
+
+## Attributes Reference
+
+In addition to all arguments above, the following attributes are exported:
+
+* `id` - ID of the resource.
+
+
+
+## Import
+
+sqlserver database_tde can be imported using the id, e.g.
+
+```
+terraform import tencentcloud_sqlserver_database_tde.example mssql-farjz9tz#tf_example_db
+```
+
diff --git a/config/docs/r/sqlserver_db.html.markdown b/config/docs/r/sqlserver_db.html.markdown
new file mode 100644
index 0000000..a39dc7c
--- /dev/null
+++ b/config/docs/r/sqlserver_db.html.markdown
@@ -0,0 +1,93 @@
+---
+subcategory: "SQLServer"
+layout: "tencentcloud"
+page_title: "TencentCloud: tencentcloud_sqlserver_db"
+sidebar_current: "docs-tencentcloud-resource-sqlserver_db"
+description: |-
+ Provides a SQL Server DB resource belongs to SQL Server instance.
+---
+
+# tencentcloud_sqlserver_db
+
+Provides a SQL Server DB resource belongs to SQL Server instance.
+
+## Example Usage
+
+```hcl
+data "tencentcloud_availability_zones_by_product" "zones" {
+ product = "sqlserver"
+}
+
+resource "tencentcloud_vpc" "vpc" {
+ name = "vpc-example"
+ cidr_block = "10.0.0.0/16"
+}
+
+resource "tencentcloud_subnet" "subnet" {
+ availability_zone = data.tencentcloud_availability_zones_by_product.zones.zones.4.name
+ name = "subnet-example"
+ vpc_id = tencentcloud_vpc.vpc.id
+ cidr_block = "10.0.0.0/16"
+ is_multicast = false
+}
+
+resource "tencentcloud_security_group" "security_group" {
+ name = "sg-example"
+ description = "desc."
+}
+
+resource "tencentcloud_sqlserver_basic_instance" "example" {
+ name = "tf-example"
+ availability_zone = data.tencentcloud_availability_zones_by_product.zones.zones.4.name
+ charge_type = "POSTPAID_BY_HOUR"
+ vpc_id = tencentcloud_vpc.vpc.id
+ subnet_id = tencentcloud_subnet.subnet.id
+ project_id = 0
+ memory = 4
+ storage = 100
+ cpu = 2
+ machine_type = "CLOUD_PREMIUM"
+ maintenance_week_set = [1, 2, 3]
+ maintenance_start_time = "09:00"
+ maintenance_time_span = 3
+ security_groups = [tencentcloud_security_group.security_group.id]
+
+ tags = {
+ "test" = "test"
+ }
+}
+
+resource "tencentcloud_sqlserver_db" "example" {
+ instance_id = tencentcloud_sqlserver_basic_instance.example.id
+ name = "tf_example_db"
+ charset = "Chinese_PRC_BIN"
+ remark = "test-remark"
+}
+```
+
+## Argument Reference
+
+The following arguments are supported:
+
+* `instance_id` - (Required, String, ForceNew) SQL Server instance ID which DB belongs to.
+* `name` - (Required, String, ForceNew) Name of SQL Server DB. The database name must be unique and must be composed of numbers, letters and underlines, and the first one can not be underline.
+* `charset` - (Optional, String, ForceNew) Character set DB uses. Valid values: `Chinese_PRC_CI_AS`, `Chinese_PRC_CS_AS`, `Chinese_PRC_BIN`, `Chinese_Taiwan_Stroke_CI_AS`, `SQL_Latin1_General_CP1_CI_AS`, and `SQL_Latin1_General_CP1_CS_AS`. Default value is `Chinese_PRC_CI_AS`.
+* `remark` - (Optional, String) Remark of the DB.
+
+## Attributes Reference
+
+In addition to all arguments above, the following attributes are exported:
+
+* `id` - ID of the resource.
+* `create_time` - Database creation time.
+* `status` - Database status, could be `creating`, `running`, `modifying` which means changing the remark, and `deleting`.
+
+
+## Import
+
+SQL Server DB can be imported using the id, e.g.
+
+```
+$ terraform import tencentcloud_sqlserver_db.example mssql-3cdq7kx5#tf_example_db
+```
+
diff --git a/config/docs/r/sqlserver_full_backup_migration.html.markdown b/config/docs/r/sqlserver_full_backup_migration.html.markdown
new file mode 100644
index 0000000..291f187
--- /dev/null
+++ b/config/docs/r/sqlserver_full_backup_migration.html.markdown
@@ -0,0 +1,114 @@
+---
+subcategory: "SQLServer"
+layout: "tencentcloud"
+page_title: "TencentCloud: tencentcloud_sqlserver_full_backup_migration"
+sidebar_current: "docs-tencentcloud-resource-sqlserver_full_backup_migration"
+description: |-
+ Provides a resource to create a sqlserver full_backup_migration
+---
+
+# tencentcloud_sqlserver_full_backup_migration
+
+Provides a resource to create a sqlserver full_backup_migration
+
+## Example Usage
+
+```hcl
+data "tencentcloud_availability_zones_by_product" "zones" {
+ product = "sqlserver"
+}
+
+data "tencentcloud_sqlserver_backups" "example" {
+ instance_id = tencentcloud_sqlserver_db.example.instance_id
+ backup_name = tencentcloud_sqlserver_general_backup.example.backup_name
+ start_time = "2023-07-25 00:00:00"
+ end_time = "2023-08-04 00:00:00"
+}
+
+resource "tencentcloud_vpc" "vpc" {
+ name = "vpc-example"
+ cidr_block = "10.0.0.0/16"
+}
+
+resource "tencentcloud_subnet" "subnet" {
+ availability_zone = data.tencentcloud_availability_zones_by_product.zones.zones.4.name
+ name = "subnet-example"
+ vpc_id = tencentcloud_vpc.vpc.id
+ cidr_block = "10.0.0.0/16"
+ is_multicast = false
+}
+
+resource "tencentcloud_security_group" "security_group" {
+ name = "sg-example"
+ description = "desc."
+}
+
+resource "tencentcloud_sqlserver_basic_instance" "example" {
+ name = "tf-example"
+ availability_zone = data.tencentcloud_availability_zones_by_product.zones.zones.4.name
+ charge_type = "POSTPAID_BY_HOUR"
+ vpc_id = tencentcloud_vpc.vpc.id
+ subnet_id = tencentcloud_subnet.subnet.id
+ project_id = 0
+ memory = 4
+ storage = 100
+ cpu = 2
+ machine_type = "CLOUD_PREMIUM"
+ maintenance_week_set = [1, 2, 3]
+ maintenance_start_time = "09:00"
+ maintenance_time_span = 3
+ security_groups = [tencentcloud_security_group.security_group.id]
+
+ tags = {
+ "test" = "test"
+ }
+}
+
+resource "tencentcloud_sqlserver_db" "example" {
+ instance_id = tencentcloud_sqlserver_basic_instance.example.id
+ name = "tf_example_db"
+ charset = "Chinese_PRC_BIN"
+ remark = "test-remark"
+}
+
+resource "tencentcloud_sqlserver_general_backup" "example" {
+ instance_id = tencentcloud_sqlserver_db.example.instance_id
+ backup_name = "tf_example_backup"
+ strategy = 0
+}
+
+resource "tencentcloud_sqlserver_full_backup_migration" "example" {
+ instance_id = tencentcloud_sqlserver_general_backup.example.instance_id
+ recovery_type = "FULL"
+ upload_type = "COS_URL"
+ migration_name = "migration_test"
+ backup_files = [data.tencentcloud_sqlserver_backups.example.list.0.internet_url]
+}
+```
+
+## Argument Reference
+
+The following arguments are supported:
+
+* `instance_id` - (Required, String) ID of imported target instance.
+* `migration_name` - (Required, String) Task name.
+* `recovery_type` - (Required, String) Migration task restoration type. FULL: full backup restoration, FULL_LOG: full backup and transaction log restoration, FULL_DIFF: full backup and differential backup restoration.
+* `upload_type` - (Required, String) Backup upload type. COS_URL: the backup is stored in users Cloud Object Storage, with URL provided. COS_UPLOAD: the backup is stored in the applications Cloud Object Storage and needs to be uploaded by the user.
+* `backup_files` - (Optional, List: [`String`]) If the UploadType is COS_URL, fill in the URL here. If the UploadType is COS_UPLOAD, fill in the name of the backup file here. Only 1 backup file is supported, but a backup file can involve multiple databases.
+
+## Attributes Reference
+
+In addition to all arguments above, the following attributes are exported:
+
+* `id` - ID of the resource.
+* `backup_migration_id` - Backup import task ID.
+
+
+## Import
+
+sqlserver full_backup_migration can be imported using the id, e.g.
+
+```
+terraform import tencentcloud_sqlserver_full_backup_migration.example mssql-si2823jyl#mssql-backup-migration-cg0ffgqt
+```
+
diff --git a/config/docs/r/sqlserver_general_backup.html.markdown b/config/docs/r/sqlserver_general_backup.html.markdown
new file mode 100644
index 0000000..50bcb36
--- /dev/null
+++ b/config/docs/r/sqlserver_general_backup.html.markdown
@@ -0,0 +1,98 @@
+---
+subcategory: "SQLServer"
+layout: "tencentcloud"
+page_title: "TencentCloud: tencentcloud_sqlserver_general_backup"
+sidebar_current: "docs-tencentcloud-resource-sqlserver_general_backup"
+description: |-
+ Provides a resource to create a sqlserver general_backup
+---
+
+# tencentcloud_sqlserver_general_backup
+
+Provides a resource to create a sqlserver general_backup
+
+## Example Usage
+
+```hcl
+data "tencentcloud_availability_zones_by_product" "zones" {
+ product = "sqlserver"
+}
+
+resource "tencentcloud_vpc" "vpc" {
+ name = "vpc-example"
+ cidr_block = "10.0.0.0/16"
+}
+
+resource "tencentcloud_subnet" "subnet" {
+ availability_zone = data.tencentcloud_availability_zones_by_product.zones.zones.4.name
+ name = "subnet-example"
+ vpc_id = tencentcloud_vpc.vpc.id
+ cidr_block = "10.0.0.0/16"
+ is_multicast = false
+}
+
+resource "tencentcloud_security_group" "security_group" {
+ name = "sg-example"
+ description = "desc."
+}
+
+resource "tencentcloud_sqlserver_basic_instance" "example" {
+ name = "tf-example"
+ availability_zone = data.tencentcloud_availability_zones_by_product.zones.zones.4.name
+ charge_type = "POSTPAID_BY_HOUR"
+ vpc_id = tencentcloud_vpc.vpc.id
+ subnet_id = tencentcloud_subnet.subnet.id
+ project_id = 0
+ memory = 4
+ storage = 100
+ cpu = 2
+ machine_type = "CLOUD_PREMIUM"
+ maintenance_week_set = [1, 2, 3]
+ maintenance_start_time = "09:00"
+ maintenance_time_span = 3
+ security_groups = [tencentcloud_security_group.security_group.id]
+
+ tags = {
+ "test" = "test"
+ }
+}
+
+resource "tencentcloud_sqlserver_db" "example" {
+ instance_id = tencentcloud_sqlserver_basic_instance.example.id
+ name = "tf_example_db"
+ charset = "Chinese_PRC_BIN"
+ remark = "test-remark"
+}
+
+resource "tencentcloud_sqlserver_general_backup" "example" {
+ instance_id = tencentcloud_sqlserver_db.example.instance_id
+ backup_name = "tf_example_backup"
+ strategy = 0
+}
+```
+
+## Argument Reference
+
+The following arguments are supported:
+
+* `instance_id` - (Required, String) Instance ID in the format of mssql-i1z41iwd.
+* `backup_name` - (Optional, String) Backup name. If this parameter is left empty, a backup name in the format of [Instance ID]_[Backup start timestamp] will be automatically generated.
+* `db_names` - (Optional, Set: [`String`]) List of names of databases to be backed up (required only for multi-database backup).
+* `strategy` - (Optional, Int) Backup policy (0: instance backup, 1: multi-database backup).
+
+## Attributes Reference
+
+In addition to all arguments above, the following attributes are exported:
+
+* `id` - ID of the resource.
+* `flow_id` - flow id.
+
+
+## Import
+
+sqlserver general_backups can be imported using the id, e.g.
+
+```
+terraform import tencentcloud_sqlserver_general_backups.example mssql-qelbzgwf#3512621#5293#2020-07-31 14:28:51#2020-07-31 15:10:27#autoed_instance_58037_20200728011545.bak.tar
+```
+
diff --git a/config/docs/r/sqlserver_general_clone.html.markdown b/config/docs/r/sqlserver_general_clone.html.markdown
new file mode 100644
index 0000000..c51851d
--- /dev/null
+++ b/config/docs/r/sqlserver_general_clone.html.markdown
@@ -0,0 +1,97 @@
+---
+subcategory: "SQLServer"
+layout: "tencentcloud"
+page_title: "TencentCloud: tencentcloud_sqlserver_general_clone"
+sidebar_current: "docs-tencentcloud-resource-sqlserver_general_clone"
+description: |-
+ Provides a resource to create a sqlserver general_communication
+---
+
+# tencentcloud_sqlserver_general_clone
+
+Provides a resource to create a sqlserver general_communication
+
+## Example Usage
+
+```hcl
+data "tencentcloud_availability_zones_by_product" "zones" {
+ product = "sqlserver"
+}
+
+resource "tencentcloud_vpc" "vpc" {
+ name = "vpc-example"
+ cidr_block = "10.0.0.0/16"
+}
+
+resource "tencentcloud_subnet" "subnet" {
+ availability_zone = data.tencentcloud_availability_zones_by_product.zones.zones.4.name
+ name = "subnet-example"
+ vpc_id = tencentcloud_vpc.vpc.id
+ cidr_block = "10.0.0.0/16"
+ is_multicast = false
+}
+
+resource "tencentcloud_security_group" "security_group" {
+ name = "sg-example"
+ description = "desc."
+}
+
+resource "tencentcloud_sqlserver_basic_instance" "example" {
+ name = "tf-example"
+ availability_zone = data.tencentcloud_availability_zones_by_product.zones.zones.4.name
+ charge_type = "POSTPAID_BY_HOUR"
+ vpc_id = tencentcloud_vpc.vpc.id
+ subnet_id = tencentcloud_subnet.subnet.id
+ project_id = 0
+ memory = 4
+ storage = 100
+ cpu = 2
+ machine_type = "CLOUD_PREMIUM"
+ maintenance_week_set = [1, 2, 3]
+ maintenance_start_time = "09:00"
+ maintenance_time_span = 3
+ security_groups = [tencentcloud_security_group.security_group.id]
+
+ tags = {
+ "test" = "test"
+ }
+}
+
+resource "tencentcloud_sqlserver_db" "example" {
+ instance_id = tencentcloud_sqlserver_basic_instance.example.id
+ name = "tf_example_db"
+ charset = "Chinese_PRC_BIN"
+ remark = "test-remark"
+}
+
+resource "tencentcloud_sqlserver_general_clone" "example" {
+ instance_id = tencentcloud_sqlserver_db.example.instance_id
+ old_name = tencentcloud_sqlserver_db.example.name
+ new_name = "tf_example_db_clone"
+}
+```
+
+## Argument Reference
+
+The following arguments are supported:
+
+* `instance_id` - (Required, String, ForceNew) Instance ID.
+* `new_name` - (Required, String) New database name. In offline migration, OldName will be used if NewName is left empty (OldName and NewName cannot be both empty). In database cloning, OldName and NewName must be both specified and cannot have the same value.
+* `old_name` - (Required, String) Database name. If the OldName database does not exist, a failure will be returned. It can be left empty in offline migration tasks.
+
+## Attributes Reference
+
+In addition to all arguments above, the following attributes are exported:
+
+* `id` - ID of the resource.
+
+
+
+## Import
+
+sqlserver general_communication can be imported using the id, e.g.
+
+```
+terraform import tencentcloud_sqlserver_general_clone.example mssql-si2823jyl#tf_example_db#tf_example_db_clone
+```
+
diff --git a/config/docs/r/sqlserver_general_cloud_instance.html.markdown b/config/docs/r/sqlserver_general_cloud_instance.html.markdown
new file mode 100644
index 0000000..f97fc52
--- /dev/null
+++ b/config/docs/r/sqlserver_general_cloud_instance.html.markdown
@@ -0,0 +1,110 @@
+---
+subcategory: "SQLServer"
+layout: "tencentcloud"
+page_title: "TencentCloud: tencentcloud_sqlserver_general_cloud_instance"
+sidebar_current: "docs-tencentcloud-resource-sqlserver_general_cloud_instance"
+description: |-
+ Provides a resource to create a sqlserver general_cloud_instance
+---
+
+# tencentcloud_sqlserver_general_cloud_instance
+
+Provides a resource to create a sqlserver general_cloud_instance
+
+## Example Usage
+
+```hcl
+data "tencentcloud_availability_zones_by_product" "zones" {
+ product = "sqlserver"
+}
+
+resource "tencentcloud_vpc" "vpc" {
+ name = "vpc-example"
+ cidr_block = "10.0.0.0/16"
+}
+
+resource "tencentcloud_subnet" "subnet" {
+ availability_zone = data.tencentcloud_availability_zones_by_product.zones.zones.4.name
+ name = "subnet-example"
+ vpc_id = tencentcloud_vpc.vpc.id
+ cidr_block = "10.0.0.0/16"
+ is_multicast = false
+}
+
+resource "tencentcloud_security_group" "security_group" {
+ name = "sg-example"
+ description = "desc."
+}
+
+resource "tencentcloud_sqlserver_general_cloud_instance" "example" {
+ name = "tf_example"
+ zone = data.tencentcloud_availability_zones_by_product.zones.zones.4.name
+ memory = 4
+ storage = 100
+ cpu = 2
+ machine_type = "CLOUD_HSSD"
+ instance_charge_type = "POSTPAID"
+ project_id = 0
+ subnet_id = tencentcloud_subnet.subnet.id
+ vpc_id = tencentcloud_vpc.vpc.id
+ db_version = "2008R2"
+ security_group_list = [tencentcloud_security_group.security_group.id]
+ weekly = [1, 2, 3, 5, 6, 7]
+ start_time = "00:00"
+ span = 6
+ resource_tags {
+ tag_key = "test"
+ tag_value = "test"
+ }
+ collation = "Chinese_PRC_CI_AS"
+ time_zone = "China Standard Time"
+}
+```
+
+## Argument Reference
+
+The following arguments are supported:
+
+* `cpu` - (Required, Int) Cpu, unit: CORE.
+* `machine_type` - (Required, String) The host disk type of the purchased instance, CLOUD_HSSD-enhanced SSD cloud disk for virtual machines, CLOUD_TSSD-extremely fast SSD cloud disk for virtual machines, CLOUD_BSSD-universal SSD cloud disk for virtual machines.
+* `memory` - (Required, Int) Memory, unit: GB.
+* `name` - (Required, String) Name of the SQL Server instance.
+* `storage` - (Required, Int) instance disk storage, unit: GB.
+* `zone` - (Required, String) Instance AZ, such as ap-guangzhou-1 (Guangzhou Zone 1). Purchasable AZs for an instance can be obtained through the DescribeZones API.
+* `auto_renew_flag` - (Optional, Int) Automatic renewal flag: 0-normal renewal 1-automatic renewal, the default is 1 automatic renewal. Valid only when purchasing a prepaid instance. Valid only when the 'instance_charge_type' parameter value is 'PREPAID'.
+* `collation` - (Optional, String) System character set collation, default: Chinese_PRC_CI_AS.
+* `db_version` - (Optional, String) sqlserver version, currently all supported versions are: 2008R2 (SQL Server 2008 R2 Enterprise), 2012SP3 (SQL Server 2012 Enterprise), 201202 (SQL Server 2012 Standard), 2014SP2 (SQL Server 2014 Enterprise), 201402 (SQL Server 2014 Standard), 2016SP1 (SQL Server 2016 Enterprise), 201602 (SQL Server 2016 Standard), 2017 (SQL Server 2017 Enterprise), 201702 (SQL Server 2017 Standard), 2019 (SQL Server 2019 Enterprise), 201902 (SQL Server 2019 Standard). Each region supports different versions for sale, and the version information that can be sold in each region can be pulled through the DescribeProductConfig interface. If left blank, the default version is 2008R2.
+* `ha_type` - (Optional, String, **Deprecated**) It has been deprecated from version 1.81.2. Upgrade the high-availability architecture of sqlserver, upgrade from mirror disaster recovery to always on cluster disaster recovery, only support 2017 and above and support always on high-availability instances, do not support downgrading to mirror disaster recovery, CLUSTER-upgrade to always on capacity Disaster, if not filled, the high-availability architecture will not be modified.
+* `instance_charge_type` - (Optional, String) Payment mode, the value supports PREPAID (prepaid), POSTPAID (postpaid).
+* `period` - (Optional, Int) Purchase instance period, the default value is 1, which means one month. The value cannot exceed 48. Valid only when the 'instance_charge_type' parameter value is 'PREPAID'.
+* `project_id` - (Optional, Int) project ID.
+* `resource_tags` - (Optional, List) A collection of tags bound to the new instance.
+* `security_group_list` - (Optional, Set: [`String`]) Security group list, fill in the security group ID in the form of sg-xxx.
+* `span` - (Optional, Int) Maintainable time window configuration, duration, unit: hour.
+* `start_time` - (Optional, String) Maintainable time window configuration, daily maintainable start time.
+* `subnet_id` - (Optional, String) VPC subnet ID, in the form of subnet-bdoe83fa; SubnetId and VpcId need to be set at the same time or not set at the same time.
+* `time_zone` - (Optional, String) System time zone, default: China Standard Time.
+* `vpc_id` - (Optional, String) VPC network ID, in the form of vpc-dsp338hz; SubnetId and VpcId need to be set at the same time or not set at the same time.
+* `weekly` - (Optional, Set: [`Int`]) Maintainable time window configuration, in weeks, indicates the days of the week that allow maintenance, 1-7 represent Monday to weekend respectively.
+
+The `resource_tags` object supports the following:
+
+* `tag_key` - (Optional, String) tag key.
+* `tag_value` - (Optional, String) tag value.
+
+## Attributes Reference
+
+In addition to all arguments above, the following attributes are exported:
+
+* `id` - ID of the resource.
+
+
+
+## Import
+
+sqlserver general_cloud_instance can be imported using the id, e.g.
+
+```
+terraform import tencentcloud_sqlserver_general_cloud_instance.example mssql-i9ma6oy7
+```
+
diff --git a/config/docs/r/sqlserver_general_cloud_ro_instance.html.markdown b/config/docs/r/sqlserver_general_cloud_ro_instance.html.markdown
new file mode 100644
index 0000000..a504c60
--- /dev/null
+++ b/config/docs/r/sqlserver_general_cloud_ro_instance.html.markdown
@@ -0,0 +1,171 @@
+---
+subcategory: "SQLServer"
+layout: "tencentcloud"
+page_title: "TencentCloud: tencentcloud_sqlserver_general_cloud_ro_instance"
+sidebar_current: "docs-tencentcloud-resource-sqlserver_general_cloud_ro_instance"
+description: |-
+ Provides a resource to create a sqlserver general_cloud_ro_instance
+---
+
+# tencentcloud_sqlserver_general_cloud_ro_instance
+
+Provides a resource to create a sqlserver general_cloud_ro_instance
+
+## Example Usage
+
+### If read_only_group_type value is 1 - Ship according to one instance and one read-only group:
+
+```hcl
+data "tencentcloud_availability_zones_by_product" "zones" {
+ product = "sqlserver"
+}
+
+resource "tencentcloud_vpc" "vpc" {
+ name = "vpc-example"
+ cidr_block = "10.0.0.0/16"
+}
+
+resource "tencentcloud_subnet" "subnet" {
+ availability_zone = data.tencentcloud_availability_zones_by_product.zones.zones.4.name
+ name = "subnet-example"
+ vpc_id = tencentcloud_vpc.vpc.id
+ cidr_block = "10.0.0.0/16"
+ is_multicast = false
+}
+
+resource "tencentcloud_security_group" "security_group" {
+ name = "sg-example"
+ description = "desc."
+}
+
+resource "tencentcloud_sqlserver_general_cloud_instance" "example" {
+ name = "tf_example"
+ zone = data.tencentcloud_availability_zones_by_product.zones.zones.4.name
+ memory = 4
+ storage = 100
+ cpu = 2
+ machine_type = "CLOUD_HSSD"
+ instance_charge_type = "POSTPAID"
+ project_id = 0
+ subnet_id = tencentcloud_subnet.subnet.id
+ vpc_id = tencentcloud_vpc.vpc.id
+ db_version = "2008R2"
+ security_group_list = [tencentcloud_security_group.security_group.id]
+ weekly = [1, 2, 3, 5, 6, 7]
+ start_time = "00:00"
+ span = 6
+ resource_tags {
+ tag_key = "test"
+ tag_value = "test"
+ }
+ collation = "Chinese_PRC_CI_AS"
+ time_zone = "China Standard Time"
+}
+
+resource "tencentcloud_sqlserver_general_cloud_ro_instance" "example" {
+ instance_id = tencentcloud_sqlserver_general_cloud_instance.example.id
+ zone = data.tencentcloud_availability_zones_by_product.zones.zones.4.name
+ read_only_group_type = 1
+ memory = 4
+ storage = 100
+ cpu = 2
+ machine_type = "CLOUD_BSSD"
+ instance_charge_type = "POSTPAID"
+ subnet_id = tencentcloud_subnet.subnet.id
+ vpc_id = tencentcloud_vpc.vpc.id
+ security_group_list = [tencentcloud_security_group.security_group.id]
+ collation = "Chinese_PRC_CI_AS"
+ time_zone = "China Standard Time"
+ resource_tags = {
+ test-key1 = "test-value1"
+ test-key2 = "test-value2"
+ }
+}
+```
+
+### If read_only_group_type value is 2 - Ship after creating a read-only group, all instances are under this read-only group:
+
+```hcl
+resource "tencentcloud_sqlserver_general_cloud_ro_instance" "example" {
+ instance_id = tencentcloud_sqlserver_general_cloud_instance.example.id
+ zone = data.tencentcloud_availability_zones_by_product.zones.zones.4.name
+ read_only_group_type = 2
+ read_only_group_name = "test-ro-group"
+ read_only_group_is_offline_delay = 1
+ read_only_group_max_delay_time = 10
+ read_only_group_min_in_group = 1
+ memory = 4
+ storage = 100
+ cpu = 2
+ machine_type = "CLOUD_BSSD"
+ instance_charge_type = "POSTPAID"
+ subnet_id = tencentcloud_subnet.subnet.id
+ vpc_id = tencentcloud_vpc.vpc.id
+ security_group_list = [tencentcloud_security_group.security_group.id]
+ collation = "Chinese_PRC_CI_AS"
+ time_zone = "China Standard Time"
+ resource_tags = {
+ test-key1 = "test-value1"
+ test-key2 = "test-value2"
+ }
+}
+```
+
+### If read_only_group_type value is 3 - All instances shipped are in the existing Some read-only groups below:
+
+```hcl
+resource "tencentcloud_sqlserver_general_cloud_ro_instance" "example" {
+ instance_id = tencentcloud_sqlserver_general_cloud_instance.example.id
+ zone = data.tencentcloud_availability_zones_by_product.zones.zones.4.name
+ read_only_group_type = 3
+ memory = 4
+ storage = 100
+ cpu = 2
+ machine_type = "CLOUD_BSSD"
+ read_only_group_id = "mssqlrg-clboghrj"
+ instance_charge_type = "POSTPAID"
+ subnet_id = tencentcloud_subnet.subnet.id
+ vpc_id = tencentcloud_vpc.vpc.id
+ security_group_list = [tencentcloud_security_group.security_group.id]
+ collation = "Chinese_PRC_CI_AS"
+ time_zone = "China Standard Time"
+ resource_tags = {
+ test-key1 = "test-value1"
+ test-key2 = "test-value2"
+ }
+}
+```
+
+## Argument Reference
+
+The following arguments are supported:
+
+* `cpu` - (Required, Int) Number of instance cores.
+* `instance_id` - (Required, String) Primary instance ID, in the format: mssql-3l3fgqn7.
+* `machine_type` - (Required, String) The host disk type of the purchased instance, CLOUD_HSSD-enhanced SSD cloud disk for virtual machines, CLOUD_TSSD-extremely fast SSD cloud disk for virtual machines, CLOUD_BSSD-universal SSD cloud disk for virtual machines.
+* `memory` - (Required, Int) Instance memory size, in GB.
+* `read_only_group_type` - (Required, Int) Read-only group type option, 1- Ship according to one instance and one read-only group, 2 - Ship after creating a read-only group, all instances are under this read-only group, 3 - All instances shipped are in the existing Some read-only groups below.
+* `storage` - (Required, Int) Instance disk size, in GB.
+* `zone` - (Required, String) Instance Availability Zone, similar to ap-guangzhou-1 (Guangzhou District 1); the instance sales area can be obtained through the interface DescribeZones.
+* `collation` - (Optional, String) System character set collation, default: Chinese_PRC_CI_AS.
+* `instance_charge_type` - (Optional, String) Payment mode, the value supports PREPAID (prepaid), POSTPAID (postpaid).
+* `period` - (Optional, Int) Purchase instance period, the default value is 1, which means one month. The value cannot exceed 48.
+* `read_only_group_id` - (Optional, String) Required when ReadOnlyGroupType=3, existing read-only group ID.
+* `read_only_group_is_offline_delay` - (Optional, Int) Required when ReadOnlyGroupType=2, whether to enable the delayed elimination function for the newly created read-only group, 1-on, 0-off. When the delay between the read-only replica and the primary instance is greater than the threshold, it will be automatically removed.
+* `read_only_group_max_delay_time` - (Optional, Int) Mandatory when ReadOnlyGroupType=2 and ReadOnlyGroupIsOfflineDelay=1, the threshold for delay culling of newly created read-only groups.
+* `read_only_group_min_in_group` - (Optional, Int) Required when ReadOnlyGroupType=2 and ReadOnlyGroupIsOfflineDelay=1, the newly created read-only group retains at least the number of read-only replicas after delay elimination.
+* `read_only_group_name` - (Optional, String) Required when ReadOnlyGroupType=2, the name of the newly created read-only group.
+* `resource_tags` - (Optional, Map) Tag description list.
+* `security_group_list` - (Optional, Set: [`String`]) Security group list, fill in the security group ID in the form of sg-xxx.
+* `subnet_id` - (Optional, String) VPC subnet ID, in the form of subnet-bdoe83fa; SubnetId and VpcId need to be set at the same time or not set at the same time.
+* `time_zone` - (Optional, String) System time zone, default: China Standard Time.
+* `vpc_id` - (Optional, String) VPC network ID, in the form of vpc-dsp338hz; SubnetId and VpcId need to be set at the same time or not set at the same time.
+
+## Attributes Reference
+
+In addition to all arguments above, the following attributes are exported:
+
+* `id` - ID of the resource.
+* `ro_instance_id` - Primary read only instance ID, in the format: mssqlro-lbljc5qd.
+
+
diff --git a/config/docs/r/sqlserver_general_communication.html.markdown b/config/docs/r/sqlserver_general_communication.html.markdown
new file mode 100644
index 0000000..3be7f4b
--- /dev/null
+++ b/config/docs/r/sqlserver_general_communication.html.markdown
@@ -0,0 +1,86 @@
+---
+subcategory: "SQLServer"
+layout: "tencentcloud"
+page_title: "TencentCloud: tencentcloud_sqlserver_general_communication"
+sidebar_current: "docs-tencentcloud-resource-sqlserver_general_communication"
+description: |-
+ Provides a resource to create a sqlserver general_communication
+---
+
+# tencentcloud_sqlserver_general_communication
+
+Provides a resource to create a sqlserver general_communication
+
+## Example Usage
+
+```hcl
+data "tencentcloud_availability_zones_by_product" "zones" {
+ product = "sqlserver"
+}
+
+resource "tencentcloud_vpc" "vpc" {
+ name = "vpc-example"
+ cidr_block = "10.0.0.0/16"
+}
+
+resource "tencentcloud_subnet" "subnet" {
+ availability_zone = data.tencentcloud_availability_zones_by_product.zones.zones.4.name
+ name = "subnet-example"
+ vpc_id = tencentcloud_vpc.vpc.id
+ cidr_block = "10.0.0.0/16"
+ is_multicast = false
+}
+
+resource "tencentcloud_security_group" "security_group" {
+ name = "sg-example"
+ description = "desc."
+}
+
+resource "tencentcloud_sqlserver_basic_instance" "example" {
+ name = "tf-example"
+ availability_zone = data.tencentcloud_availability_zones_by_product.zones.zones.4.name
+ charge_type = "POSTPAID_BY_HOUR"
+ vpc_id = tencentcloud_vpc.vpc.id
+ subnet_id = tencentcloud_subnet.subnet.id
+ project_id = 0
+ memory = 4
+ storage = 100
+ cpu = 2
+ machine_type = "CLOUD_PREMIUM"
+ maintenance_week_set = [1, 2, 3]
+ maintenance_start_time = "09:00"
+ maintenance_time_span = 3
+ security_groups = [tencentcloud_security_group.security_group.id]
+
+ tags = {
+ "test" = "test"
+ }
+}
+
+resource "tencentcloud_sqlserver_general_communication" "example" {
+ instance_id = tencentcloud_sqlserver_basic_instance.example.id
+}
+```
+
+## Argument Reference
+
+The following arguments are supported:
+
+* `instance_id` - (Required, String, ForceNew) ID of instances.
+
+## Attributes Reference
+
+In addition to all arguments above, the following attributes are exported:
+
+* `id` - ID of the resource.
+
+
+
+## Import
+
+sqlserver general_communication can be imported using the id, e.g.
+
+```
+terraform import tencentcloud_sqlserver_general_communication.example mssql-hlh6yka1
+```
+
diff --git a/config/docs/r/sqlserver_incre_backup_migration.html.markdown b/config/docs/r/sqlserver_incre_backup_migration.html.markdown
new file mode 100644
index 0000000..8987674
--- /dev/null
+++ b/config/docs/r/sqlserver_incre_backup_migration.html.markdown
@@ -0,0 +1,49 @@
+---
+subcategory: "SQLServer"
+layout: "tencentcloud"
+page_title: "TencentCloud: tencentcloud_sqlserver_incre_backup_migration"
+sidebar_current: "docs-tencentcloud-resource-sqlserver_incre_backup_migration"
+description: |-
+ Provides a resource to create a sqlserver incre_backup_migration
+---
+
+# tencentcloud_sqlserver_incre_backup_migration
+
+Provides a resource to create a sqlserver incre_backup_migration
+
+## Example Usage
+
+```hcl
+resource "tencentcloud_sqlserver_incre_backup_migration" "example" {
+ instance_id = "mssql-4gmc5805"
+ backup_migration_id = "mssql-backup-migration-9tj0sxnz"
+ backup_files = []
+ is_recovery = "YES"
+}
+```
+
+## Argument Reference
+
+The following arguments are supported:
+
+* `backup_migration_id` - (Required, String) Backup import task ID, which is returned through the API CreateBackupMigration.
+* `instance_id` - (Required, String) ID of imported target instance.
+* `backup_files` - (Optional, List: [`String`]) Incremental backup file. If the UploadType of a full backup file is COS_URL, fill in URL here. If the UploadType is COS_UPLOAD, fill in the name of the backup file here. Only 1 backup file is supported, but a backup file can involve multiple databases.
+* `is_recovery` - (Optional, String) Whether restoration is required. No: not required. Yes: required. Not required by default.
+
+## Attributes Reference
+
+In addition to all arguments above, the following attributes are exported:
+
+* `id` - ID of the resource.
+* `incremental_migration_id` - Incremental import task ID.
+
+
+## Import
+
+sqlserver incre_backup_migration can be imported using the id, e.g.
+
+```
+terraform import tencentcloud_sqlserver_incre_backup_migration.incre_backup_migration incre_backup_migration_id
+```
+
diff --git a/config/docs/r/sqlserver_instance.html.markdown b/config/docs/r/sqlserver_instance.html.markdown
new file mode 100644
index 0000000..e7aef63
--- /dev/null
+++ b/config/docs/r/sqlserver_instance.html.markdown
@@ -0,0 +1,91 @@
+---
+subcategory: "SQLServer"
+layout: "tencentcloud"
+page_title: "TencentCloud: tencentcloud_sqlserver_instance"
+sidebar_current: "docs-tencentcloud-resource-sqlserver_instance"
+description: |-
+ Use this resource to create SQL Server instance
+---
+
+# tencentcloud_sqlserver_instance
+
+Use this resource to create SQL Server instance
+
+## Example Usage
+
+```hcl
+data "tencentcloud_availability_zones_by_product" "zones" {
+ product = "sqlserver"
+}
+
+resource "tencentcloud_vpc" "vpc" {
+ name = "vpc-example"
+ cidr_block = "10.0.0.0/16"
+}
+
+resource "tencentcloud_subnet" "subnet" {
+ availability_zone = data.tencentcloud_availability_zones_by_product.zones.zones.4.name
+ name = "subnet-example"
+ vpc_id = tencentcloud_vpc.vpc.id
+ cidr_block = "10.0.0.0/16"
+ is_multicast = false
+}
+
+resource "tencentcloud_sqlserver_instance" "example" {
+ name = "tf-example"
+ availability_zone = data.tencentcloud_availability_zones_by_product.zones.zones.4.name
+ charge_type = "POSTPAID_BY_HOUR"
+ vpc_id = tencentcloud_vpc.vpc.id
+ subnet_id = tencentcloud_subnet.subnet.id
+ project_id = 0
+ memory = 16
+ storage = 100
+}
+```
+
+## Argument Reference
+
+The following arguments are supported:
+
+* `memory` - (Required, Int) Memory size (in GB). Allowed value must be larger than `memory` that data source `tencentcloud_sqlserver_specinfos` provides.
+* `name` - (Required, String) Name of the SQL Server instance.
+* `storage` - (Required, Int) Disk size (in GB). Allowed value must be a multiple of 10. The storage must be set with the limit of `storage_min` and `storage_max` which data source `tencentcloud_sqlserver_specinfos` provides.
+* `auto_renew` - (Optional, Int) Automatic renewal sign. 0 for normal renewal, 1 for automatic renewal (Default). Only valid when purchasing a prepaid instance.
+* `auto_voucher` - (Optional, Int) Whether to use the voucher automatically; 1 for yes, 0 for no, the default is 0.
+* `availability_zone` - (Optional, String, ForceNew) Availability zone.
+* `charge_type` - (Optional, String, ForceNew) Pay type of the SQL Server instance. Available values `PREPAID`, `POSTPAID_BY_HOUR`.
+* `engine_version` - (Optional, String, ForceNew) Version of the SQL Server database engine. Allowed values are `2008R2`(SQL Server 2008 Enterprise), `2012SP3`(SQL Server 2012 Enterprise), `2016SP1` (SQL Server 2016 Enterprise), `201602`(SQL Server 2016 Standard) and `2017`(SQL Server 2017 Enterprise). Default is `2008R2`.
+* `ha_type` - (Optional, String, ForceNew) Instance type. `DUAL` (dual-server high availability), `CLUSTER` (cluster). Default is `DUAL`.
+* `maintenance_start_time` - (Optional, String) Start time of the maintenance in one day, format like `HH:mm`.
+* `maintenance_time_span` - (Optional, Int) The timespan of maintenance in one day, unit is hour.
+* `maintenance_week_set` - (Optional, Set: [`Int`]) A list of integer indicates weekly maintenance. For example, [2,7] presents do weekly maintenance on every Tuesday and Sunday.
+* `multi_zones` - (Optional, Bool, ForceNew) Indicate whether to deploy across availability zones.
+* `period` - (Optional, Int) Purchase instance period in month. The value does not exceed 48.
+* `project_id` - (Optional, Int) Project ID, default value is 0.
+* `security_groups` - (Optional, Set: [`String`]) Security group bound to the instance.
+* `subnet_id` - (Optional, String) ID of subnet.
+* `tags` - (Optional, Map) The tags of the SQL Server.
+* `voucher_ids` - (Optional, Set: [`String`]) An array of voucher IDs, currently only one can be used for a single order.
+* `vpc_id` - (Optional, String) ID of VPC.
+* `wait_switch` - (Optional, Int, **Deprecated**) It has been deprecated from version 1.81.2. The way to execute the allocation. Supported values include: 0 - execute immediately, 1 - execute in maintenance window.
+
+## Attributes Reference
+
+In addition to all arguments above, the following attributes are exported:
+
+* `id` - ID of the resource.
+* `create_time` - Create time of the SQL Server instance.
+* `ro_flag` - Readonly flag. `RO` (read-only instance), `MASTER` (primary instance with read-only instances). If it is left empty, it refers to an instance which is not read-only and has no RO group.
+* `status` - Status of the SQL Server instance. 1 for applying, 2 for running, 3 for running with limit, 4 for isolated, 5 for recycling, 6 for recycled, 7 for running with task, 8 for off-line, 9 for expanding, 10 for migrating, 11 for readonly, 12 for rebooting.
+* `vip` - IP for private access.
+* `vport` - Port for private access.
+
+
+## Import
+
+SQL Server instance can be imported using the id, e.g.
+
+```
+$ terraform import tencentcloud_sqlserver_instance.example mssql-3cdq7kx5
+```
+
diff --git a/config/docs/r/sqlserver_instance_tde.html.markdown b/config/docs/r/sqlserver_instance_tde.html.markdown
new file mode 100644
index 0000000..fc5204a
--- /dev/null
+++ b/config/docs/r/sqlserver_instance_tde.html.markdown
@@ -0,0 +1,89 @@
+---
+subcategory: "SQLServer"
+layout: "tencentcloud"
+page_title: "TencentCloud: tencentcloud_sqlserver_instance_tde"
+sidebar_current: "docs-tencentcloud-resource-sqlserver_instance_tde"
+description: |-
+ Provides a resource to create a sqlserver instance_tde
+---
+
+# tencentcloud_sqlserver_instance_tde
+
+Provides a resource to create a sqlserver instance_tde
+
+## Example Usage
+
+```hcl
+data "tencentcloud_availability_zones_by_product" "zones" {
+ product = "sqlserver"
+}
+
+resource "tencentcloud_vpc" "vpc" {
+ name = "vpc-example"
+ cidr_block = "10.0.0.0/16"
+}
+
+resource "tencentcloud_subnet" "subnet" {
+ availability_zone = data.tencentcloud_availability_zones_by_product.zones.zones.4.name
+ name = "subnet-example"
+ vpc_id = tencentcloud_vpc.vpc.id
+ cidr_block = "10.0.0.0/16"
+ is_multicast = false
+}
+
+resource "tencentcloud_security_group" "security_group" {
+ name = "sg-example"
+ description = "desc."
+}
+
+resource "tencentcloud_sqlserver_basic_instance" "example" {
+ name = "tf-example"
+ availability_zone = data.tencentcloud_availability_zones_by_product.zones.zones.4.name
+ charge_type = "POSTPAID_BY_HOUR"
+ vpc_id = tencentcloud_vpc.vpc.id
+ subnet_id = tencentcloud_subnet.subnet.id
+ project_id = 0
+ memory = 4
+ storage = 100
+ cpu = 2
+ machine_type = "CLOUD_PREMIUM"
+ maintenance_week_set = [1, 2, 3]
+ maintenance_start_time = "09:00"
+ maintenance_time_span = 3
+ security_groups = [tencentcloud_security_group.security_group.id]
+
+ tags = {
+ "test" = "test"
+ }
+}
+
+resource "tencentcloud_sqlserver_instance_tde" "example" {
+ instance_id = tencentcloud_sqlserver_basic_instance.example.id
+ certificate_attribution = "self"
+}
+```
+
+## Argument Reference
+
+The following arguments are supported:
+
+* `certificate_attribution` - (Required, String) Certificate attribution. self- means to use the account's own certificate, others- means to refer to the certificate of other accounts, and the default is self.
+* `instance_id` - (Required, String) Instance ID.
+* `quote_uin` - (Optional, String) Other referenced main account IDs, required when CertificateAttribute is others.
+
+## Attributes Reference
+
+In addition to all arguments above, the following attributes are exported:
+
+* `id` - ID of the resource.
+
+
+
+## Import
+
+sqlserver instance_tde can be imported using the id, e.g.
+
+```
+terraform import tencentcloud_sqlserver_instance_tde.example mssql-farjz9tz
+```
+
diff --git a/config/docs/r/sqlserver_migration.html.markdown b/config/docs/r/sqlserver_migration.html.markdown
new file mode 100644
index 0000000..02e48d2
--- /dev/null
+++ b/config/docs/r/sqlserver_migration.html.markdown
@@ -0,0 +1,199 @@
+---
+subcategory: "SQLServer"
+layout: "tencentcloud"
+page_title: "TencentCloud: tencentcloud_sqlserver_migration"
+sidebar_current: "docs-tencentcloud-resource-sqlserver_migration"
+description: |-
+ Provides a resource to create a sqlserver migration
+---
+
+# tencentcloud_sqlserver_migration
+
+Provides a resource to create a sqlserver migration
+
+## Example Usage
+
+```hcl
+data "tencentcloud_availability_zones_by_product" "zones" {
+ product = "sqlserver"
+}
+
+resource "tencentcloud_vpc" "vpc" {
+ name = "vpc-example"
+ cidr_block = "10.0.0.0/16"
+}
+
+resource "tencentcloud_subnet" "subnet" {
+ availability_zone = data.tencentcloud_availability_zones_by_product.zones.zones.4.name
+ name = "subnet-example"
+ vpc_id = tencentcloud_vpc.vpc.id
+ cidr_block = "10.0.0.0/16"
+ is_multicast = false
+}
+
+resource "tencentcloud_security_group" "security_group" {
+ name = "sg-example"
+ description = "desc."
+}
+
+resource "tencentcloud_sqlserver_basic_instance" "src_example" {
+ name = "tf-example"
+ availability_zone = data.tencentcloud_availability_zones_by_product.zones.zones.4.name
+ charge_type = "POSTPAID_BY_HOUR"
+ vpc_id = tencentcloud_vpc.vpc.id
+ subnet_id = tencentcloud_subnet.subnet.id
+ project_id = 0
+ memory = 4
+ storage = 100
+ cpu = 2
+ machine_type = "CLOUD_PREMIUM"
+ maintenance_week_set = [1, 2, 3]
+ maintenance_start_time = "09:00"
+ maintenance_time_span = 3
+ security_groups = [tencentcloud_security_group.security_group.id]
+
+ tags = {
+ "test" = "test"
+ }
+}
+
+resource "tencentcloud_sqlserver_basic_instance" "dst_example" {
+ name = "tf-example"
+ availability_zone = data.tencentcloud_availability_zones_by_product.zones.zones.4.name
+ charge_type = "POSTPAID_BY_HOUR"
+ vpc_id = tencentcloud_vpc.vpc.id
+ subnet_id = tencentcloud_subnet.subnet.id
+ project_id = 0
+ memory = 4
+ storage = 100
+ cpu = 2
+ machine_type = "CLOUD_PREMIUM"
+ maintenance_week_set = [1, 2, 3]
+ maintenance_start_time = "09:00"
+ maintenance_time_span = 3
+ security_groups = [tencentcloud_security_group.security_group.id]
+
+ tags = {
+ "test" = "test"
+ }
+}
+
+resource "tencentcloud_sqlserver_db" "src" {
+ instance_id = tencentcloud_sqlserver_basic_instance.src_example.id
+ name = "tf_example_db_src"
+ charset = "Chinese_PRC_BIN"
+ remark = "testACC-remark"
+}
+
+resource "tencentcloud_sqlserver_db" "dst" {
+ instance_id = tencentcloud_sqlserver_basic_instance.dst_example.id
+ name = "tf_example_db_dst"
+ charset = "Chinese_PRC_BIN"
+ remark = "testACC-remark"
+}
+
+resource "tencentcloud_sqlserver_account" "src" {
+ instance_id = tencentcloud_sqlserver_basic_instance.src_example.id
+ name = "tf_example_src_account"
+ password = "Qwer@234"
+ is_admin = true
+}
+
+resource "tencentcloud_sqlserver_account" "dst" {
+ instance_id = tencentcloud_sqlserver_basic_instance.dst_example.id
+ name = "tf_example_dst_account"
+ password = "Qwer@234"
+ is_admin = true
+}
+
+resource "tencentcloud_sqlserver_account_db_attachment" "src" {
+ instance_id = tencentcloud_sqlserver_basic_instance.src_example.id
+ account_name = tencentcloud_sqlserver_account.src.name
+ db_name = tencentcloud_sqlserver_db.src.name
+ privilege = "ReadWrite"
+}
+
+resource "tencentcloud_sqlserver_account_db_attachment" "dst" {
+ instance_id = tencentcloud_sqlserver_basic_instance.dst_example.id
+ account_name = tencentcloud_sqlserver_account.dst.name
+ db_name = tencentcloud_sqlserver_db.dst.name
+ privilege = "ReadWrite"
+}
+
+resource "tencentcloud_sqlserver_migration" "migration" {
+ migrate_name = "tf_test_migration"
+ migrate_type = 1
+ source_type = 1
+ source {
+ instance_id = tencentcloud_sqlserver_basic_instance.src_example.id
+ user_name = tencentcloud_sqlserver_account.src.name
+ password = tencentcloud_sqlserver_account.src.password
+ }
+ target {
+ instance_id = tencentcloud_sqlserver_basic_instance.dst_example.id
+ user_name = tencentcloud_sqlserver_account.dst.name
+ password = tencentcloud_sqlserver_account.dst.password
+ }
+
+ migrate_db_set {
+ db_name = tencentcloud_sqlserver_db.src.name
+ }
+}
+```
+
+## Argument Reference
+
+The following arguments are supported:
+
+* `migrate_name` - (Required, String) Name of the migration task.
+* `migrate_type` - (Required, Int) Migration type (1 structure migration 2 data migration 3 incremental synchronization).
+* `source_type` - (Required, Int) Type of migration source 1 TencentDB for SQLServer 2 Cloud server self-built SQLServer database 4 SQLServer backup and restore 5 SQLServer backup and restore (COS mode).
+* `source` - (Required, List) Migration source.
+* `target` - (Required, List) Migration target.
+* `migrate_db_set` - (Optional, List) Migrate DB objects. Offline migration is not used (SourceType=4 or SourceType=5).
+* `rename_restore` - (Optional, List) Restore and rename the database in ReNameRestoreDatabase. If it is not filled in, the restored database will be named by default and all databases will be restored. Valid if SourceType=5.
+
+The `migrate_db_set` object supports the following:
+
+* `db_name` - (Optional, String) Name of the migration database.
+
+The `rename_restore` object supports the following:
+
+* `new_name` - (Optional, String) When the new name of the library is used for offline migration, if it is not filled in, it will be named according to OldName. OldName and NewName cannot be filled in at the same time. OldName and NewName must be filled in and cannot be duplicate when used for cloning database.
+* `old_name` - (Optional, String) The name of the library. If oldName does not exist, a failure is returned.It can be left blank when used for offline migration tasks.
+
+The `source` object supports the following:
+
+* `cvm_id` - (Optional, String) ID of the migration source Cvm, used when MigrateType=2 (cloud server self-built SQL Server database).
+* `instance_id` - (Optional, String) The ID of the migration source instance, which is used when MigrateType=1 (TencentDB for SQLServers). The format is mssql-si2823jyl.
+* `ip` - (Optional, String) Migrate the intranet IP of the self-built database of the source Cvm, and use it when MigrateType=2 (self-built SQL Server database of the cloud server).
+* `password` - (Optional, String) Password, MigrateType=1 or MigrateType=2.
+* `port` - (Optional, Int) The port number of the self-built database of the migration source Cvm, which is used when MigrateType=2 (self-built SQL Server database of the cloud server).
+* `subnet_id` - (Optional, String) The subnet ID under the Vpc of the source Cvm is used when MigrateType=2 (ECS self-built SQL Server database). The format is as follows subnet-h9extioi.
+* `url_password` - (Optional, String) The source backup password for offline migration, MigrateType=4 or MigrateType=5.
+* `url` - (Optional, Set) The source backup address for offline migration. MigrateType=4 or MigrateType=5.
+* `user_name` - (Optional, String) User name, MigrateType=1 or MigrateType=2.
+* `vpc_id` - (Optional, String) The Vpc network ID of the migration source Cvm is used when MigrateType=2 (cloud server self-built SQL Server database). The format is as follows vpc-6ys9ont9.
+
+The `target` object supports the following:
+
+* `instance_id` - (Optional, String) The ID of the migration target instance, in the format mssql-si2823jyl.
+* `password` - (Optional, String) Password of the migration target instance.
+* `user_name` - (Optional, String) User name of the migration target instance.
+
+## Attributes Reference
+
+In addition to all arguments above, the following attributes are exported:
+
+* `id` - ID of the resource.
+
+
+
+## Import
+
+sqlserver migration can be imported using the id, e.g.
+
+```
+terraform import tencentcloud_sqlserver_migration.migration migration_id
+```
+
diff --git a/config/docs/r/sqlserver_publish_subscribe.html.markdown b/config/docs/r/sqlserver_publish_subscribe.html.markdown
new file mode 100644
index 0000000..4443a3d
--- /dev/null
+++ b/config/docs/r/sqlserver_publish_subscribe.html.markdown
@@ -0,0 +1,143 @@
+---
+subcategory: "SQLServer"
+layout: "tencentcloud"
+page_title: "TencentCloud: tencentcloud_sqlserver_publish_subscribe"
+sidebar_current: "docs-tencentcloud-resource-sqlserver_publish_subscribe"
+description: |-
+ Provides a SQL Server PublishSubscribe resource belongs to SQL Server instance.
+---
+
+# tencentcloud_sqlserver_publish_subscribe
+
+Provides a SQL Server PublishSubscribe resource belongs to SQL Server instance.
+
+## Example Usage
+
+```hcl
+data "tencentcloud_availability_zones_by_product" "zones" {
+ product = "sqlserver"
+}
+
+resource "tencentcloud_vpc" "vpc" {
+ name = "vpc-example"
+ cidr_block = "10.0.0.0/16"
+}
+
+resource "tencentcloud_subnet" "subnet" {
+ availability_zone = data.tencentcloud_availability_zones_by_product.zones.zones.4.name
+ name = "subnet-example"
+ vpc_id = tencentcloud_vpc.vpc.id
+ cidr_block = "10.0.0.0/16"
+ is_multicast = false
+}
+
+resource "tencentcloud_security_group" "security_group" {
+ name = "sg-example"
+ description = "desc."
+}
+
+resource "tencentcloud_sqlserver_general_cloud_instance" "example_pub" {
+ name = "tf-example-pub"
+ zone = data.tencentcloud_availability_zones_by_product.zones.zones.4.name
+ memory = 4
+ storage = 100
+ cpu = 2
+ machine_type = "CLOUD_HSSD"
+ instance_charge_type = "POSTPAID"
+ project_id = 0
+ subnet_id = tencentcloud_subnet.subnet.id
+ vpc_id = tencentcloud_vpc.vpc.id
+ db_version = "2008R2"
+ security_group_list = [tencentcloud_security_group.security_group.id]
+ weekly = [1, 2, 3, 5, 6, 7]
+ start_time = "00:00"
+ span = 6
+ resource_tags {
+ tag_key = "test"
+ tag_value = "test"
+ }
+ collation = "Chinese_PRC_CI_AS"
+ time_zone = "China Standard Time"
+}
+
+resource "tencentcloud_sqlserver_general_cloud_instance" "example_sub" {
+ name = "tf-example-sub"
+ zone = data.tencentcloud_availability_zones_by_product.zones.zones.4.name
+ memory = 4
+ storage = 100
+ cpu = 2
+ machine_type = "CLOUD_HSSD"
+ instance_charge_type = "POSTPAID"
+ project_id = 0
+ subnet_id = tencentcloud_subnet.subnet.id
+ vpc_id = tencentcloud_vpc.vpc.id
+ db_version = "2008R2"
+ security_group_list = [tencentcloud_security_group.security_group.id]
+ weekly = [1, 2, 3, 5, 6, 7]
+ start_time = "00:00"
+ span = 6
+ resource_tags {
+ tag_key = "test"
+ tag_value = "test"
+ }
+ collation = "Chinese_PRC_CI_AS"
+ time_zone = "China Standard Time"
+}
+
+resource "tencentcloud_sqlserver_db" "example_pub" {
+ instance_id = tencentcloud_sqlserver_general_cloud_instance.example_pub.id
+ name = "tf_example_db_pub"
+ charset = "Chinese_PRC_BIN"
+ remark = "test-remark"
+}
+
+resource "tencentcloud_sqlserver_db" "example_sub" {
+ instance_id = tencentcloud_sqlserver_general_cloud_instance.example_sub.id
+ name = "tf_example_db_sub"
+ charset = "Chinese_PRC_BIN"
+ remark = "test-remark"
+}
+
+resource "tencentcloud_sqlserver_publish_subscribe" "example" {
+ publish_instance_id = tencentcloud_sqlserver_general_cloud_instance.example_pub.id
+ subscribe_instance_id = tencentcloud_sqlserver_general_cloud_instance.example_sub.id
+ publish_subscribe_name = "example"
+ delete_subscribe_db = false
+ database_tuples {
+ publish_database = tencentcloud_sqlserver_db.example_pub.name
+ subscribe_database = tencentcloud_sqlserver_db.example_sub.name
+ }
+}
+```
+
+## Argument Reference
+
+The following arguments are supported:
+
+* `database_tuples` - (Required, Set) Database Publish and Publish relationship list. The elements inside can be deleted and added individually, but modification is not allowed.
+* `publish_instance_id` - (Required, String, ForceNew) ID of the SQL Server instance which publish.
+* `subscribe_instance_id` - (Required, String, ForceNew) ID of the SQL Server instance which subscribe.
+* `delete_subscribe_db` - (Optional, Bool) Whether to delete the subscriber database when deleting the Publish and Subscribe. `true` for deletes the subscribe database, `false` for does not delete the subscribe database. default is `false`.
+* `publish_subscribe_name` - (Optional, String) The name of the Publish and Subscribe. Default is `default_name`.
+
+The `database_tuples` object supports the following:
+
+* `publish_database` - (Required, String) Publish the database.
+* `subscribe_database` - (Required, String) Subscribe the database.
+
+## Attributes Reference
+
+In addition to all arguments above, the following attributes are exported:
+
+* `id` - ID of the resource.
+
+
+
+## Import
+
+SQL Server PublishSubscribe can be imported using the publish_sqlserver_id#subscribe_sqlserver_id, e.g.
+
+```
+$ terraform import tencentcloud_sqlserver_publish_subscribe.example publish_sqlserver_id#subscribe_sqlserver_id
+```
+
diff --git a/config/docs/r/sqlserver_readonly_instance.html.markdown b/config/docs/r/sqlserver_readonly_instance.html.markdown
new file mode 100644
index 0000000..111dd5e
--- /dev/null
+++ b/config/docs/r/sqlserver_readonly_instance.html.markdown
@@ -0,0 +1,122 @@
+---
+subcategory: "SQLServer"
+layout: "tencentcloud"
+page_title: "TencentCloud: tencentcloud_sqlserver_readonly_instance"
+sidebar_current: "docs-tencentcloud-resource-sqlserver_readonly_instance"
+description: |-
+ Provides a SQL Server instance resource to create read-only database instances.
+---
+
+# tencentcloud_sqlserver_readonly_instance
+
+Provides a SQL Server instance resource to create read-only database instances.
+
+## Example Usage
+
+```hcl
+data "tencentcloud_availability_zones_by_product" "zones" {
+ product = "sqlserver"
+}
+
+resource "tencentcloud_vpc" "vpc" {
+ name = "vpc-example"
+ cidr_block = "10.0.0.0/16"
+}
+
+resource "tencentcloud_subnet" "subnet" {
+ availability_zone = data.tencentcloud_availability_zones_by_product.zones.zones.4.name
+ name = "subnet-example"
+ vpc_id = tencentcloud_vpc.vpc.id
+ cidr_block = "10.0.0.0/16"
+ is_multicast = false
+}
+
+resource "tencentcloud_security_group" "security_group" {
+ name = "sg-example"
+ description = "desc."
+}
+
+resource "tencentcloud_sqlserver_basic_instance" "example" {
+ name = "tf-example"
+ availability_zone = data.tencentcloud_availability_zones_by_product.zones.zones.4.name
+ charge_type = "POSTPAID_BY_HOUR"
+ vpc_id = tencentcloud_vpc.vpc.id
+ subnet_id = tencentcloud_subnet.subnet.id
+ project_id = 0
+ memory = 4
+ storage = 100
+ cpu = 2
+ machine_type = "CLOUD_PREMIUM"
+ maintenance_week_set = [1, 2, 3]
+ maintenance_start_time = "09:00"
+ maintenance_time_span = 3
+ security_groups = [tencentcloud_security_group.security_group.id]
+
+ tags = {
+ "test" = "test"
+ }
+}
+
+resource "tencentcloud_sqlserver_readonly_instance" "example" {
+ name = "tf_example"
+ availability_zone = data.tencentcloud_availability_zones_by_product.zones.zones.4.name
+ charge_type = "POSTPAID_BY_HOUR"
+ vpc_id = tencentcloud_vpc.vpc.id
+ subnet_id = tencentcloud_subnet.subnet.id
+ memory = 4
+ storage = 20
+ master_instance_id = tencentcloud_sqlserver_basic_instance.example.id
+ readonly_group_type = 1
+ force_upgrade = true
+ tags = {
+ "test" = "test"
+ }
+}
+```
+
+## Argument Reference
+
+The following arguments are supported:
+
+* `master_instance_id` - (Required, String, ForceNew) Indicates the master instance ID of recovery instances.
+* `memory` - (Required, Int) Memory size (in GB). Allowed value must be larger than `memory` that data source `tencentcloud_sqlserver_specinfos` provides.
+* `name` - (Required, String) Name of the SQL Server instance.
+* `readonly_group_type` - (Required, Int, ForceNew) Type of readonly group. Valid values: `1`, `3`. `1` for one auto-assigned readonly instance per one readonly group, `2` for creating new readonly group, `3` for all exist readonly instances stay in the exist readonly group. For now, only `1` and `3` are supported.
+* `storage` - (Required, Int) Disk size (in GB). Allowed value must be a multiple of 10. The storage must be set with the limit of `storage_min` and `storage_max` which data source `tencentcloud_sqlserver_specinfos` provides.
+* `auto_voucher` - (Optional, Int) Whether to use the voucher automatically; 1 for yes, 0 for no, the default is 0.
+* `availability_zone` - (Optional, String, ForceNew) Availability zone.
+* `charge_type` - (Optional, String, ForceNew) Pay type of the SQL Server instance. Available values `PREPAID`, `POSTPAID_BY_HOUR`.
+* `force_upgrade` - (Optional, Bool, ForceNew) Indicate that the master instance upgrade or not. `true` for upgrading the master SQL Server instance to cluster type by force. Default is false. Note: this is not supported with `DUAL`(ha_type), `2017`(engine_version) master SQL Server instance, for it will cause ha_type of the master SQL Server instance change.
+* `period` - (Optional, Int) Purchase instance period in month. The value does not exceed 48.
+* `readonly_group_id` - (Optional, String) ID of the readonly group that this instance belongs to. When `readonly_group_type` set value `3`, it must be set with valid value.
+* `readonly_group_name` - (Optional, String) Required when `readonly_group_type`=2, the name of the newly created read-only group.
+* `readonly_groups_is_offline_delay` - (Optional, Int) Required when `readonly_group_type`=2, whether the newly created read-only group has delay elimination enabled, 1-enabled, 0-disabled. When the delay between the read-only copy and the primary instance exceeds the threshold, it is automatically removed.
+* `readonly_groups_max_delay_time` - (Optional, Int) Required when `readonly_group_type`=2 and `readonly_groups_is_offline_delay`=1, the threshold for delayed elimination of newly created read-only groups.
+* `readonly_groups_min_in_group` - (Optional, Int) When `readonly_group_type`=2 and `readonly_groups_is_offline_delay`=1, it is required. After the newly created read-only group is delayed and removed, at least the number of read-only copies should be retained.
+* `security_groups` - (Optional, Set: [`String`]) Security group bound to the instance.
+* `subnet_id` - (Optional, String) ID of subnet.
+* `tags` - (Optional, Map) The tags of the SQL Server.
+* `voucher_ids` - (Optional, Set: [`String`]) An array of voucher IDs, currently only one can be used for a single order.
+* `vpc_id` - (Optional, String) ID of VPC.
+* `wait_switch` - (Optional, Int, **Deprecated**) It has been deprecated from version 1.81.2. The way to execute the allocation. Supported values include: 0 - execute immediately, 1 - execute in maintenance window.
+
+## Attributes Reference
+
+In addition to all arguments above, the following attributes are exported:
+
+* `id` - ID of the resource.
+* `create_time` - Create time of the SQL Server instance.
+* `ro_flag` - Readonly flag. `RO` (read-only instance), `MASTER` (primary instance with read-only instances). If it is left empty, it refers to an instance which is not read-only and has no RO group.
+* `status` - Status of the SQL Server instance. 1 for applying, 2 for running, 3 for running with limit, 4 for isolated, 5 for recycling, 6 for recycled, 7 for running with task, 8 for off-line, 9 for expanding, 10 for migrating, 11 for readonly, 12 for rebooting.
+* `vip` - IP for private access.
+* `vport` - Port for private access.
+
+
+## Import
+
+SQL Server readonly instance can be imported using the id, e.g.
+
+```
+$ terraform import tencentcloud_sqlserver_readonly_instance.example mssqlro-3cdq7kx5
+```
+
diff --git a/config/docs/r/sqlserver_recycle_ro_group.html.markdown b/config/docs/r/sqlserver_recycle_ro_group.html.markdown
new file mode 100644
index 0000000..1366029
--- /dev/null
+++ b/config/docs/r/sqlserver_recycle_ro_group.html.markdown
@@ -0,0 +1,37 @@
+---
+subcategory: "SQLServer"
+layout: "tencentcloud"
+page_title: "TencentCloud: tencentcloud_sqlserver_recycle_ro_group"
+sidebar_current: "docs-tencentcloud-resource-sqlserver_recycle_ro_group"
+description: |-
+ Provides a resource to create a sqlserver recycle_ro_group
+---
+
+# tencentcloud_sqlserver_recycle_ro_group
+
+Provides a resource to create a sqlserver recycle_ro_group
+
+## Example Usage
+
+```hcl
+resource "tencentcloud_sqlserver_recycle_ro_group" "recycle_ro_group" {
+ instance_id = "mssql-qelbzgwf"
+ read_only_group_id = "mssqlrg-c9ld954d"
+}
+```
+
+## Argument Reference
+
+The following arguments are supported:
+
+* `instance_id` - (Required, String, ForceNew) ID of the master instance.
+* `read_only_group_id` - (Required, String, ForceNew) ID of the read-only group.
+
+## Attributes Reference
+
+In addition to all arguments above, the following attributes are exported:
+
+* `id` - ID of the resource.
+
+
+
diff --git a/config/docs/r/sqlserver_renew_db_instance.html.markdown b/config/docs/r/sqlserver_renew_db_instance.html.markdown
new file mode 100644
index 0000000..df49822
--- /dev/null
+++ b/config/docs/r/sqlserver_renew_db_instance.html.markdown
@@ -0,0 +1,88 @@
+---
+subcategory: "SQLServer"
+layout: "tencentcloud"
+page_title: "TencentCloud: tencentcloud_sqlserver_renew_db_instance"
+sidebar_current: "docs-tencentcloud-resource-sqlserver_renew_db_instance"
+description: |-
+ Provides a resource to create a sqlserver renew_db_instance
+---
+
+# tencentcloud_sqlserver_renew_db_instance
+
+Provides a resource to create a sqlserver renew_db_instance
+
+## Example Usage
+
+```hcl
+data "tencentcloud_availability_zones_by_product" "zones" {
+ product = "sqlserver"
+}
+
+resource "tencentcloud_vpc" "vpc" {
+ name = "vpc-example"
+ cidr_block = "10.0.0.0/16"
+}
+
+resource "tencentcloud_subnet" "subnet" {
+ availability_zone = data.tencentcloud_availability_zones_by_product.zones.zones.4.name
+ name = "subnet-example"
+ vpc_id = tencentcloud_vpc.vpc.id
+ cidr_block = "10.0.0.0/16"
+ is_multicast = false
+}
+
+resource "tencentcloud_security_group" "security_group" {
+ name = "sg-example"
+ description = "desc."
+}
+
+resource "tencentcloud_sqlserver_basic_instance" "example" {
+ name = "tf-example"
+ availability_zone = data.tencentcloud_availability_zones_by_product.zones.zones.4.name
+ charge_type = "PREPAID"
+ vpc_id = tencentcloud_vpc.vpc.id
+ subnet_id = tencentcloud_subnet.subnet.id
+ project_id = 0
+ memory = 4
+ storage = 100
+ cpu = 2
+ machine_type = "CLOUD_PREMIUM"
+ maintenance_week_set = [1, 2, 3]
+ maintenance_start_time = "09:00"
+ maintenance_time_span = 3
+ security_groups = [tencentcloud_security_group.security_group.id]
+
+ tags = {
+ "test" = "test"
+ }
+}
+
+resource "tencentcloud_sqlserver_renew_db_instance" "example" {
+ instance_id = tencentcloud_sqlserver_basic_instance.example.id
+ period = 1
+}
+```
+
+## Argument Reference
+
+The following arguments are supported:
+
+* `instance_id` - (Required, String) Instance ID.
+* `period` - (Optional, Int) How many months to renew, the value range is 1-48, the default is 1.
+
+## Attributes Reference
+
+In addition to all arguments above, the following attributes are exported:
+
+* `id` - ID of the resource.
+
+
+
+## Import
+
+sqlserver renew_db_instance can be imported using the id, e.g.
+
+```
+terraform import tencentcloud_sqlserver_renew_db_instance.example mssql-i9ma6oy7#1
+```
+
diff --git a/config/docs/r/sqlserver_renew_postpaid_db_instance.html.markdown b/config/docs/r/sqlserver_renew_postpaid_db_instance.html.markdown
new file mode 100644
index 0000000..737dccf
--- /dev/null
+++ b/config/docs/r/sqlserver_renew_postpaid_db_instance.html.markdown
@@ -0,0 +1,90 @@
+---
+subcategory: "SQLServer"
+layout: "tencentcloud"
+page_title: "TencentCloud: tencentcloud_sqlserver_renew_postpaid_db_instance"
+sidebar_current: "docs-tencentcloud-resource-sqlserver_renew_postpaid_db_instance"
+description: |-
+ Provides a resource to create a sqlserver renew_postpaid_db_instance
+---
+
+# tencentcloud_sqlserver_renew_postpaid_db_instance
+
+Provides a resource to create a sqlserver renew_postpaid_db_instance
+
+## Example Usage
+
+```hcl
+data "tencentcloud_availability_zones_by_product" "zones" {
+ product = "sqlserver"
+}
+
+resource "tencentcloud_vpc" "vpc" {
+ name = "vpc-example"
+ cidr_block = "10.0.0.0/16"
+}
+
+resource "tencentcloud_subnet" "subnet" {
+ availability_zone = data.tencentcloud_availability_zones_by_product.zones.zones.4.name
+ name = "subnet-example"
+ vpc_id = tencentcloud_vpc.vpc.id
+ cidr_block = "10.0.0.0/16"
+ is_multicast = false
+}
+
+resource "tencentcloud_security_group" "security_group" {
+ name = "sg-example"
+ description = "desc."
+}
+
+resource "tencentcloud_sqlserver_basic_instance" "example" {
+ name = "tf-example"
+ availability_zone = data.tencentcloud_availability_zones_by_product.zones.zones.4.name
+ charge_type = "POSTPAID_BY_HOUR"
+ vpc_id = tencentcloud_vpc.vpc.id
+ subnet_id = tencentcloud_subnet.subnet.id
+ project_id = 0
+ memory = 4
+ storage = 100
+ cpu = 2
+ machine_type = "CLOUD_PREMIUM"
+ maintenance_week_set = [1, 2, 3]
+ maintenance_start_time = "09:00"
+ maintenance_time_span = 3
+ security_groups = [tencentcloud_security_group.security_group.id]
+
+ tags = {
+ "test" = "test"
+ }
+}
+
+resource "tencentcloud_sqlserver_config_terminate_db_instance" "example" {
+ instance_id = tencentcloud_sqlserver_basic_instance.example.id
+}
+
+resource "tencentcloud_sqlserver_renew_postpaid_db_instance" "example" {
+ instance_id = tencentcloud_sqlserver_config_terminate_db_instance.example.id
+}
+```
+
+## Argument Reference
+
+The following arguments are supported:
+
+* `instance_id` - (Required, String) Instance ID.
+
+## Attributes Reference
+
+In addition to all arguments above, the following attributes are exported:
+
+* `id` - ID of the resource.
+
+
+
+## Import
+
+sqlserver renew_postpaid_db_instance can be imported using the id, e.g.
+
+```
+terraform import tencentcloud_sqlserver_renew_postpaid_db_instance.example mssql-i9ma6oy7
+```
+
diff --git a/config/docs/r/sqlserver_restart_db_instance.html.markdown b/config/docs/r/sqlserver_restart_db_instance.html.markdown
new file mode 100644
index 0000000..a81f692
--- /dev/null
+++ b/config/docs/r/sqlserver_restart_db_instance.html.markdown
@@ -0,0 +1,86 @@
+---
+subcategory: "SQLServer"
+layout: "tencentcloud"
+page_title: "TencentCloud: tencentcloud_sqlserver_restart_db_instance"
+sidebar_current: "docs-tencentcloud-resource-sqlserver_restart_db_instance"
+description: |-
+ Provides a resource to create a sqlserver restart_db_instance
+---
+
+# tencentcloud_sqlserver_restart_db_instance
+
+Provides a resource to create a sqlserver restart_db_instance
+
+## Example Usage
+
+```hcl
+data "tencentcloud_availability_zones_by_product" "zones" {
+ product = "sqlserver"
+}
+
+resource "tencentcloud_vpc" "vpc" {
+ name = "vpc-example"
+ cidr_block = "10.0.0.0/16"
+}
+
+resource "tencentcloud_subnet" "subnet" {
+ availability_zone = data.tencentcloud_availability_zones_by_product.zones.zones.4.name
+ name = "subnet-example"
+ vpc_id = tencentcloud_vpc.vpc.id
+ cidr_block = "10.0.0.0/16"
+ is_multicast = false
+}
+
+resource "tencentcloud_security_group" "security_group" {
+ name = "sg-example"
+ description = "desc."
+}
+
+resource "tencentcloud_sqlserver_basic_instance" "example" {
+ name = "tf-example"
+ availability_zone = data.tencentcloud_availability_zones_by_product.zones.zones.4.name
+ charge_type = "POSTPAID_BY_HOUR"
+ vpc_id = tencentcloud_vpc.vpc.id
+ subnet_id = tencentcloud_subnet.subnet.id
+ project_id = 0
+ memory = 4
+ storage = 100
+ cpu = 2
+ machine_type = "CLOUD_PREMIUM"
+ maintenance_week_set = [1, 2, 3]
+ maintenance_start_time = "09:00"
+ maintenance_time_span = 3
+ security_groups = [tencentcloud_security_group.security_group.id]
+
+ tags = {
+ "test" = "test"
+ }
+}
+
+resource "tencentcloud_sqlserver_restart_db_instance" "example" {
+ instance_id = tencentcloud_sqlserver_basic_instance.example.id
+}
+```
+
+## Argument Reference
+
+The following arguments are supported:
+
+* `instance_id` - (Required, String) Instance ID.
+
+## Attributes Reference
+
+In addition to all arguments above, the following attributes are exported:
+
+* `id` - ID of the resource.
+
+
+
+## Import
+
+sqlserver restart_db_instance can be imported using the id, e.g.
+
+```
+terraform import tencentcloud_sqlserver_restart_db_instance.example mssql-i9ma6oy7
+```
+
diff --git a/config/docs/r/sqlserver_restore_instance.html.markdown b/config/docs/r/sqlserver_restore_instance.html.markdown
new file mode 100644
index 0000000..83a373a
--- /dev/null
+++ b/config/docs/r/sqlserver_restore_instance.html.markdown
@@ -0,0 +1,57 @@
+---
+subcategory: "SQLServer"
+layout: "tencentcloud"
+page_title: "TencentCloud: tencentcloud_sqlserver_restore_instance"
+sidebar_current: "docs-tencentcloud-resource-sqlserver_restore_instance"
+description: |-
+ Provides a resource to create a sqlserver restore_instance
+---
+
+# tencentcloud_sqlserver_restore_instance
+
+Provides a resource to create a sqlserver restore_instance
+
+## Example Usage
+
+```hcl
+resource "tencentcloud_sqlserver_restore_instance" "restore_instance" {
+ instance_id = "mssql-qelbzgwf"
+ backup_id = 3482091273
+ rename_restore {
+ old_name = "keep_pubsub_db2"
+ new_name = "restore_keep_pubsub_db2"
+ }
+}
+```
+
+## Argument Reference
+
+The following arguments are supported:
+
+* `backup_id` - (Required, Int) Backup file ID, which can be obtained through the Id field in the returned value of the DescribeBackups API.
+* `instance_id` - (Required, String) Instance ID.
+* `rename_restore` - (Required, List) Restore the databases listed in ReNameRestoreDatabase and rename them after restoration. If this parameter is left empty, all databases will be restored and renamed in the default format.
+
+The `rename_restore` object supports the following:
+
+* `new_name` - (Required, String) New database name. In offline migration, OldName will be used if NewName is left empty (OldName and NewName cannot be both empty). In database cloning, OldName and NewName must be both specified and cannot have the same value.
+* `old_name` - (Required, String) Database name. If the OldName database does not exist, a failure will be returned.It can be left empty in offline migration tasks.
+
+## Attributes Reference
+
+In addition to all arguments above, the following attributes are exported:
+
+* `id` - ID of the resource.
+* `encryption` - TDE encryption, `enable` encrypted, `disable` unencrypted.
+ * `db_name` - Database name.
+ * `status` - encryption, `enable` encrypted, `disable` unencrypted.
+
+
+## Import
+
+sqlserver restore_instance can be imported using the id, e.g.
+
+```
+terraform import tencentcloud_sqlserver_restore_instance.restore_instance mssql-qelbzgwf#3482091273#keep_pubsub_db2#restore_keep_pubsub_db2
+```
+
diff --git a/config/docs/r/sqlserver_rollback_instance.html.markdown b/config/docs/r/sqlserver_rollback_instance.html.markdown
new file mode 100644
index 0000000..2167b6e
--- /dev/null
+++ b/config/docs/r/sqlserver_rollback_instance.html.markdown
@@ -0,0 +1,57 @@
+---
+subcategory: "SQLServer"
+layout: "tencentcloud"
+page_title: "TencentCloud: tencentcloud_sqlserver_rollback_instance"
+sidebar_current: "docs-tencentcloud-resource-sqlserver_rollback_instance"
+description: |-
+ Provides a resource to create a sqlserver rollback_instance
+---
+
+# tencentcloud_sqlserver_rollback_instance
+
+Provides a resource to create a sqlserver rollback_instance
+
+## Example Usage
+
+```hcl
+resource "tencentcloud_sqlserver_rollback_instance" "rollback_instance" {
+ instance_id = "mssql-qelbzgwf"
+ time = "2023-05-23 01:00:00"
+ rename_restore {
+ old_name = "keep_pubsub_db2"
+ new_name = "rollback_pubsub_db3"
+ }
+}
+```
+
+## Argument Reference
+
+The following arguments are supported:
+
+* `instance_id` - (Required, String) Instance ID.
+* `rename_restore` - (Required, List) Rename the databases listed in ReNameRestoreDatabase.
+* `time` - (Required, String) Target time point for rollback.
+
+The `rename_restore` object supports the following:
+
+* `new_name` - (Required, String) New database name.
+* `old_name` - (Required, String) Database name. If the OldName database does not exist, a failure will be returned. It can be left empty in offline migration tasks.
+
+## Attributes Reference
+
+In addition to all arguments above, the following attributes are exported:
+
+* `id` - ID of the resource.
+* `encryption` - TDE encryption, `enable` encrypted, `disable` unencrypted.
+ * `db_name` - Database name.
+ * `status` - encryption, `enable` encrypted, `disable` unencrypted.
+
+
+## Import
+
+sqlserver rollback_instance can be imported using the id, e.g.
+
+```
+terraform import tencentcloud_sqlserver_rollback_instance.rollback_instance mssql-qelbzgwf#2023-05-23 01:00:00#keep_pubsub_db2#rollback_pubsub_db3
+```
+
diff --git a/config/docs/r/sqlserver_start_backup_full_migration.html.markdown b/config/docs/r/sqlserver_start_backup_full_migration.html.markdown
new file mode 100644
index 0000000..9c9f81d
--- /dev/null
+++ b/config/docs/r/sqlserver_start_backup_full_migration.html.markdown
@@ -0,0 +1,37 @@
+---
+subcategory: "SQLServer"
+layout: "tencentcloud"
+page_title: "TencentCloud: tencentcloud_sqlserver_start_backup_full_migration"
+sidebar_current: "docs-tencentcloud-resource-sqlserver_start_backup_full_migration"
+description: |-
+ Provides a resource to create a sqlserver start_backup_full_migration
+---
+
+# tencentcloud_sqlserver_start_backup_full_migration
+
+Provides a resource to create a sqlserver start_backup_full_migration
+
+## Example Usage
+
+```hcl
+resource "tencentcloud_sqlserver_start_backup_full_migration" "start_backup_full_migration" {
+ instance_id = "mssql-i1z41iwd"
+ backup_migration_id = "mssql-backup-migration-kpl74n9l"
+}
+```
+
+## Argument Reference
+
+The following arguments are supported:
+
+* `backup_migration_id` - (Required, String, ForceNew) Backup import task ID, returned by the CreateBackupMigration interface.
+* `instance_id` - (Required, String, ForceNew) ID of imported target instance.
+
+## Attributes Reference
+
+In addition to all arguments above, the following attributes are exported:
+
+* `id` - ID of the resource.
+
+
+
diff --git a/config/docs/r/sqlserver_start_backup_incremental_migration.html.markdown b/config/docs/r/sqlserver_start_backup_incremental_migration.html.markdown
new file mode 100644
index 0000000..fa9db6f
--- /dev/null
+++ b/config/docs/r/sqlserver_start_backup_incremental_migration.html.markdown
@@ -0,0 +1,39 @@
+---
+subcategory: "SQLServer"
+layout: "tencentcloud"
+page_title: "TencentCloud: tencentcloud_sqlserver_start_backup_incremental_migration"
+sidebar_current: "docs-tencentcloud-resource-sqlserver_start_backup_incremental_migration"
+description: |-
+ Provides a resource to create a sqlserver start_backup_incremental_migration
+---
+
+# tencentcloud_sqlserver_start_backup_incremental_migration
+
+Provides a resource to create a sqlserver start_backup_incremental_migration
+
+## Example Usage
+
+```hcl
+resource "tencentcloud_sqlserver_start_backup_incremental_migration" "start_backup_incremental_migration" {
+ instance_id = "mssql-i1z41iwd"
+ backup_migration_id = "mssql-backup-migration-cg0ffgqt"
+ incremental_migration_id = "mssql-incremental-migration-kp7bgv8p"
+}
+```
+
+## Argument Reference
+
+The following arguments are supported:
+
+* `backup_migration_id` - (Required, String, ForceNew) Backup import task ID, returned by the CreateBackupMigration interface.
+* `incremental_migration_id` - (Required, String, ForceNew) Incremental backup import task ID.
+* `instance_id` - (Required, String, ForceNew) ID of imported target instance.
+
+## Attributes Reference
+
+In addition to all arguments above, the following attributes are exported:
+
+* `id` - ID of the resource.
+
+
+
diff --git a/config/docs/r/sqlserver_start_xevent.html.markdown b/config/docs/r/sqlserver_start_xevent.html.markdown
new file mode 100644
index 0000000..02f3c79
--- /dev/null
+++ b/config/docs/r/sqlserver_start_xevent.html.markdown
@@ -0,0 +1,88 @@
+---
+subcategory: "SQLServer"
+layout: "tencentcloud"
+page_title: "TencentCloud: tencentcloud_sqlserver_start_xevent"
+sidebar_current: "docs-tencentcloud-resource-sqlserver_start_xevent"
+description: |-
+ Provides a resource to create a sqlserver start_xevent
+---
+
+# tencentcloud_sqlserver_start_xevent
+
+Provides a resource to create a sqlserver start_xevent
+
+## Example Usage
+
+```hcl
+data "tencentcloud_availability_zones_by_product" "zones" {
+ product = "sqlserver"
+}
+
+resource "tencentcloud_vpc" "vpc" {
+ name = "vpc-example"
+ cidr_block = "10.0.0.0/16"
+}
+
+resource "tencentcloud_subnet" "subnet" {
+ availability_zone = data.tencentcloud_availability_zones_by_product.zones.zones.4.name
+ name = "subnet-example"
+ vpc_id = tencentcloud_vpc.vpc.id
+ cidr_block = "10.0.0.0/16"
+ is_multicast = false
+}
+
+resource "tencentcloud_security_group" "security_group" {
+ name = "sg-example"
+ description = "desc."
+}
+
+resource "tencentcloud_sqlserver_basic_instance" "example" {
+ name = "tf-example"
+ availability_zone = data.tencentcloud_availability_zones_by_product.zones.zones.4.name
+ charge_type = "POSTPAID_BY_HOUR"
+ vpc_id = tencentcloud_vpc.vpc.id
+ subnet_id = tencentcloud_subnet.subnet.id
+ project_id = 0
+ memory = 4
+ storage = 100
+ cpu = 2
+ machine_type = "CLOUD_PREMIUM"
+ maintenance_week_set = [1, 2, 3]
+ maintenance_start_time = "09:00"
+ maintenance_time_span = 3
+ security_groups = [tencentcloud_security_group.security_group.id]
+
+ tags = {
+ "test" = "test"
+ }
+}
+
+resource "tencentcloud_sqlserver_start_xevent" "example" {
+ instance_id = tencentcloud_sqlserver_basic_instance.example.id
+ event_config {
+ event_type = "slow"
+ threshold = 0
+ }
+}
+```
+
+## Argument Reference
+
+The following arguments are supported:
+
+* `event_config` - (Required, List, ForceNew) Whether to start or stop an extended event.
+* `instance_id` - (Required, String, ForceNew) Instance ID.
+
+The `event_config` object supports the following:
+
+* `event_type` - (Required, String) Event type. Valid values: slow (set threshold for slow SQL ), blocked (set threshold for the blocking and deadlock).
+* `threshold` - (Required, Int) Threshold in milliseconds. Valid values: 0(disable), non-zero (enable).
+
+## Attributes Reference
+
+In addition to all arguments above, the following attributes are exported:
+
+* `id` - ID of the resource.
+
+
+
diff --git a/config/docs/r/ssl_certificate.html.markdown b/config/docs/r/ssl_certificate.html.markdown
new file mode 100644
index 0000000..450dfb2
--- /dev/null
+++ b/config/docs/r/ssl_certificate.html.markdown
@@ -0,0 +1,89 @@
+---
+subcategory: "SSL Certificates"
+layout: "tencentcloud"
+page_title: "TencentCloud: tencentcloud_ssl_certificate"
+sidebar_current: "docs-tencentcloud-resource-ssl_certificate"
+description: |-
+ Provides a resource to create a SSL certificate.
+---
+
+# tencentcloud_ssl_certificate
+
+Provides a resource to create a SSL certificate.
+
+Upload the existing SSL certificate to Tencent Cloud.
+
+## Example Usage
+
+```hcl
+variable "ca" {
+ default = "-----BEGIN CERTIFICATE-----\nMIIEDjCCAnagAwIBAgIBATANBgkqhkiG9w0BAQsFADAoMQ0wCwYDVQQDEwR0ZXN0\nMRcwFQYDVQQKEw50ZXJyYWZvcm0gdGVzdDAeFw0xOTA4MTMwMzA4MjBaFw0yOTA4\nMTAwMzA4MjBaMCgxDTALBgNVBAMTBHRlc3QxFzAVBgNVBAoTDnRlcnJhZm9ybSB0\nZXN0MIIBojANBgkqhkiG9w0BAQEFAAOCAY8AMIIBigKCAYEA0k2vqg/GHtFP5P7r\ndbzswfx1jSHeK9r4StV4mGOAoKyzvAJA5BvYbAHpSrL2ZAd6ShjHgRVU1qEroeFn\n8fwTrAVQttMltBFABx7G4iN4Zf6EUXzhhFN6vVVbWaqhYhrdMoPvZxgGSA/4hG4W\nGIr8MXZzXbKLoRoz4Bvq1Ymg5eO14KLJFSTahvIkG60egGN5pmi4czxWy2U7ycA5\nQ5TuQBnF0rKQJW5XKIV3kr5YrzDdJK7up9E6Od4T5jz+qY97KAjIpWD/pTAsc7+6\nfPBpY7NHT9Bw0fDmvsWO/PtswY4hW02n86b5eWA9sfKJGphhsBxgpuuhmxYHS6pA\nB+C7IkyxcADNT5u9tEo2JGOj+/veXKrEhZin7inKsQLD0WOobcg1Rh/3NSWD7geF\nTJBRnzgplaN7cK6c/utEAAnngS38q4DGBR/jHmkWjAeQPZj1eLLBk686HEEbKeU+\n9yAVcPRhA9tuL7wMeSX32VunWZunoA/f8iuGZYJlZsNBqyJbAgMBAAGjQzBBMA8G\nA1UdEwEB/wQFMAMBAf8wDwYDVR0PAQH/BAUDAweGADAdBgNVHQ4EFgQUKwfrmq79\n1mY831S6UHARHtgYnlgwDQYJKoZIhvcNAQELBQADggGBAInM+aeaHoZdw9B9nAH2\nHscEoOulF+RxnysSXTTRLd2VQph4+ynlfRZT4evLBBj/ppmqjp8F7/OcRiiZwSXl\nnamyP/UUINtHfgDM0kll/5Za0aYzMhrORNw+3ythIv2yPJX8t4LmsG1L4PMO8ZU8\nN0K9XyKRaL/tq6rw1gQM152OmNgTzfAQoKYxrvbftOZz4J0ZACctuBmwtp5upKvJ\n36aQ4wJLUzOt69mnW+AaL5EPA37mwtzdnzTTxd3SBfOYXjsflc3l2raljJznnqU2\nySynjb6L3D3L/pObL1Uu7nQBy8CazJBsBsVFK/pr61vcllm8lG7vOhHOUSFUeezq\nFWukAolm9/cagmD6IhNishM3Uzng+UYyCC8uQq3Z7FGqJpXSI79wZYjudnCLPVCg\nOIfJHQeJFLryn6GxiSYmYs6dgUJiiTV+I/2Y5X7ZFdb5FC1J/WmvoCv6yO7NiirY\nBSgfV0lp5CuV8SfiSClpYfrM28NbNgxveUqET642BJOPLQ==\n-----END CERTIFICATE-----"
+}
+
+data "tencentcloud_ssl_certificates" "ca" {
+ name = tencentcloud_ssl_certificate.ca.name
+}
+
+resource "tencentcloud_ssl_certificate" "ca" {
+ name = "ssl-ca"
+ type = "CA"
+ cert = var.ca
+}
+```
+
+
+
+```hcl
+variable "cert" {
+ default = "-----BEGIN CERTIFICATE-----\nMIIERzCCAq+gAwIBAgIBAjANBgkqhkiG9w0BAQsFADAoMQ0wCwYDVQQDEwR0ZXN0\nMRcwFQYDVQQKEw50ZXJyYWZvcm0gdGVzdDAeFw0xOTA4MTMwMzE5MzlaFw0yOTA4\nMTAwMzE5MzlaMC4xEzARBgNVBAMTCnNlcnZlciBzc2wxFzAVBgNVBAoTDnRlcnJh\nZm9ybS10ZXN0MIIBojANBgkqhkiG9w0BAQEFAAOCAY8AMIIBigKCAYEA1Ryp+DKK\nSNFKZsPtwfR+jzOnQ8YFieIKYgakV688d8YgpolenbmeEPrzT87tunFD7G9f6ALG\nND8rj7npj0AowxhOL/h/v1D9u0UsIaj5i2GWJrqNAhGLaxWiEB/hy5WOiwxDrGei\ngQqJkFM52Ep7G1Yx7PHJmKFGwN9FhIsFi1cNZfVRopZuCe/RMPNusNVZaIi+qcEf\nfsE1cmfmuSlG3Ap0RKOIyR0ajDEzqZn9/0R7VwWCF97qy8TNYk94K/1tq3zyhVzR\nZ83xOSfrTqEfb3so3AU2jyKgYdwr/FZS72VCHS8IslgnqJW4izIXZqgIKmHaRZtM\nN4jUloi6l/6lktt6Lsgh9xECecxziSJtPMaog88aC8HnMqJJ3kScGCL36GYG+Kaw\n5PnDlWXBaeiDe8z/eWK9+Rr2M+rhTNxosAVGfDJyxAXyiX49LQ0v7f9qzwc/0JiD\nbvsUv1cm6OgpoEMP9SXqqBdwGqeKbD2/2jlP48xlYP6l1SoJG3GgZ8dbAgMBAAGj\ndjB0MAwGA1UdEwEB/wQCMAAwEwYDVR0lBAwwCgYIKwYBBQUHAwEwDwYDVR0PAQH/\nBAUDAweAADAdBgNVHQ4EFgQULwWKBQNLL9s3cb3tTnyPVg+mpCMwHwYDVR0jBBgw\nFoAUKwfrmq791mY831S6UHARHtgYnlgwDQYJKoZIhvcNAQELBQADggGBAMo5RglS\nAHdPgaicWJvmvjjexjF/42b7Rz4pPfMjYw6uYO8He/f4UZWv5CZLrbEe7MywaK3y\n0OsfH8AhyN29pv2x8g9wbmq7omZIOZ0oCAGduEXs/A/qY/hFaCohdkz/IN8qi6JW\nVXreGli3SrpcHFchSwHTyJEXgkutcGAsOvdsOuVSmplOyrkLHc8uUe8SG4j8kGyg\nEzaszFjHkR7g1dVyDVUedc588mjkQxYeAamJgfkgIhljWKMa2XzkVMcVfQHfNpM1\nn+bu8SmqRt9Wma2bMijKRG/Blm756LoI+skY+WRZmlDnq8zj95TT0vceGP0FUWh5\nhKyiocABmpQs9OK9HMi8vgSWISP+fYgkm/bKtKup2NbZBoO5/VL2vCEPInYzUhBO\njCbLMjNjtM5KriCaR7wDARgHiG0gBEPOEW1PIjZ9UOH+LtIxbNZ4eEIIINLHnBHf\nL+doVeZtS/gJc4G4Adr5HYuaS9ZxJ0W2uy0eQlOHzjyxR6Mf/rpnilJlcQ==\n-----END CERTIFICATE-----"
+}
+
+variable "key" {
+ default = "Public Key Info:\n Public Key Algorithm: RSA\n Key Security Level: High (3072 bits)\n\nmodulus:\n 00:d5:1c:a9:f8:32:8a:48:d1:4a:66:c3:ed:c1:f4:7e\n 8f:33:a7:43:c6:05:89:e2:0a:62:06:a4:57:af:3c:77\n c6:20:a6:89:5e:9d:b9:9e:10:fa:f3:4f:ce:ed:ba:71\n 43:ec:6f:5f:e8:02:c6:34:3f:2b:8f:b9:e9:8f:40:28\n c3:18:4e:2f:f8:7f:bf:50:fd:bb:45:2c:21:a8:f9:8b\n 61:96:26:ba:8d:02:11:8b:6b:15:a2:10:1f:e1:cb:95\n 8e:8b:0c:43:ac:67:a2:81:0a:89:90:53:39:d8:4a:7b\n 1b:56:31:ec:f1:c9:98:a1:46:c0:df:45:84:8b:05:8b\n 57:0d:65:f5:51:a2:96:6e:09:ef:d1:30:f3:6e:b0:d5\n 59:68:88:be:a9:c1:1f:7e:c1:35:72:67:e6:b9:29:46\n dc:0a:74:44:a3:88:c9:1d:1a:8c:31:33:a9:99:fd:ff\n 44:7b:57:05:82:17:de:ea:cb:c4:cd:62:4f:78:2b:fd\n 6d:ab:7c:f2:85:5c:d1:67:cd:f1:39:27:eb:4e:a1:1f\n 6f:7b:28:dc:05:36:8f:22:a0:61:dc:2b:fc:56:52:ef\n 65:42:1d:2f:08:b2:58:27:a8:95:b8:8b:32:17:66:a8\n 08:2a:61:da:45:9b:4c:37:88:d4:96:88:ba:97:fe:a5\n 92:db:7a:2e:c8:21:f7:11:02:79:cc:73:89:22:6d:3c\n c6:a8:83:cf:1a:0b:c1:e7:32:a2:49:de:44:9c:18:22\n f7:e8:66:06:f8:a6:b0:e4:f9:c3:95:65:c1:69:e8:83\n 7b:cc:ff:79:62:bd:f9:1a:f6:33:ea:e1:4c:dc:68:b0\n 05:46:7c:32:72:c4:05:f2:89:7e:3d:2d:0d:2f:ed:ff\n 6a:cf:07:3f:d0:98:83:6e:fb:14:bf:57:26:e8:e8:29\n a0:43:0f:f5:25:ea:a8:17:70:1a:a7:8a:6c:3d:bf:da\n 39:4f:e3:cc:65:60:fe:a5:d5:2a:09:1b:71:a0:67:c7\n 5b:\n\npublic exponent:\n 01:00:01:\n\nprivate exponent:\n 00:b1:56:d0:fa:00:d4:a2:13:c7:5e:0c:dc:e4:f1:97\n ff:82:74:46:29:9a:a2:4a:bf:69:23:2d:ce:e9:bb:df\n cf:b7:8b:dd:f4:26:3c:38:14:d9:3f:6f:c2:3a:81:53\n 8f:ba:48:53:fe:b5:90:4a:19:e7:1e:0b:0f:18:6d:c3\n 7d:d5:d3:fa:87:47:86:e4:d6:bf:e7:a7:f9:ba:ab:2e\n 19:5e:e1:8b:8b:9b:95:0d:f7:66:61:1e:19:e9:c3:88\n 08:be:1c:ce:93:c1:09:b1:68:1b:61:46:60:74:64:46\n 5d:51:34:ea:7f:a9:ca:a1:2a:47:85:84:4b:ef:84:05\n 97:c3:46:7d:06:19:ce:24:73:90:64:fb:df:16:d5:80\n 34:8e:90:7c:58:b6:a4:86:ce:30:b3:ab:52:8b:f2:95\n 4c:b6:46:5a:77:db:73:c0:0c:3f:6d:12:18:a8:54:7c\n ff:77:c3:ca:89:9f:63:98:ef:48:2d:c1:09:70:6e:ea\n cb:bb:78:91:42:8a:22:3e:21:ef:a5:bf:16:ee:66:45\n e5:f0:26:6a:85:8e:e1:69:62:ac:05:00:a6:44:ba:c8\n ac:10:00:97:f5:51:65:7f:9a:1f:7b:99:9d:02:d4:87\n 50:ce:74:06:51:67:fa:fb:90:e4:33:79:f2:a8:61:ee\n 45:1d:87:ca:22:5b:ac:e7:32:38:f8:2c:fd:55:92:1e\n 3d:60:1e:7c:4b:fd:28:ff:e5:b1:02:6a:aa:22:f7:ae\n a8:36:90:7b:a6:f7:29:05:14:3a:21:da:36:05:f9:b0\n 9d:f7:fb:10:75:d7:2c:21:32:95:e7:f7:17:be:09:cb\n 66:fe:f1:69:71:df:a4:5e:3f:fc:67:6c:37:65:b8:51\n c6:22:38:fb:07:ce:89:54:50:43:71:44:3d:c3:51:5a\n bd:e5:c7:87:b2:ea:7b:64:0f:5d:34:9c:a1:52:b3:ce\n 06:86:ba:7a:05:80:48:b3:6c:1b:79:74:9b:49:f2:30\n c1:\n\nprime1:\n 00:e4:31:46:59:3d:24:f7:31:d9:22:26:af:c0:3e:f5\n c1:6d:be:ba:d3:9e:3f:b9:2c:43:a0:d0:47:09:e4:35\n 63:19:a4:33:82:af:f9:76:3c:11:c2:cb:34:f9:a6:ab\n dd:ab:64:5a:6b:9c:c1:2a:52:89:64:7e:b5:a7:f0:4d\n 29:13:a4:cf:17:f4:f2:0d:a0:6e:b9:5d:95:41:10:df\n ae:f3:7a:13:49:21:66:73:2a:b7:e2:8d:7c:c2:34:e5\n 3f:bd:78:ca:fc:64:c5:1c:3a:66:7a:12:53:96:bd:b0\n c3:7a:0c:ec:5e:55:c0:c3:3f:7f:25:72:f4:e2:19:94\n 9d:65:15:be:c8:82:20:57:12:97:b2:a8:4d:3d:e0:8f\n e2:1f:d0:c8:49:aa:f4:34:fa:91:d1:d1:cc:98:bc:3d\n 8b:b1:9b:8f:fd:ef:03:dd:92:fb:ca:99:45:af:cc:83\n 58:4c:bb:ba:73:9e:23:84:f9:7e:4f:40:fe:00:b5:bf\n 6f:\n\nprime2:\n 00:ef:14:ef:73:fc:0c:fc:e3:87:d9:7f:a6:f8:55:86\n 57:63:8a:86:87:f5:ef:63:20:1f:b2:ae:28:dc:ab:59\n 80:8f:15:64:44:e2:bc:a5:7b:d7:69:ef:30:b1:83:b3\n bd:09:fd:4a:0c:c6:31:5b:a4:79:d0:e5:d3:a8:31:fd\n 59:ea:52:63:cf:17:a7:c1:54:bf:a8:11:9b:b1:85:47\n 5a:08:a6:9c:2f:47:9d:ac:5d:e8:7c:e4:31:6c:99:71\n 04:7d:20:98:be:8b:60:07:66:2d:b9:41:10:ea:dd:5b\n 87:20:65:62:ea:75:a7:a6:04:a2:18:66:6b:db:5b:a4\n 9f:12:97:cb:7c:8c:d2:e0:ce:02:ef:1e:df:a1:9d:6a\n bc:00:38:18:36:a1:c5:97:16:be:7a:df:5f:4f:4f:de\n a3:cb:25:fe:f6:67:0d:31:aa:0a:d4:1b:be:df:91:2c\n 05:14:20:37:cc:4f:50:33:a6:50:1b:90:f9:b2:08:80\n d5:\n\ncoefficient:\n 47:d1:7f:ca:93:6a:14:9b:fe:85:8d:c2:15:11:52:a2\n a5:bc:f5:6b:a2:69:76:49:1e:09:79:f1:15:bf:39:48\n 41:ff:92:78:af:bc:7d:6f:76:3b:32:9e:08:d2:42:06\n 04:5f:36:e0:be:a8:1d:21:5c:ec:39:09:e0:77:c5:86\n 06:e6:ce:98:16:fc:0f:30:de:a7:69:7a:8f:dd:01:42\n 2a:22:f5:b7:c2:fc:c8:90:5a:78:dc:b3:e0:4d:e7:2d\n 98:6c:e3:34:1b:d7:e8:f8:90:57:7e:4d:41:d6:4a:29\n 81:92:eb:89:5b:45:85:dd:b9:16:20:63:cb:59:f6:06\n 59:c1:dd:3b:6b:92:0a:5e:5e:63:4a:f1:a7:d5:16:b9\n 8b:6c:d8:ad:76:0e:2d:3c:e0:b3:73:e0:6d:af:d4:a2\n bc:4b:fd:6c:2d:d7:5d:4d:cd:28:03:64:b2:ef:9a:1d\n 82:8d:53:40:c5:f8:fb:f3:63:de:8e:1a:21:b6:35:14\n \n\nexp1:\n 00:9c:a5:8a:d2:65:dc:03:69:8f:d2:16:d6:9d:55:5b\n 25:4e:ae:18:d8:7e:90:e6:10:11:d8:ca:41:89:f3:c4\n 06:64:aa:c8:c5:95:01:dd:fd:7c:7f:c9:39:73:8b:cb\n fd:9e:d3:84:12:cd:87:f9:02:b1:d8:6f:f7:49:f2:f7\n 35:14:8c:15:b2:2f:6f:1e:95:9c:8c:d9:46:45:65:4c\n f8:6f:a1:c4:ad:76:25:3b:37:ff:05:a1:f5:1b:e8:6d\n db:64:b9:10:37:55:01:ce:cf:f4:5b:26:4b:85:76:70\n 6a:b0:55:40:c9:bd:7a:57:4e:36:7d:41:be:03:9c:65\n dd:ea:6f:94:09:56:f2:d6:73:27:f9:f7:f9:16:5a:1a\n cb:b2:e5:83:28:b7:17:6f:6a:f7:41:1f:11:a1:63:cf\n a8:1e:e3:58:64:8c:78:8d:d9:81:c9:e1:8f:ea:0f:ad\n b6:a6:ee:54:1f:5c:56:ab:c9:0d:c1:60:2f:3d:d3:86\n 37:\n\nexp2:\n 64:12:b7:48:2d:30:a2:89:fa:cb:27:8b:94:56:f8:2c\n 8c:15:e7:c9:f1:3f:8a:96:5f:ae:43:08:07:96:11:98\n a6:4b:a5:f4:cf:93:77:11:27:51:c8:34:f1:98:d7:1b\n 41:9b:2b:eb:bc:e9:dc:1a:34:83:24:30:3c:2e:f0:85\n 3a:77:d2:1f:55:1f:7a:e5:26:74:0b:2a:c8:5b:a9:4a\n 1e:64:de:eb:4b:66:cc:47:62:91:24:53:2b:c9:ee:6c\n 9a:93:92:5b:ef:aa:fa:6d:e2:a5:b0:7e:8c:50:ab:87\n 1c:20:54:0f:1f:c0:54:d5:8b:a3:fa:fb:1a:8e:79:91\n bc:0e:9d:b6:3c:9b:e8:4d:53:1d:14:27:37:56:d4:de\n 6c:99:0e:49:8f:dd:4d:28:d0:02:4e:8d:6e:7d:58:0b\n e7:74:b8:0c:1b:86:82:4b:52:cd:05:f0:17:54:84:c0\n 7b:74:20:e6:fc:2b:ed:f2:a7:85:62:61:a2:0b:bd:21\n \n\n\nPublic Key PIN:\n pin-sha256:t5OXXC5gYqMNtUMsTqRs3A3vhfK2BiXVOgYzIEYv7Y8=\nPublic Key ID:\n sha256:b793975c2e6062a30db5432c4ea46cdc0def85f2b60625d53a063320462fed8f\n sha1:2f058a05034b2fdb3771bded4e7c8f560fa6a423\n\n-----BEGIN RSA PRIVATE KEY-----\nMIIG5AIBAAKCAYEA1Ryp+DKKSNFKZsPtwfR+jzOnQ8YFieIKYgakV688d8Ygpole\nnbmeEPrzT87tunFD7G9f6ALGND8rj7npj0AowxhOL/h/v1D9u0UsIaj5i2GWJrqN\nAhGLaxWiEB/hy5WOiwxDrGeigQqJkFM52Ep7G1Yx7PHJmKFGwN9FhIsFi1cNZfVR\nopZuCe/RMPNusNVZaIi+qcEffsE1cmfmuSlG3Ap0RKOIyR0ajDEzqZn9/0R7VwWC\nF97qy8TNYk94K/1tq3zyhVzRZ83xOSfrTqEfb3so3AU2jyKgYdwr/FZS72VCHS8I\nslgnqJW4izIXZqgIKmHaRZtMN4jUloi6l/6lktt6Lsgh9xECecxziSJtPMaog88a\nC8HnMqJJ3kScGCL36GYG+Kaw5PnDlWXBaeiDe8z/eWK9+Rr2M+rhTNxosAVGfDJy\nxAXyiX49LQ0v7f9qzwc/0JiDbvsUv1cm6OgpoEMP9SXqqBdwGqeKbD2/2jlP48xl\nYP6l1SoJG3GgZ8dbAgMBAAECggGBALFW0PoA1KITx14M3OTxl/+CdEYpmqJKv2kj\nLc7pu9/Pt4vd9CY8OBTZP2/COoFTj7pIU/61kEoZ5x4LDxhtw33V0/qHR4bk1r/n\np/m6qy4ZXuGLi5uVDfdmYR4Z6cOICL4czpPBCbFoG2FGYHRkRl1RNOp/qcqhKkeF\nhEvvhAWXw0Z9BhnOJHOQZPvfFtWANI6QfFi2pIbOMLOrUovylUy2Rlp323PADD9t\nEhioVHz/d8PKiZ9jmO9ILcEJcG7qy7t4kUKKIj4h76W/Fu5mReXwJmqFjuFpYqwF\nAKZEusisEACX9VFlf5ofe5mdAtSHUM50BlFn+vuQ5DN58qhh7kUdh8oiW6znMjj4\nLP1Vkh49YB58S/0o/+WxAmqqIveuqDaQe6b3KQUUOiHaNgX5sJ33+xB11ywhMpXn\n9xe+Cctm/vFpcd+kXj/8Z2w3ZbhRxiI4+wfOiVRQQ3FEPcNRWr3lx4ey6ntkD100\nnKFSs84Ghrp6BYBIs2wbeXSbSfIwwQKBwQDkMUZZPST3MdkiJq/APvXBbb66054/\nuSxDoNBHCeQ1YxmkM4Kv+XY8EcLLNPmmq92rZFprnMEqUolkfrWn8E0pE6TPF/Ty\nDaBuuV2VQRDfrvN6E0khZnMqt+KNfMI05T+9eMr8ZMUcOmZ6ElOWvbDDegzsXlXA\nwz9/JXL04hmUnWUVvsiCIFcSl7KoTT3gj+If0MhJqvQ0+pHR0cyYvD2LsZuP/e8D\n3ZL7yplFr8yDWEy7unOeI4T5fk9A/gC1v28CgcEA7xTvc/wM/OOH2X+m+FWGV2OK\nhof172MgH7KuKNyrWYCPFWRE4ryle9dp7zCxg7O9Cf1KDMYxW6R50OXTqDH9WepS\nY88Xp8FUv6gRm7GFR1oIppwvR52sXeh85DFsmXEEfSCYvotgB2YtuUEQ6t1bhyBl\nYup1p6YEohhma9tbpJ8Sl8t8jNLgzgLvHt+hnWq8ADgYNqHFlxa+et9fT0/eo8sl\n/vZnDTGqCtQbvt+RLAUUIDfMT1AzplAbkPmyCIDVAoHBAJylitJl3ANpj9IW1p1V\nWyVOrhjYfpDmEBHYykGJ88QGZKrIxZUB3f18f8k5c4vL/Z7ThBLNh/kCsdhv90ny\n9zUUjBWyL28elZyM2UZFZUz4b6HErXYlOzf/BaH1G+ht22S5EDdVAc7P9FsmS4V2\ncGqwVUDJvXpXTjZ9Qb4DnGXd6m+UCVby1nMn+ff5Floay7Llgyi3F29q90EfEaFj\nz6ge41hkjHiN2YHJ4Y/qD622pu5UH1xWq8kNwWAvPdOGNwKBwGQSt0gtMKKJ+ssn\ni5RW+CyMFefJ8T+Kll+uQwgHlhGYpkul9M+TdxEnUcg08ZjXG0GbK+u86dwaNIMk\nMDwu8IU6d9IfVR965SZ0CyrIW6lKHmTe60tmzEdikSRTK8nubJqTklvvqvpt4qWw\nfoxQq4ccIFQPH8BU1Yuj+vsajnmRvA6dtjyb6E1THRQnN1bU3myZDkmP3U0o0AJO\njW59WAvndLgMG4aCS1LNBfAXVITAe3Qg5vwr7fKnhWJhogu9IQKBwEfRf8qTahSb\n/oWNwhURUqKlvPVroml2SR4JefEVvzlIQf+SeK+8fW92OzKeCNJCBgRfNuC+qB0h\nXOw5CeB3xYYG5s6YFvwPMN6naXqP3QFCKiL1t8L8yJBaeNyz4E3nLZhs4zQb1+j4\nkFd+TUHWSimBkuuJW0WF3bkWIGPLWfYGWcHdO2uSCl5eY0rxp9UWuYts2K12Di08\n4LNz4G2v1KK8S/1sLdddTc0oA2Sy75odgo1TQMX4+/Nj3o4aIbY1FA==\n-----END RSA PRIVATE KEY-----"
+}
+
+data "tencentcloud_ssl_certificates" "svr" {
+ name = tencentcloud_ssl_certificate.svr.name
+}
+
+resource "tencentcloud_ssl_certificate" "svr" {
+ name = "ssl-svr"
+ type = "SVR"
+ cert = var.cert
+ key = var.key
+}
+```
+
+## Argument Reference
+
+The following arguments are supported:
+
+* `cert` - (Required, String, ForceNew) Content of the SSL certificate. Not allowed newline at the start and end.
+* `type` - (Required, String, ForceNew) Type of the SSL certificate. Valid values: `CA` and `SVR`.
+* `key` - (Optional, String, ForceNew) Key of the SSL certificate and required when certificate type is `SVR`. Not allowed newline at the start and end.
+* `name` - (Optional, String) Name of the SSL certificate.
+* `project_id` - (Optional, Int) Project ID of the SSL certificate. Default is `0`.
+* `tags` - (Optional, Map) Tags of the SSL certificate.
+
+## Attributes Reference
+
+In addition to all arguments above, the following attributes are exported:
+
+* `id` - ID of the resource.
+* `begin_time` - Beginning time of the SSL certificate.
+* `create_time` - Creation time of the SSL certificate.
+* `domain` - Primary domain of the SSL certificate.
+* `end_time` - Ending time of the SSL certificate.
+* `product_zh_name` - Certificate authority.
+* `status` - Status of the SSL certificate.
+* `subject_names` - ALL domains included in the SSL certificate. Including the primary domain name.
+
+
+## Import
+
+ssl certificate can be imported using the id, e.g.
+
+```
+ $ terraform import tencentcloud_ssl_certificate.cert GjTNRoK7
+```
+
diff --git a/config/docs/r/ssl_check_certificate_chain_operation.html.markdown b/config/docs/r/ssl_check_certificate_chain_operation.html.markdown
new file mode 100644
index 0000000..e755cee
--- /dev/null
+++ b/config/docs/r/ssl_check_certificate_chain_operation.html.markdown
@@ -0,0 +1,43 @@
+---
+subcategory: "SSL Certificates"
+layout: "tencentcloud"
+page_title: "TencentCloud: tencentcloud_ssl_check_certificate_chain_operation"
+sidebar_current: "docs-tencentcloud-resource-ssl_check_certificate_chain_operation"
+description: |-
+ Provides a resource to create a ssl check_certificate_chain
+---
+
+# tencentcloud_ssl_check_certificate_chain_operation
+
+Provides a resource to create a ssl check_certificate_chain
+
+## Example Usage
+
+```hcl
+resource "tencentcloud_ssl_check_certificate_chain_operation" "check_certificate_chain" {
+ certificate_chain = "-----BEGIN CERTIFICATE--·····---END CERTIFICATE-----"
+}
+```
+
+## Argument Reference
+
+The following arguments are supported:
+
+* `certificate_chain` - (Required, String, ForceNew) The certificate chain to check.
+
+## Attributes Reference
+
+In addition to all arguments above, the following attributes are exported:
+
+* `id` - ID of the resource.
+
+
+
+## Import
+
+ssl check_certificate_chain can be imported using the id, e.g.
+
+```
+terraform import tencentcloud_ssl_check_certificate_chain_operation.check_certificate_chain check_certificate_chain_id
+```
+
diff --git a/config/docs/r/ssl_complete_certificate_operation.html.markdown b/config/docs/r/ssl_complete_certificate_operation.html.markdown
new file mode 100644
index 0000000..4fc7c44
--- /dev/null
+++ b/config/docs/r/ssl_complete_certificate_operation.html.markdown
@@ -0,0 +1,43 @@
+---
+subcategory: "SSL Certificates"
+layout: "tencentcloud"
+page_title: "TencentCloud: tencentcloud_ssl_complete_certificate_operation"
+sidebar_current: "docs-tencentcloud-resource-ssl_complete_certificate_operation"
+description: |-
+ Provides a resource to create a ssl complete_certificate
+---
+
+# tencentcloud_ssl_complete_certificate_operation
+
+Provides a resource to create a ssl complete_certificate
+
+## Example Usage
+
+```hcl
+resource "tencentcloud_ssl_complete_certificate_operation" "complete_certificate" {
+ certificate_id = "9Bfe1IBR"
+}
+```
+
+## Argument Reference
+
+The following arguments are supported:
+
+* `certificate_id` - (Required, String, ForceNew) Certificate ID.
+
+## Attributes Reference
+
+In addition to all arguments above, the following attributes are exported:
+
+* `id` - ID of the resource.
+
+
+
+## Import
+
+ssl complete_certificate can be imported using the id, e.g.
+
+```
+terraform import tencentcloud_ssl_complete_certificate_operation.complete_certificate complete_certificate_id
+```
+
diff --git a/config/docs/r/ssl_deploy_certificate_instance_operation.html.markdown b/config/docs/r/ssl_deploy_certificate_instance_operation.html.markdown
new file mode 100644
index 0000000..06a6d16
--- /dev/null
+++ b/config/docs/r/ssl_deploy_certificate_instance_operation.html.markdown
@@ -0,0 +1,48 @@
+---
+subcategory: "SSL Certificates"
+layout: "tencentcloud"
+page_title: "TencentCloud: tencentcloud_ssl_deploy_certificate_instance_operation"
+sidebar_current: "docs-tencentcloud-resource-ssl_deploy_certificate_instance_operation"
+description: |-
+ Provides a resource to create a ssl deploy_certificate_instance
+---
+
+# tencentcloud_ssl_deploy_certificate_instance_operation
+
+Provides a resource to create a ssl deploy_certificate_instance
+
+## Example Usage
+
+```hcl
+resource "tencentcloud_ssl_deploy_certificate_instance_operation" "deploy_certificate_instance" {
+ certificate_id = "8x1eUSSl"
+ instance_id_list = ["cdndomain1.example.com|on", "cdndomain1.example.com|off"]
+ resource_type = "cdn"
+}
+```
+
+## Argument Reference
+
+The following arguments are supported:
+
+* `certificate_id` - (Required, String, ForceNew) ID of the certificate to be deployed.
+* `instance_id_list` - (Required, Set: [`String`], ForceNew) Need to deploy instance list.
+* `resource_type` - (Optional, String, ForceNew) Deployed cloud resource type.
+* `status` - (Optional, Int, ForceNew) Deployment cloud resource status: Live: -1: The domain name is not associated with a certificate.1: Domain name https is enabled.0: Domain name https is closed.
+
+## Attributes Reference
+
+In addition to all arguments above, the following attributes are exported:
+
+* `id` - ID of the resource.
+
+
+
+## Import
+
+ssl deploy_certificate_instance can be imported using the id, e.g.
+
+```
+terraform import tencentcloud_ssl_deploy_certificate_instance_operation.deploy_certificate_instance deploy_certificate_instance_id
+```
+
diff --git a/config/docs/r/ssl_deploy_certificate_record_retry_operation.html.markdown b/config/docs/r/ssl_deploy_certificate_record_retry_operation.html.markdown
new file mode 100644
index 0000000..a2fc2c8
--- /dev/null
+++ b/config/docs/r/ssl_deploy_certificate_record_retry_operation.html.markdown
@@ -0,0 +1,44 @@
+---
+subcategory: "SSL Certificates"
+layout: "tencentcloud"
+page_title: "TencentCloud: tencentcloud_ssl_deploy_certificate_record_retry_operation"
+sidebar_current: "docs-tencentcloud-resource-ssl_deploy_certificate_record_retry_operation"
+description: |-
+ Provides a resource to create a ssl deploy_certificate_record_retry
+---
+
+# tencentcloud_ssl_deploy_certificate_record_retry_operation
+
+Provides a resource to create a ssl deploy_certificate_record_retry
+
+## Example Usage
+
+```hcl
+resource "tencentcloud_ssl_deploy_certificate_record_retry_operation" "deploy_certificate_record_retry" {
+ deploy_record_id = 35474
+}
+```
+
+## Argument Reference
+
+The following arguments are supported:
+
+* `deploy_record_detail_id` - (Optional, Int, ForceNew) Deployment record details ID to be retried.
+* `deploy_record_id` - (Optional, Int, ForceNew) Deployment record ID to be retried.
+
+## Attributes Reference
+
+In addition to all arguments above, the following attributes are exported:
+
+* `id` - ID of the resource.
+
+
+
+## Import
+
+ssl deploy_certificate_record_retry can be imported using the id, e.g.
+
+```
+terraform import tencentcloud_ssl_deploy_certificate_record_retry_operation.deploy_certificate_record_retry deploy_certificate_record_retry_id
+```
+
diff --git a/config/docs/r/ssl_deploy_certificate_record_rollback_operation.html.markdown b/config/docs/r/ssl_deploy_certificate_record_rollback_operation.html.markdown
new file mode 100644
index 0000000..8f549e2
--- /dev/null
+++ b/config/docs/r/ssl_deploy_certificate_record_rollback_operation.html.markdown
@@ -0,0 +1,43 @@
+---
+subcategory: "SSL Certificates"
+layout: "tencentcloud"
+page_title: "TencentCloud: tencentcloud_ssl_deploy_certificate_record_rollback_operation"
+sidebar_current: "docs-tencentcloud-resource-ssl_deploy_certificate_record_rollback_operation"
+description: |-
+ Provides a resource to create a ssl deploy_certificate_record_rollback
+---
+
+# tencentcloud_ssl_deploy_certificate_record_rollback_operation
+
+Provides a resource to create a ssl deploy_certificate_record_rollback
+
+## Example Usage
+
+```hcl
+resource "tencentcloud_ssl_deploy_certificate_record_rollback_operation" "deploy_certificate_record_rollback" {
+ deploy_record_id = 35471
+}
+```
+
+## Argument Reference
+
+The following arguments are supported:
+
+* `deploy_record_id` - (Optional, Int, ForceNew) Deployment record ID to be rollback.
+
+## Attributes Reference
+
+In addition to all arguments above, the following attributes are exported:
+
+* `id` - ID of the resource.
+
+
+
+## Import
+
+ssl deploy_certificate_record_rollback can be imported using the id, e.g.
+
+```
+terraform import tencentcloud_ssl_deploy_certificate_record_rollback_operation.deploy_certificate_record_rollback deploy_certificate_record_rollback_id
+```
+
diff --git a/config/docs/r/ssl_download_certificate_operation.html.markdown b/config/docs/r/ssl_download_certificate_operation.html.markdown
new file mode 100644
index 0000000..45a2b97
--- /dev/null
+++ b/config/docs/r/ssl_download_certificate_operation.html.markdown
@@ -0,0 +1,45 @@
+---
+subcategory: "SSL Certificates"
+layout: "tencentcloud"
+page_title: "TencentCloud: tencentcloud_ssl_download_certificate_operation"
+sidebar_current: "docs-tencentcloud-resource-ssl_download_certificate_operation"
+description: |-
+ Provides a resource to create a ssl download_certificate
+---
+
+# tencentcloud_ssl_download_certificate_operation
+
+Provides a resource to create a ssl download_certificate
+
+## Example Usage
+
+```hcl
+resource "tencentcloud_ssl_download_certificate_operation" "download_certificate" {
+ certificate_id = "8x1eUSSl"
+ output_path = "./"
+}
+```
+
+## Argument Reference
+
+The following arguments are supported:
+
+* `certificate_id` - (Required, String, ForceNew) Certificate ID.
+* `output_path` - (Required, String, ForceNew) Certificate ID.
+
+## Attributes Reference
+
+In addition to all arguments above, the following attributes are exported:
+
+* `id` - ID of the resource.
+
+
+
+## Import
+
+ssl download_certificate can be imported using the id, e.g.
+
+```
+terraform import tencentcloud_ssl_download_certificate_operation.download_certificate download_certificate_id
+```
+
diff --git a/config/docs/r/ssl_free_certificate.html.markdown b/config/docs/r/ssl_free_certificate.html.markdown
new file mode 100644
index 0000000..91261d7
--- /dev/null
+++ b/config/docs/r/ssl_free_certificate.html.markdown
@@ -0,0 +1,81 @@
+---
+subcategory: "SSL Certificates"
+layout: "tencentcloud"
+page_title: "TencentCloud: tencentcloud_ssl_free_certificate"
+sidebar_current: "docs-tencentcloud-resource-ssl_free_certificate"
+description: |-
+ Provide a resource to create a Free Certificate.
+---
+
+# tencentcloud_ssl_free_certificate
+
+Provide a resource to create a Free Certificate.
+
+~> **NOTE:** Once certificat created, it cannot be removed within 1 hours.
+
+## Example Usage
+
+### only support type 2. 2=TrustAsia TLS RSA CA.
+
+```hcl
+resource "tencentcloud_ssl_free_certificate" "example" {
+ dv_auth_method = "DNS_AUTO"
+ domain = "example.com"
+ package_type = "2"
+ contact_email = "test@example.com"
+ contact_phone = "18352458901"
+ validity_period = 12
+ csr_encrypt_algo = "RSA"
+ csr_key_parameter = "2048"
+ csr_key_password = "csr_pwd"
+ alias = "example_free_cert"
+}
+```
+
+## Argument Reference
+
+The following arguments are supported:
+
+* `domain` - (Required, String, ForceNew) Specify domain name.
+* `dv_auth_method` - (Required, String) Specify DV authorize method. Available values: `DNS_AUTO` - automatic DNS auth, `DNS` - manual DNS auth, `FILE` - auth by file.
+* `alias` - (Optional, String) Specify alias for remark.
+* `contact_email` - (Optional, String) Email address.
+* `contact_phone` - (Optional, String) Phone number.
+* `csr_encrypt_algo` - (Optional, String) Specify CSR encrypt algorithm, only support `RSA` for now.
+* `csr_key_parameter` - (Optional, String) Specify CSR key parameter, only support `"2048"` for now.
+* `csr_key_password` - (Optional, String) Specify CSR key password.
+* `old_certificate_id` - (Optional, String, ForceNew) Specify old certificate ID, used for re-apply.
+* `package_type` - (Optional, String) Type of package. Only support `"2"` (TrustAsia TLS RSA CA).
+* `project_id` - (Optional, Int) ID of projects which this certification belong to.
+* `validity_period` - (Optional, String) Specify validity period in month, only support `"12"` months for now.
+
+## Attributes Reference
+
+In addition to all arguments above, the following attributes are exported:
+
+* `id` - ID of the resource.
+* `cert_begin_time` - Certificate begin time.
+* `cert_end_time` - Certificate end time.
+* `certificate_private_key` - Certificate private key.
+* `certificate_public_key` - Certificate public key.
+* `deployable` - Indicates whether the certificate deployable.
+* `dv_auths` - DV certification information.
+ * `dv_auth_key` - DV authentication key.
+ * `dv_auth_value` - DV authentication value.
+ * `dv_auth_verify_type` - DV authentication type.
+* `insert_time` - Certificate insert time.
+* `product_zh_name` - Product zh name.
+* `renewable` - Indicates whether the certificate renewable.
+* `status_msg` - Certificate status message.
+* `status_name` - Certificate status name.
+* `status` - Certificate status. 0 = Approving, 1 = Approved, 2 = Approve failed, 3 = expired, 4 = DNS record added, 5 = OV/EV Certificate and confirm letter needed, 6 = Order canceling, 7 = Order canceled, 8 = Submitted and confirm letter needed, 9 = Revoking, 10 = Revoked, 11 = re-applying, 12 = Revoke and confirm letter needed, 13 = Free SSL and confirm letter needed.
+* `vulnerability_status` - Vulnerability status.
+
+
+## Import
+
+FreeCertificate instance can be imported, e.g.
+```
+$ terraform import tencentcloud_ssl_free_certificate.test free_certificate-id
+```
+
diff --git a/config/docs/r/ssl_pay_certificate.html.markdown b/config/docs/r/ssl_pay_certificate.html.markdown
new file mode 100644
index 0000000..26c6adc
--- /dev/null
+++ b/config/docs/r/ssl_pay_certificate.html.markdown
@@ -0,0 +1,119 @@
+---
+subcategory: "SSL Certificates"
+layout: "tencentcloud"
+page_title: "TencentCloud: tencentcloud_ssl_pay_certificate"
+sidebar_current: "docs-tencentcloud-resource-ssl_pay_certificate"
+description: |-
+ Provide a resource to create a payment SSL.
+---
+
+# tencentcloud_ssl_pay_certificate
+
+Provide a resource to create a payment SSL.
+
+~> **NOTE:** Provides the creation of a paid certificate, including the submission of certificate information and order functions;
+currently, it does not support re-issuing certificates, revoking certificates, and deleting certificates; the certificate remarks
+and belonging items can be updated. The Destroy operation will only cancel the certificate order, and will not delete the
+certificate and refund the fee. If you need a refund, you need to check the current certificate status in the console
+as `Review Cancel`, and then you can click `Request a refund` to refund the fee. To update the information of a certificate,
+we will automatically roll back your certificate if this certificate is already in the validation stage. This process may take
+some time because the CA callback is time-consuming. Please be patient and follow the prompt message. Or, feel free to contact
+Tencent Cloud Support.
+
+## Example Usage
+
+```hcl
+resource "tencentcloud_ssl_pay_certificate" "example" {
+ product_id = 33
+ domain_num = 1
+ alias = "ssl desc."
+ project_id = 0
+ information {
+ csr_type = "online"
+ certificate_domain = "www.example.com"
+ organization_name = "Tencent"
+ organization_division = "Qcloud"
+ organization_address = "广东省深圳市南山区腾讯大厦1000号"
+ organization_country = "CN"
+ organization_city = "深圳市"
+ organization_region = "广东省"
+ postal_code = "0755"
+ phone_area_code = "0755"
+ phone_number = "86013388"
+ verify_type = "DNS"
+ admin_first_name = "test"
+ admin_last_name = "test"
+ admin_phone_num = "12345678901"
+ admin_email = "test@tencent.com"
+ admin_position = "developer"
+ contact_first_name = "test"
+ contact_last_name = "test"
+ contact_email = "test@tencent.com"
+ contact_number = "12345678901"
+ contact_position = "developer"
+ }
+}
+```
+
+## Argument Reference
+
+The following arguments are supported:
+
+* `domain_num` - (Required, Int, ForceNew) Number of domain names included in the certificate.
+* `information` - (Required, List) Certificate information.
+* `product_id` - (Required, Int, ForceNew) Certificate commodity ID. Valid value ranges: (3~42). `3` means SecureSite enhanced Enterprise Edition (EV Pro), `4` means SecureSite enhanced (EV), `5` means SecureSite Enterprise Professional Edition (OV Pro), `6` means SecureSite Enterprise (OV), `7` means SecureSite Enterprise Type (OV) wildcard, `8` means Geotrust enhanced (EV), `9` means Geotrust enterprise (OV), `10` means Geotrust enterprise (OV) wildcard, `11` means TrustAsia domain type multi-domain SSL certificate, `12` means TrustAsia domain type ( DV) wildcard, `13` means TrustAsia enterprise wildcard (OV) SSL certificate (D3), `14` means TrustAsia enterprise (OV) SSL certificate (D3), `15` means TrustAsia enterprise multi-domain (OV) SSL certificate (D3), `16` means TrustAsia Enhanced (EV) SSL Certificate (D3), `17` means TrustAsia Enhanced Multiple Domain (EV) SSL Certificate (D3), `18` means GlobalSign Enterprise (OV) SSL Certificate, `19` means GlobalSign Enterprise Wildcard (OV) SSL Certificate, `20` means GlobalSign Enhanced (EV) SSL Certificate, `21` means TrustAsia Enterprise Wildcard Multiple Domain (OV) SSL Certificate (D3), `22` means GlobalSign Enterprise Multiple Domain (OV) SSL Certificate, `23` means GlobalSign Enterprise Multiple Wildcard Domain name (OV) SSL certificate, `24` means GlobalSign enhanced multi-domain (EV) SSL certificate, `25` means Wotrus domain type certificate, `26` means Wotrus domain type multi-domain certificate, `27` means Wotrus domain type wildcard certificate, `28` means Wotrus enterprise type certificate, `29` means Wotrus enterprise multi-domain certificate, `30` means Wotrus enterprise wildcard certificate, `31` means Wotrus enhanced certificate, `32` means Wotrus enhanced multi-domain certificate, `33` means WoTrus National Secret Domain name Certificate, `34` means WoTrus National Secret Domain name Certificate (multiple domain names), `35` WoTrus National Secret Domain name Certificate (wildcard), `37` means WoTrus State Secret Enterprise Certificate, `38` means WoTrus State Secret Enterprise Certificate (multiple domain names), `39` means WoTrus State Secret Enterprise Certificate (wildcard), `40` means WoTrus National secret enhanced certificate, `41` means WoTrus National Secret enhanced Certificate (multiple domain names), `42` means TrustAsia- Domain name Certificate (wildcard multiple domain names), `43` means DNSPod Enterprise (OV) SSL Certificate, `44` means DNSPod- Enterprise (OV) wildcard SSL certificate, `45` means DNSPod Enterprise (OV) Multi-domain name SSL Certificate, `46` means DNSPod enhanced (EV) SSL certificate, `47` means DNSPod enhanced (EV) multi-domain name SSL certificate, `48` means DNSPod Domain name Type (DV) SSL Certificate, `49` means DNSPod Domain name Type (DV) wildcard SSL certificate, `50` means DNSPod domain name type (DV) multi-domain name SSL certificate, `51` means DNSPod (State Secret) Enterprise (OV) SSL certificate, `52` DNSPod (National Secret) Enterprise (OV) wildcard SSL certificate, `53` means DNSPod (National Secret) Enterprise (OV) multi-domain SSL certificate, `54` means DNSPod (National Secret) Domain Name (DV) SSL certificate, `55` means DNSPod (National Secret) Domain Name Type (DV) wildcard SSL certificate, `56` means DNSPod (National Secret) Domain Name Type (DV) multi-domain SSL certificate.
+* `alias` - (Optional, String) Remark name.
+* `confirm_letter` - (Optional, String) The base64-encoded certificate confirmation file should be in jpg, jpeg, png, pdf, and the size should be between 1kb and 1.4M. Note: it only works when product_id is set to 8, 9 or 10.
+* `dv_auths` - (Optional, List) DV certification information.
+* `project_id` - (Optional, Int) The ID of project.
+* `time_span` - (Optional, Int) Certificate period, currently only supports 1 year certificate purchase.
+
+The `dv_auths` object supports the following:
+
+
+The `information` object supports the following:
+
+* `admin_email` - (Required, String) The administrator's email address.
+* `admin_first_name` - (Required, String) The first name of the administrator.
+* `admin_last_name` - (Required, String) The last name of the administrator.
+* `admin_phone_num` - (Required, String) Manager mobile phone number.
+* `admin_position` - (Required, String) Manager position.
+* `certificate_domain` - (Required, String) Domain name for binding certificate.
+* `contact_email` - (Required, String) Contact email address.
+* `contact_first_name` - (Required, String) Contact first name.
+* `contact_last_name` - (Required, String) Contact last name.
+* `contact_number` - (Required, String) Contact phone number.
+* `contact_position` - (Required, String) Contact position.
+* `organization_address` - (Required, String) Company address.
+* `organization_city` - (Required, String) Company city.
+* `organization_country` - (Required, String) Country name, such as China: CN.
+* `organization_division` - (Required, String) Department name.
+* `organization_name` - (Required, String) Company name.
+* `organization_region` - (Required, String) The province where the company is located.
+* `phone_area_code` - (Required, String) Company landline area code.
+* `phone_number` - (Required, String) Company landline number.
+* `postal_code` - (Required, String) Company postal code.
+* `verify_type` - (Required, String) Certificate verification method. Valid values: `DNS_AUTO`, `DNS`, `FILE`. `DNS_AUTO` means automatic DNS verification, this verification type is only supported for domain names resolved by Tencent Cloud and the resolution status is normal, `DNS` means manual DNS verification, `FILE` means file verification.
+* `csr_content` - (Optional, String) CSR content uploaded.
+* `csr_type` - (Optional, String) CSR generation method. Valid values: `online`, `parse`. `online` means online generation, `parse` means manual upload.
+* `domain_list` - (Optional, Set) Array of uploaded domain names, multi-domain certificates can be uploaded.
+* `key_password` - (Optional, String) Private key password.
+
+## Attributes Reference
+
+In addition to all arguments above, the following attributes are exported:
+
+* `id` - ID of the resource.
+* `certificate_id` - Returned certificate ID.
+* `order_id` - Order ID returned.
+* `status` - SSL certificate status.
+
+
+## Import
+
+payment SSL instance can be imported, e.g.
+
+```
+$ terraform import tencentcloud_ssl_pay_certificate.ssl iPQNn61x#33#1#1
+```
+
diff --git a/config/docs/r/ssl_replace_certificate_operation.html.markdown b/config/docs/r/ssl_replace_certificate_operation.html.markdown
new file mode 100644
index 0000000..aa7e540
--- /dev/null
+++ b/config/docs/r/ssl_replace_certificate_operation.html.markdown
@@ -0,0 +1,52 @@
+---
+subcategory: "SSL Certificates"
+layout: "tencentcloud"
+page_title: "TencentCloud: tencentcloud_ssl_replace_certificate_operation"
+sidebar_current: "docs-tencentcloud-resource-ssl_replace_certificate_operation"
+description: |-
+ Provides a resource to create a ssl replace_certificate
+---
+
+# tencentcloud_ssl_replace_certificate_operation
+
+Provides a resource to create a ssl replace_certificate
+
+## Example Usage
+
+```hcl
+resource "tencentcloud_ssl_replace_certificate_operation" "replace_certificate" {
+ certificate_id = "8L6JsWq2"
+ valid_type = "DNS_AUTO"
+ csr_type = "online"
+}
+```
+
+## Argument Reference
+
+The following arguments are supported:
+
+* `certificate_id` - (Required, String, ForceNew) Certificate ID.
+* `valid_type` - (Required, String, ForceNew) Verification type: DNS_AUTO = automatic DNS verification (this verification type is only supported for domain names that are resolved by Tencent Cloud and have normal resolution status), DNS = manual DNS verification, FILE = file verification.
+* `cert_csr_encrypt_algo` - (Optional, String, ForceNew) CSR encryption method, optional: RSA, ECC, SM2. (Selectable only if CsrType is Online), default is RSA.
+* `cert_csr_key_parameter` - (Optional, String, ForceNew) CSR encryption parameter, when CsrEncryptAlgo is RSA, you can choose 2048, 4096, etc., and the default is 2048; when CsrEncryptAlgo is ECC, you can choose prime256v1, secp384r1, etc., and the default is prime256v1;.
+* `csr_content` - (Optional, String, ForceNew) CSR Content.
+* `csr_key_password` - (Optional, String, ForceNew) KEY Password.
+* `csr_type` - (Optional, String, ForceNew) Type, default Original. Available options: Original = original certificate CSR, Upload = manual upload, Online = online generation.
+* `reason` - (Optional, String, ForceNew) Reason for reissue.
+
+## Attributes Reference
+
+In addition to all arguments above, the following attributes are exported:
+
+* `id` - ID of the resource.
+
+
+
+## Import
+
+ssl replace_certificate can be imported using the id, e.g.
+
+```
+terraform import tencentcloud_ssl_replace_certificate_operation.replace_certificate replace_certificate_id
+```
+
diff --git a/config/docs/r/ssl_revoke_certificate_operation.html.markdown b/config/docs/r/ssl_revoke_certificate_operation.html.markdown
new file mode 100644
index 0000000..7cd9dfb
--- /dev/null
+++ b/config/docs/r/ssl_revoke_certificate_operation.html.markdown
@@ -0,0 +1,44 @@
+---
+subcategory: "SSL Certificates"
+layout: "tencentcloud"
+page_title: "TencentCloud: tencentcloud_ssl_revoke_certificate_operation"
+sidebar_current: "docs-tencentcloud-resource-ssl_revoke_certificate_operation"
+description: |-
+ Provides a resource to create a ssl revoke_certificate
+---
+
+# tencentcloud_ssl_revoke_certificate_operation
+
+Provides a resource to create a ssl revoke_certificate
+
+## Example Usage
+
+```hcl
+resource "tencentcloud_ssl_revoke_certificate_operation" "revoke_certificate" {
+ certificate_id = "7zUGkVab"
+}
+```
+
+## Argument Reference
+
+The following arguments are supported:
+
+* `certificate_id` - (Required, String, ForceNew) Certificate ID.
+* `reason` - (Optional, String, ForceNew) Reasons for revoking certificate.
+
+## Attributes Reference
+
+In addition to all arguments above, the following attributes are exported:
+
+* `id` - ID of the resource.
+
+
+
+## Import
+
+ssl revoke_certificate can be imported using the id, e.g.
+
+```
+terraform import tencentcloud_ssl_revoke_certificate_operation.revoke_certificate revoke_certificate_id
+```
+
diff --git a/config/docs/r/ssl_update_certificate_instance_operation.html.markdown b/config/docs/r/ssl_update_certificate_instance_operation.html.markdown
new file mode 100644
index 0000000..fe8639c
--- /dev/null
+++ b/config/docs/r/ssl_update_certificate_instance_operation.html.markdown
@@ -0,0 +1,53 @@
+---
+subcategory: "SSL Certificates"
+layout: "tencentcloud"
+page_title: "TencentCloud: tencentcloud_ssl_update_certificate_instance_operation"
+sidebar_current: "docs-tencentcloud-resource-ssl_update_certificate_instance_operation"
+description: |-
+ Provides a resource to create a ssl update_certificate_instance
+---
+
+# tencentcloud_ssl_update_certificate_instance_operation
+
+Provides a resource to create a ssl update_certificate_instance
+
+## Example Usage
+
+```hcl
+resource "tencentcloud_ssl_update_certificate_instance_operation" "update_certificate_instance" {
+ certificate_id = "8x1eUSSl"
+ old_certificate_id = "8xNdi2ig"
+ resource_types = ["cdn"]
+}
+```
+
+## Argument Reference
+
+The following arguments are supported:
+
+* `certificate_id` - (Required, String, ForceNew) Update new certificate ID.
+* `old_certificate_id` - (Required, String, ForceNew) Update the original certificate ID.
+* `resource_types` - (Required, Set: [`String`], ForceNew) The resource type that needs to be deployed. The parameter value is optional: clb,cdn,waf,live,ddos,teo,apigateway,vod,tke,tcb.
+* `resource_types_regions` - (Optional, List, ForceNew) List of regions where cloud resources need to be deployed.
+
+The `resource_types_regions` object supports the following:
+
+* `regions` - (Optional, Set) Region list.
+* `resource_type` - (Optional, String) Cloud resource type.
+
+## Attributes Reference
+
+In addition to all arguments above, the following attributes are exported:
+
+* `id` - ID of the resource.
+
+
+
+## Import
+
+ssl update_certificate_instance can be imported using the id, e.g.
+
+```
+terraform import tencentcloud_ssl_update_certificate_instance_operation.update_certificate_instance update_certificate_instance_id
+```
+
diff --git a/config/docs/r/ssl_update_certificate_record_retry_operation.html.markdown b/config/docs/r/ssl_update_certificate_record_retry_operation.html.markdown
new file mode 100644
index 0000000..6b766b1
--- /dev/null
+++ b/config/docs/r/ssl_update_certificate_record_retry_operation.html.markdown
@@ -0,0 +1,44 @@
+---
+subcategory: "SSL Certificates"
+layout: "tencentcloud"
+page_title: "TencentCloud: tencentcloud_ssl_update_certificate_record_retry_operation"
+sidebar_current: "docs-tencentcloud-resource-ssl_update_certificate_record_retry_operation"
+description: |-
+ Provides a resource to create a ssl update_certificate_record_retry
+---
+
+# tencentcloud_ssl_update_certificate_record_retry_operation
+
+Provides a resource to create a ssl update_certificate_record_retry
+
+## Example Usage
+
+```hcl
+resource "tencentcloud_ssl_update_certificate_record_retry_operation" "update_certificate_record_retry" {
+ deploy_record_id = "1603"
+}
+```
+
+## Argument Reference
+
+The following arguments are supported:
+
+* `deploy_record_detail_id` - (Optional, Int, ForceNew) Deployment record details ID to be retried.
+* `deploy_record_id` - (Optional, Int, ForceNew) Deployment record ID to be retried.
+
+## Attributes Reference
+
+In addition to all arguments above, the following attributes are exported:
+
+* `id` - ID of the resource.
+
+
+
+## Import
+
+ssl update_certificate_record_retry can be imported using the id, e.g.
+
+```
+terraform import tencentcloud_ssl_update_certificate_record_retry_operation.update_certificate_record_retry update_certificate_record_retry_id
+```
+
diff --git a/config/docs/r/ssl_update_certificate_record_rollback_operation.html.markdown b/config/docs/r/ssl_update_certificate_record_rollback_operation.html.markdown
new file mode 100644
index 0000000..9f1eed5
--- /dev/null
+++ b/config/docs/r/ssl_update_certificate_record_rollback_operation.html.markdown
@@ -0,0 +1,43 @@
+---
+subcategory: "SSL Certificates"
+layout: "tencentcloud"
+page_title: "TencentCloud: tencentcloud_ssl_update_certificate_record_rollback_operation"
+sidebar_current: "docs-tencentcloud-resource-ssl_update_certificate_record_rollback_operation"
+description: |-
+ Provides a resource to create a ssl update_certificate_record_rollback
+---
+
+# tencentcloud_ssl_update_certificate_record_rollback_operation
+
+Provides a resource to create a ssl update_certificate_record_rollback
+
+## Example Usage
+
+```hcl
+resource "tencentcloud_ssl_update_certificate_record_rollback_operation" "update_certificate_record_rollback" {
+ deploy_record_id = "1603"
+}
+```
+
+## Argument Reference
+
+The following arguments are supported:
+
+* `deploy_record_id` - (Optional, String, ForceNew) Deployment record ID to be rolled back.
+
+## Attributes Reference
+
+In addition to all arguments above, the following attributes are exported:
+
+* `id` - ID of the resource.
+
+
+
+## Import
+
+ssl update_certificate_record_rollback can be imported using the id, e.g.
+
+```
+terraform import tencentcloud_ssl_update_certificate_record_rollback_operation.update_certificate_record_rollback update_certificate_record_rollback_id
+```
+
diff --git a/config/docs/r/ssl_upload_revoke_letter_operation.html.markdown b/config/docs/r/ssl_upload_revoke_letter_operation.html.markdown
new file mode 100644
index 0000000..4d7cd29
--- /dev/null
+++ b/config/docs/r/ssl_upload_revoke_letter_operation.html.markdown
@@ -0,0 +1,45 @@
+---
+subcategory: "SSL Certificates"
+layout: "tencentcloud"
+page_title: "TencentCloud: tencentcloud_ssl_upload_revoke_letter_operation"
+sidebar_current: "docs-tencentcloud-resource-ssl_upload_revoke_letter_operation"
+description: |-
+ Provides a resource to create a ssl upload_revoke_letter
+---
+
+# tencentcloud_ssl_upload_revoke_letter_operation
+
+Provides a resource to create a ssl upload_revoke_letter
+
+## Example Usage
+
+```hcl
+resource "tencentcloud_ssl_upload_revoke_letter_operation" "upload_revoke_letter" {
+ certificate_id = "8xRYdDlc"
+ revoke_letter = filebase64("./c.pdf")
+}
+```
+
+## Argument Reference
+
+The following arguments are supported:
+
+* `certificate_id` - (Required, String, ForceNew) Certificate ID.
+* `revoke_letter` - (Required, String, ForceNew) The format of the base64-encoded certificate confirmation letter file should be jpg, jpeg, png, or pdf, and the size should be between 1kb and 1.4M.
+
+## Attributes Reference
+
+In addition to all arguments above, the following attributes are exported:
+
+* `id` - ID of the resource.
+
+
+
+## Import
+
+ssl upload_revoke_letter can be imported using the id, e.g.
+
+```
+terraform import tencentcloud_ssl_upload_revoke_letter_operation.upload_revoke_letter upload_revoke_letter_id
+```
+
diff --git a/config/docs/r/ssm_product_secret.html.markdown b/config/docs/r/ssm_product_secret.html.markdown
new file mode 100644
index 0000000..70e1010
--- /dev/null
+++ b/config/docs/r/ssm_product_secret.html.markdown
@@ -0,0 +1,133 @@
+---
+subcategory: "Secrets Manager(SSM)"
+layout: "tencentcloud"
+page_title: "TencentCloud: tencentcloud_ssm_product_secret"
+sidebar_current: "docs-tencentcloud-resource-ssm_product_secret"
+description: |-
+ Provides a resource to create a ssm product_secret
+---
+
+# tencentcloud_ssm_product_secret
+
+Provides a resource to create a ssm product_secret
+
+## Example Usage
+
+```hcl
+data "tencentcloud_availability_zones_by_product" "zones" {
+ product = "cdb"
+}
+
+resource "tencentcloud_vpc" "vpc" {
+ name = "vpc-example"
+ cidr_block = "10.0.0.0/16"
+}
+
+resource "tencentcloud_subnet" "subnet" {
+ availability_zone = data.tencentcloud_availability_zones_by_product.zones.zones.0.name
+ name = "subnet-example"
+ vpc_id = tencentcloud_vpc.vpc.id
+ cidr_block = "10.0.0.0/16"
+ is_multicast = false
+}
+
+resource "tencentcloud_security_group" "security_group" {
+ name = "sg-example"
+ description = "desc."
+}
+
+resource "tencentcloud_mysql_instance" "example" {
+ internet_service = 1
+ engine_version = "5.7"
+ charge_type = "POSTPAID"
+ root_password = "PassWord123"
+ slave_deploy_mode = 0
+ availability_zone = data.tencentcloud_availability_zones_by_product.zones.zones.0.name
+ slave_sync_mode = 1
+ instance_name = "tf-example"
+ mem_size = 4000
+ volume_size = 200
+ vpc_id = tencentcloud_vpc.vpc.id
+ subnet_id = tencentcloud_subnet.subnet.id
+ intranet_port = 3306
+ security_groups = [tencentcloud_security_group.security_group.id]
+
+ tags = {
+ createBy = "terraform"
+ }
+
+ parameters = {
+ character_set_server = "utf8"
+ max_connections = "1000"
+ }
+}
+
+resource "tencentcloud_kms_key" "example" {
+ alias = "tf-example-kms-key"
+ description = "example of kms key"
+ key_rotation_enabled = false
+ is_enabled = true
+
+ tags = {
+ "createdBy" = "terraform"
+ }
+}
+
+resource "tencentcloud_ssm_product_secret" "example" {
+ secret_name = "tf-example"
+ user_name_prefix = "prefix"
+ product_name = "Mysql"
+ instance_id = tencentcloud_mysql_instance.example.id
+ domains = ["10.0.0.0"]
+ privileges_list {
+ privilege_name = "GlobalPrivileges"
+ privileges = ["ALTER ROUTINE"]
+ }
+ description = "for ssm product test"
+ kms_key_id = tencentcloud_kms_key.example.id
+ status = "Enabled"
+ enable_rotation = true
+ rotation_begin_time = "2023-08-05 20:54:33"
+ rotation_frequency = 30
+
+ tags = {
+ "createdBy" = "terraform"
+ }
+}
+```
+
+## Argument Reference
+
+The following arguments are supported:
+
+* `domains` - (Required, Set: [`String`]) Domain name of the account in the form of IP. You can enter `%`.
+* `instance_id` - (Required, String) Tencent Cloud service instance ID.
+* `privileges_list` - (Required, List) List of permissions that need to be granted when the credential is bound to a Tencent Cloud service.
+* `product_name` - (Required, String) Name of the Tencent Cloud service bound to the credential, such as `Mysql`, `Tdsql-mysql`. you can use dataSource `tencentcloud_ssm_products` to query supported products.
+* `secret_name` - (Required, String, ForceNew) Credential name, which must be unique in the same region. It can contain 128 bytes of letters, digits, hyphens, and underscores and must begin with a letter or digit.
+* `user_name_prefix` - (Required, String) Prefix of the user account name, which is specified by you and can contain up to 8 characters.Supported character sets include:Digits: [0, 9].Lowercase letters: [a, z].Uppercase letters: [A, Z].Special symbols: underscore.The prefix must begin with a letter.
+* `description` - (Optional, String) Description, which is used to describe the purpose in detail and can contain up to 2,048 bytes.
+* `enable_rotation` - (Optional, Bool) Specifies whether to enable rotation, when secret status is `Disabled`, rotation will be disabled. `True` - enable, `False` - do not enable. If this parameter is not specified, `False` will be used by default.
+* `kms_key_id` - (Optional, String) Specifies the KMS CMK that encrypts the credential. If this parameter is left empty, the CMK created by Secrets Manager by default will be used for encryption.You can also specify a custom KMS CMK created in the same region for encryption.
+* `rotation_begin_time` - (Optional, String) User-Defined rotation start time in the format of 2006-01-02 15:04:05.When `EnableRotation` is `True`, this parameter is required.
+* `rotation_frequency` - (Optional, Int) Rotation frequency in days. Default value: 1 day.
+* `status` - (Optional, String) Enable or Disable Secret. Valid values is `Enabled` or `Disabled`. Default is `Enabled`.
+* `tags` - (Optional, Map) Tags of secret.
+
+The `privileges_list` object supports the following:
+
+* `privilege_name` - (Required, String) Permission name. Valid values: `GlobalPrivileges`, `DatabasePrivileges`, `TablePrivileges`, `ColumnPrivileges`. When the permission is `DatabasePrivileges`, the database name must be specified by the `Database` parameter; When the permission is `TablePrivileges`, the database name and the table name in the database must be specified by the `Database` and `TableName` parameters; When the permission is `ColumnPrivileges`, the database name, table name in the database, and column name in the table must be specified by the `Database`, `TableName`, and `ColumnName` parameters.
+* `privileges` - (Required, Set) Permission list. For the `Mysql` service, optional permission values are: 1. Valid values of `GlobalPrivileges`: SELECT,INSERT,UPDATE,DELETE,CREATE, PROCESS, DROP,REFERENCES,INDEX,ALTER,SHOW DATABASES,CREATE TEMPORARY TABLES,LOCK TABLES,EXECUTE,CREATE VIEW,SHOW VIEW,CREATE ROUTINE,ALTER ROUTINE,EVENT,TRIGGER. Note: if this parameter is not passed in, it means to clear the permission. 2. Valid values of `DatabasePrivileges`: SELECT,INSERT,UPDATE,DELETE,CREATE, DROP,REFERENCES,INDEX,ALTER,CREATE TEMPORARY TABLES,LOCK TABLES,EXECUTE,CREATE VIEW,SHOW VIEW,CREATE ROUTINE,ALTER ROUTINE,EVENT,TRIGGER. Note: if this parameter is not passed in, it means to clear the permission. 3. Valid values of `TablePrivileges`: SELECT,INSERT,UPDATE,DELETE,CREATE, DROP,REFERENCES,INDEX,ALTER,CREATE VIEW,SHOW VIEW, TRIGGER. Note: if this parameter is not passed in, it means to clear the permission. 4. Valid values of `ColumnPrivileges`: SELECT,INSERT,UPDATE,REFERENCES.Note: if this parameter is not passed in, it means to clear the permission.
+* `column_name` - (Optional, String) This value takes effect only when `PrivilegeName` is `ColumnPrivileges`, and the following parameters are required in this case:Database: explicitly indicate the database instance.TableName: explicitly indicate the table.
+* `database` - (Optional, String) This value takes effect only when `PrivilegeName` is `DatabasePrivileges`.
+* `table_name` - (Optional, String) This value takes effect only when `PrivilegeName` is `TablePrivileges`, and the `Database` parameter is required in this case to explicitly indicate the database instance.
+
+## Attributes Reference
+
+In addition to all arguments above, the following attributes are exported:
+
+* `id` - ID of the resource.
+* `create_time` - Credential creation time in UNIX timestamp format.
+* `secret_type` - `0`: user-defined secret. `1`: Tencent Cloud services secret. `2`: SSH key secret. `3`: Tencent Cloud API key secret. Note: this field may return `null`, indicating that no valid values can be obtained.
+
+
diff --git a/config/docs/r/ssm_rotate_product_secret.html.markdown b/config/docs/r/ssm_rotate_product_secret.html.markdown
new file mode 100644
index 0000000..115b207
--- /dev/null
+++ b/config/docs/r/ssm_rotate_product_secret.html.markdown
@@ -0,0 +1,35 @@
+---
+subcategory: "Secrets Manager(SSM)"
+layout: "tencentcloud"
+page_title: "TencentCloud: tencentcloud_ssm_rotate_product_secret"
+sidebar_current: "docs-tencentcloud-resource-ssm_rotate_product_secret"
+description: |-
+ Provides a resource to create a ssm rotate_product_secret
+---
+
+# tencentcloud_ssm_rotate_product_secret
+
+Provides a resource to create a ssm rotate_product_secret
+
+## Example Usage
+
+```hcl
+resource "tencentcloud_ssm_rotate_product_secret" "example" {
+ secret_name = "tf_example"
+}
+```
+
+## Argument Reference
+
+The following arguments are supported:
+
+* `secret_name` - (Required, String, ForceNew) Secret name.
+
+## Attributes Reference
+
+In addition to all arguments above, the following attributes are exported:
+
+* `id` - ID of the resource.
+
+
+
diff --git a/config/docs/r/ssm_secret.html.markdown b/config/docs/r/ssm_secret.html.markdown
new file mode 100644
index 0000000..040a3fa
--- /dev/null
+++ b/config/docs/r/ssm_secret.html.markdown
@@ -0,0 +1,111 @@
+---
+subcategory: "Secrets Manager(SSM)"
+layout: "tencentcloud"
+page_title: "TencentCloud: tencentcloud_ssm_secret"
+sidebar_current: "docs-tencentcloud-resource-ssm_secret"
+description: |-
+ Provide a resource to create a SSM secret.
+---
+
+# tencentcloud_ssm_secret
+
+Provide a resource to create a SSM secret.
+
+## Example Usage
+
+### Create user defined secret
+
+```hcl
+resource "tencentcloud_ssm_secret" "example" {
+ secret_name = "tf-example"
+ description = "desc."
+ is_enabled = true
+ recovery_window_in_days = 0
+
+ tags = {
+ createBy = "terraform"
+ }
+}
+```
+
+### Create redis secret
+
+```hcl
+data "tencentcloud_redis_zone_config" "zone" {
+ type_id = 8
+}
+
+resource "tencentcloud_vpc" "vpc" {
+ name = "vpc-example"
+ cidr_block = "10.0.0.0/16"
+}
+
+resource "tencentcloud_subnet" "subnet" {
+ vpc_id = tencentcloud_vpc.vpc.id
+ availability_zone = data.tencentcloud_redis_zone_config.zone.list[3].zone
+ name = "subnet-example"
+ cidr_block = "10.0.0.0/16"
+}
+
+resource "tencentcloud_redis_instance" "example" {
+ availability_zone = data.tencentcloud_redis_zone_config.zone.list[3].zone
+ type_id = data.tencentcloud_redis_zone_config.zone.list[3].type_id
+ password = "Qwer@234"
+ mem_size = data.tencentcloud_redis_zone_config.zone.list[3].mem_sizes[0]
+ redis_shard_num = data.tencentcloud_redis_zone_config.zone.list[3].redis_shard_nums[0]
+ redis_replicas_num = data.tencentcloud_redis_zone_config.zone.list[3].redis_replicas_nums[0]
+ name = "tf_example"
+ port = 6379
+ vpc_id = tencentcloud_vpc.vpc.id
+ subnet_id = tencentcloud_subnet.subnet.id
+}
+
+resource "tencentcloud_ssm_secret" "example" {
+ secret_name = "tf-example"
+ description = "redis desc."
+ is_enabled = true
+ secret_type = 4
+ additional_config = jsonencode(
+ {
+ "Region" : "ap-guangzhou"
+ "Privilege" : "r",
+ "InstanceId" : tencentcloud_redis_instance.example.id
+ "ReadonlyPolicy" : ["master"],
+ "Remark" : "for tf test"
+ }
+ )
+ tags = {
+ createdBy = "terraform"
+ }
+ recovery_window_in_days = 0
+}
+```
+
+## Argument Reference
+
+The following arguments are supported:
+
+* `secret_name` - (Required, String, ForceNew) Name of secret which cannot be repeated in the same region. The maximum length is 128 bytes. The name can only contain English letters, numbers, underscore and hyphen '-'. The first character must be a letter or number.
+* `additional_config` - (Optional, String) Additional config for specific secret types in JSON string format.
+* `description` - (Optional, String) Description of secret. The maximum is 2048 bytes.
+* `is_enabled` - (Optional, Bool) Specify whether to enable secret. Default value is `true`.
+* `kms_key_id` - (Optional, String, ForceNew) KMS keyId used to encrypt secret. If it is empty, it means that the CMK created by SSM for you by default is used for encryption. You can also specify the KMS CMK created by yourself in the same region for encryption.
+* `recovery_window_in_days` - (Optional, Int) Specify the scheduled deletion date. Default value is `0` that means to delete immediately. 1-30 means the number of days reserved, completely deleted after this date.
+* `secret_type` - (Optional, Int) Type of secret. `0`: user-defined secret. `4`: redis secret. Default is `0`.
+* `tags` - (Optional, Map) Tags of secret.
+
+## Attributes Reference
+
+In addition to all arguments above, the following attributes are exported:
+
+* `id` - ID of the resource.
+* `status` - Status of secret.
+
+
+## Import
+
+SSM secret can be imported using the secretName, e.g.
+```
+$ terraform import tencentcloud_ssm_secret.foo test
+```
+
diff --git a/config/docs/r/ssm_secret_version.html.markdown b/config/docs/r/ssm_secret_version.html.markdown
new file mode 100644
index 0000000..fd16cae
--- /dev/null
+++ b/config/docs/r/ssm_secret_version.html.markdown
@@ -0,0 +1,72 @@
+---
+subcategory: "Secrets Manager(SSM)"
+layout: "tencentcloud"
+page_title: "TencentCloud: tencentcloud_ssm_secret_version"
+sidebar_current: "docs-tencentcloud-resource-ssm_secret_version"
+description: |-
+ Provide a resource to create a SSM secret version.
+---
+
+# tencentcloud_ssm_secret_version
+
+Provide a resource to create a SSM secret version.
+
+-> **Note:** A maximum of 10 versions can be supported under one credential. Only new versions can be added to credentials in the enabled and disabled states.
+
+## Example Usage
+
+### Text type credential information plaintext
+
+```hcl
+resource "tencentcloud_ssm_secret" "example" {
+ secret_name = "tf-example"
+ description = "desc."
+ recovery_window_in_days = 0
+ is_enabled = true
+
+ tags = {
+ createdBy = "terraform"
+ }
+}
+
+resource "tencentcloud_ssm_secret_version" "v1" {
+ secret_name = tencentcloud_ssm_secret.example.secret_name
+ version_id = "v1"
+ secret_string = "this is secret string"
+}
+```
+
+### Binary credential information, encoded using base64
+
+```hcl
+resource "tencentcloud_ssm_secret_version" "v2" {
+ secret_name = tencentcloud_ssm_secret.example.secret_name
+ version_id = "v2"
+ secret_binary = "MTIzMTIzMTIzMTIzMTIzQQ=="
+}
+```
+
+## Argument Reference
+
+The following arguments are supported:
+
+* `secret_name` - (Required, String, ForceNew) Name of secret which cannot be repeated in the same region. The maximum length is 128 bytes. The name can only contain English letters, numbers, underscore and hyphen '-'. The first character must be a letter or number.
+* `version_id` - (Required, String, ForceNew) Version of secret. The maximum length is 64 bytes. The version_id can only contain English letters, numbers, underscore and hyphen '-'. The first character must be a letter or number.
+* `secret_binary` - (Optional, String) The base64-encoded binary secret. secret_binary and secret_string must be set only one, and the maximum support is 4096 bytes. When secret status is `Disabled`, this field will not update anymore.
+* `secret_string` - (Optional, String) The string text of secret. secret_binary and secret_string must be set only one, and the maximum support is 4096 bytes. When secret status is `Disabled`, this field will not update anymore.
+
+## Attributes Reference
+
+In addition to all arguments above, the following attributes are exported:
+
+* `id` - ID of the resource.
+
+
+
+## Import
+
+SSM secret version can be imported using the secretName#versionId, e.g.
+```
+$ terraform import tencentcloud_ssm_secret_version.v1 test#v1
+```
+
diff --git a/config/docs/r/ssm_ssh_key_pair_secret.html.markdown b/config/docs/r/ssm_ssh_key_pair_secret.html.markdown
new file mode 100644
index 0000000..a534179
--- /dev/null
+++ b/config/docs/r/ssm_ssh_key_pair_secret.html.markdown
@@ -0,0 +1,72 @@
+---
+subcategory: "Secrets Manager(SSM)"
+layout: "tencentcloud"
+page_title: "TencentCloud: tencentcloud_ssm_ssh_key_pair_secret"
+sidebar_current: "docs-tencentcloud-resource-ssm_ssh_key_pair_secret"
+description: |-
+ Provides a resource to create a ssm ssh key pair secret
+---
+
+# tencentcloud_ssm_ssh_key_pair_secret
+
+Provides a resource to create a ssm ssh key pair secret
+
+## Example Usage
+
+```hcl
+resource "tencentcloud_kms_key" "example" {
+ alias = "tf-example-kms-key"
+ description = "example of kms key"
+ key_rotation_enabled = false
+ is_enabled = true
+
+ tags = {
+ createdBy = "terraform"
+ }
+}
+
+resource "tencentcloud_ssm_ssh_key_pair_secret" "example" {
+ secret_name = "tf-example"
+ project_id = 0
+ description = "desc."
+ kms_key_id = tencentcloud_kms_key.example.id
+ ssh_key_name = "tf_example_ssh"
+ status = "Enabled"
+ clean_ssh_key = true
+
+ tags = {
+ createdBy = "terraform"
+ }
+}
+```
+
+## Argument Reference
+
+The following arguments are supported:
+
+* `project_id` - (Required, Int) ID of the project to which the created SSH key belongs.
+* `secret_name` - (Required, String, ForceNew) Secret name, which must be unique in the same region. It can contain 128 bytes of letters, digits, hyphens and underscores and must begin with a letter or digit.
+* `clean_ssh_key` - (Optional, Bool) Specifies whether to delete the SSH key from both the secret and the SSH key list in the CVM console. This field is only take effect when delete SSH key secrets. Valid values: `True`: deletes SSH key from both the secret and SSH key list in the CVM console. Note that the deletion will fail if the SSH key is already bound to a CVM instance.`False`: only deletes the SSH key information in the secret.
+* `description` - (Optional, String) Description, such as what it is used for. It contains up to 2,048 bytes.
+* `kms_key_id` - (Optional, String) Specifies a KMS CMK to encrypt the secret.If this parameter is left empty, the CMK created by Secrets Manager by default will be used for encryption.You can also specify a custom KMS CMK created in the same region for encryption.
+* `ssh_key_name` - (Optional, String) Name of the SSH key pair, which only contains digits, letters and underscores and must start with a digit or letter. The maximum length is 25 characters.
+* `status` - (Optional, String) Enable or Disable Secret. Valid values is `Enabled` or `Disabled`. Default is `Enabled`.
+* `tags` - (Optional, Map) Tags of secret.
+
+## Attributes Reference
+
+In addition to all arguments above, the following attributes are exported:
+
+* `id` - ID of the resource.
+* `create_time` - Credential creation time in UNIX timestamp format.
+* `secret_type` - `0`: user-defined secret. `1`: Tencent Cloud services secret. `2`: SSH key secret. `3`: Tencent Cloud API key secret. Note: this field may return `null`, indicating that no valid values can be obtained.
+
+
+## Import
+
+ssm ssh_key_pair_secret can be imported using the id, e.g.
+
+```
+terraform import tencentcloud_ssm_ssh_key_pair_secret.ssh_key_pair_secret ssh_key_pair_secret_name
+```
+
diff --git a/config/docs/r/subnet.html.markdown b/config/docs/r/subnet.html.markdown
new file mode 100644
index 0000000..178ca35
--- /dev/null
+++ b/config/docs/r/subnet.html.markdown
@@ -0,0 +1,62 @@
+---
+subcategory: "Virtual Private Cloud(VPC)"
+layout: "tencentcloud"
+page_title: "TencentCloud: tencentcloud_subnet"
+sidebar_current: "docs-tencentcloud-resource-subnet"
+description: |-
+ Provide a resource to create a VPC subnet.
+---
+
+# tencentcloud_subnet
+
+Provide a resource to create a VPC subnet.
+
+## Example Usage
+
+```hcl
+data "tencentcloud_availability_zones" "zones" {}
+
+resource "tencentcloud_vpc" "vpc" {
+ name = "vpc-example"
+ cidr_block = "10.0.0.0/16"
+}
+
+resource "tencentcloud_subnet" "subnet" {
+ vpc_id = tencentcloud_vpc.vpc.id
+ name = "subnet-example"
+ cidr_block = "10.0.0.0/16"
+ availability_zone = data.tencentcloud_availability_zones.zones.zones.0.name
+ is_multicast = false
+}
+```
+
+## Argument Reference
+
+The following arguments are supported:
+
+* `availability_zone` - (Required, String, ForceNew) The availability zone within which the subnet should be created.
+* `cidr_block` - (Required, String, ForceNew) A network address block of the subnet.
+* `name` - (Required, String) The name of subnet to be created.
+* `vpc_id` - (Required, String, ForceNew) ID of the VPC to be associated.
+* `is_multicast` - (Optional, Bool) Indicates whether multicast is enabled. The default value is 'true'.
+* `route_table_id` - (Optional, String) ID of a routing table to which the subnet should be associated.
+* `tags` - (Optional, Map) Tags of the subnet.
+
+## Attributes Reference
+
+In addition to all arguments above, the following attributes are exported:
+
+* `id` - ID of the resource.
+* `available_ip_count` - The number of available IPs.
+* `create_time` - Creation time of subnet resource.
+* `is_default` - Indicates whether it is the default VPC for this region.
+
+
+## Import
+
+Vpc subnet instance can be imported, e.g.
+
+```
+$ terraform import tencentcloud_subnet.test subnet_id
+```
+
diff --git a/config/docs/r/tag.html.markdown b/config/docs/r/tag.html.markdown
new file mode 100644
index 0000000..00a677a
--- /dev/null
+++ b/config/docs/r/tag.html.markdown
@@ -0,0 +1,45 @@
+---
+subcategory: "Tag"
+layout: "tencentcloud"
+page_title: "TencentCloud: tencentcloud_tag"
+sidebar_current: "docs-tencentcloud-resource-tag"
+description: |-
+ Provides a resource to create a tag
+---
+
+# tencentcloud_tag
+
+Provides a resource to create a tag
+
+## Example Usage
+
+```hcl
+resource "tencentcloud_tag" "tag" {
+ tag_key = "test"
+ tag_value = "Terraform"
+}
+```
+
+## Argument Reference
+
+The following arguments are supported:
+
+* `tag_key` - (Required, String, ForceNew) tag key.
+* `tag_value` - (Required, String, ForceNew) tag value.
+
+## Attributes Reference
+
+In addition to all arguments above, the following attributes are exported:
+
+* `id` - ID of the resource.
+
+
+
+## Import
+
+tag tag can be imported using the id, e.g.
+
+```
+terraform import tencentcloud_tag.tag tag_id
+```
+
diff --git a/config/docs/r/tag_attachment.html.markdown b/config/docs/r/tag_attachment.html.markdown
new file mode 100644
index 0000000..c99bab4
--- /dev/null
+++ b/config/docs/r/tag_attachment.html.markdown
@@ -0,0 +1,47 @@
+---
+subcategory: "Tag"
+layout: "tencentcloud"
+page_title: "TencentCloud: tencentcloud_tag_attachment"
+sidebar_current: "docs-tencentcloud-resource-tag_attachment"
+description: |-
+ Provides a resource to create a tag attachment
+---
+
+# tencentcloud_tag_attachment
+
+Provides a resource to create a tag attachment
+
+## Example Usage
+
+```hcl
+resource "tencentcloud_tag_attachment" "attachment" {
+ tag_key = "test3"
+ tag_value = "Terraform3"
+ resource = "qcs::cvm:ap-guangzhou:uin/100020512675:instance/ins-kfrlvcp4"
+}
+```
+
+## Argument Reference
+
+The following arguments are supported:
+
+* `resource` - (Required, String, ForceNew) [Six-segment description of resources](https://cloud.tencent.com/document/product/598/10606).
+* `tag_key` - (Required, String, ForceNew) tag key.
+* `tag_value` - (Required, String, ForceNew) tag value.
+
+## Attributes Reference
+
+In addition to all arguments above, the following attributes are exported:
+
+* `id` - ID of the resource.
+
+
+
+## Import
+
+tag attachment can be imported using the id, e.g.
+
+```
+terraform import tencentcloud_tag_attachment.attachment attachment_id
+```
+
diff --git a/config/docs/r/tat_command.html.markdown b/config/docs/r/tat_command.html.markdown
new file mode 100644
index 0000000..f64e378
--- /dev/null
+++ b/config/docs/r/tat_command.html.markdown
@@ -0,0 +1,71 @@
+---
+subcategory: "TencentCloud Automation Tools(TAT)"
+layout: "tencentcloud"
+page_title: "TencentCloud: tencentcloud_tat_command"
+sidebar_current: "docs-tencentcloud-resource-tat_command"
+description: |-
+ Provides a resource to create a tat command
+---
+
+# tencentcloud_tat_command
+
+Provides a resource to create a tat command
+
+## Example Usage
+
+```hcl
+resource "tencentcloud_tat_command" "command" {
+ username = "root"
+ command_name = "ls"
+ content = "bHM="
+ description = "xxx"
+ command_type = "SHELL"
+ working_directory = "/root"
+ timeout = 50
+ tags {
+ key = ""
+ value = ""
+ }
+}
+```
+
+## Argument Reference
+
+The following arguments are supported:
+
+* `command_name` - (Required, String) Command name. The name can be up to 60 bytes, and contain [a-z], [A-Z], [0-9] and [_-.].
+* `content` - (Required, String) Command. The maximum length of Base64 encoding is 64KB.
+* `command_type` - (Optional, String) Command type. `SHELL` and `POWERSHELL` are supported. The default value is `SHELL`.
+* `default_parameters` - (Optional, String) The default value of the custom parameter value when it is enabled. The field type is JSON encoded string. For example, {'varA': '222'}.`key` is the name of the custom parameter and value is the default value. Both `key` and `value` are strings.If no parameter value is provided in the `InvokeCommand` API, the default value is used.Up to 20 custom parameters are supported.The name of the custom parameter cannot exceed 64 characters and can contain [a-z], [A-Z], [0-9] and [-_].
+* `description` - (Optional, String) Command description. The maximum length is 120 characters.
+* `enable_parameter` - (Optional, Bool) Whether to enable the custom parameter feature.This cannot be modified once created.Default value: `false`.
+* `output_cos_bucket_url` - (Optional, String) The COS bucket URL for uploading logs. The URL must start with `https`, such as `https://BucketName-123454321.cos.ap-beijing.myqcloud.com`.
+* `output_cos_key_prefix` - (Optional, String) The COS bucket directory where the logs are saved. Check below for the rules of the directory name.1. It must be a combination of number, letters, and visible characters. Up to 60 characters are allowed.2. Use a slash (/) to create a subdirectory.3. Consecutive dots (.) and slashes (/) are not allowed. It can not start with a slash (/).
+* `tags` - (Optional, List) Tags bound to the command. At most 10 tags are allowed.
+* `timeout` - (Optional, Int) Command timeout period. Default value: 60 seconds. Value range: [1, 86400].
+* `username` - (Optional, String) The username used to execute the command on the CVM or Lighthouse instance.The principle of least privilege is the best practice for permission management. We recommend you execute TAT commands as a general user. By default, the root user is used to execute commands on Linux and the System user is used on Windows.
+* `working_directory` - (Optional, String) Command execution path. The default value is /root for `SHELL` commands and C:/Program Files/qcloudtat_agent/workdir for `POWERSHELL` commands.
+
+The `tags` object supports the following:
+
+* `key` - (Required, String) Tag key.
+* `value` - (Required, String) Tag value.
+
+## Attributes Reference
+
+In addition to all arguments above, the following attributes are exported:
+
+* `id` - ID of the resource.
+* `created_by` - Command creator. `TAT` indicates a public command and `USER` indicates a personal command.
+* `created_time` - Command creation time.
+* `formatted_description` - Formatted description of the command. This parameter is an empty string for user commands and contains values for public commands.
+* `updated_time` - Command update time.
+
+
+## Import
+
+tat command can be imported using the id, e.g.
+```
+$ terraform import tencentcloud_tat_command.command cmd-6fydo27j
+```
+
diff --git a/config/docs/r/tat_invocation_command_attachment.html.markdown b/config/docs/r/tat_invocation_command_attachment.html.markdown
new file mode 100644
index 0000000..01c83a1
--- /dev/null
+++ b/config/docs/r/tat_invocation_command_attachment.html.markdown
@@ -0,0 +1,61 @@
+---
+subcategory: "TencentCloud Automation Tools(TAT)"
+layout: "tencentcloud"
+page_title: "TencentCloud: tencentcloud_tat_invocation_command_attachment"
+sidebar_current: "docs-tencentcloud-resource-tat_invocation_command_attachment"
+description: |-
+ Provides a resource to create a tat invocation_command_attachment
+---
+
+# tencentcloud_tat_invocation_command_attachment
+
+Provides a resource to create a tat invocation_command_attachment
+
+## Example Usage
+
+```hcl
+resource "tencentcloud_tat_invocation_command_attachment" "invocation_command_attachment" {
+ content = base64encode("pwd")
+ instance_id = "ins-881b1c8w"
+ command_name = "terraform-test"
+ description = "shell test"
+ command_type = "SHELL"
+ working_directory = "/root"
+ timeout = 100
+ save_command = false
+ enable_parameter = false
+ # default_parameters = "{\"varA\": \"222\"}"
+ # parameters = "{\"varA\": \"222\"}"
+ username = "root"
+ output_cos_bucket_url = "https://BucketName-123454321.cos.ap-beijing.myqcloud.com"
+ output_cos_key_prefix = "log"
+}
+```
+
+## Argument Reference
+
+The following arguments are supported:
+
+* `content` - (Required, String, ForceNew) Base64-encoded command. The maximum length is 64 KB.
+* `instance_id` - (Required, String, ForceNew) ID of instances about to execute commands. Supported instance types: CVM LIGHTHOUSE.
+* `command_name` - (Optional, String, ForceNew) Command name. The name can be up to 60 bytes, and contain [a-z], [A-Z], [0-9] and [_-.].
+* `command_type` - (Optional, String, ForceNew) Command type. SHELL and POWERSHELL are supported. The default value is SHELL.
+* `default_parameters` - (Optional, String, ForceNew) The default value of the custom parameter value when it is enabled. The field type is JSON encoded string. For example, {varA: 222}.key is the name of the custom parameter and value is the default value. Both key and value are strings.If Parameters is not provided, the default values specified here are used.Up to 20 custom parameters are supported.The name of the custom parameter cannot exceed 64 characters and can contain [a-z], [A-Z], [0-9] and [-_].
+* `description` - (Optional, String, ForceNew) Command description. The maximum length is 120 characters.
+* `enable_parameter` - (Optional, Bool, ForceNew) Whether to enable the custom parameter feature.This cannot be modified once created.Default value: false.
+* `output_cos_bucket_url` - (Optional, String, ForceNew) The COS bucket URL for uploading logs; The URL must start with https, such as https://BucketName-123454321.cos.ap-beijing.myqcloud.com.
+* `output_cos_key_prefix` - (Optional, String, ForceNew) The COS bucket directory where the logs are saved; Check below for the rules of the directory name: 1 It must be a combination of number, letters, and visible characters, Up to 60 characters are allowed; 2 Use a slash (/) to create a subdirectory; 3 can not be used as the folder name; It cannot start with a slash (/), and cannot contain consecutive slashes.
+* `parameters` - (Optional, String, ForceNew) Custom parameters of Command. The field type is JSON encoded string. For example, {varA: 222}.key is the name of the custom parameter and value is the default value. Both key and value are strings.If no parameter value is provided, the DefaultParameters is used.Up to 20 custom parameters are supported.The name of the custom parameter cannot exceed 64 characters and can contain [a-z], [A-Z], [0-9] and [-_].
+* `save_command` - (Optional, Bool, ForceNew) Whether to save the command. Valid values:rue: SaveFalse:Do not saveThe default value is False.
+* `timeout` - (Optional, Int, ForceNew) Command timeout period. Default value: 60 seconds. Value range: [1, 86400].
+* `username` - (Optional, String, ForceNew) The username used to execute the command on the CVM or Lighthouse instance.The principle of least privilege is the best practice for permission management. We recommend you execute TAT commands as a general user. By default, the user root is used to execute commands on Linux and the user System is used on Windows.
+* `working_directory` - (Optional, String, ForceNew) Command execution path. The default value is /root for SHELL commands and C:Program Filesqcloudtat_agentworkdir for POWERSHELL commands.
+
+## Attributes Reference
+
+In addition to all arguments above, the following attributes are exported:
+
+* `id` - ID of the resource.
+* `command_id` - Command ID.
+
+
diff --git a/config/docs/r/tat_invocation_invoke_attachment.html.markdown b/config/docs/r/tat_invocation_invoke_attachment.html.markdown
new file mode 100644
index 0000000..3dad46b
--- /dev/null
+++ b/config/docs/r/tat_invocation_invoke_attachment.html.markdown
@@ -0,0 +1,57 @@
+---
+subcategory: "TencentCloud Automation Tools(TAT)"
+layout: "tencentcloud"
+page_title: "TencentCloud: tencentcloud_tat_invocation_invoke_attachment"
+sidebar_current: "docs-tencentcloud-resource-tat_invocation_invoke_attachment"
+description: |-
+ Provides a resource to create a tat invocation_invoke_attachment
+---
+
+# tencentcloud_tat_invocation_invoke_attachment
+
+Provides a resource to create a tat invocation_invoke_attachment
+
+## Example Usage
+
+```hcl
+resource "tencentcloud_tat_invocation_invoke_attachment" "invocation_invoke_attachment" {
+ instance_id = "ins-881b1c8w"
+ working_directory = "/root"
+ timeout = 100
+ # parameters = "{\"varA\": \"222\"}"
+ username = "root"
+ output_cos_bucket_url = "https://BucketName-123454321.cos.ap-beijing.myqcloud.com"
+ output_cos_key_prefix = "log"
+ command_id = "cmd-rxbs7f5z"
+}
+```
+
+## Argument Reference
+
+The following arguments are supported:
+
+* `command_id` - (Required, String, ForceNew) Command ID.
+* `instance_id` - (Required, String, ForceNew) ID of instances about to execute commands. Supported instance types: CVM LIGHTHOUSE.
+* `output_cos_bucket_url` - (Optional, String, ForceNew) The COS bucket URL for uploading logs. The URL must start with https, such as https://BucketName-123454321.cos.ap-beijing.myqcloud.com.
+* `output_cos_key_prefix` - (Optional, String, ForceNew) The COS bucket directory where the logs are saved; Check below for the rules of the directory name: 1 It must be a combination of number, letters, and visible characters, Up to 60 characters are allowed; 2 Use a slash (/) to create a subdirectory; 3 can not be used as the folder name; It cannot start with a slash (/), and cannot contain consecutive slashes.
+* `parameters` - (Optional, String, ForceNew) Custom parameters of Command. The field type is JSON encoded string. For example, {varA: 222}.key is the name of the custom parameter and value is the default value. Both key and value are strings.If no parameter value is provided, the DefaultParameters is used.Up to 20 custom parameters are supported.The name of the custom parameter cannot exceed 64 characters and can contain [a-z], [A-Z], [0-9] and [-_].
+* `timeout` - (Optional, Int, ForceNew) Command timeout period. Default value: 60 seconds. Value range: [1, 86400].
+* `username` - (Optional, String, ForceNew) The username used to execute the command on the CVM or Lighthouse instance.The principle of least privilege is the best practice for permission management. We recommend you execute TAT commands as a general user. By default, the user root is used to execute commands on Linux and the user System is used on Windows.
+* `working_directory` - (Optional, String, ForceNew) Command execution path. The default value is /root for SHELL commands and C:Program Filesqcloudtat_agentworkdir for POWERSHELL commands.
+
+## Attributes Reference
+
+In addition to all arguments above, the following attributes are exported:
+
+* `id` - ID of the resource.
+
+
+
+## Import
+
+tat invocation can be imported using the invocation_id#instance_id, e.g.
+
+```
+terraform import tencentcloud_tat_invocation_invoke_attachment.invocation_invoke_attachment inv-mhs6ca8z#ins-881b1c8w
+```
+
diff --git a/config/docs/r/tat_invoker.html.markdown b/config/docs/r/tat_invoker.html.markdown
new file mode 100644
index 0000000..5acd5a8
--- /dev/null
+++ b/config/docs/r/tat_invoker.html.markdown
@@ -0,0 +1,67 @@
+---
+subcategory: "TencentCloud Automation Tools(TAT)"
+layout: "tencentcloud"
+page_title: "TencentCloud: tencentcloud_tat_invoker"
+sidebar_current: "docs-tencentcloud-resource-tat_invoker"
+description: |-
+ Provides a resource to create a tat invoker
+---
+
+# tencentcloud_tat_invoker
+
+Provides a resource to create a tat invoker
+
+## Example Usage
+
+```hcl
+resource "tencentcloud_tat_invoker" "invoker" {
+ name = "pwd-1"
+ type = "SCHEDULE"
+ command_id = "cmd-6fydo27j"
+ instance_ids = ["ins-3c7q2ebs", ]
+ username = "root"
+ # parameters = ""
+ schedule_settings {
+ policy = "ONCE"
+ # recurrence = ""
+ invoke_time = "2099-11-17T16:00:00Z"
+ }
+}
+```
+
+## Argument Reference
+
+The following arguments are supported:
+
+* `command_id` - (Required, String) Remote command ID.
+* `instance_ids` - (Required, Set: [`String`]) ID of the instance bound to the trigger. Up to 100 IDs are allowed.
+* `name` - (Required, String) Invoker name.
+* `type` - (Required, String) Invoker type. It can only be `SCHEDULE` (recurring invokers).
+* `parameters` - (Optional, String) Custom parameters of the command.
+* `schedule_settings` - (Optional, List) Settings required for a recurring invoker.
+* `username` - (Optional, String) The user who executes the command.
+
+The `schedule_settings` object supports the following:
+
+* `policy` - (Required, String) Execution policy: `ONCE`: Execute once; `RECURRENCE`: Execute repeatedly.
+* `invoke_time` - (Optional, String) The next execution time of the invoker. This field is required if Policy is ONCE.
+* `recurrence` - (Optional, String) Trigger the crontab expression. This field is required if `Policy` is `RECURRENCE`. The crontab expression is parsed in UTC+8.
+
+## Attributes Reference
+
+In addition to all arguments above, the following attributes are exported:
+
+* `id` - ID of the resource.
+* `created_time` - Creation time.
+* `enable` - Whether to enable the invoker.
+* `invoker_id` - Invoker ID.
+* `updated_time` - Modification time.
+
+
+## Import
+
+tat invoker can be imported using the id, e.g.
+```
+$ terraform import tencentcloud_tat_invoker.invoker ivk-gwb4ztk5
+```
+
diff --git a/config/docs/r/tat_invoker_config.html.markdown b/config/docs/r/tat_invoker_config.html.markdown
new file mode 100644
index 0000000..05871bc
--- /dev/null
+++ b/config/docs/r/tat_invoker_config.html.markdown
@@ -0,0 +1,45 @@
+---
+subcategory: "TencentCloud Automation Tools(TAT)"
+layout: "tencentcloud"
+page_title: "TencentCloud: tencentcloud_tat_invoker_config"
+sidebar_current: "docs-tencentcloud-resource-tat_invoker_config"
+description: |-
+ Provides a resource to create a tat invoker_config
+---
+
+# tencentcloud_tat_invoker_config
+
+Provides a resource to create a tat invoker_config
+
+## Example Usage
+
+```hcl
+resource "tencentcloud_tat_invoker_config" "invoker_config" {
+ invoker_id = "ivk-cas4upyf"
+ invoker_status = "on"
+}
+```
+
+## Argument Reference
+
+The following arguments are supported:
+
+* `invoker_id` - (Required, String) ID of the invoker to be enabled.
+* `invoker_status` - (Required, String) Invoker on and off state, Values: `on`, `off`.
+
+## Attributes Reference
+
+In addition to all arguments above, the following attributes are exported:
+
+* `id` - ID of the resource.
+
+
+
+## Import
+
+tat invoker_config can be imported using the id, e.g.
+
+```
+terraform import tencentcloud_tat_invoker_config.invoker_config invoker_config_id
+```
+
diff --git a/config/docs/r/tcaplus_cluster.html.markdown b/config/docs/r/tcaplus_cluster.html.markdown
new file mode 100644
index 0000000..52960ce
--- /dev/null
+++ b/config/docs/r/tcaplus_cluster.html.markdown
@@ -0,0 +1,77 @@
+---
+subcategory: "TcaplusDB"
+layout: "tencentcloud"
+page_title: "TencentCloud: tencentcloud_tcaplus_cluster"
+sidebar_current: "docs-tencentcloud-resource-tcaplus_cluster"
+description: |-
+ Use this resource to create TcaplusDB cluster.
+---
+
+# tencentcloud_tcaplus_cluster
+
+Use this resource to create TcaplusDB cluster.
+
+~> **NOTE:** TcaplusDB now only supports the following regions: `ap-shanghai,ap-hongkong,na-siliconvalley,ap-singapore,ap-seoul,ap-tokyo,eu-frankfurt, and na-ashburn`.
+
+## Example Usage
+
+### Create a new tcaplus cluster instance
+
+```hcl
+locals {
+ vpc_id = data.tencentcloud_vpc_subnets.vpc.instance_list.0.vpc_id
+ subnet_id = data.tencentcloud_vpc_subnets.vpc.instance_list.0.subnet_id
+}
+
+variable "availability_zone" {
+ default = "ap-guangzhou-3"
+}
+
+data "tencentcloud_vpc_subnets" "vpc" {
+ is_default = true
+ availability_zone = var.availability_zone
+}
+
+resource "tencentcloud_tcaplus_cluster" "example" {
+ idl_type = "PROTO"
+ cluster_name = "tf_example_tcaplus_cluster"
+ vpc_id = local.vpc_id
+ subnet_id = local.subnet_id
+ password = "your_pw_123111"
+ old_password_expire_last = 3600
+}
+```
+
+## Argument Reference
+
+The following arguments are supported:
+
+* `cluster_name` - (Required, String) Name of the TcaplusDB cluster. Name length should be between 1 and 30.
+* `idl_type` - (Required, String, ForceNew) IDL type of the TcaplusDB cluster. Valid values: `PROTO` and `TDR`.
+* `password` - (Required, String) Password of the TcaplusDB cluster. Password length should be between 12 and 16. The password must be a *mix* of uppercase letters (A-Z), lowercase *letters* (a-z) and *numbers* (0-9).
+* `subnet_id` - (Required, String, ForceNew) Subnet id of the TcaplusDB cluster.
+* `vpc_id` - (Required, String, ForceNew) VPC id of the TcaplusDB cluster.
+* `old_password_expire_last` - (Optional, Int) Expiration time of old password after password update, unit: second.
+
+## Attributes Reference
+
+In addition to all arguments above, the following attributes are exported:
+
+* `id` - ID of the resource.
+* `api_access_id` - Access ID of the TcaplusDB cluster.For TcaplusDB SDK connect.
+* `api_access_ip` - Access IP of the TcaplusDB cluster.For TcaplusDB SDK connect.
+* `api_access_port` - Access port of the TcaplusDB cluster.For TcaplusDB SDK connect.
+* `create_time` - Create time of the TcaplusDB cluster.
+* `network_type` - Network type of the TcaplusDB cluster.
+* `old_password_expire_time` - Expiration time of the old password. If `password_status` is `unmodifiable`, it means the old password has not yet expired.
+* `password_status` - Password status of the TcaplusDB cluster. Valid values: `unmodifiable`, `modifiable`. `unmodifiable`. which means the password can not be changed in this moment; `modifiable`, which means the password can be changed in this moment.
+
+
+## Import
+
+tcaplus cluster can be imported using the id, e.g.
+
+```
+$ terraform import tencentcloud_tcaplus_cluster.example cluster_id
+```
+
diff --git a/config/docs/r/tcaplus_idl.html.markdown b/config/docs/r/tcaplus_idl.html.markdown
new file mode 100644
index 0000000..3f5f28d
--- /dev/null
+++ b/config/docs/r/tcaplus_idl.html.markdown
@@ -0,0 +1,110 @@
+---
+subcategory: "TcaplusDB"
+layout: "tencentcloud"
+page_title: "TencentCloud: tencentcloud_tcaplus_idl"
+sidebar_current: "docs-tencentcloud-resource-tcaplus_idl"
+description: |-
+ Use this resource to create TcaplusDB IDL file.
+---
+
+# tencentcloud_tcaplus_idl
+
+Use this resource to create TcaplusDB IDL file.
+
+## Example Usage
+
+### Create a tcaplus database idl file
+
+The file will be with a specified cluster and tablegroup.
+
+```hcl
+locals {
+ vpc_id = data.tencentcloud_vpc_subnets.vpc.instance_list.0.vpc_id
+ subnet_id = data.tencentcloud_vpc_subnets.vpc.instance_list.0.subnet_id
+}
+
+variable "availability_zone" {
+ default = "ap-guangzhou-3"
+}
+
+data "tencentcloud_vpc_subnets" "vpc" {
+ is_default = true
+ availability_zone = var.availability_zone
+}
+
+resource "tencentcloud_tcaplus_cluster" "example" {
+ idl_type = "PROTO"
+ cluster_name = "tf_example_tcaplus_cluster"
+ vpc_id = local.vpc_id
+ subnet_id = local.subnet_id
+ password = "your_pw_123111"
+ old_password_expire_last = 3600
+}
+
+resource "tencentcloud_tcaplus_tablegroup" "example" {
+ cluster_id = tencentcloud_tcaplus_cluster.example.id
+ tablegroup_name = "tf_example_group_name"
+}
+
+resource "tencentcloud_tcaplus_idl" "main" {
+ cluster_id = tencentcloud_tcaplus_cluster.example.id
+ tablegroup_id = tencentcloud_tcaplus_tablegroup.example.id
+ file_name = "tf_example_tcaplus_idl"
+ file_type = "PROTO"
+ file_ext_type = "proto"
+ file_content = <