You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description: "Password of root account. This parameter can be specified when you purchase master instances, but it should be ignored when you purchase read-only instances or disaster recovery instances.",
@@ -666,12 +666,18 @@ func resourceTencentCloudMysqlInstanceCreate(d *schema.ResourceData, meta interf
Copy file name to clipboardExpand all lines: website/docs/r/mongodb_instance.html.markdown
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -37,10 +37,10 @@ The following arguments are supported:
37
37
*`instance_name` - (Required) Name of the Mongodb instance.
38
38
*`machine_type` - (Required, ForceNew) Type of Mongodb instance, and available values include `HIO`(or `GIO` which will be deprecated, represents high IO) and `HIO10G`(or `TGIO` which will be deprecated, represents 10-gigabit high IO).
39
39
*`memory` - (Required) Memory size. The minimum value is 2, and unit is GB. Memory and volume must be upgraded or degraded simultaneously.
40
-
*`password` - (Required) Password of this Mongodb account.
41
40
*`volume` - (Required) Disk size. The minimum value is 25, and unit is GB. Memory and volume must be upgraded or degraded simultaneously.
42
41
*`auto_renew_flag` - (Optional) Auto renew flag. Valid values are `0`(NOTIFY_AND_MANUAL_RENEW), `1`(NOTIFY_AND_AUTO_RENEW) and `2`(DISABLE_NOTIFY_AND_MANUAL_RENEW). Default value is `0`. Note: only works for PREPAID instance. Only supports`0` and `1` for creation.
43
42
*`charge_type` - (Optional, ForceNew) The charge type of instance. Valid values are `PREPAID` and `POSTPAID_BY_HOUR`. Default value is `POSTPAID_BY_HOUR`. Note: TencentCloud International only supports `POSTPAID_BY_HOUR`. Caution that update operation on this field will delete old instances and create new one with new charge type.
43
+
*`password` - (Optional) Password of this Mongodb account.
44
44
*`prepaid_period` - (Optional) The tenancy (time unit is month) of the prepaid instance. Valid values are 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 24, 36. NOTE: it only works when charge_type is set to `PREPAID`.
45
45
*`project_id` - (Optional) ID of the project which the instance belongs.
46
46
*`security_groups` - (Optional, ForceNew) ID of the security group. NOTE: for instance which `engine_version` is `MONGO_40_WT`, `security_groups` is not supported.
Copy file name to clipboardExpand all lines: website/docs/r/mongodb_sharding_instance.html.markdown
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -40,11 +40,11 @@ The following arguments are supported:
40
40
*`machine_type` - (Required, ForceNew) Type of Mongodb instance, and available values include `HIO`(or `GIO` which will be deprecated, represents high IO) and `HIO10G`(or `TGIO` which will be deprecated, represents 10-gigabit high IO).
41
41
*`memory` - (Required) Memory size. The minimum value is 2, and unit is GB. Memory and volume must be upgraded or degraded simultaneously.
42
42
*`nodes_per_shard` - (Required, ForceNew) Number of nodes per shard, at least 3(one master and two slaves).
43
-
*`password` - (Required) Password of this Mongodb account.
44
43
*`shard_quantity` - (Required, ForceNew) Number of sharding.
45
44
*`volume` - (Required) Disk size. The minimum value is 25, and unit is GB. Memory and volume must be upgraded or degraded simultaneously.
46
45
*`auto_renew_flag` - (Optional) Auto renew flag. Valid values are `0`(NOTIFY_AND_MANUAL_RENEW), `1`(NOTIFY_AND_AUTO_RENEW) and `2`(DISABLE_NOTIFY_AND_MANUAL_RENEW). Default value is `0`. Note: only works for PREPAID instance. Only supports`0` and `1` for creation.
47
46
*`charge_type` - (Optional, ForceNew) The charge type of instance. Valid values are `PREPAID` and `POSTPAID_BY_HOUR`. Default value is `POSTPAID_BY_HOUR`. Note: TencentCloud International only supports `POSTPAID_BY_HOUR`. Caution that update operation on this field will delete old instances and create new one with new charge type.
47
+
*`password` - (Optional) Password of this Mongodb account.
48
48
*`prepaid_period` - (Optional) The tenancy (time unit is month) of the prepaid instance. Valid values are 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 24, 36. NOTE: it only works when charge_type is set to `PREPAID`.
49
49
*`project_id` - (Optional) ID of the project which the instance belongs.
50
50
*`security_groups` - (Optional, ForceNew) ID of the security group. NOTE: for instance which `engine_version` is `MONGO_40_WT`, `security_groups` is not supported.
Copy file name to clipboardExpand all lines: website/docs/r/mysql_instance.html.markdown
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -51,7 +51,6 @@ The following arguments are supported:
51
51
52
52
*`instance_name` - (Required) The name of a mysql instance.
53
53
*`mem_size` - (Required) Memory size (in MB).
54
-
*`root_password` - (Required) Password of root account. This parameter can be specified when you purchase master instances, but it should be ignored when you purchase read-only instances or disaster recovery instances.
55
54
*`volume_size` - (Required) Disk size (in GB).
56
55
*`auto_renew_flag` - (Optional) Auto renew flag. NOTES: Only supported prepaid instance.
57
56
*`availability_zone` - (Optional, ForceNew) Indicates which availability zone will be used.
@@ -69,6 +68,7 @@ The following arguments are supported:
69
68
*`period` - (Optional, **Deprecated**) It has been deprecated from version 1.36.0. Please use `prepaid_period` instead. Period of instance. NOTES: Only supported prepaid instance.
70
69
*`prepaid_period` - (Optional) Period of instance. NOTES: Only supported prepaid instance.
71
70
*`project_id` - (Optional) Project ID, default value is 0.
71
+
*`root_password` - (Optional) Password of root account. This parameter can be specified when you purchase master instances, but it should be ignored when you purchase read-only instances or disaster recovery instances.
72
72
*`second_slave_zone` - (Optional, ForceNew) Zone information about second slave instance.
73
73
*`security_groups` - (Optional) Security groups to use.
74
74
*`slave_deploy_mode` - (Optional, ForceNew) Availability zone deployment method. Available values: 0 - Single availability zone; 1 - Multiple availability zones.
0 commit comments