Skip to content

Commit b4884ad

Browse files
author
mikatong
committed
update
1 parent 6073709 commit b4884ad

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

.changelog/3315.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
```release-note:enhancement
2+
resource/tencentcloud_sqlserver_general_cloud_instance: add auto_voucher, voucher_ids, multi_zones, multi_nodes, dr_zones, disk_encrypt_flag
3+
```

website/docs/r/sqlserver_general_cloud_instance.html.markdown

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,10 +72,15 @@ The following arguments are supported:
7272
* `storage` - (Required, Int) instance disk storage, unit: GB.
7373
* `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.
7474
* `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'.
75+
* `auto_voucher` - (Optional, Int) Whether to automatically use vouchers;1-Yes, 0-No, not used by default.
7576
* `collation` - (Optional, String) System character set collation, default: Chinese_PRC_CI_AS.
7677
* `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.
78+
* `disk_encrypt_flag` - (Optional, Int) Disk encryption identification, 0-not encrypted, 1-encrypted.
79+
* `dr_zones` - (Optional, Int) The standby node availability area is empty by default. When MultiNodes = true, the primary node and standby node availability areas cannot all be the same. The minimum number of standby availability areas set is 2, and the maximum number is no more than 5.
7780
* `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.
7881
* `instance_charge_type` - (Optional, String) Payment mode, the value supports PREPAID (prepaid), POSTPAID (postpaid).
82+
* `multi_nodes` - (Optional, Int) Whether it is a multi-node architecture instance, the default value is false. When MultiNodes = true, the parameter MultiZones must be true.
83+
* `multi_zones` - (Optional, Int) Whether to deploy across availability zones, the default value is false.
7984
* `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'.
8085
* `project_id` - (Optional, Int) project ID.
8186
* `resource_tags` - (Optional, List) A collection of tags bound to the new instance.
@@ -84,6 +89,7 @@ The following arguments are supported:
8489
* `start_time` - (Optional, String) Maintainable time window configuration, daily maintainable start time.
8590
* `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.
8691
* `time_zone` - (Optional, String) System time zone, default: China Standard Time.
92+
* `voucher_ids` - (Optional, Int) Voucher ID array. Currently, only one can be used for a single order.
8793
* `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.
8894
* `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.
8995

0 commit comments

Comments
 (0)