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: ""Global permissions. Among them, the optional value of the permission in GlobalPrivileges is:""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 that if this parameter is not passed, it means that the existing permissions are reserved. If it needs to be cleared, pass an empty array in this field.".",
93
+
Description: "Global permissions. Among them, the optional value of the permission in GlobalPrivileges is: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 that if this parameter is not passed, it means that the existing permissions are reserved. If it needs to be cleared, pass an empty array in this field.",
94
94
},
95
95
96
96
"database_privileges": {
97
97
Optional: true,
98
98
Type: schema.TypeList,
99
99
MaxItems: 1,
100
-
Description: ""Database permissions. Optional values for the Privileges permission are:""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 that if this parameter is not passed, the existing privileges are reserved. If you need to clear them, please pass an empty array in the complex type Privileges field.".",
100
+
Description: "Database permissions. Optional values for the Privileges permission are: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 that if this parameter is not passed, the existing privileges are reserved. If you need to clear them, please pass an empty array in the complex type Privileges field.",
Description: ""Permissions for tables in the database. Optional values for the Privileges permission are:""SELECT, INSERT, UPDATE, DELETE, CREATE, DROP, REFERENCES, INDEX, ALTER, CREATE VIEW, SHOW VIEW, TRIGGER.""Note that if this parameter is not passed, the existing privileges are reserved. If you need to clear them, please pass an empty array in the complex type Privileges field.".",
124
+
Description: "Permissions for tables in the database. Optional values for the Privileges permission are:SELECT, INSERT, UPDATE, DELETE, CREATE, DROP, REFERENCES, INDEX, ALTER, CREATE VIEW, SHOW VIEW, TRIGGER.Note that if this parameter is not passed, the existing privileges are reserved. If you need to clear them, please pass an empty array in the complex type Privileges field.",
Description: ""Permissions for columns in database tables. Optional values for the Privileges permission are:""SELECT, INSERT, UPDATE, REFERENCES.""Note that if this parameter is not passed, the existing privileges are reserved. If you need to clear them, please pass an empty array in the complex type Privileges field.".",
153
+
Description: "Permissions for columns in database tables. Optional values for the Privileges permission are:SELECT, INSERT, UPDATE, REFERENCES.Note that if this parameter is not passed, the existing privileges are reserved. If you need to clear them, please pass an empty array in the complex type Privileges field.",
Description: ""Permissions for database views. Optional values for the Privileges permission are:""SELECT, INSERT, UPDATE, DELETE, CREATE, DROP, REFERENCES, INDEX, ALTER, CREATE VIEW, SHOW VIEW, TRIGGER.""Note that if this parameter is not passed, the existing privileges are reserved. If you need to clear them, please pass an empty array in the complex type Privileges field.".",
187
+
Description: "Permissions for database views. Optional values for the Privileges permission are:SELECT, INSERT, UPDATE, DELETE, CREATE, DROP, REFERENCES, INDEX, ALTER, CREATE VIEW, SHOW VIEW, TRIGGER.Note that if this parameter is not passed, the existing privileges are reserved. If you need to clear them, please pass an empty array in the complex type Privileges field.",
Description: ""The availability zone distribution of shard nodes can be filled with up to two availability zones. When the shard specification is one master and two slaves, two of the nodes are in the first availability zone.""Note that the current availability zone that can be sold needs to be pulled through the DescribeDCDBSaleInfo interface.".",
80
+
Description: "The availability zone distribution of shard nodes can be filled with up to two availability zones. When the shard specification is one master and two slaves, two of the nodes are in the first availability zone.Note that the current availability zone that can be sold needs to be pulled through the DescribeDCDBSaleInfo interface.",
Description: ""Shard memory size, unit: GB, can pass DescribeShardSpec""Query the instance specification to obtain.".",
92
+
Description: "Shard memory size, unit: GB, can pass DescribeShardSpecQuery the instance specification to obtain.",
93
93
},
94
94
95
95
"shard_storage": {
96
96
Required: true,
97
97
Type: schema.TypeInt,
98
-
Description: ""Shard storage size, unit: GB, can pass DescribeShardSpec""Query the instance specification to obtain.".",
98
+
Description: "Shard storage size, unit: GB, can pass DescribeShardSpecQuery the instance specification to obtain.",
99
99
},
100
100
101
101
"shard_node_count": {
102
102
Required: true,
103
103
Type: schema.TypeInt,
104
-
Description: ""Number of single shard nodes, can pass DescribeShardSpec""Query the instance specification to obtain.".",
104
+
Description: "Number of single shard nodes, can pass DescribeShardSpecQuery the instance specification to obtain.",
Description: ""Database engine version, currently available: 8.0.18, 10.1.9, 5.7.17.""8.0.18 - MySQL 8.0.18;""10.1.9 - Mariadb 10.1.9;""5.7.17 - Percona 5.7.17""If not filled, the default is 5.7.17, which means Percona 5.7.17.".",
140
+
Description: "Database engine version, currently available: 8.0.18, 10.1.9, 5.7.17.8.0.18 - MySQL 8.0.18;10.1.9 - Mariadb 10.1.9;5.7.17 - Percona 5.7.17If not filled, the default is 5.7.17, which means Percona 5.7.17.",
Description: ""parameter list. The optional values of this interface are:""character_set_server (character set, must be passed),""lower_case_table_names (table name is case sensitive, must be passed, 0 - sensitive; 1 - insensitive),""innodb_page_size (innodb data page, default 16K),""sync_mode ( Synchronous mode: 0 - asynchronous; 1 - strong synchronous; 2 - strong synchronous degenerate. The default is strong synchronous degenerate)".",
219
+
Description: "parameter list. The optional values of this interface are:character_set_server (character set, must be passed),lower_case_table_names (table name is case sensitive, must be passed, 0 - sensitive; 1 - insensitive),innodb_page_size (innodb data page, default 16K),sync_mode ( Synchronous mode: 0 - asynchronous; 1 - strong synchronous; 2 - strong synchronous degenerate. The default is strong synchronous degenerate).",
Description: ""Automatic renewal flag, 0 means the default state (the user has not set it, that is, the initial state is manual renewal, and the user has activated the prepaid non-stop privilege and will also perform automatic renewal).""1 means automatic renewal, 2 means no automatic renewal (user setting).""if the business has no concept of renewal or automatic renewal is not required, it needs to be set to 0.".",
251
+
Description: "Automatic renewal flag, 0 means the default state (the user has not set it, that is, the initial state is manual renewal, and the user has activated the prepaid non-stop privilege and will also perform automatic renewal).1 means automatic renewal, 2 means no automatic renewal (user setting).if the business has no concept of renewal or automatic renewal is not required, it needs to be set to 0.",
232
252
},
233
253
234
254
"security_group_ids": {
@@ -255,6 +275,8 @@ func resourceTencentCloudDcdbDbInstanceCreate(d *schema.ResourceData, meta inter
0 commit comments