tencentcloud-sdk-nodejs 4.0.546 → 4.0.548
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/CHANGELOG.md +377 -0
- package/SERVICE_CHANGELOG.md +404 -133
- package/package.json +1 -1
- package/products.md +32 -32
- package/src/common/sdk_version.ts +1 -1
- package/src/services/bma/v20221115/bma_models.ts +2 -2
- package/src/services/cbs/v20170312/cbs_client.ts +3 -5
- package/src/services/cbs/v20170312/cbs_models.ts +139 -12
- package/src/services/cdc/v20201214/cdc_models.ts +14 -14
- package/src/services/cdn/v20180606/cdn_client.ts +32 -19
- package/src/services/cdn/v20180606/cdn_models.ts +164 -11
- package/src/services/cfw/v20190904/cfw_client.ts +44 -7
- package/src/services/cfw/v20190904/cfw_models.ts +117 -6
- package/src/services/clb/v20180317/clb_models.ts +4 -4
- package/src/services/cvm/v20170312/cvm_client.ts +1 -1
- package/src/services/cynosdb/v20190107/cynosdb_models.ts +5 -5
- package/src/services/dasb/v20191018/dasb_client.ts +279 -60
- package/src/services/dasb/v20191018/dasb_models.ts +1314 -714
- package/src/services/dcdb/v20180411/dcdb_client.ts +12 -0
- package/src/services/dcdb/v20180411/dcdb_models.ts +25 -0
- package/src/services/dts/v20211206/dts_models.ts +7 -7
- package/src/services/eb/v20210416/eb_client.ts +3 -1
- package/src/services/eb/v20210416/eb_models.ts +110 -25
- package/src/services/essbasic/v20210526/essbasic_models.ts +1 -1
- package/src/services/gs/v20191118/gs_models.ts +8 -8
- package/src/services/lcic/v20220817/lcic_client.ts +16 -2
- package/src/services/lcic/v20220817/lcic_models.ts +129 -16
- package/src/services/lighthouse/v20200324/lighthouse_client.ts +2 -3
- package/src/services/lighthouse/v20200324/lighthouse_models.ts +12 -12
- package/src/services/ocr/v20181119/ocr_client.ts +2 -4
- package/src/services/postgres/v20170312/postgres_models.ts +1 -1
- package/src/services/teo/v20220901/teo_models.ts +3 -1
- package/src/services/thpc/v20220401/thpc_client.ts +70 -17
- package/src/services/thpc/v20220401/thpc_models.ts +296 -83
- package/src/services/tke/v20180525/tke_models.ts +1 -1
- package/src/services/vpc/v20170312/vpc_client.ts +4 -3
- package/src/services/vpc/v20170312/vpc_models.ts +18 -8
- package/src/services/wedata/v20210820/wedata_models.ts +1 -1
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/bma/v20221115/bma_models.d.ts +2 -2
- package/tencentcloud/services/cbs/v20170312/cbs_client.d.ts +0 -3
- package/tencentcloud/services/cbs/v20170312/cbs_client.js +0 -3
- package/tencentcloud/services/cbs/v20170312/cbs_models.d.ts +118 -12
- package/tencentcloud/services/cdc/v20201214/cdc_models.d.ts +14 -14
- package/tencentcloud/services/cdn/v20180606/cdn_client.d.ts +11 -7
- package/tencentcloud/services/cdn/v20180606/cdn_client.js +15 -9
- package/tencentcloud/services/cdn/v20180606/cdn_models.d.ts +138 -11
- package/tencentcloud/services/cfw/v20190904/cfw_client.d.ts +15 -3
- package/tencentcloud/services/cfw/v20190904/cfw_client.js +21 -3
- package/tencentcloud/services/cfw/v20190904/cfw_models.d.ts +102 -6
- package/tencentcloud/services/clb/v20180317/clb_models.d.ts +4 -4
- package/tencentcloud/services/cvm/v20170312/cvm_client.d.ts +1 -1
- package/tencentcloud/services/cvm/v20170312/cvm_client.js +1 -1
- package/tencentcloud/services/cynosdb/v20190107/cynosdb_models.d.ts +5 -5
- package/tencentcloud/services/dasb/v20191018/dasb_client.d.ts +81 -9
- package/tencentcloud/services/dasb/v20191018/dasb_client.js +120 -12
- package/tencentcloud/services/dasb/v20191018/dasb_models.d.ts +1183 -664
- package/tencentcloud/services/dcdb/v20180411/dcdb_client.d.ts +5 -1
- package/tencentcloud/services/dcdb/v20180411/dcdb_client.js +6 -0
- package/tencentcloud/services/dcdb/v20180411/dcdb_models.d.ts +22 -0
- package/tencentcloud/services/dts/v20211206/dts_models.d.ts +6 -6
- package/tencentcloud/services/eb/v20210416/eb_models.d.ts +95 -24
- package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +1 -1
- package/tencentcloud/services/gs/v20191118/gs_models.d.ts +7 -7
- package/tencentcloud/services/lcic/v20220817/lcic_client.d.ts +5 -1
- package/tencentcloud/services/lcic/v20220817/lcic_client.js +6 -0
- package/tencentcloud/services/lcic/v20220817/lcic_models.d.ts +112 -16
- package/tencentcloud/services/lighthouse/v20200324/lighthouse_client.d.ts +2 -3
- package/tencentcloud/services/lighthouse/v20200324/lighthouse_client.js +2 -3
- package/tencentcloud/services/lighthouse/v20200324/lighthouse_models.d.ts +12 -12
- package/tencentcloud/services/ocr/v20181119/ocr_client.d.ts +0 -2
- package/tencentcloud/services/ocr/v20181119/ocr_client.js +0 -2
- package/tencentcloud/services/postgres/v20170312/postgres_models.d.ts +1 -1
- package/tencentcloud/services/teo/v20220901/teo_models.d.ts +3 -1
- package/tencentcloud/services/thpc/v20220401/thpc_client.d.ts +23 -5
- package/tencentcloud/services/thpc/v20220401/thpc_client.js +32 -6
- package/tencentcloud/services/thpc/v20220401/thpc_models.d.ts +258 -74
- package/tencentcloud/services/tke/v20180525/tke_models.d.ts +1 -1
- package/tencentcloud/services/vpc/v20170312/vpc_client.d.ts +2 -1
- package/tencentcloud/services/vpc/v20170312/vpc_client.js +2 -1
- package/tencentcloud/services/vpc/v20170312/vpc_models.d.ts +16 -8
- package/tencentcloud/services/wedata/v20210820/wedata_models.d.ts +1 -1
- package/test/cdn.v20180606.test.js +16 -6
- package/test/cfw.v20190904.test.js +32 -2
- package/test/dasb.v20191018.test.js +188 -8
- package/test/dcdb.v20180411.test.js +10 -0
- package/test/lcic.v20220817.test.js +10 -0
- package/test/thpc.v20220401.test.js +44 -4
|
@@ -125,6 +125,17 @@ export interface ClusterOverview {
|
|
|
125
125
|
VpcId: string
|
|
126
126
|
}
|
|
127
127
|
|
|
128
|
+
/**
|
|
129
|
+
* 队列信息概览。
|
|
130
|
+
*/
|
|
131
|
+
export interface QueueOverview {
|
|
132
|
+
/**
|
|
133
|
+
* 队列名称。
|
|
134
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
135
|
+
*/
|
|
136
|
+
QueueName?: string
|
|
137
|
+
}
|
|
138
|
+
|
|
128
139
|
/**
|
|
129
140
|
* DescribeClusters请求参数结构体
|
|
130
141
|
*/
|
|
@@ -180,13 +191,75 @@ false(默认):发送正常请求,通过检查后直接绑定弹性伸缩
|
|
|
180
191
|
}
|
|
181
192
|
|
|
182
193
|
/**
|
|
183
|
-
*
|
|
194
|
+
* 节点概览信息。
|
|
184
195
|
*/
|
|
185
|
-
export interface
|
|
196
|
+
export interface NodeOverview {
|
|
186
197
|
/**
|
|
187
|
-
|
|
198
|
+
* 节点实例ID。
|
|
199
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
200
|
+
*/
|
|
201
|
+
InstanceId?: string
|
|
202
|
+
|
|
203
|
+
/**
|
|
204
|
+
* 节点所在可用区信息。
|
|
205
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
206
|
+
*/
|
|
207
|
+
Zone?: string
|
|
208
|
+
|
|
209
|
+
/**
|
|
210
|
+
* 节点状态。<br><li>SUBMITTED:已完成提交。<br><li>CREATING:创建中。<br><li>CREATED:完成创建。<br><li>INITING:初始化中。<br><li>INIT_FAILED:初始化失败。<br><li>RUNNING:运行中。<br><li>DELETING:销毁中。
|
|
211
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
212
|
+
*/
|
|
213
|
+
NodeState?: string
|
|
214
|
+
|
|
215
|
+
/**
|
|
216
|
+
* 镜像ID。
|
|
217
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
218
|
+
*/
|
|
219
|
+
ImageId?: string
|
|
220
|
+
|
|
221
|
+
/**
|
|
222
|
+
* 节点所属队列名称。
|
|
223
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
224
|
+
*/
|
|
225
|
+
QueueName?: string
|
|
226
|
+
|
|
227
|
+
/**
|
|
228
|
+
* 节点角色。<br><li>Manager:管控节点。<br><li>Compute:计算节点。<br><li>Login:登录节点。<br><li>ManagerBackup:备用管控节点。
|
|
229
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
230
|
+
*/
|
|
231
|
+
NodeRole?: string
|
|
232
|
+
|
|
233
|
+
/**
|
|
234
|
+
* 节点类型。<br><li>STATIC:静态节点。<br><li>DYNAMIC:弹性节点。
|
|
235
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
236
|
+
*/
|
|
237
|
+
NodeType?: string
|
|
238
|
+
}
|
|
239
|
+
|
|
240
|
+
/**
|
|
241
|
+
* DescribeNodes请求参数结构体
|
|
242
|
+
*/
|
|
243
|
+
export interface DescribeNodesRequest {
|
|
244
|
+
/**
|
|
245
|
+
* 集群ID。
|
|
188
246
|
*/
|
|
189
|
-
|
|
247
|
+
ClusterId: string
|
|
248
|
+
|
|
249
|
+
/**
|
|
250
|
+
* <li><strong>queue-name</strong></li> <p style="padding-left: 30px;">按照【<strong>队列名称</strong>】进行过滤。队列名称形如:compute。</p><p style="padding-left: 30px;">类型:String</p><p style="padding-left: 30px;">必选:否</p><p style="padding-left: 30px;"><li><strong>node-role</strong></li> <p style="padding-left: 30px;">按照【<strong>节点角色</strong>】进行过滤。节点角色形如:Manager。(Manager:管控节点。Compute:计算节点。Login:登录节点。ManagerBackup:备用管控节点。)</p><p style="padding-left: 30px;">类型:String</p><p style="padding-left: 30px;">必选:否</p><p style="padding-left: 30px;"><li><strong>node-type</strong></li> <p style="padding-left: 30px;">按照【<strong>节点类型</strong>】进行过滤。节点类型形如:STATIC。(STATIC:静态节点。DYNAMIC:弹性节点。)</p><p style="padding-left: 30px;">类型:String</p><p style="padding-left: 30px;">必选:否</p><p style="padding-left: 30px;">每次请求的`Filters`的上限为10,`Filter.Values`的上限为5。
|
|
251
|
+
*/
|
|
252
|
+
Filters?: Array<Filter>
|
|
253
|
+
|
|
254
|
+
/**
|
|
255
|
+
* 偏移量,默认为0。关于`Offset`的更进一步介绍请参考 API [简介](https://cloud.tencent.com/document/api/213/15688)中的相关小节。
|
|
256
|
+
*/
|
|
257
|
+
Offset?: number
|
|
258
|
+
|
|
259
|
+
/**
|
|
260
|
+
* 返回数量,默认为20,最大值为100。关于`Limit`的更进一步介绍请参考 API [简介](https://cloud.tencent.com/document/api/213/15688)中的相关小节。
|
|
261
|
+
*/
|
|
262
|
+
Limit?: number
|
|
190
263
|
}
|
|
191
264
|
|
|
192
265
|
/**
|
|
@@ -294,58 +367,66 @@ export interface NodeActivity {
|
|
|
294
367
|
}
|
|
295
368
|
|
|
296
369
|
/**
|
|
297
|
-
*
|
|
370
|
+
* 描述了实例的抽象位置
|
|
298
371
|
*/
|
|
299
|
-
export interface
|
|
300
|
-
/**
|
|
301
|
-
* 队列名称。
|
|
302
|
-
*/
|
|
303
|
-
QueueName: string
|
|
304
|
-
|
|
305
|
-
/**
|
|
306
|
-
* 队列中弹性节点数量最小值。取值范围0~200。
|
|
307
|
-
*/
|
|
308
|
-
MinSize?: number
|
|
309
|
-
|
|
372
|
+
export interface Placement {
|
|
310
373
|
/**
|
|
311
|
-
*
|
|
374
|
+
* 实例所属的可用区名称。该参数可以通过调用 [DescribeZones](https://cloud.tencent.com/document/product/213/15707) 的返回值中的Zone字段来获取。
|
|
312
375
|
*/
|
|
313
|
-
|
|
376
|
+
Zone: string
|
|
377
|
+
}
|
|
314
378
|
|
|
379
|
+
/**
|
|
380
|
+
* AddQueue请求参数结构体
|
|
381
|
+
*/
|
|
382
|
+
export interface AddQueueRequest {
|
|
315
383
|
/**
|
|
316
|
-
*
|
|
384
|
+
* 集群ID。
|
|
317
385
|
*/
|
|
318
|
-
|
|
386
|
+
ClusterId: string
|
|
319
387
|
|
|
320
388
|
/**
|
|
321
|
-
*
|
|
389
|
+
* 队列名称。<br><li>最多支持32个字符。
|
|
322
390
|
*/
|
|
323
|
-
|
|
391
|
+
QueueName: string
|
|
392
|
+
}
|
|
324
393
|
|
|
394
|
+
/**
|
|
395
|
+
* 登录节点概览。
|
|
396
|
+
*/
|
|
397
|
+
export interface LoginNodeOverview {
|
|
325
398
|
/**
|
|
326
|
-
*
|
|
399
|
+
* 登录节点ID。
|
|
327
400
|
*/
|
|
328
|
-
|
|
401
|
+
NodeId: string
|
|
402
|
+
}
|
|
329
403
|
|
|
404
|
+
/**
|
|
405
|
+
* 描述CFS文件系统版本和挂载信息
|
|
406
|
+
*/
|
|
407
|
+
export interface CFSOption {
|
|
330
408
|
/**
|
|
331
|
-
*
|
|
409
|
+
* 文件系统本地挂载路径。
|
|
332
410
|
*/
|
|
333
|
-
|
|
411
|
+
LocalPath: string
|
|
334
412
|
|
|
335
413
|
/**
|
|
336
|
-
*
|
|
414
|
+
* 文件系统远程挂载ip及路径。
|
|
337
415
|
*/
|
|
338
|
-
|
|
416
|
+
RemotePath: string
|
|
339
417
|
|
|
340
418
|
/**
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
419
|
+
* 文件系统协议类型,默认值NFS 3.0。
|
|
420
|
+
<li>NFS 3.0。
|
|
421
|
+
<li>NFS 4.0。
|
|
422
|
+
<li>TURBO。
|
|
423
|
+
*/
|
|
424
|
+
Protocol?: string
|
|
344
425
|
|
|
345
426
|
/**
|
|
346
|
-
*
|
|
427
|
+
* 文件系统存储类型,默认值SD;其中 SD 为通用标准型标准型存储, HP为通用性能型存储, TB为turbo标准型, TP 为turbo性能型。
|
|
347
428
|
*/
|
|
348
|
-
|
|
429
|
+
StorageType?: string
|
|
349
430
|
}
|
|
350
431
|
|
|
351
432
|
/**
|
|
@@ -363,8 +444,9 @@ export interface ClusterActivity {
|
|
|
363
444
|
ActivityId: string
|
|
364
445
|
|
|
365
446
|
/**
|
|
366
|
-
|
|
367
|
-
|
|
447
|
+
* 集群活动类型。取值范围:<br><li>CreateAndAddNodes:创建实例并添加进集群<br><li>RemoveNodesFromCluster:从集群移除实例<br><li>TerminateNodes:销毁实例<br><li>MountStorageOption:增加挂载选项并进行挂载<br><li>UmountStorageOption:删除集群挂载存储选项并解挂载
|
|
448
|
+
|
|
449
|
+
*/
|
|
368
450
|
ActivityType: string
|
|
369
451
|
|
|
370
452
|
/**
|
|
@@ -413,57 +495,39 @@ export interface ClusterActivity {
|
|
|
413
495
|
}
|
|
414
496
|
|
|
415
497
|
/**
|
|
416
|
-
*
|
|
417
|
-
*/
|
|
418
|
-
export interface LoginNodeOverview {
|
|
419
|
-
/**
|
|
420
|
-
* 登录节点ID。
|
|
421
|
-
*/
|
|
422
|
-
NodeId: string
|
|
423
|
-
}
|
|
424
|
-
|
|
425
|
-
/**
|
|
426
|
-
* 描述CFS文件系统版本和挂载信息
|
|
498
|
+
* CreateCluster返回参数结构体
|
|
427
499
|
*/
|
|
428
|
-
export interface
|
|
429
|
-
/**
|
|
430
|
-
* 文件系统本地挂载路径。
|
|
431
|
-
*/
|
|
432
|
-
LocalPath: string
|
|
433
|
-
|
|
434
|
-
/**
|
|
435
|
-
* 文件系统远程挂载ip及路径。
|
|
436
|
-
*/
|
|
437
|
-
RemotePath: string
|
|
438
|
-
|
|
500
|
+
export interface CreateClusterResponse {
|
|
439
501
|
/**
|
|
440
|
-
*
|
|
441
|
-
|
|
442
|
-
<li>NFS 4.0。
|
|
443
|
-
<li>TURBO。
|
|
502
|
+
* 集群ID。
|
|
503
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
444
504
|
*/
|
|
445
|
-
|
|
505
|
+
ClusterId: string
|
|
446
506
|
|
|
447
507
|
/**
|
|
448
|
-
*
|
|
508
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
449
509
|
*/
|
|
450
|
-
|
|
510
|
+
RequestId?: string
|
|
451
511
|
}
|
|
452
512
|
|
|
453
513
|
/**
|
|
454
|
-
*
|
|
514
|
+
* DescribeQueues请求参数结构体
|
|
455
515
|
*/
|
|
456
|
-
export interface
|
|
516
|
+
export interface DescribeQueuesRequest {
|
|
457
517
|
/**
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
*/
|
|
518
|
+
* 集群ID。
|
|
519
|
+
*/
|
|
461
520
|
ClusterId: string
|
|
462
521
|
|
|
463
522
|
/**
|
|
464
|
-
*
|
|
523
|
+
* 偏移量,默认为0。关于`Offset`的更进一步介绍请参考 API [简介](https://cloud.tencent.com/document/api/213/15688)中的相关小节。
|
|
465
524
|
*/
|
|
466
|
-
|
|
525
|
+
Offset?: number
|
|
526
|
+
|
|
527
|
+
/**
|
|
528
|
+
* 返回数量,默认为20,最大值为100。关于`Limit`的更进一步介绍请参考 API [简介](https://cloud.tencent.com/document/api/213/15688)中的相关小节。
|
|
529
|
+
*/
|
|
530
|
+
Limit?: number
|
|
467
531
|
}
|
|
468
532
|
|
|
469
533
|
/**
|
|
@@ -581,6 +645,16 @@ false(默认):发送正常请求,通过检查后直接创建实例
|
|
|
581
645
|
AutoScalingType?: string
|
|
582
646
|
}
|
|
583
647
|
|
|
648
|
+
/**
|
|
649
|
+
* AddQueue返回参数结构体
|
|
650
|
+
*/
|
|
651
|
+
export interface AddQueueResponse {
|
|
652
|
+
/**
|
|
653
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
654
|
+
*/
|
|
655
|
+
RequestId?: string
|
|
656
|
+
}
|
|
657
|
+
|
|
584
658
|
/**
|
|
585
659
|
* DescribeClusterStorageOption返回参数结构体
|
|
586
660
|
*/
|
|
@@ -596,6 +670,26 @@ export interface DescribeClusterStorageOptionResponse {
|
|
|
596
670
|
RequestId?: string
|
|
597
671
|
}
|
|
598
672
|
|
|
673
|
+
/**
|
|
674
|
+
* DescribeQueues返回参数结构体
|
|
675
|
+
*/
|
|
676
|
+
export interface DescribeQueuesResponse {
|
|
677
|
+
/**
|
|
678
|
+
* 队列概览信息列表。
|
|
679
|
+
*/
|
|
680
|
+
QueueSet?: Array<QueueOverview>
|
|
681
|
+
|
|
682
|
+
/**
|
|
683
|
+
* 符合条件的节点数量。
|
|
684
|
+
*/
|
|
685
|
+
TotalCount?: number
|
|
686
|
+
|
|
687
|
+
/**
|
|
688
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
689
|
+
*/
|
|
690
|
+
RequestId?: string
|
|
691
|
+
}
|
|
692
|
+
|
|
599
693
|
/**
|
|
600
694
|
* GooseFS存储选项概览信息。
|
|
601
695
|
*/
|
|
@@ -616,6 +710,61 @@ export interface GooseFSOptionOverview {
|
|
|
616
710
|
Masters: Array<string>
|
|
617
711
|
}
|
|
618
712
|
|
|
713
|
+
/**
|
|
714
|
+
* 扩容队列配置。
|
|
715
|
+
*/
|
|
716
|
+
export interface QueueConfig {
|
|
717
|
+
/**
|
|
718
|
+
* 队列名称。
|
|
719
|
+
*/
|
|
720
|
+
QueueName: string
|
|
721
|
+
|
|
722
|
+
/**
|
|
723
|
+
* 队列中弹性节点数量最小值。取值范围0~200。
|
|
724
|
+
*/
|
|
725
|
+
MinSize?: number
|
|
726
|
+
|
|
727
|
+
/**
|
|
728
|
+
* 队列中弹性节点数量最大值。取值范围0~200。
|
|
729
|
+
*/
|
|
730
|
+
MaxSize?: number
|
|
731
|
+
|
|
732
|
+
/**
|
|
733
|
+
* 是否开启自动扩容。
|
|
734
|
+
*/
|
|
735
|
+
EnableAutoExpansion?: boolean
|
|
736
|
+
|
|
737
|
+
/**
|
|
738
|
+
* 是否开启自动缩容。
|
|
739
|
+
*/
|
|
740
|
+
EnableAutoShrink?: boolean
|
|
741
|
+
|
|
742
|
+
/**
|
|
743
|
+
* 指定有效的[镜像](https://cloud.tencent.com/document/product/213/4940)ID,格式形如`img-xxx`。目前仅支持公有镜和特定自定义镜像。
|
|
744
|
+
*/
|
|
745
|
+
ImageId?: string
|
|
746
|
+
|
|
747
|
+
/**
|
|
748
|
+
* 节点系统盘配置信息。若不指定该参数,则按照系统默认值进行分配。
|
|
749
|
+
*/
|
|
750
|
+
SystemDisk?: SystemDisk
|
|
751
|
+
|
|
752
|
+
/**
|
|
753
|
+
* 节点数据盘配置信息。若不指定该参数,则默认不购买数据盘。支持购买的时候指定21块数据盘,其中最多包含1块LOCAL_BASIC数据盘或者LOCAL_SSD数据盘,最多包含20块CLOUD_BASIC数据盘、CLOUD_PREMIUM数据盘或者CLOUD_SSD数据盘。
|
|
754
|
+
*/
|
|
755
|
+
DataDisks?: Array<DataDisk>
|
|
756
|
+
|
|
757
|
+
/**
|
|
758
|
+
* 公网带宽相关信息设置。若不指定该参数,则默认公网带宽为0Mbps。
|
|
759
|
+
*/
|
|
760
|
+
InternetAccessible?: InternetAccessible
|
|
761
|
+
|
|
762
|
+
/**
|
|
763
|
+
* 扩容节点配置信息。
|
|
764
|
+
*/
|
|
765
|
+
ExpansionNodeConfigs?: Array<ExpansionNodeConfig>
|
|
766
|
+
}
|
|
767
|
+
|
|
619
768
|
/**
|
|
620
769
|
* 描述了实例的计费模式
|
|
621
770
|
*/
|
|
@@ -804,13 +953,33 @@ CLOUD_PREMIUM:高性能云硬盘
|
|
|
804
953
|
}
|
|
805
954
|
|
|
806
955
|
/**
|
|
807
|
-
*
|
|
956
|
+
* 描述了实例登录相关配置与信息。
|
|
808
957
|
*/
|
|
809
|
-
export interface
|
|
958
|
+
export interface LoginSettings {
|
|
810
959
|
/**
|
|
811
|
-
*
|
|
960
|
+
* 实例登录密码。不同操作系统类型密码复杂度限制不一样,具体如下:<br><li>Linux实例密码必须8到30位,至少包括两项[a-z],[A-Z]、[0-9] 和 [( ) \` ~ ! @ # $ % ^ & * - + = | { } [ ] : ; ' , . ? / ]中的特殊符号。<br><li>Windows实例密码必须12到30位,至少包括三项[a-z],[A-Z],[0-9] 和 [( ) \` ~ ! @ # $ % ^ & * - + = | { } [ ] : ; ' , . ? /]中的特殊符号。<br><br>若不指定该参数,则由系统随机生成密码,并通过站内信方式通知到用户。
|
|
812
961
|
*/
|
|
813
|
-
|
|
962
|
+
Password?: string
|
|
963
|
+
}
|
|
964
|
+
|
|
965
|
+
/**
|
|
966
|
+
* 描述GooseFS挂载信息
|
|
967
|
+
*/
|
|
968
|
+
export interface GooseFSOption {
|
|
969
|
+
/**
|
|
970
|
+
* 文件系统本地挂载路径。
|
|
971
|
+
*/
|
|
972
|
+
LocalPath: string
|
|
973
|
+
|
|
974
|
+
/**
|
|
975
|
+
* 文件系统远程挂载路径。
|
|
976
|
+
*/
|
|
977
|
+
RemotePath: string
|
|
978
|
+
|
|
979
|
+
/**
|
|
980
|
+
* 文件系统master的ip和端口。
|
|
981
|
+
*/
|
|
982
|
+
Masters: Array<string>
|
|
814
983
|
}
|
|
815
984
|
|
|
816
985
|
/**
|
|
@@ -833,6 +1002,40 @@ export interface DescribeClusterActivitiesRequest {
|
|
|
833
1002
|
Limit?: number
|
|
834
1003
|
}
|
|
835
1004
|
|
|
1005
|
+
/**
|
|
1006
|
+
* DeleteQueue请求参数结构体
|
|
1007
|
+
*/
|
|
1008
|
+
export interface DeleteQueueRequest {
|
|
1009
|
+
/**
|
|
1010
|
+
* 集群ID。
|
|
1011
|
+
*/
|
|
1012
|
+
ClusterId: string
|
|
1013
|
+
|
|
1014
|
+
/**
|
|
1015
|
+
* 队列名称。<br><li>最多支持32个字符。
|
|
1016
|
+
*/
|
|
1017
|
+
QueueName: string
|
|
1018
|
+
}
|
|
1019
|
+
|
|
1020
|
+
/**
|
|
1021
|
+
* >描述键值对过滤器,用于条件过滤查询。例如过滤ID、名称、状态等
|
|
1022
|
+
> * 若存在多个`Filter`时,`Filter`间的关系为逻辑与(`AND`)关系。
|
|
1023
|
+
> * 若同一个`Filter`存在多个`Values`,同一`Filter`下`Values`间的关系为逻辑或(`OR`)关系。
|
|
1024
|
+
*/
|
|
1025
|
+
export interface Filter {
|
|
1026
|
+
/**
|
|
1027
|
+
* 需要过滤的字段。
|
|
1028
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1029
|
+
*/
|
|
1030
|
+
Name: string
|
|
1031
|
+
|
|
1032
|
+
/**
|
|
1033
|
+
* 字段的过滤值。
|
|
1034
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1035
|
+
*/
|
|
1036
|
+
Values: Array<string>
|
|
1037
|
+
}
|
|
1038
|
+
|
|
836
1039
|
/**
|
|
837
1040
|
* AddNodes请求参数结构体
|
|
838
1041
|
*/
|
|
@@ -1295,23 +1498,23 @@ export interface DeleteClusterStorageOptionResponse {
|
|
|
1295
1498
|
}
|
|
1296
1499
|
|
|
1297
1500
|
/**
|
|
1298
|
-
*
|
|
1501
|
+
* DescribeNodes返回参数结构体
|
|
1299
1502
|
*/
|
|
1300
|
-
export interface
|
|
1503
|
+
export interface DescribeNodesResponse {
|
|
1301
1504
|
/**
|
|
1302
|
-
*
|
|
1505
|
+
* 节点概览信息列表。
|
|
1303
1506
|
*/
|
|
1304
|
-
|
|
1507
|
+
NodeSet?: Array<NodeOverview>
|
|
1305
1508
|
|
|
1306
1509
|
/**
|
|
1307
|
-
*
|
|
1510
|
+
* 符合条件的节点数量。
|
|
1308
1511
|
*/
|
|
1309
|
-
|
|
1512
|
+
TotalCount?: number
|
|
1310
1513
|
|
|
1311
1514
|
/**
|
|
1312
|
-
*
|
|
1515
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1313
1516
|
*/
|
|
1314
|
-
|
|
1517
|
+
RequestId?: string
|
|
1315
1518
|
}
|
|
1316
1519
|
|
|
1317
1520
|
/**
|
|
@@ -1349,6 +1552,16 @@ export interface DataDisk {
|
|
|
1349
1552
|
DiskType?: string
|
|
1350
1553
|
}
|
|
1351
1554
|
|
|
1555
|
+
/**
|
|
1556
|
+
* DeleteQueue返回参数结构体
|
|
1557
|
+
*/
|
|
1558
|
+
export interface DeleteQueueResponse {
|
|
1559
|
+
/**
|
|
1560
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1561
|
+
*/
|
|
1562
|
+
RequestId?: string
|
|
1563
|
+
}
|
|
1564
|
+
|
|
1352
1565
|
/**
|
|
1353
1566
|
* AddNodes返回参数结构体
|
|
1354
1567
|
*/
|
|
@@ -3031,7 +3031,7 @@ export class Client extends AbstractClient {
|
|
|
3031
3031
|
|
|
3032
3032
|
/**
|
|
3033
3033
|
* 本接口(DescribeIpGeolocationInfos)用于查询IP地址信息,包括地理位置信息和网络信息。
|
|
3034
|
-
|
|
3034
|
+
<font color="#FF0000">本接口即将下线,仅供存量客户使用,暂停新增用户。</font>
|
|
3035
3035
|
*/
|
|
3036
3036
|
async DescribeIpGeolocationInfos(
|
|
3037
3037
|
req: DescribeIpGeolocationInfosRequest,
|
|
@@ -3838,8 +3838,9 @@ LimitTypes取值范围:
|
|
|
3838
3838
|
}
|
|
3839
3839
|
|
|
3840
3840
|
/**
|
|
3841
|
-
|
|
3842
|
-
|
|
3841
|
+
* 本接口(DescribeIpGeolocationDatabaseUrl)用于获取IP地理位置库下载链接。
|
|
3842
|
+
<font color="#FF0000">本接口即将下线,仅供存量用户使用,暂停新增用户。</font>
|
|
3843
|
+
*/
|
|
3843
3844
|
async DescribeIpGeolocationDatabaseUrl(
|
|
3844
3845
|
req: DescribeIpGeolocationDatabaseUrlRequest,
|
|
3845
3846
|
cb?: (error: string, rep: DescribeIpGeolocationDatabaseUrlResponse) => void
|
|
@@ -1778,12 +1778,12 @@ export interface DescribeIpGeolocationInfosResponse {
|
|
|
1778
1778
|
/**
|
|
1779
1779
|
* IP地址信息列表。
|
|
1780
1780
|
*/
|
|
1781
|
-
AddressInfo
|
|
1781
|
+
AddressInfo?: Array<IpGeolocationInfo>
|
|
1782
1782
|
|
|
1783
1783
|
/**
|
|
1784
1784
|
* IP地址信息个数。
|
|
1785
1785
|
*/
|
|
1786
|
-
Total
|
|
1786
|
+
Total?: number
|
|
1787
1787
|
|
|
1788
1788
|
/**
|
|
1789
1789
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -2265,12 +2265,12 @@ export interface DescribeIpGeolocationDatabaseUrlResponse {
|
|
|
2265
2265
|
/**
|
|
2266
2266
|
* IP地理位置库下载链接地址。
|
|
2267
2267
|
*/
|
|
2268
|
-
DownLoadUrl
|
|
2268
|
+
DownLoadUrl?: string
|
|
2269
2269
|
|
|
2270
2270
|
/**
|
|
2271
2271
|
* 链接到期时间。按照`ISO8601`标准表示,并且使用`UTC`时间。
|
|
2272
2272
|
*/
|
|
2273
|
-
ExpiredAt
|
|
2273
|
+
ExpiredAt?: string
|
|
2274
2274
|
|
|
2275
2275
|
/**
|
|
2276
2276
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -9393,14 +9393,24 @@ export interface AssociateDirectConnectGatewayNatGatewayRequest {
|
|
|
9393
9393
|
*/
|
|
9394
9394
|
export interface AddressTemplateItem {
|
|
9395
9395
|
/**
|
|
9396
|
-
*
|
|
9396
|
+
* ipm-xxxxxxxx
|
|
9397
|
+
*/
|
|
9398
|
+
AddressTemplateId?: string
|
|
9399
|
+
|
|
9400
|
+
/**
|
|
9401
|
+
* IP模板名称
|
|
9402
|
+
*/
|
|
9403
|
+
AddressTemplateName?: string
|
|
9404
|
+
|
|
9405
|
+
/**
|
|
9406
|
+
* 废弃字段
|
|
9397
9407
|
*/
|
|
9398
|
-
From
|
|
9408
|
+
From?: string
|
|
9399
9409
|
|
|
9400
9410
|
/**
|
|
9401
|
-
*
|
|
9411
|
+
* 废弃字段
|
|
9402
9412
|
*/
|
|
9403
|
-
To
|
|
9413
|
+
To?: string
|
|
9404
9414
|
}
|
|
9405
9415
|
|
|
9406
9416
|
/**
|
|
@@ -13823,7 +13823,7 @@ export interface DescribeInLongTkeClusterListRequest {
|
|
|
13823
13823
|
ClusterName?: string
|
|
13824
13824
|
|
|
13825
13825
|
/**
|
|
13826
|
-
* TKE集群状态 (Running 运行中 Creating 创建中
|
|
13826
|
+
* TKE集群状态 (Running 运行中 Creating 创建中 Idling 闲置中 Abnormal 异常 Failed 异常 Deleting 删除中 Scaling 规模调整中 Upgrading 升级中 Isolated 欠费隔离中 NodeUpgrading 节点升级中 Recovering 唤醒中 Activating 激活中 MasterScaling Master扩缩容中 Waiting 等待注册 ClusterLevelUpgrading 调整规格中 ResourceIsolate 隔离中 ResourceIsolated 已隔离 ResourceReverse 冲正中 Trading 集群开通中 ResourceReversal 集群冲正 ClusterLevelTrading 集群变配交易中)
|
|
13827
13827
|
多个状态用逗号连接。
|
|
13828
13828
|
*/
|
|
13829
13829
|
Status?: string
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const sdkVersion = "4.0.
|
|
1
|
+
export declare const sdkVersion = "4.0.548";
|
|
@@ -337,7 +337,7 @@ export interface DescribeBPWhiteListsResponse {
|
|
|
337
337
|
*/
|
|
338
338
|
export interface CreateBPFakeAPPListRequest {
|
|
339
339
|
/**
|
|
340
|
-
*
|
|
340
|
+
* 批量模板
|
|
341
341
|
*/
|
|
342
342
|
FakeAPPs: string;
|
|
343
343
|
}
|
|
@@ -701,7 +701,7 @@ export interface CreateBPWhiteListRequest {
|
|
|
701
701
|
*/
|
|
702
702
|
export interface CreateBPFakeURLsRequest {
|
|
703
703
|
/**
|
|
704
|
-
*
|
|
704
|
+
* 批量模板
|
|
705
705
|
*/
|
|
706
706
|
FakeURLs: string;
|
|
707
707
|
}
|
|
@@ -43,8 +43,6 @@ export declare class Client extends AbstractClient {
|
|
|
43
43
|
DescribeInstancesDiskNum(req: DescribeInstancesDiskNumRequest, cb?: (error: string, rep: DescribeInstancesDiskNumResponse) => void): Promise<DescribeInstancesDiskNumResponse>;
|
|
44
44
|
/**
|
|
45
45
|
* 本接口(InquiryPriceResizeDisk)用于扩容云硬盘询价。
|
|
46
|
-
|
|
47
|
-
* 只支持预付费模式的云硬盘扩容询价。
|
|
48
46
|
*/
|
|
49
47
|
InquiryPriceResizeDisk(req: InquiryPriceResizeDiskRequest, cb?: (error: string, rep: InquiryPriceResizeDiskResponse) => void): Promise<InquiryPriceResizeDiskResponse>;
|
|
50
48
|
/**
|
|
@@ -56,7 +54,6 @@ export declare class Client extends AbstractClient {
|
|
|
56
54
|
|
|
57
55
|
* 可以根据定期快照策略ID、名称或者状态等信息来查询定期快照策略的详细信息,不同条件之间为与(AND)的关系,过滤信息详细请见过滤器`Filter`。
|
|
58
56
|
* 如果参数为空,返回当前用户一定数量(`Limit`所指定的数量,默认为20)的定期快照策略表。
|
|
59
|
-
|
|
60
57
|
*/
|
|
61
58
|
DescribeAutoSnapshotPolicies(req: DescribeAutoSnapshotPoliciesRequest, cb?: (error: string, rep: DescribeAutoSnapshotPoliciesResponse) => void): Promise<DescribeAutoSnapshotPoliciesResponse>;
|
|
62
59
|
/**
|
|
@@ -73,8 +73,6 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
73
73
|
}
|
|
74
74
|
/**
|
|
75
75
|
* 本接口(InquiryPriceResizeDisk)用于扩容云硬盘询价。
|
|
76
|
-
|
|
77
|
-
* 只支持预付费模式的云硬盘扩容询价。
|
|
78
76
|
*/
|
|
79
77
|
async InquiryPriceResizeDisk(req, cb) {
|
|
80
78
|
return this.request("InquiryPriceResizeDisk", req, cb);
|
|
@@ -90,7 +88,6 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
90
88
|
|
|
91
89
|
* 可以根据定期快照策略ID、名称或者状态等信息来查询定期快照策略的详细信息,不同条件之间为与(AND)的关系,过滤信息详细请见过滤器`Filter`。
|
|
92
90
|
* 如果参数为空,返回当前用户一定数量(`Limit`所指定的数量,默认为20)的定期快照策略表。
|
|
93
|
-
|
|
94
91
|
*/
|
|
95
92
|
async DescribeAutoSnapshotPolicies(req, cb) {
|
|
96
93
|
return this.request("DescribeAutoSnapshotPolicies", req, cb);
|