diff --git a/tencentcloud/data_source_tc_sqlserver_basic_instances.go b/tencentcloud/data_source_tc_sqlserver_basic_instances.go index 689343e234..6f09e019c4 100644 --- a/tencentcloud/data_source_tc_sqlserver_basic_instances.go +++ b/tencentcloud/data_source_tc_sqlserver_basic_instances.go @@ -87,7 +87,7 @@ func dataSourceTencentCloudSqlserverBasicInstances() *schema.Resource { "engine_version": { Type: schema.TypeString, Computed: true, - Description: "Version of the SQL Server basic database engine. Allowed values are `2008R2`(SQL Server 2008 Enerprise), `2012SP3`(SQL Server 2012 Enterprise), `2016SP1` (SQL Server 2016 Enterprise), `201602`(SQL Server 2016 Standard) and `2017`(SQL Server 2017 Enterprise). Default is `2008R2`.", + Description: "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`.", }, "vpc_id": { Type: schema.TypeString, diff --git a/tencentcloud/data_source_tc_sqlserver_instances.go b/tencentcloud/data_source_tc_sqlserver_instances.go index c7bbd79ce8..e7db4bbb37 100644 --- a/tencentcloud/data_source_tc_sqlserver_instances.go +++ b/tencentcloud/data_source_tc_sqlserver_instances.go @@ -81,12 +81,12 @@ func dataSourceTencentCloudSqlserverInstances() *schema.Resource { "engine_version": { Type: schema.TypeString, Computed: true, - Description: "Version of the SQL Server database engine. Allowed values are `2008R2`(SQL Server 2008 Enerprise), `2012SP3`(SQL Server 2012 Enterprise), `2016SP1` (SQL Server 2016 Enterprise), `201602`(SQL Server 2016 Standard) and `2017`(SQL Server 2017 Enterprise). Default is `2008R2`.", + Description: "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": { Type: schema.TypeString, Computed: true, - Description: "Instance type.", + Description: "Instance type. `DUAL` (dual-server high availability), `CLUSTER` (cluster).", }, "vpc_id": { Type: schema.TypeString, @@ -116,7 +116,7 @@ func dataSourceTencentCloudSqlserverInstances() *schema.Resource { "ro_flag": { Type: schema.TypeString, Computed: true, - Description: "Readonly flag. `RO` for readonly instance, `MASTER` for master instance, `` for not readonly instance.", + Description: "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.", }, "availability_zone": { Type: schema.TypeString, diff --git a/tencentcloud/data_source_tc_sqlserver_publish_subscribes.go b/tencentcloud/data_source_tc_sqlserver_publish_subscribes.go index 95842ed9a9..b4fb45a12a 100644 --- a/tencentcloud/data_source_tc_sqlserver_publish_subscribes.go +++ b/tencentcloud/data_source_tc_sqlserver_publish_subscribes.go @@ -42,32 +42,32 @@ func dataSourceTencentSqlserverPublishSubscribes() *schema.Resource { "pub_or_sub_instance_id": { Type: schema.TypeString, Optional: true, - Description: "The subscribe/publish instance ID is related to whether the `instance_id` is a publish instance or a subscribe instance. when `instance_id` is a publish instance, this field is filtered according to the subscribe instance ID; when `instance_id` is a subscribe instance, this field is filtering according to the publish instance ID.", + Description: "The subscribe/publish instance ID. It is related to whether the `instance_id` is a publish instance or a subscribe instance. when `instance_id` is a publish instance, this field is filtered according to the subscribe instance ID; when `instance_id` is a subscribe instance, this field is filtering according to the publish instance ID.", }, "pub_or_sub_instance_ip": { Type: schema.TypeString, Optional: true, - Description: "The intranet IP of the subscribe/publish instance is related to whether the `instance_id` is a publish instance or a subscribe instance. when `instance_id` is a publish instance, this field is filtered according to the intranet IP of the subscribe instance; when `instance_id` is a subscribe instance, this field is based on the publish instance intranet IP filter.", + Description: "The intranet IP of the subscribe/publish instance. It is related to whether the `instance_id` is a publish instance or a subscribe instance. when `instance_id` is a publish instance, this field is filtered according to the intranet IP of the subscribe instance; when `instance_id` is a subscribe instance, this field is based on the publish instance intranet IP filter.", }, "publish_subscribe_id": { Type: schema.TypeInt, Optional: true, - Description: "The id of the Publish and Subscribe in the SQLServer instance.", + Description: "The id of the Publish and Subscribe.", }, "publish_subscribe_name": { Type: schema.TypeString, Optional: true, - Description: "The name of the Publish and Subscribe in the SQLServer instance.", + Description: "The name of the Publish and Subscribe.", }, "publish_database": { Type: schema.TypeString, Optional: true, - Description: "Publish the database.", + Description: "Name of publish database.", }, "subscribe_database": { Type: schema.TypeString, Optional: true, - Description: "Subscribe to the database.", + Description: "Name of subscribe database.", }, "publish_subscribe_list": { Type: schema.TypeList, @@ -78,42 +78,42 @@ func dataSourceTencentSqlserverPublishSubscribes() *schema.Resource { "publish_subscribe_id": { Type: schema.TypeInt, Computed: true, - Description: "The id of the Publish and Subscribe in the SQLServer instance.", + Description: "The id of the Publish and Subscribe.", }, "publish_subscribe_name": { Type: schema.TypeString, Computed: true, - Description: "The name of the Publish and Subscribe in the SQLServer instance.", + Description: "The name of the Publish and Subscribe.", }, "publish_instance_id": { Type: schema.TypeString, Computed: true, - Description: "Publish the instance ID in the SQLServer instance.", + Description: "ID of the SQL Server instance which publish.", }, "publish_instance_name": { Type: schema.TypeString, Computed: true, - Description: "Publish the instance name in the SQLServer instance.", + Description: "Name of the SQL Server instance which publish.", }, "publish_instance_ip": { Type: schema.TypeString, Computed: true, - Description: "Publish the instance IP in the SQLServer instance.", + Description: "IP of the the SQL Server instance which publish.", }, "subscribe_instance_id": { Type: schema.TypeString, Computed: true, - Description: "Subscribe the instance ID in the SQLServer instance.", + Description: "ID of the SQL Server instance which subscribe.", }, "subscribe_instance_name": { Type: schema.TypeString, Computed: true, - Description: "Subscribe the instance name in the SQLServer instance.", + Description: "Name of the SQL Server instance which subscribe.", }, "subscribe_instance_ip": { Type: schema.TypeString, Computed: true, - Description: "Subscribe the instance IP in the SQLServer instance.", + Description: "IP of the SQL Server instance which subscribe.", }, "database_tuples": { Type: schema.TypeSet, @@ -124,12 +124,12 @@ func dataSourceTencentSqlserverPublishSubscribes() *schema.Resource { "publish_database": { Type: schema.TypeString, Computed: true, - Description: "Publish the database.", + Description: "Name of the publish SQL Server instance.", }, "subscribe_database": { Type: schema.TypeString, Computed: true, - Description: "Subscribe to the database.", + Description: "Name of the subscribe SQL Server instance.", }, "last_sync_time": { Type: schema.TypeString, @@ -139,7 +139,7 @@ func dataSourceTencentSqlserverPublishSubscribes() *schema.Resource { "status": { Type: schema.TypeString, Computed: true, - Description: "Publish and subscribe status between databases `running`, `success`, `fail`, `unknow`.", + Description: "Publish and subscribe status between databases, valid values are `running`, `success`, `fail`, `unknow`.", }, }, }, diff --git a/tencentcloud/data_source_tc_sqlserver_readonly_groups.go b/tencentcloud/data_source_tc_sqlserver_readonly_groups.go index cea501c9d8..440023bf6f 100644 --- a/tencentcloud/data_source_tc_sqlserver_readonly_groups.go +++ b/tencentcloud/data_source_tc_sqlserver_readonly_groups.go @@ -91,7 +91,7 @@ func dataSourceTencentCloudSqlserverReadonlyGroups() *schema.Resource { "status": { Type: schema.TypeInt, Computed: true, - Description: "Status of the readonly group. 1 for running, 5 for applying.", + Description: "Status of the readonly group. `1` for running, `5` for applying.", }, }, }, diff --git a/tencentcloud/resource_tc_sqlserver_basic_instance.go b/tencentcloud/resource_tc_sqlserver_basic_instance.go index 90d7579042..fee854550a 100644 --- a/tencentcloud/resource_tc_sqlserver_basic_instance.go +++ b/tencentcloud/resource_tc_sqlserver_basic_instance.go @@ -108,7 +108,7 @@ func resourceTencentCloudSqlserverBasicInstance() *schema.Resource { ForceNew: true, Optional: true, Default: "2008R2", - Description: "Version of the SQL Server basic database engine. Allowed values are `2008R2`(SQL Server 2008 Enerprise), `2012SP3`(SQL Server 2012 Enterprise), `2016SP1` (SQL Server 2016 Enterprise), `201602`(SQL Server 2016 Standard) and `2017`(SQL Server 2017 Enterprise). Default is `2008R2`.", + Description: "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`.", }, "period": { Type: schema.TypeInt, diff --git a/tencentcloud/resource_tc_sqlserver_db.go b/tencentcloud/resource_tc_sqlserver_db.go index e45fd1c960..ed8bd01d91 100644 --- a/tencentcloud/resource_tc_sqlserver_db.go +++ b/tencentcloud/resource_tc_sqlserver_db.go @@ -45,13 +45,13 @@ func resourceTencentCloudSqlserverDB() *schema.Resource { Type: schema.TypeString, Required: true, ForceNew: true, - Description: "SQLServer instance ID which DB belongs to.", + Description: "SQL Server instance ID which DB belongs to.", }, "name": { Type: schema.TypeString, Required: true, ForceNew: true, - Description: "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.", + Description: "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": { Type: schema.TypeString, diff --git a/tencentcloud/resource_tc_sqlserver_instance.go b/tencentcloud/resource_tc_sqlserver_instance.go index 073014d832..fa3a67013c 100644 --- a/tencentcloud/resource_tc_sqlserver_instance.go +++ b/tencentcloud/resource_tc_sqlserver_instance.go @@ -93,7 +93,7 @@ func TencentSqlServerBasicInfo() map[string]*schema.Schema { "ro_flag": { Type: schema.TypeString, Computed: true, - Description: "Readonly flag. `RO` for readonly instance, `MASTER` for master instance, `` for not readonly instance.", + Description: "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.", }, "vip": { Type: schema.TypeString, @@ -138,14 +138,14 @@ func resourceTencentCloudSqlserverInstance() *schema.Resource { ForceNew: true, Optional: true, Default: "2008R2", - Description: "Version of the SQL Server database engine. Allowed values are `2008R2`(SQL Server 2008 Enerprise), `2012SP3`(SQL Server 2012 Enterprise), `2016SP1` (SQL Server 2016 Enterprise), `201602`(SQL Server 2016 Standard) and `2017`(SQL Server 2017 Enterprise). Default is `2008R2`.", + Description: "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": { Type: schema.TypeString, ForceNew: true, Optional: true, Default: "DUAL", - Description: "Instance type. Valid value are `DUAL`, `CLUSTER`. Default is `DUAL`.", + Description: "Instance type. `DUAL` (dual-server high availability), `CLUSTER` (cluster). Default is `DUAL`.", }, "maintenance_week_set": { Type: schema.TypeSet, diff --git a/tencentcloud/resource_tc_sqlserver_publish_subscribe.go b/tencentcloud/resource_tc_sqlserver_publish_subscribe.go index 6b1baa2187..3e2ff02e4a 100644 --- a/tencentcloud/resource_tc_sqlserver_publish_subscribe.go +++ b/tencentcloud/resource_tc_sqlserver_publish_subscribe.go @@ -49,25 +49,25 @@ func resourceTencentCloudSqlserverPublishSubscribe() *schema.Resource { Type: schema.TypeString, Required: true, ForceNew: true, - Description: "Publish the instance ID in the SQLServer instance.", + Description: "ID of the SQL Server instance which publish.", }, "subscribe_instance_id": { Type: schema.TypeString, Required: true, ForceNew: true, - Description: "Subscribe the instance ID in the SQLServer instance.", + Description: "ID of the SQL Server instance which subscribe.", }, "publish_subscribe_name": { Type: schema.TypeString, Optional: true, Default: "default_name", - Description: "The name of the Publish and Subscribe in the SQLServer instance. default is `default_name`.", + Description: "The name of the Publish and Subscribe. Default is `default_name`.", }, "delete_subscribe_db": { Type: schema.TypeBool, Optional: true, Default: false, - Description: "Whether to delete the subscriber database when deleting the Publish and Subscribe in the SQLServer instance. `true` for deletes the subscribe database, `false` for does not delete the subscribe database. default is `false`.", + Description: "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`.", }, "database_tuples": { Type: schema.TypeSet, diff --git a/tencentcloud/resource_tc_sqlserver_readonly_instance.go b/tencentcloud/resource_tc_sqlserver_readonly_instance.go index 74263d0bfa..64e544b9cd 100644 --- a/tencentcloud/resource_tc_sqlserver_readonly_instance.go +++ b/tencentcloud/resource_tc_sqlserver_readonly_instance.go @@ -50,7 +50,7 @@ func resourceTencentCloudSqlserverReadonlyInstance() *schema.Resource { ForceNew: true, Required: true, ValidateFunc: validateAllowedIntValue([]int{1, 3}), - Description: "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.", + Description: "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.", }, "force_upgrade": { Type: schema.TypeBool, diff --git a/website/docs/d/sqlserver_basic_instances.html.markdown b/website/docs/d/sqlserver_basic_instances.html.markdown index 5c9886a0b7..579a0d148f 100644 --- a/website/docs/d/sqlserver_basic_instances.html.markdown +++ b/website/docs/d/sqlserver_basic_instances.html.markdown @@ -52,7 +52,7 @@ In addition to all arguments above, the following attributes are exported: * `charge_type` - Pay type of the SQL Server basic instance. For now, only `POSTPAID_BY_HOUR` is valid. * `cpu` - The CPU number of the SQL Server basic instance. * `create_time` - Create time of the SQL Server basic instance. - * `engine_version` - Version of the SQL Server basic database engine. Allowed values are `2008R2`(SQL Server 2008 Enerprise), `2012SP3`(SQL Server 2012 Enterprise), `2016SP1` (SQL Server 2016 Enterprise), `201602`(SQL Server 2016 Standard) and `2017`(SQL Server 2017 Enterprise). Default is `2008R2`. + * `engine_version` - 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`. * `id` - ID of the SQL Server basic instance. * `memory` - Memory size (in GB). Allowed value must be larger than `memory` that data source `tencentcloud_sqlserver_specinfos` provides. * `name` - Name of the SQL Server basic instance. diff --git a/website/docs/d/sqlserver_instances.html.markdown b/website/docs/d/sqlserver_instances.html.markdown index dcdc21f863..a095c90dcd 100644 --- a/website/docs/d/sqlserver_instances.html.markdown +++ b/website/docs/d/sqlserver_instances.html.markdown @@ -46,13 +46,13 @@ In addition to all arguments above, the following attributes are exported: * `availability_zone` - Availability zone. * `charge_type` - Pay type of the SQL Server instance. For now, only `POSTPAID_BY_HOUR` is valid. * `create_time` - Create time of the SQL Server instance. - * `engine_version` - Version of the SQL Server database engine. Allowed values are `2008R2`(SQL Server 2008 Enerprise), `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` - Instance type. + * `engine_version` - 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` - Instance type. `DUAL` (dual-server high availability), `CLUSTER` (cluster). * `id` - ID of the SQL Server instance. * `memory` - Memory size (in GB). Allowed value must be larger than `memory` that data source `tencentcloud_sqlserver_specinfos` provides. * `name` - Name of the SQL Server instance. * `project_id` - Project ID, default value is 0. - * `ro_flag` - Readonly flag. `RO` for readonly instance, `MASTER` for master instance, `` for not readonly 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. * `storage` - 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. * `subnet_id` - ID of subnet. diff --git a/website/docs/d/sqlserver_publish_subscribes.html.markdown b/website/docs/d/sqlserver_publish_subscribes.html.markdown index d8e9edd1ed..a75cf6a557 100644 --- a/website/docs/d/sqlserver_publish_subscribes.html.markdown +++ b/website/docs/d/sqlserver_publish_subscribes.html.markdown @@ -30,13 +30,13 @@ resource "tencentcloud_sqlserver_publish_subscribe" "example" { The following arguments are supported: * `instance_id` - (Required) ID of the SQL Server instance. -* `pub_or_sub_instance_id` - (Optional) The subscribe/publish instance ID is related to whether the `instance_id` is a publish instance or a subscribe instance. when `instance_id` is a publish instance, this field is filtered according to the subscribe instance ID; when `instance_id` is a subscribe instance, this field is filtering according to the publish instance ID. -* `pub_or_sub_instance_ip` - (Optional) The intranet IP of the subscribe/publish instance is related to whether the `instance_id` is a publish instance or a subscribe instance. when `instance_id` is a publish instance, this field is filtered according to the intranet IP of the subscribe instance; when `instance_id` is a subscribe instance, this field is based on the publish instance intranet IP filter. -* `publish_database` - (Optional) Publish the database. -* `publish_subscribe_id` - (Optional) The id of the Publish and Subscribe in the SQLServer instance. -* `publish_subscribe_name` - (Optional) The name of the Publish and Subscribe in the SQLServer instance. +* `pub_or_sub_instance_id` - (Optional) The subscribe/publish instance ID. It is related to whether the `instance_id` is a publish instance or a subscribe instance. when `instance_id` is a publish instance, this field is filtered according to the subscribe instance ID; when `instance_id` is a subscribe instance, this field is filtering according to the publish instance ID. +* `pub_or_sub_instance_ip` - (Optional) The intranet IP of the subscribe/publish instance. It is related to whether the `instance_id` is a publish instance or a subscribe instance. when `instance_id` is a publish instance, this field is filtered according to the intranet IP of the subscribe instance; when `instance_id` is a subscribe instance, this field is based on the publish instance intranet IP filter. +* `publish_database` - (Optional) Name of publish database. +* `publish_subscribe_id` - (Optional) The id of the Publish and Subscribe. +* `publish_subscribe_name` - (Optional) The name of the Publish and Subscribe. * `result_output_file` - (Optional) Used to store results. -* `subscribe_database` - (Optional) Subscribe to the database. +* `subscribe_database` - (Optional) Name of subscribe database. ## Attributes Reference @@ -45,16 +45,16 @@ In addition to all arguments above, the following attributes are exported: * `publish_subscribe_list` - Publish and subscribe list. Each element contains the following attributes. * `database_tuples` - Database Publish and Publish relationship list. * `last_sync_time` - Last sync time. - * `publish_database` - Publish the database. - * `status` - Publish and subscribe status between databases `running`, `success`, `fail`, `unknow`. - * `subscribe_database` - Subscribe to the database. - * `publish_instance_id` - Publish the instance ID in the SQLServer instance. - * `publish_instance_ip` - Publish the instance IP in the SQLServer instance. - * `publish_instance_name` - Publish the instance name in the SQLServer instance. - * `publish_subscribe_id` - The id of the Publish and Subscribe in the SQLServer instance. - * `publish_subscribe_name` - The name of the Publish and Subscribe in the SQLServer instance. - * `subscribe_instance_id` - Subscribe the instance ID in the SQLServer instance. - * `subscribe_instance_ip` - Subscribe the instance IP in the SQLServer instance. - * `subscribe_instance_name` - Subscribe the instance name in the SQLServer instance. + * `publish_database` - Name of the publish SQL Server instance. + * `status` - Publish and subscribe status between databases, valid values are `running`, `success`, `fail`, `unknow`. + * `subscribe_database` - Name of the subscribe SQL Server instance. + * `publish_instance_id` - ID of the SQL Server instance which publish. + * `publish_instance_ip` - IP of the the SQL Server instance which publish. + * `publish_instance_name` - Name of the SQL Server instance which publish. + * `publish_subscribe_id` - The id of the Publish and Subscribe. + * `publish_subscribe_name` - The name of the Publish and Subscribe. + * `subscribe_instance_id` - ID of the SQL Server instance which subscribe. + * `subscribe_instance_ip` - IP of the SQL Server instance which subscribe. + * `subscribe_instance_name` - Name of the SQL Server instance which subscribe. diff --git a/website/docs/d/sqlserver_readonly_groups.html.markdown b/website/docs/d/sqlserver_readonly_groups.html.markdown index a74f74cfab..d7f938012c 100644 --- a/website/docs/d/sqlserver_readonly_groups.html.markdown +++ b/website/docs/d/sqlserver_readonly_groups.html.markdown @@ -38,7 +38,7 @@ In addition to all arguments above, the following attributes are exported: * `min_instances` - Minimum readonly instances that stays in the group. * `name` - Name of the readonly group. * `readonly_instance_set` - Readonly instance ID set of the readonly group. - * `status` - Status of the readonly group. 1 for running, 5 for applying. + * `status` - Status of the readonly group. `1` for running, `5` for applying. * `vip` - Virtual IP address of the readonly group. * `vport` - Virtual port of the readonly group. diff --git a/website/docs/r/sqlserver_basic_instance.html.markdown b/website/docs/r/sqlserver_basic_instance.html.markdown index 2a1ee060c7..60849b38f3 100644 --- a/website/docs/r/sqlserver_basic_instance.html.markdown +++ b/website/docs/r/sqlserver_basic_instance.html.markdown @@ -49,7 +49,7 @@ The following arguments are supported: * `auto_voucher` - (Optional) Whether to use the voucher automatically; 1 for yes, 0 for no, the default is 0. * `availability_zone` - (Optional, ForceNew) Availability zone. * `charge_type` - (Optional, ForceNew) Pay type of the SQL Server basic instance. For now, only `POSTPAID_BY_HOUR` is valid. -* `engine_version` - (Optional, ForceNew) Version of the SQL Server basic database engine. Allowed values are `2008R2`(SQL Server 2008 Enerprise), `2012SP3`(SQL Server 2012 Enterprise), `2016SP1` (SQL Server 2016 Enterprise), `201602`(SQL Server 2016 Standard) and `2017`(SQL Server 2017 Enterprise). Default is `2008R2`. +* `engine_version` - (Optional, 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) Start time of the maintenance in one day, format like `HH:mm`. * `maintenance_time_span` - (Optional) The timespan of maintenance in one day, unit is hour. * `maintenance_week_set` - (Optional) A list of integer indicates weekly maintenance. For example, [1,7] presents do weekly maintenance on every Monday and Sunday. diff --git a/website/docs/r/sqlserver_db.html.markdown b/website/docs/r/sqlserver_db.html.markdown index 39288049ea..2ad428de08 100644 --- a/website/docs/r/sqlserver_db.html.markdown +++ b/website/docs/r/sqlserver_db.html.markdown @@ -26,8 +26,8 @@ resource "tencentcloud_sqlserver_db" "example" { The following arguments are supported: -* `instance_id` - (Required, ForceNew) SQLServer instance ID which DB belongs to. -* `name` - (Required, 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. +* `instance_id` - (Required, ForceNew) SQL Server instance ID which DB belongs to. +* `name` - (Required, 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, 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) Remark of the DB. diff --git a/website/docs/r/sqlserver_instance.html.markdown b/website/docs/r/sqlserver_instance.html.markdown index c643811ae6..0c6fab7160 100644 --- a/website/docs/r/sqlserver_instance.html.markdown +++ b/website/docs/r/sqlserver_instance.html.markdown @@ -35,8 +35,8 @@ The following arguments are supported: * `storage` - (Required) 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. * `availability_zone` - (Optional, ForceNew) Availability zone. * `charge_type` - (Optional, ForceNew) Pay type of the SQL Server instance. For now, only `POSTPAID_BY_HOUR` is valid. -* `engine_version` - (Optional, ForceNew) Version of the SQL Server database engine. Allowed values are `2008R2`(SQL Server 2008 Enerprise), `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, ForceNew) Instance type. Valid value are `DUAL`, `CLUSTER`. Default is `DUAL`. +* `engine_version` - (Optional, 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, ForceNew) Instance type. `DUAL` (dual-server high availability), `CLUSTER` (cluster). Default is `DUAL`. * `maintenance_start_time` - (Optional) Start time of the maintenance in one day, format like `HH:mm`. * `maintenance_time_span` - (Optional) The timespan of maintenance in one day, unit is hour. * `maintenance_week_set` - (Optional) A list of integer indicates weekly maintenance. For example, [2,7] presents do weekly maintenance on every Tuesday and Sunday. @@ -53,7 +53,7 @@ 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` for readonly instance, `MASTER` for master instance, `` for not readonly 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. diff --git a/website/docs/r/sqlserver_publish_subscribe.html.markdown b/website/docs/r/sqlserver_publish_subscribe.html.markdown index 0d8a6f37ce..646f58c689 100644 --- a/website/docs/r/sqlserver_publish_subscribe.html.markdown +++ b/website/docs/r/sqlserver_publish_subscribe.html.markdown @@ -30,10 +30,10 @@ resource "tencentcloud_sqlserver_publish_subscribe" "example" { The following arguments are supported: * `database_tuples` - (Required) Database Publish and Publish relationship list. The elements inside can be deleted and added individually, but modification is not allowed. -* `publish_instance_id` - (Required, ForceNew) Publish the instance ID in the SQLServer instance. -* `subscribe_instance_id` - (Required, ForceNew) Subscribe the instance ID in the SQLServer instance. -* `delete_subscribe_db` - (Optional) Whether to delete the subscriber database when deleting the Publish and Subscribe in the SQLServer instance. `true` for deletes the subscribe database, `false` for does not delete the subscribe database. default is `false`. -* `publish_subscribe_name` - (Optional) The name of the Publish and Subscribe in the SQLServer instance. default is `default_name`. +* `publish_instance_id` - (Required, ForceNew) ID of the SQL Server instance which publish. +* `subscribe_instance_id` - (Required, ForceNew) ID of the SQL Server instance which subscribe. +* `delete_subscribe_db` - (Optional) 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) The name of the Publish and Subscribe. Default is `default_name`. The `database_tuples` object supports the following: diff --git a/website/docs/r/sqlserver_readonly_instance.html.markdown b/website/docs/r/sqlserver_readonly_instance.html.markdown index 2955f77dbb..17db3f4d9e 100644 --- a/website/docs/r/sqlserver_readonly_instance.html.markdown +++ b/website/docs/r/sqlserver_readonly_instance.html.markdown @@ -35,7 +35,7 @@ The following arguments are supported: * `master_instance_id` - (Required, ForceNew) Indicates the master instance ID of recovery instances. * `memory` - (Required) Memory size (in GB). Allowed value must be larger than `memory` that data source `tencentcloud_sqlserver_specinfos` provides. * `name` - (Required) Name of the SQL Server instance. -* `readonly_group_type` - (Required, 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. +* `readonly_group_type` - (Required, 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) 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. * `availability_zone` - (Optional, ForceNew) Availability zone. * `charge_type` - (Optional, ForceNew) Pay type of the SQL Server instance. For now, only `POSTPAID_BY_HOUR` is valid. @@ -52,7 +52,7 @@ 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` for readonly instance, `MASTER` for master instance, `` for not readonly 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.