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: "A list of SQL Server Basic instances. Each element contains the following attributes.",
69
+
Description: "A list of SQL Server basic instances. Each element contains the following attributes.",
70
70
Elem: &schema.Resource{
71
71
Schema: map[string]*schema.Schema{
72
72
"id": {
73
73
Type: schema.TypeString,
74
74
Computed: true,
75
-
Description: "ID of the SQL Server Basic instance.",
75
+
Description: "ID of the SQL Server basic instance.",
76
76
},
77
77
"name": {
78
78
Type: schema.TypeString,
79
79
Computed: true,
80
-
Description: "Name of the SQL Server Basic instance.",
80
+
Description: "Name of the SQL Server basic instance.",
81
81
},
82
82
"charge_type": {
83
83
Type: schema.TypeString,
84
84
Computed: true,
85
-
Description: "Pay type of the SQL Server Basic instance. For now, only `POSTPAID_BY_HOUR` is valid.",
85
+
Description: "Pay type of the SQL Server basic instance. For now, only `POSTPAID_BY_HOUR` is valid.",
86
86
},
87
87
"engine_version": {
88
88
Type: schema.TypeString,
89
89
Computed: true,
90
-
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`.",
90
+
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: "Create time of the SQL Server Basic instance.",
145
+
Description: "Create time of the SQL Server basic instance.",
146
146
},
147
147
"status": {
148
148
Type: schema.TypeInt,
149
149
Computed: true,
150
-
Description: "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.",
150
+
Description: "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.",
151
151
},
152
152
"tags": {
153
153
Type: schema.TypeMap,
154
154
Computed: true,
155
-
Description: "Tags of the SQL Server Basic instance.",
155
+
Description: "Tags of the SQL Server basic instance.",
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`.",
111
+
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: "Create time of the SQL Server Basic instance.",
192
+
Description: "Create time of the SQL Server basic instance.",
201
193
},
202
194
"status": {
203
195
Type: schema.TypeInt,
204
196
Computed: true,
205
-
Description: "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.",
197
+
Description: "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.",
206
198
},
207
199
"tags": {
208
200
Type: schema.TypeMap,
209
201
Optional: true,
210
-
Description: "The tags of the SQL Server Basic instance.",
202
+
Description: "The tags of the SQL Server basic instance.",
211
203
},
212
204
},
213
205
}
@@ -247,7 +239,6 @@ func resourceTencentCloudSqlserverBasicInstanceCreate(d *schema.ResourceData, me
*`id` - (Optional) ID of the SQL Server Basic instance to be query.
41
-
*`project_id` - (Optional) Project ID of the SQL Server Basic instance to be query.
40
+
*`id` - (Optional) ID of the SQL Server basic instance to be query.
41
+
*`project_id` - (Optional) Project ID of the SQL Server basic instance to be query.
42
42
*`result_output_file` - (Optional) Used to save results.
43
-
*`subnet_id` - (Optional) Subnet ID of the SQL Server Basic instance to be query.
44
-
*`vpc_id` - (Optional) Vpc ID of the SQL Server Basic instance to be query.
43
+
*`subnet_id` - (Optional) Subnet ID of the SQL Server basic instance to be query.
44
+
*`vpc_id` - (Optional) Vpc ID of the SQL Server basic instance to be query.
45
45
46
46
## Attributes Reference
47
47
48
48
In addition to all arguments above, the following attributes are exported:
49
49
50
-
*`instance_list` - A list of SQL Server Basic instances. Each element contains the following attributes.
50
+
*`instance_list` - A list of SQL Server basic instances. Each element contains the following attributes.
51
51
*`availability_zone` - Availability zone.
52
-
*`charge_type` - Pay type of the SQL Server Basic instance. For now, only `POSTPAID_BY_HOUR` is valid.
53
-
*`cpu` - The CPU number of the SQL Server Basic instance.
54
-
*`create_time` - Create time of the SQL Server Basic instance.
55
-
*`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`.
56
-
*`id` - ID of the SQL Server Basic instance.
52
+
*`charge_type` - Pay type of the SQL Server basic instance. For now, only `POSTPAID_BY_HOUR` is valid.
53
+
*`cpu` - The CPU number of the SQL Server basic instance.
54
+
*`create_time` - Create time of the SQL Server basic instance.
55
+
*`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`.
56
+
*`id` - ID of the SQL Server basic instance.
57
57
*`memory` - Memory size (in GB). Allowed value must be larger than `memory` that data source `tencentcloud_sqlserver_specinfos` provides.
58
-
*`name` - Name of the SQL Server Basic instance.
58
+
*`name` - Name of the SQL Server basic instance.
59
59
*`project_id` - Project ID, default value is 0.
60
-
*`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.
60
+
*`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.
61
61
*`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.
0 commit comments