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
* feat: test
* feat: test
* feat: test
* feat: test
* feat: test
* feat: test
* feat: test
* feat: test
* feat: test
* feat: test
* feat: test
* feat: test
* feat: test
* feat: test
* feat: test
* feat: test
* feat: test
* feat: test
* feat: test
* feat: test
* feat: fix rex
* feat: py update
* feat: py update
* feat: mark update
* feat: mark update
* feat: mark update
* feat: mark update
* feat: mark update
* feat: mark update
* feat: mark update
* feat: mark update
* feat: mark update
* feat: mark update
* feat: mark update
* feat: mark update
* feat: mark update
* feat: mark update
* feat: mark update
* feat: mark update
* feat: mark update
* feat: make file
* feat: make file
* feat: make file
* feat: update code yaml
* feat: fmt
//internal version: replace import begin, please do not modify this annotation and refrain from inserting any code between the beginning and end lines of the annotation.
107
+
//internal version: replace import end, please do not modify this annotation and refrain from inserting any code between the beginning and end lines of the annotation.
@@ -196,6 +199,8 @@ type TencentCloudClient struct {
196
199
trocketConn*trocket.Client
197
200
biConn*bi.Client
198
201
cdwpgConn*cdwpg.Client
202
+
//internal version: replace client begin, please do not modify this annotation and refrain from inserting any code between the beginning and end lines of the annotation.
203
+
//internal version: replace client end, please do not modify this annotation and refrain from inserting any code between the beginning and end lines of the annotation.
//internal version: replace useClient begin, please do not modify this annotation and refrain from inserting any code between the beginning and end lines of the annotation.
1380
+
//internal version: replace useClient end, please do not modify this annotation and refrain from inserting any code between the beginning and end lines of the annotation.
Copy file name to clipboardExpand all lines: tencentcloud/internal/helper/transform.go
+3Lines changed: 3 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -271,6 +271,9 @@ func StrToBool(s string) (i bool) {
271
271
return
272
272
}
273
273
274
+
//internal version: replace boolStr begin, please do not modify this annotation and refrain from inserting any code between the beginning and end lines of the annotation.
275
+
//internal version: replace boolStr end, please do not modify this annotation and refrain from inserting any code between the beginning and end lines of the annotation.
//internal version: replace envYunti begin, please do not modify this annotation and refrain from inserting any code between the beginning and end lines of the annotation.
31
+
//internal version: replace envYunti end, please do not modify this annotation and refrain from inserting any code between the beginning and end lines of the annotation.
Description: "The root domain of the API request, Default is `tencentcloudapi.com`.",
87
89
},
90
+
//internal version: replace enableBpass begin, please do not modify this annotation and refrain from inserting any code between the beginning and end lines of the annotation.
91
+
//internal version: replace enableBpass end, please do not modify this annotation and refrain from inserting any code between the beginning and end lines of the annotation.
Copy file name to clipboardExpand all lines: tencentcloud/resource_tc_cynosdb_cluster.go
+16-3Lines changed: 16 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -39,10 +39,12 @@ func resourceTencentCloudCynosdbClusterCreate(d *schema.ResourceData, meta inter
39
39
cynosdbService=CynosdbService{client: client}
40
40
tagService=TagService{client: client}
41
41
region=client.Region
42
-
42
+
//internal version: replace client begin, please do not modify this annotation and refrain from inserting any code between the beginning and end lines of the annotation.
43
+
//internal version: replace client end, please do not modify this annotation and refrain from inserting any code between the beginning and end lines of the annotation.
43
44
request=cynosdb.NewCreateClustersRequest()
44
45
)
45
-
46
+
//internal version: replace varId begin, please do not modify this annotation and refrain from inserting any code between the beginning and end lines of the annotation.
47
+
//internal version: replace varId end, please do not modify this annotation and refrain from inserting any code between the beginning and end lines of the annotation.
@@ -115,7 +117,11 @@ func resourceTencentCloudCynosdbClusterCreate(d *schema.ResourceData, meta inter
115
117
}
116
118
117
119
varchargeTypeint64=0
120
+
//internal version: replace varCharge begin, please do not modify this annotation and refrain from inserting any code between the beginning and end lines of the annotation.
121
+
//internal version: replace varCharge end, please do not modify this annotation and refrain from inserting any code between the beginning and end lines of the annotation.
118
122
ifv, ok:=d.GetOk("charge_type"); ok {
123
+
//internal version: replace strCharge begin, please do not modify this annotation and refrain from inserting any code between the beginning and end lines of the annotation.
124
+
//internal version: replace strCharge end, please do not modify this annotation and refrain from inserting any code between the beginning and end lines of the annotation.
119
125
ifv==CYNOSDB_CHARGE_TYPE_PREPAID {
120
126
chargeType=1
121
127
ifvv, ok:=d.GetOk("prepaid_period"); ok {
@@ -143,6 +149,8 @@ func resourceTencentCloudCynosdbClusterCreate(d *schema.ResourceData, meta inter
//internal version: replace bpass begin, please do not modify this annotation and refrain from inserting any code between the beginning and end lines of the annotation.
153
+
//internal version: replace bpass end, please do not modify this annotation and refrain from inserting any code between the beginning and end lines of the annotation.
146
154
returnretryError(err)
147
155
}
148
156
returnnil
@@ -179,10 +187,13 @@ func resourceTencentCloudCynosdbClusterCreate(d *schema.ResourceData, meta inter
returnfmt.Errorf("cynosdb cluster id count isn't 1")
181
189
}
182
-
190
+
//internal version: replace normal begin, please do not modify this annotation and refrain from inserting any code between the beginning and end lines of the annotation.
//internal version: replace normal end, please do not modify this annotation and refrain from inserting any code between the beginning and end lines of the annotation.
184
193
d.SetId(id)
185
194
195
+
//internal version: replace setTag begin, please do not modify this annotation and refrain from inserting any code between the beginning and end lines of the annotation.
196
+
//internal version: replace setTag end, please do not modify this annotation and refrain from inserting any code between the beginning and end lines of the annotation.
@@ -638,6 +649,8 @@ func resourceTencentCloudCynosdbClusterUpdate(d *schema.ResourceData, meta inter
638
649
returnerr
639
650
}
640
651
652
+
//internal version: replace waitTag begin, please do not modify this annotation and refrain from inserting any code between the beginning and end lines of the annotation.
653
+
//internal version: replace waitTag end, please do not modify this annotation and refrain from inserting any code between the beginning and end lines of the annotation.
Copy file name to clipboardExpand all lines: tencentcloud/resource_tc_elasticsearch_instance.go
+19-2Lines changed: 19 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -264,8 +264,10 @@ func resourceTencentCloudElasticsearchInstanceCreate(d *schema.ResourceData, met
264
264
elasticsearchService:=ElasticsearchService{
265
265
client: meta.(*TencentCloudClient).apiV3Conn,
266
266
}
267
-
268
267
request:=es.NewCreateInstanceRequest()
268
+
269
+
//internal version: replace var begin, please do not modify this annotation and refrain from inserting any code between the beginning and end lines of the annotation.
270
+
//internal version: replace var end, please do not modify this annotation and refrain from inserting any code between the beginning and end lines of the annotation.
@@ -275,7 +277,9 @@ func resourceTencentCloudElasticsearchInstanceCreate(d *schema.ResourceData, met
275
277
request.InstanceName=helper.String(v.(string))
276
278
}
277
279
ifv, ok:=d.GetOk("charge_type"); ok {
280
+
//internal version: replace strCharge begin, please do not modify this annotation and refrain from inserting any code between the beginning and end lines of the annotation.
278
281
chargeType:=v.(string)
282
+
//internal version: replace strCharge end, please do not modify this annotation and refrain from inserting any code between the beginning and end lines of the annotation.
279
283
request.ChargeType=&chargeType
280
284
ifchargeType==ES_CHARGE_TYPE_PREPAID {
281
285
ifv, ok:=d.GetOk("charge_period"); ok {
@@ -355,14 +359,17 @@ func resourceTencentCloudElasticsearchInstanceCreate(d *schema.ResourceData, met
//internal version: replace reqTag begin, please do not modify this annotation and refrain from inserting any code between the beginning and end lines of the annotation.
363
+
//internal version: replace reqTag end, please do not modify this annotation and refrain from inserting any code between the beginning and end lines of the annotation.
//internal version: replace bpass begin, please do not modify this annotation and refrain from inserting any code between the beginning and end lines of the annotation.
372
+
//internal version: replace bpass end, please do not modify this annotation and refrain from inserting any code between the beginning and end lines of the annotation.
366
373
returnretryError(err)
367
374
}
368
375
instanceId=*response.Response.InstanceId
@@ -373,6 +380,8 @@ func resourceTencentCloudElasticsearchInstanceCreate(d *schema.ResourceData, met
373
380
}
374
381
d.SetId(instanceId)
375
382
383
+
//internal version: replace setTag begin, please do not modify this annotation and refrain from inserting any code between the beginning and end lines of the annotation.
384
+
//internal version: replace setTag end, please do not modify this annotation and refrain from inserting any code between the beginning and end lines of the annotation.
//internal version: replace null begin, please do not modify this annotation and refrain from inserting any code between the beginning and end lines of the annotation.
//internal version: replace null end, please do not modify this annotation and refrain from inserting any code between the beginning and end lines of the annotation.
731
+
732
+
//internal version: replace waitTag begin, please do not modify this annotation and refrain from inserting any code between the beginning and end lines of the annotation.
733
+
//internal version: replace waitTag end, please do not modify this annotation and refrain from inserting any code between the beginning and end lines of the annotation.
//internal version: replace import begin, please do not modify this annotation and refrain from inserting any code between the beginning and end lines of the annotation.
18
+
//internal version: replace import end, please do not modify this annotation and refrain from inserting any code between the beginning and end lines of the annotation.
//internal version: replace bpass begin, please do not modify this annotation and refrain from inserting any code between the beginning and end lines of the annotation.
225
+
//internal version: replace bpass end, please do not modify this annotation and refrain from inserting any code between the beginning and end lines of the annotation.
221
226
returnretryError(err)
222
227
}
223
228
returnnil
@@ -263,6 +268,8 @@ func resourceTencentCloudMongodbInstanceCreate(d *schema.ResourceData, meta inte
263
268
264
269
instanceId:=d.Id()
265
270
271
+
//internal version: replace setTag begin, please do not modify this annotation and refrain from inserting any code between the beginning and end lines of the annotation.
272
+
//internal version: replace setTag end, please do not modify this annotation and refrain from inserting any code between the beginning and end lines of the annotation.
//internal version: replace begin begin, please do not modify this annotation and refrain from inserting any code between the beginning and end lines of the annotation.
296
+
//internal version: replace begin end, please do not modify this annotation and refrain from inserting any code between the beginning and end lines of the annotation.
//internal version: replace end begin, please do not modify this annotation and refrain from inserting any code between the beginning and end lines of the annotation.
304
+
//internal version: replace end end, please do not modify this annotation and refrain from inserting any code between the beginning and end lines of the annotation.
0 commit comments