tencentcloud-sdk-nodejs-intl-en 3.0.1293 → 3.0.1295
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/tencentcloud/ai3d/index.js +3 -0
- package/tencentcloud/ai3d/v20250513/ai3d_client.js +63 -0
- package/tencentcloud/ai3d/v20250513/index.js +4 -0
- package/tencentcloud/ai3d/v20250513/models.js +349 -0
- package/tencentcloud/as/v20180419/models.js +49 -10
- package/tencentcloud/ccc/v20200210/models.js +17 -17
- package/tencentcloud/cdb/v20170320/cdb_client.js +6 -3
- package/tencentcloud/cdb/v20170320/models.js +314 -140
- package/tencentcloud/cdn/v20180606/cdn_client.js +4 -1
- package/tencentcloud/cdn/v20180606/models.js +1 -1
- package/tencentcloud/ciam/index.js +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/cvm/v20170312/cvm_client.js +1 -1
- package/tencentcloud/cvm/v20170312/models.js +12 -14
- package/tencentcloud/faceid/v20180301/models.js +2 -6
- package/tencentcloud/hunyuan/index.js +3 -0
- package/tencentcloud/hunyuan/v20230901/hunyuan_client.js +63 -0
- package/tencentcloud/hunyuan/v20230901/index.js +4 -0
- package/tencentcloud/hunyuan/v20230901/models.js +359 -0
- package/tencentcloud/index.js +2 -0
- package/tencentcloud/lighthouse/v20200324/lighthouse_client.js +128 -32
- package/tencentcloud/lighthouse/v20200324/models.js +802 -161
- package/tencentcloud/lkeap/v20240522/models.js +33 -0
- package/tencentcloud/mdl/v20200326/mdl_client.js +59 -15
- package/tencentcloud/mdl/v20200326/models.js +697 -161
- package/tencentcloud/monitor/v20180724/models.js +2 -2
- package/tencentcloud/mps/v20190612/models.js +388 -6
- package/tencentcloud/mps/v20190612/mps_client.js +32 -15
- package/tencentcloud/organization/index.js +1 -1
- package/tencentcloud/sms/index.js +1 -1
- package/tencentcloud/tem/index.js +1 -1
- package/tencentcloud/teo/v20220901/models.js +501 -178
- package/tencentcloud/teo/v20220901/teo_client.js +73 -23
- package/tencentcloud/tke/index.js +1 -1
- package/tencentcloud/trtc/v20190722/models.js +9 -9
- package/tencentcloud/vod/index.js +1 -1
- package/tencentcloud/vpc/v20170312/models.js +45 -31
- package/tencentcloud/wedata/index.js +1 -1
package/package.json
CHANGED
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) 2018 Tencent. All Rights Reserved.
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing,
|
|
11
|
+
* software distributed under the License is distributed on an
|
|
12
|
+
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
13
|
+
* KIND, either express or implied. See the License for the
|
|
14
|
+
* specific language governing permissions and limitations
|
|
15
|
+
* under the License.
|
|
16
|
+
*/
|
|
17
|
+
const models = require("./models");
|
|
18
|
+
const AbstractClient = require('../../common/abstract_client')
|
|
19
|
+
const SubmitHunyuanTo3DProJobRequest = models.SubmitHunyuanTo3DProJobRequest;
|
|
20
|
+
const SubmitHunyuanTo3DProJobResponse = models.SubmitHunyuanTo3DProJobResponse;
|
|
21
|
+
const ViewImage = models.ViewImage;
|
|
22
|
+
const QueryHunyuanTo3DProJobRequest = models.QueryHunyuanTo3DProJobRequest;
|
|
23
|
+
const File3D = models.File3D;
|
|
24
|
+
const QueryHunyuanTo3DProJobResponse = models.QueryHunyuanTo3DProJobResponse;
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
/**
|
|
28
|
+
* ai3d client
|
|
29
|
+
* @class
|
|
30
|
+
*/
|
|
31
|
+
class Ai3dClient extends AbstractClient {
|
|
32
|
+
|
|
33
|
+
constructor(credential, region, profile) {
|
|
34
|
+
super("ai3d.intl.tencentcloudapi.com", "2025-05-13", credential, region, profile);
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
/**
|
|
38
|
+
* This API is used to intelligently generate 3D content based on the HunYuan Large Model and input text descriptions/images.
|
|
39
|
+
This API is used to provide 3 concurrent tasks by default, which can be processed simultaneously. The next task can be processed only after the previous task is completed.
|
|
40
|
+
* @param {SubmitHunyuanTo3DProJobRequest} req
|
|
41
|
+
* @param {function(string, SubmitHunyuanTo3DProJobResponse):void} cb
|
|
42
|
+
* @public
|
|
43
|
+
*/
|
|
44
|
+
SubmitHunyuanTo3DProJob(req, cb) {
|
|
45
|
+
let resp = new SubmitHunyuanTo3DProJobResponse();
|
|
46
|
+
this.request("SubmitHunyuanTo3DProJob", req, resp, cb);
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
/**
|
|
50
|
+
* This API is used to intelligently generate 3D content based on the HunYuan Large Model and input text descriptions/images.
|
|
51
|
+
This API is used to provide 3 concurrent tasks by default, which can be processed simultaneously. The next task can be processed only after the previous task is completed.
|
|
52
|
+
* @param {QueryHunyuanTo3DProJobRequest} req
|
|
53
|
+
* @param {function(string, QueryHunyuanTo3DProJobResponse):void} cb
|
|
54
|
+
* @public
|
|
55
|
+
*/
|
|
56
|
+
QueryHunyuanTo3DProJob(req, cb) {
|
|
57
|
+
let resp = new QueryHunyuanTo3DProJobResponse();
|
|
58
|
+
this.request("QueryHunyuanTo3DProJob", req, resp, cb);
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
|
|
62
|
+
}
|
|
63
|
+
module.exports = Ai3dClient;
|
|
@@ -0,0 +1,349 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) 2018 Tencent. All Rights Reserved.
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing,
|
|
11
|
+
* software distributed under the License is distributed on an
|
|
12
|
+
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
13
|
+
* KIND, either express or implied. See the License for the
|
|
14
|
+
* specific language governing permissions and limitations
|
|
15
|
+
* under the License.
|
|
16
|
+
*/
|
|
17
|
+
const AbstractModel = require("../../common/abstract_model");
|
|
18
|
+
|
|
19
|
+
/**
|
|
20
|
+
* SubmitHunyuanTo3DProJob request structure.
|
|
21
|
+
* @class
|
|
22
|
+
*/
|
|
23
|
+
class SubmitHunyuanTo3DProJobRequest extends AbstractModel {
|
|
24
|
+
constructor(){
|
|
25
|
+
super();
|
|
26
|
+
|
|
27
|
+
/**
|
|
28
|
+
* Generates 3D content, describes 3D content, chinese forward prompt content.
|
|
29
|
+
Supports up to 1024 utf-8 characters.
|
|
30
|
+
Text-To-3D. specifies image, image_url, or prompt is required. prompt and image/image_url cannot coexist.
|
|
31
|
+
* @type {string || null}
|
|
32
|
+
*/
|
|
33
|
+
this.Prompt = null;
|
|
34
|
+
|
|
35
|
+
/**
|
|
36
|
+
* Enter the Base64 code of the image.
|
|
37
|
+
Size: specifies the unilateral resolution requirement, not less than 128 and not greater than 5000. size should not exceed 8m (after encoding, it increases by about 30%, recommend actual input image size no more than 6m).
|
|
38
|
+
Valid values: jpg, png, jpeg, webp.
|
|
39
|
+
ImageBase64, ImageUrl, or Prompt is required. Prompt and ImageBase64/ImageUrl cannot coexist.
|
|
40
|
+
* @type {string || null}
|
|
41
|
+
*/
|
|
42
|
+
this.ImageBase64 = null;
|
|
43
|
+
|
|
44
|
+
/**
|
|
45
|
+
* Input image Url.
|
|
46
|
+
Size: specifies the unilateral resolution requirement, not less than 128 and not greater than 5000. size should not exceed 8m (after encoding, it increases by about 30%, recommend actual input image size no more than 6m).
|
|
47
|
+
Valid values: jpg, png, jpeg, webp.
|
|
48
|
+
Specifies either ImageBase64/ImageUrl or Prompt is required. Prompt and ImageBase64/ImageUrl cannot coexist.
|
|
49
|
+
* @type {string || null}
|
|
50
|
+
*/
|
|
51
|
+
this.ImageUrl = null;
|
|
52
|
+
|
|
53
|
+
/**
|
|
54
|
+
* Multi-Perspective model image. reference value for viewing angle:.
|
|
55
|
+
left view.
|
|
56
|
+
right view.
|
|
57
|
+
back view.
|
|
58
|
+
|
|
59
|
+
Each viewing angle allows only one image.
|
|
60
|
+
Image size limit: must not exceed 8M after encoding.
|
|
61
|
+
Image resolution limitation: specifies the unilateral resolution should be less than 5000 and greater than 128.
|
|
62
|
+
●Supported image format: JPG or PNG
|
|
63
|
+
* @type {Array.<ViewImage> || null}
|
|
64
|
+
*/
|
|
65
|
+
this.MultiViewImages = null;
|
|
66
|
+
|
|
67
|
+
/**
|
|
68
|
+
* Specifies whether PBR material generation is enabled, false by default.
|
|
69
|
+
* @type {boolean || null}
|
|
70
|
+
*/
|
|
71
|
+
this.EnablePBR = null;
|
|
72
|
+
|
|
73
|
+
/**
|
|
74
|
+
* Specifies the face count of the generated 3D model. default value is 500000.
|
|
75
|
+
Specifies the supported face count range. value range: 40000-1500000.
|
|
76
|
+
* @type {number || null}
|
|
77
|
+
*/
|
|
78
|
+
this.FaceCount = null;
|
|
79
|
+
|
|
80
|
+
/**
|
|
81
|
+
* Generation task type. default: Normal. valid values:.
|
|
82
|
+
Generates a textured geometry model.
|
|
83
|
+
LowPoly: specifies whether to generate a model with smart polygon reduction.
|
|
84
|
+
Geometry: specifies whether to generate a Geometry model without texture (white model). when this task is selected, the EnablePBR parameter does not take effect.
|
|
85
|
+
Sketch: enter a Sketch or line art to generate a model. in this mode, prompt and ImageUrl/ImageBase64 can be input together.
|
|
86
|
+
* @type {string || null}
|
|
87
|
+
*/
|
|
88
|
+
this.GenerateType = null;
|
|
89
|
+
|
|
90
|
+
/**
|
|
91
|
+
* This parameter only takes effect when LowPoly mode is selected from GenerateType.
|
|
92
|
+
|
|
93
|
+
Polygon type, indicates the model surface is composed of polygon grids, defaults to triangle. valid values:.
|
|
94
|
+
Specifies the triangle face.
|
|
95
|
+
quadrilateral: generates a mix of quadrangle and triangle faces.
|
|
96
|
+
* @type {string || null}
|
|
97
|
+
*/
|
|
98
|
+
this.PolygonType = null;
|
|
99
|
+
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
/**
|
|
103
|
+
* @private
|
|
104
|
+
*/
|
|
105
|
+
deserialize(params) {
|
|
106
|
+
if (!params) {
|
|
107
|
+
return;
|
|
108
|
+
}
|
|
109
|
+
this.Prompt = 'Prompt' in params ? params.Prompt : null;
|
|
110
|
+
this.ImageBase64 = 'ImageBase64' in params ? params.ImageBase64 : null;
|
|
111
|
+
this.ImageUrl = 'ImageUrl' in params ? params.ImageUrl : null;
|
|
112
|
+
|
|
113
|
+
if (params.MultiViewImages) {
|
|
114
|
+
this.MultiViewImages = new Array();
|
|
115
|
+
for (let z in params.MultiViewImages) {
|
|
116
|
+
let obj = new ViewImage();
|
|
117
|
+
obj.deserialize(params.MultiViewImages[z]);
|
|
118
|
+
this.MultiViewImages.push(obj);
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
this.EnablePBR = 'EnablePBR' in params ? params.EnablePBR : null;
|
|
122
|
+
this.FaceCount = 'FaceCount' in params ? params.FaceCount : null;
|
|
123
|
+
this.GenerateType = 'GenerateType' in params ? params.GenerateType : null;
|
|
124
|
+
this.PolygonType = 'PolygonType' in params ? params.PolygonType : null;
|
|
125
|
+
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
/**
|
|
130
|
+
* SubmitHunyuanTo3DProJob response structure.
|
|
131
|
+
* @class
|
|
132
|
+
*/
|
|
133
|
+
class SubmitHunyuanTo3DProJobResponse extends AbstractModel {
|
|
134
|
+
constructor(){
|
|
135
|
+
super();
|
|
136
|
+
|
|
137
|
+
/**
|
|
138
|
+
* Task ID (valid period: 24 hours).
|
|
139
|
+
* @type {string || null}
|
|
140
|
+
*/
|
|
141
|
+
this.JobId = null;
|
|
142
|
+
|
|
143
|
+
/**
|
|
144
|
+
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
145
|
+
* @type {string || null}
|
|
146
|
+
*/
|
|
147
|
+
this.RequestId = null;
|
|
148
|
+
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
/**
|
|
152
|
+
* @private
|
|
153
|
+
*/
|
|
154
|
+
deserialize(params) {
|
|
155
|
+
if (!params) {
|
|
156
|
+
return;
|
|
157
|
+
}
|
|
158
|
+
this.JobId = 'JobId' in params ? params.JobId : null;
|
|
159
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
160
|
+
|
|
161
|
+
}
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
/**
|
|
165
|
+
* Multi-Perspective image.
|
|
166
|
+
* @class
|
|
167
|
+
*/
|
|
168
|
+
class ViewImage extends AbstractModel {
|
|
169
|
+
constructor(){
|
|
170
|
+
super();
|
|
171
|
+
|
|
172
|
+
/**
|
|
173
|
+
* Viewing angle type.
|
|
174
|
+
Valid values: back, left, right.
|
|
175
|
+
* @type {string || null}
|
|
176
|
+
*/
|
|
177
|
+
this.ViewType = null;
|
|
178
|
+
|
|
179
|
+
/**
|
|
180
|
+
* Image Url.
|
|
181
|
+
* @type {string || null}
|
|
182
|
+
*/
|
|
183
|
+
this.ViewImageUrl = null;
|
|
184
|
+
|
|
185
|
+
/**
|
|
186
|
+
* base64 image address.
|
|
187
|
+
* @type {string || null}
|
|
188
|
+
*/
|
|
189
|
+
this.ViewImageBase64 = null;
|
|
190
|
+
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
/**
|
|
194
|
+
* @private
|
|
195
|
+
*/
|
|
196
|
+
deserialize(params) {
|
|
197
|
+
if (!params) {
|
|
198
|
+
return;
|
|
199
|
+
}
|
|
200
|
+
this.ViewType = 'ViewType' in params ? params.ViewType : null;
|
|
201
|
+
this.ViewImageUrl = 'ViewImageUrl' in params ? params.ViewImageUrl : null;
|
|
202
|
+
this.ViewImageBase64 = 'ViewImageBase64' in params ? params.ViewImageBase64 : null;
|
|
203
|
+
|
|
204
|
+
}
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
/**
|
|
208
|
+
* QueryHunyuanTo3DProJob request structure.
|
|
209
|
+
* @class
|
|
210
|
+
*/
|
|
211
|
+
class QueryHunyuanTo3DProJobRequest extends AbstractModel {
|
|
212
|
+
constructor(){
|
|
213
|
+
super();
|
|
214
|
+
|
|
215
|
+
/**
|
|
216
|
+
* Task ID.
|
|
217
|
+
* @type {string || null}
|
|
218
|
+
*/
|
|
219
|
+
this.JobId = null;
|
|
220
|
+
|
|
221
|
+
}
|
|
222
|
+
|
|
223
|
+
/**
|
|
224
|
+
* @private
|
|
225
|
+
*/
|
|
226
|
+
deserialize(params) {
|
|
227
|
+
if (!params) {
|
|
228
|
+
return;
|
|
229
|
+
}
|
|
230
|
+
this.JobId = 'JobId' in params ? params.JobId : null;
|
|
231
|
+
|
|
232
|
+
}
|
|
233
|
+
}
|
|
234
|
+
|
|
235
|
+
/**
|
|
236
|
+
* 3D file.
|
|
237
|
+
* @class
|
|
238
|
+
*/
|
|
239
|
+
class File3D extends AbstractModel {
|
|
240
|
+
constructor(){
|
|
241
|
+
super();
|
|
242
|
+
|
|
243
|
+
/**
|
|
244
|
+
* Specifies the file format.
|
|
245
|
+
* @type {string || null}
|
|
246
|
+
*/
|
|
247
|
+
this.Type = null;
|
|
248
|
+
|
|
249
|
+
/**
|
|
250
|
+
* File Url (valid for 24 hours).
|
|
251
|
+
* @type {string || null}
|
|
252
|
+
*/
|
|
253
|
+
this.Url = null;
|
|
254
|
+
|
|
255
|
+
/**
|
|
256
|
+
* Preview image Url.
|
|
257
|
+
* @type {string || null}
|
|
258
|
+
*/
|
|
259
|
+
this.PreviewImageUrl = null;
|
|
260
|
+
|
|
261
|
+
}
|
|
262
|
+
|
|
263
|
+
/**
|
|
264
|
+
* @private
|
|
265
|
+
*/
|
|
266
|
+
deserialize(params) {
|
|
267
|
+
if (!params) {
|
|
268
|
+
return;
|
|
269
|
+
}
|
|
270
|
+
this.Type = 'Type' in params ? params.Type : null;
|
|
271
|
+
this.Url = 'Url' in params ? params.Url : null;
|
|
272
|
+
this.PreviewImageUrl = 'PreviewImageUrl' in params ? params.PreviewImageUrl : null;
|
|
273
|
+
|
|
274
|
+
}
|
|
275
|
+
}
|
|
276
|
+
|
|
277
|
+
/**
|
|
278
|
+
* QueryHunyuanTo3DProJob response structure.
|
|
279
|
+
* @class
|
|
280
|
+
*/
|
|
281
|
+
class QueryHunyuanTo3DProJobResponse extends AbstractModel {
|
|
282
|
+
constructor(){
|
|
283
|
+
super();
|
|
284
|
+
|
|
285
|
+
/**
|
|
286
|
+
* Task status. WAIT: waiting; RUN: running; FAIL: failed; DONE: successful.
|
|
287
|
+
* @type {string || null}
|
|
288
|
+
*/
|
|
289
|
+
this.Status = null;
|
|
290
|
+
|
|
291
|
+
/**
|
|
292
|
+
* Error code
|
|
293
|
+
* @type {string || null}
|
|
294
|
+
*/
|
|
295
|
+
this.ErrorCode = null;
|
|
296
|
+
|
|
297
|
+
/**
|
|
298
|
+
* Error message.
|
|
299
|
+
* @type {string || null}
|
|
300
|
+
*/
|
|
301
|
+
this.ErrorMessage = null;
|
|
302
|
+
|
|
303
|
+
/**
|
|
304
|
+
* Generated 3D file array.
|
|
305
|
+
* @type {Array.<File3D> || null}
|
|
306
|
+
*/
|
|
307
|
+
this.ResultFile3Ds = null;
|
|
308
|
+
|
|
309
|
+
/**
|
|
310
|
+
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
311
|
+
* @type {string || null}
|
|
312
|
+
*/
|
|
313
|
+
this.RequestId = null;
|
|
314
|
+
|
|
315
|
+
}
|
|
316
|
+
|
|
317
|
+
/**
|
|
318
|
+
* @private
|
|
319
|
+
*/
|
|
320
|
+
deserialize(params) {
|
|
321
|
+
if (!params) {
|
|
322
|
+
return;
|
|
323
|
+
}
|
|
324
|
+
this.Status = 'Status' in params ? params.Status : null;
|
|
325
|
+
this.ErrorCode = 'ErrorCode' in params ? params.ErrorCode : null;
|
|
326
|
+
this.ErrorMessage = 'ErrorMessage' in params ? params.ErrorMessage : null;
|
|
327
|
+
|
|
328
|
+
if (params.ResultFile3Ds) {
|
|
329
|
+
this.ResultFile3Ds = new Array();
|
|
330
|
+
for (let z in params.ResultFile3Ds) {
|
|
331
|
+
let obj = new File3D();
|
|
332
|
+
obj.deserialize(params.ResultFile3Ds[z]);
|
|
333
|
+
this.ResultFile3Ds.push(obj);
|
|
334
|
+
}
|
|
335
|
+
}
|
|
336
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
337
|
+
|
|
338
|
+
}
|
|
339
|
+
}
|
|
340
|
+
|
|
341
|
+
module.exports = {
|
|
342
|
+
SubmitHunyuanTo3DProJobRequest: SubmitHunyuanTo3DProJobRequest,
|
|
343
|
+
SubmitHunyuanTo3DProJobResponse: SubmitHunyuanTo3DProJobResponse,
|
|
344
|
+
ViewImage: ViewImage,
|
|
345
|
+
QueryHunyuanTo3DProJobRequest: QueryHunyuanTo3DProJobRequest,
|
|
346
|
+
File3D: File3D,
|
|
347
|
+
QueryHunyuanTo3DProJobResponse: QueryHunyuanTo3DProJobResponse,
|
|
348
|
+
|
|
349
|
+
}
|
|
@@ -814,6 +814,18 @@ class ModifyScheduledActionRequest extends AbstractModel {
|
|
|
814
814
|
*/
|
|
815
815
|
this.Recurrence = null;
|
|
816
816
|
|
|
817
|
+
/**
|
|
818
|
+
* Disable update DesiredCapacity Indicates the DesiredCapacity is updated normally during scheduled task triggering.
|
|
819
|
+
|
|
820
|
+
Specifies whether the scheduled task triggers proactive modification of the DesiredCapacity when the value is True. DesiredCapacity may be modified by the minSize and maxSize mechanism.
|
|
821
|
+
The following cases assume that DisableUpdateDesiredCapacity is True:
|
|
822
|
+
- When scheduled task triggered, the original DesiredCapacity is 5. The scheduled task changes the minSize to 10, the maxSize to 20, and the DesiredCapacity to 15. Since the DesiredCapacity update is disabled, 15 does not take effect. However, the original DesiredCapacity 5 is less than minSize 10, so the final new DesiredCapacity is 10.
|
|
823
|
+
- When scheduled task triggered, the original DesiredCapacity is 25. The scheduled task changes the minSize to 10 and the maxSize to 20, and the DesiredCapacity to 15. Since the DesiredCapacity update is disabled, 15 does not take effect. However, the original DesiredCapacity 25 is greater than the maxSize 20, so the final new DesiredCapacity is 20.
|
|
824
|
+
- When scheduled task triggered, the original DesiredCapacity is 13. The scheduled task changes the minSize to 10 and the maxSize to 20, and the DesiredCapacity to 15. Since the DesiredCapacity update is disabled, 15 does not take effect, and the DesiredCapacity is still 13.
|
|
825
|
+
* @type {boolean || null}
|
|
826
|
+
*/
|
|
827
|
+
this.DisableUpdateDesiredCapacity = null;
|
|
828
|
+
|
|
817
829
|
}
|
|
818
830
|
|
|
819
831
|
/**
|
|
@@ -831,6 +843,7 @@ class ModifyScheduledActionRequest extends AbstractModel {
|
|
|
831
843
|
this.StartTime = 'StartTime' in params ? params.StartTime : null;
|
|
832
844
|
this.EndTime = 'EndTime' in params ? params.EndTime : null;
|
|
833
845
|
this.Recurrence = 'Recurrence' in params ? params.Recurrence : null;
|
|
846
|
+
this.DisableUpdateDesiredCapacity = 'DisableUpdateDesiredCapacity' in params ? params.DisableUpdateDesiredCapacity : null;
|
|
834
847
|
|
|
835
848
|
}
|
|
836
849
|
}
|
|
@@ -1630,16 +1643,16 @@ class CreateScheduledActionRequest extends AbstractModel {
|
|
|
1630
1643
|
this.ScheduledActionName = null;
|
|
1631
1644
|
|
|
1632
1645
|
/**
|
|
1633
|
-
* The
|
|
1646
|
+
* The minimum number of instances set for the auto scaling group when the scheduled task is triggered.
|
|
1634
1647
|
* @type {number || null}
|
|
1635
1648
|
*/
|
|
1636
|
-
this.
|
|
1649
|
+
this.MinSize = null;
|
|
1637
1650
|
|
|
1638
1651
|
/**
|
|
1639
|
-
*
|
|
1640
|
-
* @type {
|
|
1652
|
+
* Initial triggered time of the scheduled task. The value is in `Beijing time` (UTC+8) in the format of `YYYY-MM-DDThh:mm:ss+08:00` according to the `ISO8601` standard.
|
|
1653
|
+
* @type {string || null}
|
|
1641
1654
|
*/
|
|
1642
|
-
this.
|
|
1655
|
+
this.StartTime = null;
|
|
1643
1656
|
|
|
1644
1657
|
/**
|
|
1645
1658
|
* The desired number of instances set for the auto scaling group when the scheduled task is triggered.
|
|
@@ -1648,10 +1661,10 @@ class CreateScheduledActionRequest extends AbstractModel {
|
|
|
1648
1661
|
this.DesiredCapacity = null;
|
|
1649
1662
|
|
|
1650
1663
|
/**
|
|
1651
|
-
*
|
|
1652
|
-
* @type {
|
|
1664
|
+
* The maximum number of instances set for the auto scaling group when the scheduled task is triggered.
|
|
1665
|
+
* @type {number || null}
|
|
1653
1666
|
*/
|
|
1654
|
-
this.
|
|
1667
|
+
this.MaxSize = null;
|
|
1655
1668
|
|
|
1656
1669
|
/**
|
|
1657
1670
|
* End time of the scheduled task. The value is in `Beijing time` (UTC+8) in the format of `YYYY-MM-DDThh:mm:ss+08:00` according to the `ISO8601` standard. <br><br>This parameter and `Recurrence` need to be specified at the same time. After the end time, the scheduled task will no longer take effect.
|
|
@@ -1665,6 +1678,18 @@ class CreateScheduledActionRequest extends AbstractModel {
|
|
|
1665
1678
|
*/
|
|
1666
1679
|
this.Recurrence = null;
|
|
1667
1680
|
|
|
1681
|
+
/**
|
|
1682
|
+
* Disable update DesiredCapacity Indicates the DesiredCapacity is updated normally during scheduled task triggering.
|
|
1683
|
+
|
|
1684
|
+
Specifies whether the scheduled task triggers proactive modification of the DesiredCapacity when the value is True. DesiredCapacity may be modified by the minSize and maxSize mechanism.
|
|
1685
|
+
The following cases assume that DisableUpdateDesiredCapacity is True:
|
|
1686
|
+
- When scheduled task triggered, the original DesiredCapacity is 5. The scheduled task changes the minSize to 10, the maxSize to 20, and the DesiredCapacity to 15. Since the DesiredCapacity update is disabled, 15 does not take effect. However, the original DesiredCapacity 5 is less than minSize 10, so the final new DesiredCapacity is 10.
|
|
1687
|
+
- When scheduled task triggered, the original DesiredCapacity is 25. The scheduled task changes the minSize to 10 and the maxSize to 20, and the DesiredCapacity to 15. Since the DesiredCapacity update is disabled, 15 does not take effect. However, the original DesiredCapacity 25 is greater than the maxSize 20, so the final new DesiredCapacity is 20.
|
|
1688
|
+
- When scheduled task triggered, the original DesiredCapacity is 13. The scheduled task changes the minSize to 10 and the maxSize to 20, and the DesiredCapacity to 15. Since the DesiredCapacity update is disabled, 15 does not take effect, and the DesiredCapacity is still 13.
|
|
1689
|
+
* @type {boolean || null}
|
|
1690
|
+
*/
|
|
1691
|
+
this.DisableUpdateDesiredCapacity = null;
|
|
1692
|
+
|
|
1668
1693
|
}
|
|
1669
1694
|
|
|
1670
1695
|
/**
|
|
@@ -1676,12 +1701,13 @@ class CreateScheduledActionRequest extends AbstractModel {
|
|
|
1676
1701
|
}
|
|
1677
1702
|
this.AutoScalingGroupId = 'AutoScalingGroupId' in params ? params.AutoScalingGroupId : null;
|
|
1678
1703
|
this.ScheduledActionName = 'ScheduledActionName' in params ? params.ScheduledActionName : null;
|
|
1679
|
-
this.MaxSize = 'MaxSize' in params ? params.MaxSize : null;
|
|
1680
1704
|
this.MinSize = 'MinSize' in params ? params.MinSize : null;
|
|
1681
|
-
this.DesiredCapacity = 'DesiredCapacity' in params ? params.DesiredCapacity : null;
|
|
1682
1705
|
this.StartTime = 'StartTime' in params ? params.StartTime : null;
|
|
1706
|
+
this.DesiredCapacity = 'DesiredCapacity' in params ? params.DesiredCapacity : null;
|
|
1707
|
+
this.MaxSize = 'MaxSize' in params ? params.MaxSize : null;
|
|
1683
1708
|
this.EndTime = 'EndTime' in params ? params.EndTime : null;
|
|
1684
1709
|
this.Recurrence = 'Recurrence' in params ? params.Recurrence : null;
|
|
1710
|
+
this.DisableUpdateDesiredCapacity = 'DisableUpdateDesiredCapacity' in params ? params.DisableUpdateDesiredCapacity : null;
|
|
1685
1711
|
|
|
1686
1712
|
}
|
|
1687
1713
|
}
|
|
@@ -6712,6 +6738,18 @@ class ScheduledAction extends AbstractModel {
|
|
|
6712
6738
|
*/
|
|
6713
6739
|
this.ScheduledType = null;
|
|
6714
6740
|
|
|
6741
|
+
/**
|
|
6742
|
+
* Disable update DesiredCapacity Indicates the DesiredCapacity is updated normally during scheduled task triggering.
|
|
6743
|
+
|
|
6744
|
+
Specifies whether the scheduled task triggers proactive modification of the DesiredCapacity when the value is True. DesiredCapacity may be modified by the minSize and maxSize mechanism.
|
|
6745
|
+
The following cases assume that DisableUpdateDesiredCapacity is True:
|
|
6746
|
+
- When scheduled task triggered, the original DesiredCapacity is 5. The scheduled task changes the minSize to 10, the maxSize to 20, and the DesiredCapacity to 15. Since the DesiredCapacity update is disabled, 15 does not take effect. However, the original DesiredCapacity 5 is less than minSize 10, so the final new DesiredCapacity is 10.
|
|
6747
|
+
- When scheduled task triggered, the original DesiredCapacity is 25. The scheduled task changes the minSize to 10 and the maxSize to 20, and the DesiredCapacity to 15. Since the DesiredCapacity update is disabled, 15 does not take effect. However, the original DesiredCapacity 25 is greater than the maxSize 20, so the final new DesiredCapacity is 20.
|
|
6748
|
+
- When scheduled task triggered, the original DesiredCapacity is 13. The scheduled task changes the minSize to 10 and the maxSize to 20, and the DesiredCapacity to 15. Since the DesiredCapacity update is disabled, 15 does not take effect, and the DesiredCapacity is still 13.
|
|
6749
|
+
* @type {boolean || null}
|
|
6750
|
+
*/
|
|
6751
|
+
this.DisableUpdateDesiredCapacity = null;
|
|
6752
|
+
|
|
6715
6753
|
}
|
|
6716
6754
|
|
|
6717
6755
|
/**
|
|
@@ -6732,6 +6770,7 @@ class ScheduledAction extends AbstractModel {
|
|
|
6732
6770
|
this.MinSize = 'MinSize' in params ? params.MinSize : null;
|
|
6733
6771
|
this.CreatedTime = 'CreatedTime' in params ? params.CreatedTime : null;
|
|
6734
6772
|
this.ScheduledType = 'ScheduledType' in params ? params.ScheduledType : null;
|
|
6773
|
+
this.DisableUpdateDesiredCapacity = 'DisableUpdateDesiredCapacity' in params ? params.DisableUpdateDesiredCapacity : null;
|
|
6735
6774
|
|
|
6736
6775
|
}
|
|
6737
6776
|
}
|
|
@@ -5762,40 +5762,40 @@ class DescribeTelCdrRequest extends AbstractModel {
|
|
|
5762
5762
|
this.EndTimeStamp = null;
|
|
5763
5763
|
|
|
5764
5764
|
/**
|
|
5765
|
-
*
|
|
5765
|
+
* Application id (required) can be found at https://console.cloud.tencent.com/ccc.
|
|
5766
5766
|
* @type {number || null}
|
|
5767
5767
|
*/
|
|
5768
|
-
this.
|
|
5768
|
+
this.SdkAppId = null;
|
|
5769
5769
|
|
|
5770
5770
|
/**
|
|
5771
|
-
*
|
|
5771
|
+
* Page size (required), up to 100.
|
|
5772
5772
|
* @type {number || null}
|
|
5773
5773
|
*/
|
|
5774
|
-
this.
|
|
5774
|
+
this.PageSize = null;
|
|
5775
5775
|
|
|
5776
5776
|
/**
|
|
5777
|
-
*
|
|
5777
|
+
* <Page number (required), starting from 0.>.
|
|
5778
5778
|
* @type {number || null}
|
|
5779
5779
|
*/
|
|
5780
|
-
this.
|
|
5780
|
+
this.PageNumber = null;
|
|
5781
5781
|
|
|
5782
5782
|
/**
|
|
5783
|
-
*
|
|
5783
|
+
* Instance id (deprecated).
|
|
5784
5784
|
* @type {number || null}
|
|
5785
5785
|
*/
|
|
5786
|
-
this.
|
|
5786
|
+
this.InstanceId = null;
|
|
5787
5787
|
|
|
5788
5788
|
/**
|
|
5789
|
-
*
|
|
5789
|
+
* Maximum number of returned entries (deprecated).
|
|
5790
5790
|
* @type {number || null}
|
|
5791
5791
|
*/
|
|
5792
|
-
this.
|
|
5792
|
+
this.Limit = null;
|
|
5793
5793
|
|
|
5794
5794
|
/**
|
|
5795
|
-
*
|
|
5795
|
+
* Offset (deprecated).
|
|
5796
5796
|
* @type {number || null}
|
|
5797
5797
|
*/
|
|
5798
|
-
this.
|
|
5798
|
+
this.Offset = null;
|
|
5799
5799
|
|
|
5800
5800
|
/**
|
|
5801
5801
|
* Filter by phone number.
|
|
@@ -5820,12 +5820,12 @@ class DescribeTelCdrRequest extends AbstractModel {
|
|
|
5820
5820
|
}
|
|
5821
5821
|
this.StartTimeStamp = 'StartTimeStamp' in params ? params.StartTimeStamp : null;
|
|
5822
5822
|
this.EndTimeStamp = 'EndTimeStamp' in params ? params.EndTimeStamp : null;
|
|
5823
|
-
this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
|
|
5824
|
-
this.Limit = 'Limit' in params ? params.Limit : null;
|
|
5825
|
-
this.Offset = 'Offset' in params ? params.Offset : null;
|
|
5826
5823
|
this.SdkAppId = 'SdkAppId' in params ? params.SdkAppId : null;
|
|
5827
5824
|
this.PageSize = 'PageSize' in params ? params.PageSize : null;
|
|
5828
5825
|
this.PageNumber = 'PageNumber' in params ? params.PageNumber : null;
|
|
5826
|
+
this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
|
|
5827
|
+
this.Limit = 'Limit' in params ? params.Limit : null;
|
|
5828
|
+
this.Offset = 'Offset' in params ? params.Offset : null;
|
|
5829
5829
|
this.Phones = 'Phones' in params ? params.Phones : null;
|
|
5830
5830
|
this.SessionIds = 'SessionIds' in params ? params.SessionIds : null;
|
|
5831
5831
|
|
|
@@ -8114,9 +8114,9 @@ VoIP user client timeout.
|
|
|
8114
8114
|
|
|
8115
8115
|
Audio dial-in 503 VoIP user client error.
|
|
8116
8116
|
|
|
8117
|
-
Chinese
|
|
8117
|
+
Chinese version please go domestic site (https://cloud.tencent.com/document/product/679/123938).
|
|
8118
8118
|
|
|
8119
|
-
English
|
|
8119
|
+
English version please go international site (https://www.tencentcloud.com/document/product/1229/71847?lang=en).
|
|
8120
8120
|
* @type {number || null}
|
|
8121
8121
|
*/
|
|
8122
8122
|
this.EndStatus = null;
|
|
@@ -172,13 +172,14 @@ const DescribeProxyCustomConfResponse = models.DescribeProxyCustomConfResponse;
|
|
|
172
172
|
const ModifyDBInstanceNameResponse = models.ModifyDBInstanceNameResponse;
|
|
173
173
|
const DescribeCloneListResponse = models.DescribeCloneListResponse;
|
|
174
174
|
const DescribeDBInstanceLogToCLSRequest = models.DescribeDBInstanceLogToCLSRequest;
|
|
175
|
+
const AnalysisNodeInfo = models.AnalysisNodeInfo;
|
|
175
176
|
const StartBatchRollbackRequest = models.StartBatchRollbackRequest;
|
|
176
177
|
const OpenDBInstanceEncryptionRequest = models.OpenDBInstanceEncryptionRequest;
|
|
177
178
|
const DescribeDBInstanceCharsetRequest = models.DescribeDBInstanceCharsetRequest;
|
|
178
179
|
const ModifyInstancePasswordComplexityResponse = models.ModifyInstancePasswordComplexityResponse;
|
|
179
180
|
const DeviceMemInfo = models.DeviceMemInfo;
|
|
180
181
|
const AuditLogAggregationResult = models.AuditLogAggregationResult;
|
|
181
|
-
const
|
|
182
|
+
const SlowLogItem = models.SlowLogItem;
|
|
182
183
|
const DescribeRemoteBackupConfigRequest = models.DescribeRemoteBackupConfigRequest;
|
|
183
184
|
const TagInfo = models.TagInfo;
|
|
184
185
|
const DescribeDBInstancesResponse = models.DescribeDBInstancesResponse;
|
|
@@ -219,7 +220,7 @@ const ParameterDetail = models.ParameterDetail;
|
|
|
219
220
|
const SwitchForUpgradeRequest = models.SwitchForUpgradeRequest;
|
|
220
221
|
const CreateDBInstanceHourResponse = models.CreateDBInstanceHourResponse;
|
|
221
222
|
const DescribeBackupDownloadRestrictionResponse = models.DescribeBackupDownloadRestrictionResponse;
|
|
222
|
-
const
|
|
223
|
+
const DatabasesWithCharacterLists = models.DatabasesWithCharacterLists;
|
|
223
224
|
const CloneItem = models.CloneItem;
|
|
224
225
|
const ModifyDBInstanceSecurityGroupsResponse = models.ModifyDBInstanceSecurityGroupsResponse;
|
|
225
226
|
const CreateAccountsRequest = models.CreateAccountsRequest;
|
|
@@ -319,6 +320,7 @@ const DescribeRollbackTaskDetailResponse = models.DescribeRollbackTaskDetailResp
|
|
|
319
320
|
const CreateDBInstanceHourRequest = models.CreateDBInstanceHourRequest;
|
|
320
321
|
const RollbackInstancesInfo = models.RollbackInstancesInfo;
|
|
321
322
|
const CreateCloneInstanceRequest = models.CreateCloneInstanceRequest;
|
|
323
|
+
const ClusterInfo = models.ClusterInfo;
|
|
322
324
|
const CloseCDBProxyRequest = models.CloseCDBProxyRequest;
|
|
323
325
|
const DeleteBackupResponse = models.DeleteBackupResponse;
|
|
324
326
|
const DescribeProjectSecurityGroupsResponse = models.DescribeProjectSecurityGroupsResponse;
|
|
@@ -1401,7 +1403,8 @@ This is an asynchronous API. You can also use the [DescribeDBInstances](https://
|
|
|
1401
1403
|
}
|
|
1402
1404
|
|
|
1403
1405
|
/**
|
|
1404
|
-
* This API
|
|
1406
|
+
* This API is used to query the list of TencentDB for MySQL instances. It supports filtering instances by conditions such as project ID, instance ID, access address, and instance status. It also supports querying the list of information about primary instances, disaster recovery instances, and read-only instances.
|
|
1407
|
+
This API is used to return the availability zone (AZ) status during purchase, which does not change along with the proactive HA switch. If you want to know the AZ status in real time, query through the [DescribeDBInstanceConfig](https://www.tencentcloud.comom/document/product/236/17491?from_cn_redirect=1) API.
|
|
1405
1408
|
* @param {DescribeDBInstancesRequest} req
|
|
1406
1409
|
* @param {function(string, DescribeDBInstancesResponse):void} cb
|
|
1407
1410
|
* @public
|