tencentcloud-sdk-nodejs 4.1.319 → 4.1.321
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/es/common/sdk_version.js +1 -1
- package/es/services/databuddy/v20260715/databuddy_client.js +30 -3
- package/es/services/dbbrain/v20210527/dbbrain_client.js +7 -4
- package/es/services/live/v20180801/live_client.js +23 -2
- package/es/services/tcb/v20180608/tcb_client.js +21 -6
- package/es/services/wedata/v20250806/wedata_client.js +3 -0
- package/package.json +1 -1
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/ags/v20250920/ags_models.d.ts +33 -5
- package/tencentcloud/services/cdwdoris/v20211228/cdwdoris_models.d.ts +27 -26
- package/tencentcloud/services/cdwpg/v20201230/cdwpg_client.d.ts +1 -1
- package/tencentcloud/services/cdwpg/v20201230/cdwpg_models.d.ts +91 -38
- package/tencentcloud/services/cloudhsm/v20191112/cloudhsm_models.d.ts +56 -11
- package/tencentcloud/services/csip/v20221121/csip_models.d.ts +13 -10
- package/tencentcloud/services/databuddy/v20260715/databuddy_client.d.ts +45 -9
- package/tencentcloud/services/databuddy/v20260715/databuddy_client.js +64 -10
- package/tencentcloud/services/databuddy/v20260715/databuddy_models.d.ts +1056 -448
- package/tencentcloud/services/dbbrain/v20210527/dbbrain_client.d.ts +9 -5
- package/tencentcloud/services/dbbrain/v20210527/dbbrain_client.js +12 -6
- package/tencentcloud/services/dbbrain/v20210527/dbbrain_models.d.ts +501 -123
- package/tencentcloud/services/emr/v20190103/emr_client.d.ts +1 -1
- package/tencentcloud/services/emr/v20190103/emr_models.d.ts +202 -130
- package/tencentcloud/services/ims/v20201229/ims_models.d.ts +8 -0
- package/tencentcloud/services/live/v20180801/live_client.d.ts +31 -3
- package/tencentcloud/services/live/v20180801/live_client.js +45 -3
- package/tencentcloud/services/live/v20180801/live_models.d.ts +324 -67
- package/tencentcloud/services/mps/v20190612/mps_client.d.ts +1 -1
- package/tencentcloud/services/mps/v20190612/mps_models.d.ts +107 -44
- package/tencentcloud/services/ocr/v20181119/ocr_models.d.ts +21 -1
- package/tencentcloud/services/sqlserver/v20180328/sqlserver_models.d.ts +59 -34
- package/tencentcloud/services/tcb/v20180608/tcb_client.d.ts +50 -15
- package/tencentcloud/services/tcb/v20180608/tcb_client.js +62 -17
- package/tencentcloud/services/tcb/v20180608/tcb_models.d.ts +483 -61
- package/tencentcloud/services/wedata/v20250806/wedata_client.d.ts +5 -1
- package/tencentcloud/services/wedata/v20250806/wedata_client.js +6 -0
- package/tencentcloud/services/wedata/v20250806/wedata_models.d.ts +130 -0
|
@@ -16,13 +16,49 @@ export interface ConfigParams {
|
|
|
16
16
|
ParameterOldValue?: string;
|
|
17
17
|
}
|
|
18
18
|
/**
|
|
19
|
-
*
|
|
19
|
+
* 批量实例状态项
|
|
20
20
|
*/
|
|
21
|
-
export interface
|
|
21
|
+
export interface InstanceStateItem {
|
|
22
22
|
/**
|
|
23
|
-
*
|
|
23
|
+
* <p>集群实例名称</p>
|
|
24
24
|
*/
|
|
25
|
-
|
|
25
|
+
InstanceId?: string;
|
|
26
|
+
/**
|
|
27
|
+
* <p>集群状态,例如:Serving</p>
|
|
28
|
+
*/
|
|
29
|
+
InstanceState?: string;
|
|
30
|
+
/**
|
|
31
|
+
* <p>集群状态描述,例如:运行中</p>
|
|
32
|
+
*/
|
|
33
|
+
InstanceStateDesc?: string;
|
|
34
|
+
/**
|
|
35
|
+
* <p>集群备份任务开启状态</p>
|
|
36
|
+
*/
|
|
37
|
+
BackupStatus?: number;
|
|
38
|
+
/**
|
|
39
|
+
* <p>集群备份任务开启状态2</p>
|
|
40
|
+
*/
|
|
41
|
+
BackupOpenStatus?: number;
|
|
42
|
+
/**
|
|
43
|
+
* <p>集群操作创建时间</p>
|
|
44
|
+
*/
|
|
45
|
+
FlowCreateTime?: string;
|
|
46
|
+
/**
|
|
47
|
+
* <p>集群操作名称</p>
|
|
48
|
+
*/
|
|
49
|
+
FlowName?: string;
|
|
50
|
+
/**
|
|
51
|
+
* <p>集群操作进度</p>
|
|
52
|
+
*/
|
|
53
|
+
FlowProgress?: number;
|
|
54
|
+
/**
|
|
55
|
+
* <p>集群流程错误信息</p>
|
|
56
|
+
*/
|
|
57
|
+
FlowMsg?: string;
|
|
58
|
+
/**
|
|
59
|
+
* <p>当前步骤的名称</p>
|
|
60
|
+
*/
|
|
61
|
+
ProcessName?: string;
|
|
26
62
|
}
|
|
27
63
|
/**
|
|
28
64
|
* DescribeInstanceInfo请求参数结构体
|
|
@@ -208,9 +244,13 @@ export interface NormQueryItem {
|
|
|
208
244
|
*/
|
|
209
245
|
export interface DescribeInstanceStateRequest {
|
|
210
246
|
/**
|
|
211
|
-
*
|
|
247
|
+
* <p>集群实例名称</p>
|
|
212
248
|
*/
|
|
213
|
-
InstanceId
|
|
249
|
+
InstanceId?: string;
|
|
250
|
+
/**
|
|
251
|
+
* <p>集群实例名称列表(批量查询,优先于 InstanceId;上限100,超出截断)</p>
|
|
252
|
+
*/
|
|
253
|
+
InstanceIds?: Array<string>;
|
|
214
254
|
}
|
|
215
255
|
/**
|
|
216
256
|
* 用于描述账号的实例ID、账号名
|
|
@@ -305,14 +345,14 @@ export interface ChargeProperties {
|
|
|
305
345
|
* 时间单位,一般为h和m
|
|
306
346
|
*/
|
|
307
347
|
TimeUnit: string;
|
|
308
|
-
/**
|
|
309
|
-
* 计费类型0-按量计费,1-包年包月
|
|
310
|
-
*/
|
|
311
|
-
PayMode?: number;
|
|
312
348
|
/**
|
|
313
349
|
* PREPAID、POSTPAID_BY_HOUR
|
|
314
350
|
*/
|
|
315
351
|
ChargeType?: string;
|
|
352
|
+
/**
|
|
353
|
+
* 计费类型0-按量计费,1-包年包月
|
|
354
|
+
*/
|
|
355
|
+
PayMode?: number;
|
|
316
356
|
}
|
|
317
357
|
/**
|
|
318
358
|
* DestroyInstanceByApi请求参数结构体
|
|
@@ -514,22 +554,31 @@ export interface DescribeDBParamsRequest {
|
|
|
514
554
|
*/
|
|
515
555
|
InstanceId?: string;
|
|
516
556
|
}
|
|
557
|
+
/**
|
|
558
|
+
* ModifyInstance返回参数结构体
|
|
559
|
+
*/
|
|
560
|
+
export interface ModifyInstanceResponse {
|
|
561
|
+
/**
|
|
562
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
563
|
+
*/
|
|
564
|
+
RequestId?: string;
|
|
565
|
+
}
|
|
517
566
|
/**
|
|
518
567
|
* 磁盘规格
|
|
519
568
|
*/
|
|
520
569
|
export interface CBSSpec {
|
|
521
570
|
/**
|
|
522
|
-
*
|
|
571
|
+
* 个数
|
|
523
572
|
*/
|
|
524
|
-
|
|
573
|
+
DiskCount: number;
|
|
525
574
|
/**
|
|
526
575
|
* 大小
|
|
527
576
|
*/
|
|
528
577
|
DiskSize: number;
|
|
529
578
|
/**
|
|
530
|
-
*
|
|
579
|
+
* 盘类型
|
|
531
580
|
*/
|
|
532
|
-
|
|
581
|
+
DiskType: string;
|
|
533
582
|
}
|
|
534
583
|
/**
|
|
535
584
|
* DescribeInstanceNodes返回参数结构体
|
|
@@ -1334,14 +1383,6 @@ export interface ScaleUpInstanceRequest {
|
|
|
1334
1383
|
* 云原生资源规格描述信息
|
|
1335
1384
|
*/
|
|
1336
1385
|
export interface CNResourceSpec {
|
|
1337
|
-
/**
|
|
1338
|
-
* 节点类型
|
|
1339
|
-
*/
|
|
1340
|
-
Type: string;
|
|
1341
|
-
/**
|
|
1342
|
-
* 机型
|
|
1343
|
-
*/
|
|
1344
|
-
SpecName: string;
|
|
1345
1386
|
/**
|
|
1346
1387
|
* 节点个数
|
|
1347
1388
|
*/
|
|
@@ -1350,6 +1391,14 @@ export interface CNResourceSpec {
|
|
|
1350
1391
|
* 磁盘信息
|
|
1351
1392
|
*/
|
|
1352
1393
|
DiskSpec: CBSSpec;
|
|
1394
|
+
/**
|
|
1395
|
+
* 机型
|
|
1396
|
+
*/
|
|
1397
|
+
SpecName: string;
|
|
1398
|
+
/**
|
|
1399
|
+
* 节点类型
|
|
1400
|
+
*/
|
|
1401
|
+
Type: string;
|
|
1353
1402
|
}
|
|
1354
1403
|
/**
|
|
1355
1404
|
* DestroyInstanceByApi返回参数结构体
|
|
@@ -1640,41 +1689,45 @@ export interface Tag {
|
|
|
1640
1689
|
*/
|
|
1641
1690
|
export interface DescribeInstanceStateResponse {
|
|
1642
1691
|
/**
|
|
1643
|
-
*
|
|
1692
|
+
* <p>集群备份任务开启状态2</p>
|
|
1644
1693
|
*/
|
|
1645
|
-
|
|
1694
|
+
BackupOpenStatus?: number;
|
|
1646
1695
|
/**
|
|
1647
|
-
*
|
|
1696
|
+
* <p>集群备份任务开启状态</p>
|
|
1697
|
+
*/
|
|
1698
|
+
BackupStatus?: number;
|
|
1699
|
+
/**
|
|
1700
|
+
* <p>集群操作创建时间</p>
|
|
1648
1701
|
*/
|
|
1649
1702
|
FlowCreateTime?: string;
|
|
1650
1703
|
/**
|
|
1651
|
-
*
|
|
1704
|
+
* <p>集群流程错误信息,例如:“创建失败,资源不足”</p>
|
|
1705
|
+
*/
|
|
1706
|
+
FlowMsg?: string;
|
|
1707
|
+
/**
|
|
1708
|
+
* <p>集群操作名称</p>
|
|
1652
1709
|
*/
|
|
1653
1710
|
FlowName?: string;
|
|
1654
1711
|
/**
|
|
1655
|
-
*
|
|
1712
|
+
* <p>集群操作进度</p>
|
|
1656
1713
|
*/
|
|
1657
1714
|
FlowProgress?: number;
|
|
1658
1715
|
/**
|
|
1659
|
-
*
|
|
1716
|
+
* <p>集群状态,例如:Serving</p>
|
|
1660
1717
|
*/
|
|
1661
|
-
|
|
1718
|
+
InstanceState?: string;
|
|
1662
1719
|
/**
|
|
1663
|
-
*
|
|
1720
|
+
* <p>集群状态描述,例如:运行中</p>
|
|
1664
1721
|
*/
|
|
1665
|
-
|
|
1722
|
+
InstanceStateDesc?: string;
|
|
1666
1723
|
/**
|
|
1667
|
-
*
|
|
1724
|
+
* <p>当前步骤的名称,例如:”购买资源中“</p>
|
|
1668
1725
|
*/
|
|
1669
1726
|
ProcessName?: string;
|
|
1670
1727
|
/**
|
|
1671
|
-
*
|
|
1672
|
-
*/
|
|
1673
|
-
BackupStatus?: number;
|
|
1674
|
-
/**
|
|
1675
|
-
* 集群备份任务开启状态2
|
|
1728
|
+
* <p>批量实例状态列表(InstanceIds 入参时返回,每项含 InstanceId 与状态字段)</p>
|
|
1676
1729
|
*/
|
|
1677
|
-
|
|
1730
|
+
InstanceStates?: Array<InstanceStateItem>;
|
|
1678
1731
|
/**
|
|
1679
1732
|
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
1680
1733
|
*/
|
|
@@ -65,11 +65,11 @@ export interface DescribeSubnetRequest {
|
|
|
65
65
|
*/
|
|
66
66
|
export interface DescribeVsmsResponse {
|
|
67
67
|
/**
|
|
68
|
-
*
|
|
68
|
+
* <p>获取实例的总个数</p>
|
|
69
69
|
*/
|
|
70
70
|
TotalCount?: number;
|
|
71
71
|
/**
|
|
72
|
-
*
|
|
72
|
+
* <p>资源信息</p>
|
|
73
73
|
*/
|
|
74
74
|
VsmList?: Array<ResourceInfo>;
|
|
75
75
|
/**
|
|
@@ -236,9 +236,17 @@ export interface DescribeSubnetResponse {
|
|
|
236
236
|
*/
|
|
237
237
|
export interface GetVsmMonitorInfoResponse {
|
|
238
238
|
/**
|
|
239
|
-
* VSM
|
|
239
|
+
* <p>VSM监控信息</p>
|
|
240
240
|
*/
|
|
241
241
|
MonitorInfo?: Array<string>;
|
|
242
|
+
/**
|
|
243
|
+
* <p>vsm摘要列表</p>
|
|
244
|
+
*/
|
|
245
|
+
DigestList?: Array<VsmDigestItem>;
|
|
246
|
+
/**
|
|
247
|
+
* <p>初始化状态</p>
|
|
248
|
+
*/
|
|
249
|
+
InitStatus?: number;
|
|
242
250
|
/**
|
|
243
251
|
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
244
252
|
*/
|
|
@@ -270,6 +278,19 @@ export interface DescribeSupportedHsmRequest {
|
|
|
270
278
|
* GetAlarmEvent请求参数结构体
|
|
271
279
|
*/
|
|
272
280
|
export type GetAlarmEventRequest = null;
|
|
281
|
+
/**
|
|
282
|
+
* VSM摘要信息
|
|
283
|
+
*/
|
|
284
|
+
export interface VsmDigestItem {
|
|
285
|
+
/**
|
|
286
|
+
* <p>计数</p>
|
|
287
|
+
*/
|
|
288
|
+
DigestVer?: number;
|
|
289
|
+
/**
|
|
290
|
+
* <p>摘要值</p>
|
|
291
|
+
*/
|
|
292
|
+
Value?: string;
|
|
293
|
+
}
|
|
273
294
|
/**
|
|
274
295
|
* DescribeHSMByVpcId返回参数结构体
|
|
275
296
|
*/
|
|
@@ -425,6 +446,18 @@ export interface ResourceInfo {
|
|
|
425
446
|
* <p>环境</p><p>默认值:cloud</p><p>cloud或者cdc</p>
|
|
426
447
|
*/
|
|
427
448
|
DeployEnv?: string;
|
|
449
|
+
/**
|
|
450
|
+
* <p>vsm版本号</p>
|
|
451
|
+
*/
|
|
452
|
+
Version?: string;
|
|
453
|
+
/**
|
|
454
|
+
* <p>集群id</p>
|
|
455
|
+
*/
|
|
456
|
+
ClusterId?: string;
|
|
457
|
+
/**
|
|
458
|
+
* <p>集群角色,0-未加入集群 1-主 2-从</p>
|
|
459
|
+
*/
|
|
460
|
+
ClusterRole?: number;
|
|
428
461
|
}
|
|
429
462
|
/**
|
|
430
463
|
* DescribeVpc请求参数结构体
|
|
@@ -631,6 +664,14 @@ export interface DescribeVsmAttributesResponse {
|
|
|
631
664
|
* <p>环境</p><p>默认值:cloud</p><p>cloud或者cdc</p>
|
|
632
665
|
*/
|
|
633
666
|
DeployEnv?: string;
|
|
667
|
+
/**
|
|
668
|
+
* <p>集群id</p>
|
|
669
|
+
*/
|
|
670
|
+
ClusterId?: string;
|
|
671
|
+
/**
|
|
672
|
+
* <p>集群角色</p>
|
|
673
|
+
*/
|
|
674
|
+
ClusterRole?: number;
|
|
634
675
|
/**
|
|
635
676
|
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
636
677
|
*/
|
|
@@ -772,11 +813,11 @@ export interface DescribeHSMBySubnetIdResponse {
|
|
|
772
813
|
*/
|
|
773
814
|
export interface GetVsmMonitorInfoRequest {
|
|
774
815
|
/**
|
|
775
|
-
*
|
|
816
|
+
* <p>资源Id</p>
|
|
776
817
|
*/
|
|
777
818
|
ResourceId: string;
|
|
778
819
|
/**
|
|
779
|
-
*
|
|
820
|
+
* <p>资源名称</p>
|
|
780
821
|
*/
|
|
781
822
|
ResourceName?: string;
|
|
782
823
|
}
|
|
@@ -811,29 +852,33 @@ export interface DescribeHSMBySubnetIdRequest {
|
|
|
811
852
|
*/
|
|
812
853
|
export interface DescribeVsmsRequest {
|
|
813
854
|
/**
|
|
814
|
-
*
|
|
855
|
+
* <p>偏移</p>
|
|
815
856
|
*/
|
|
816
857
|
Offset: number;
|
|
817
858
|
/**
|
|
818
|
-
*
|
|
859
|
+
* <p>最大数量</p>
|
|
819
860
|
*/
|
|
820
861
|
Limit: number;
|
|
821
862
|
/**
|
|
822
|
-
*
|
|
863
|
+
* <p>资源ID或者资源名字模糊查询的关键字</p>
|
|
823
864
|
*/
|
|
824
865
|
SearchWord?: string;
|
|
825
866
|
/**
|
|
826
|
-
*
|
|
867
|
+
* <p>标签过滤条件</p>
|
|
827
868
|
*/
|
|
828
869
|
TagFilters?: Array<TagFilter>;
|
|
829
870
|
/**
|
|
830
|
-
*
|
|
871
|
+
* <p>设备所属的厂商名称,根据厂商来进行筛选</p>
|
|
831
872
|
*/
|
|
832
873
|
Manufacturer?: string;
|
|
833
874
|
/**
|
|
834
|
-
* Hsm服务类型,可选virtualization、physical、GHSM、EHSM、SHSM、all
|
|
875
|
+
* <p>Hsm服务类型,可选virtualization、physical、GHSM、EHSM、SHSM、all</p>
|
|
835
876
|
*/
|
|
836
877
|
HsmType?: string;
|
|
878
|
+
/**
|
|
879
|
+
* <p>集群id</p>
|
|
880
|
+
*/
|
|
881
|
+
ClusterId?: string;
|
|
837
882
|
}
|
|
838
883
|
/**
|
|
839
884
|
* 设备厂商信息
|
|
@@ -21668,6 +21668,10 @@ export interface NotifyAssetConfigItem {
|
|
|
21668
21668
|
* <p>总数</p>
|
|
21669
21669
|
*/
|
|
21670
21670
|
TotalCount?: number;
|
|
21671
|
+
/**
|
|
21672
|
+
* <p>项目ID</p>
|
|
21673
|
+
*/
|
|
21674
|
+
ProjectIds?: Array<number | bigint>;
|
|
21671
21675
|
}
|
|
21672
21676
|
/**
|
|
21673
21677
|
* ModifyMachinesLoginType请求参数结构体
|
|
@@ -48885,30 +48889,29 @@ export interface ModifyVulWhitelistConfigResponse {
|
|
|
48885
48889
|
*/
|
|
48886
48890
|
export interface WebhookAssetScope {
|
|
48887
48891
|
/**
|
|
48888
|
-
*
|
|
48889
|
-
枚举值:
|
|
48890
|
-
1:全部主机(可剔除)
|
|
48891
|
-
2:自选主机
|
|
48892
|
-
3:按标签选择
|
|
48892
|
+
* <p>资产范围类型(对齐 NotifyAssetRange)<br>枚举值:<br>1:全部主机(可剔除)<br>2:自选主机<br>3:按标签选择</p>
|
|
48893
48893
|
*/
|
|
48894
48894
|
AssetRange: number;
|
|
48895
48895
|
/**
|
|
48896
|
-
*
|
|
48896
|
+
* <p>选中的主机 quuid 列表,仅 AssetRange=2 生效</p>
|
|
48897
48897
|
*/
|
|
48898
48898
|
InstanceIds?: Array<string>;
|
|
48899
48899
|
/**
|
|
48900
|
-
*
|
|
48900
|
+
* <p>排除的主机 quuid 列表,仅 AssetRange=1 生效</p>
|
|
48901
48901
|
*/
|
|
48902
48902
|
ExcludedInstanceIds?: Array<string>;
|
|
48903
48903
|
/**
|
|
48904
|
-
*
|
|
48904
|
+
* <p>安全中心标签 ID 列表,仅 AssetRange=3 生效</p>
|
|
48905
48905
|
*/
|
|
48906
48906
|
TagIds?: Array<number | bigint>;
|
|
48907
48907
|
/**
|
|
48908
|
-
*
|
|
48909
|
-
入参限制:AssetRange=3 时 TagIds + CloudTags 不能同时为空
|
|
48908
|
+
* <p>腾讯云标签列表,仅 AssetRange=3 生效<br>入参限制:AssetRange=3 时 TagIds + CloudTags 不能同时为空</p>
|
|
48910
48909
|
*/
|
|
48911
48910
|
CloudTags?: Array<string>;
|
|
48911
|
+
/**
|
|
48912
|
+
* <p>项目ID</p>
|
|
48913
|
+
*/
|
|
48914
|
+
ProjectIds?: Array<number | bigint>;
|
|
48912
48915
|
}
|
|
48913
48916
|
/**
|
|
48914
48917
|
* DescribeAKAnalysisDetail返回参数结构体
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AbstractClient } from "../../../common/abstract_client";
|
|
2
2
|
import { ClientConfig } from "../../../common/interface";
|
|
3
|
-
import { ListConsoleGroupUsersRequest, ListConsoleGroupsRequest, UpdateConsoleUsersResponse, DeleteWorkflowResponse, ListConsoleUsersResponse, RemoveConsoleUsersResponse, DeleteWorkflowRequest,
|
|
3
|
+
import { ListConsoleGroupUsersRequest, DeleteFolderResponse, ListConsoleGroupsRequest, UpdateConsoleUsersResponse, ListWorkflowTaskRunsRequest, DeleteWorkflowResponse, GetWorkspaceResponse, ListConsoleUsersResponse, RemoveConsoleUsersResponse, UpdateWorkspaceResponse, DeleteWorkflowRequest, GetWorkspaceRequest, CreateWorkflowRequest, ListFilesRequest, CreateFileResponse, UpdateWorkflowRequest, UnbindWorkflowBundleResponse, CreateFolderRequest, KillWorkflowRunResponse, DeleteFolderRequest, CreateWorkspaceRequest, RemoveConsoleUsersRequest, ListWorkflowRunsRequest, GetWorkflowTaskRunResponse, DeleteWorkspaceResponse, GetFileRequest, GetFolderResponse, RerunWorkflowRunResponse, GetFileResponse, UpdateWorkspaceRequest, ListConsoleGroupUsersResponse, CreateFolderResponse, CreateConsoleGroupRequest, ListWorkflowsResponse, UpdateFolderResponse, RerunWorkflowRunRequest, DeleteWorkspaceRequest, AddConsoleUsersRequest, KillWorkflowRunRequest, ListWorkflowTaskRunsResponse, AddConsoleUsersResponse, UnbindWorkflowBundleRequest, RunWorkflowRequest, UpdateConsoleGroupRequest, GetWorkflowResponse, GetWorkflowTaskRunRequest, DeleteFileResponse, CreateConsoleGroupResponse, ListFilesResponse, DeleteConsoleGroupsRequest, UpdateWorkflowResponse, GetWorkflowRequest, GetFolderRequest, CreateFileRequest, UpdateFileRequest, GetWorkflowRunRequest, ListWorkflowsRequest, RunWorkflowResponse, ListConsoleUsersRequest, ListWorkflowRunsResponse, UpdateConsoleGroupResponse, UpdateFolderRequest, DeleteConsoleGroupsResponse, CreateWorkflowResponse, ListConsoleRolesRequest, DeleteFileRequest, GetWorkflowRunResponse, ListConsoleGroupsResponse, ListConsoleRolesResponse, CreateWorkspaceResponse, UpdateFileResponse, UpdateConsoleUsersRequest } from "./databuddy_models";
|
|
4
4
|
/**
|
|
5
5
|
* databuddy client
|
|
6
6
|
* @class
|
|
@@ -19,6 +19,10 @@ export declare class Client extends AbstractClient {
|
|
|
19
19
|
* 获取工作流详细信息
|
|
20
20
|
*/
|
|
21
21
|
GetWorkflow(req: GetWorkflowRequest, cb?: (error: string, rep: GetWorkflowResponse) => void): Promise<GetWorkflowResponse>;
|
|
22
|
+
/**
|
|
23
|
+
* 修改工作空间
|
|
24
|
+
*/
|
|
25
|
+
UpdateWorkspace(req: UpdateWorkspaceRequest, cb?: (error: string, rep: UpdateWorkspaceResponse) => void): Promise<UpdateWorkspaceResponse>;
|
|
22
26
|
/**
|
|
23
27
|
* 查询任务运行详情
|
|
24
28
|
*/
|
|
@@ -27,6 +31,14 @@ export declare class Client extends AbstractClient {
|
|
|
27
31
|
* 查询工作流任务历史运行列表
|
|
28
32
|
*/
|
|
29
33
|
ListWorkflowTaskRuns(req: ListWorkflowTaskRunsRequest, cb?: (error: string, rep: ListWorkflowTaskRunsResponse) => void): Promise<ListWorkflowTaskRunsResponse>;
|
|
34
|
+
/**
|
|
35
|
+
* 查询工作空间详情
|
|
36
|
+
*/
|
|
37
|
+
GetWorkspace(req: GetWorkspaceRequest, cb?: (error: string, rep: GetWorkspaceResponse) => void): Promise<GetWorkspaceResponse>;
|
|
38
|
+
/**
|
|
39
|
+
* 获取文件夹详情
|
|
40
|
+
*/
|
|
41
|
+
GetFolder(req: GetFolderRequest, cb?: (error: string, rep: GetFolderResponse) => void): Promise<GetFolderResponse>;
|
|
30
42
|
/**
|
|
31
43
|
* 删除控制台用户组
|
|
32
44
|
*/
|
|
@@ -61,6 +73,14 @@ export declare class Client extends AbstractClient {
|
|
|
61
73
|
说明:本接口语义等同于规范动词清单中的 Detach,因兼容既有产品形态保留 Unbind 命名
|
|
62
74
|
*/
|
|
63
75
|
UnbindWorkflowBundle(req: UnbindWorkflowBundleRequest, cb?: (error: string, rep: UnbindWorkflowBundleResponse) => void): Promise<UnbindWorkflowBundleResponse>;
|
|
76
|
+
/**
|
|
77
|
+
* 创建工作空间
|
|
78
|
+
*/
|
|
79
|
+
CreateWorkspace(req: CreateWorkspaceRequest, cb?: (error: string, rep: CreateWorkspaceResponse) => void): Promise<CreateWorkspaceResponse>;
|
|
80
|
+
/**
|
|
81
|
+
* 终止工作流的运行
|
|
82
|
+
*/
|
|
83
|
+
KillWorkflowRun(req: KillWorkflowRunRequest, cb?: (error: string, rep: KillWorkflowRunResponse) => void): Promise<KillWorkflowRunResponse>;
|
|
64
84
|
/**
|
|
65
85
|
* 删除工作流
|
|
66
86
|
*/
|
|
@@ -90,16 +110,20 @@ export declare class Client extends AbstractClient {
|
|
|
90
110
|
* 创建控制台用户组
|
|
91
111
|
*/
|
|
92
112
|
CreateConsoleGroup(req: CreateConsoleGroupRequest, cb?: (error: string, rep: CreateConsoleGroupResponse) => void): Promise<CreateConsoleGroupResponse>;
|
|
93
|
-
/**
|
|
94
|
-
* 终止工作流的运行
|
|
95
|
-
*/
|
|
96
|
-
KillWorkflowRun(req: KillWorkflowRunRequest, cb?: (error: string, rep: KillWorkflowRunResponse) => void): Promise<KillWorkflowRunResponse>;
|
|
97
113
|
/**
|
|
98
114
|
* 查询工作流运行详情
|
|
99
115
|
*/
|
|
100
116
|
GetWorkflowRun(req: GetWorkflowRunRequest, cb?: (error: string, rep: GetWorkflowRunResponse) => void): Promise<GetWorkflowRunResponse>;
|
|
101
117
|
/**
|
|
102
|
-
*
|
|
118
|
+
* 更新文件夹(支持重命名+移动)
|
|
119
|
+
*/
|
|
120
|
+
UpdateFolder(req: UpdateFolderRequest, cb?: (error: string, rep: UpdateFolderResponse) => void): Promise<UpdateFolderResponse>;
|
|
121
|
+
/**
|
|
122
|
+
* 创建文件夹
|
|
123
|
+
*/
|
|
124
|
+
CreateFolder(req: CreateFolderRequest, cb?: (error: string, rep: CreateFolderResponse) => void): Promise<CreateFolderResponse>;
|
|
125
|
+
/**
|
|
126
|
+
* 查询控制台用户列表,该接口为控制台级接口,仅支持在中心地域调用:国内站请传入 ap-guangzhou,国际站请传入 ap-singapore;其他地域调用将返回 UnsupportedRegion。
|
|
103
127
|
*/
|
|
104
128
|
ListConsoleUsers(req: ListConsoleUsersRequest, cb?: (error: string, rep: ListConsoleUsersResponse) => void): Promise<ListConsoleUsersResponse>;
|
|
105
129
|
/**
|
|
@@ -111,11 +135,19 @@ export declare class Client extends AbstractClient {
|
|
|
111
135
|
*/
|
|
112
136
|
RunWorkflow(req: RunWorkflowRequest, cb?: (error: string, rep: RunWorkflowResponse) => void): Promise<RunWorkflowResponse>;
|
|
113
137
|
/**
|
|
114
|
-
*
|
|
138
|
+
* 获取文件夹和文件列表
|
|
139
|
+
*/
|
|
140
|
+
ListFiles(req: ListFilesRequest, cb?: (error: string, rep: ListFilesResponse) => void): Promise<ListFilesResponse>;
|
|
141
|
+
/**
|
|
142
|
+
* 删除文件夹
|
|
143
|
+
*/
|
|
144
|
+
DeleteFolder(req: DeleteFolderRequest, cb?: (error: string, rep: DeleteFolderResponse) => void): Promise<DeleteFolderResponse>;
|
|
145
|
+
/**
|
|
146
|
+
* 查询控制台用户组列表,该接口为控制台级接口,仅支持在中心地域调用:国内站请传入 ap-guangzhou,国际站请传入 ap-singapore;其他地域调用将返回 UnsupportedRegion。
|
|
115
147
|
*/
|
|
116
148
|
ListConsoleGroups(req: ListConsoleGroupsRequest, cb?: (error: string, rep: ListConsoleGroupsResponse) => void): Promise<ListConsoleGroupsResponse>;
|
|
117
149
|
/**
|
|
118
|
-
*
|
|
150
|
+
* 查询控制台角色列表,该接口为控制台级接口,仅支持在中心地域调用:国内站请传入 ap-guangzhou,国际站请传入 ap-singapore;其他地域调用将返回 UnsupportedRegion。
|
|
119
151
|
*/
|
|
120
152
|
ListConsoleRoles(req: ListConsoleRolesRequest, cb?: (error: string, rep: ListConsoleRolesResponse) => void): Promise<ListConsoleRolesResponse>;
|
|
121
153
|
/**
|
|
@@ -169,11 +201,15 @@ export declare class Client extends AbstractClient {
|
|
|
169
201
|
*/
|
|
170
202
|
CreateFile(req: CreateFileRequest, cb?: (error: string, rep: CreateFileResponse) => void): Promise<CreateFileResponse>;
|
|
171
203
|
/**
|
|
172
|
-
*
|
|
204
|
+
* 查询控制台用户组成员列表,该接口为控制台级接口,仅支持在中心地域调用:国内站请传入 ap-guangzhou,国际站请传入 ap-singapore;其他地域调用将返回 UnsupportedRegion。
|
|
173
205
|
*/
|
|
174
206
|
ListConsoleGroupUsers(req: ListConsoleGroupUsersRequest, cb?: (error: string, rep: ListConsoleGroupUsersResponse) => void): Promise<ListConsoleGroupUsersResponse>;
|
|
175
207
|
/**
|
|
176
208
|
* 工作流运行列表
|
|
177
209
|
*/
|
|
178
210
|
ListWorkflowRuns(req: ListWorkflowRunsRequest, cb?: (error: string, rep: ListWorkflowRunsResponse) => void): Promise<ListWorkflowRunsResponse>;
|
|
211
|
+
/**
|
|
212
|
+
* 删除工作空间
|
|
213
|
+
*/
|
|
214
|
+
DeleteWorkspace(req: DeleteWorkspaceRequest, cb?: (error: string, rep: DeleteWorkspaceResponse) => void): Promise<DeleteWorkspaceResponse>;
|
|
179
215
|
}
|
|
@@ -45,6 +45,12 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
45
45
|
async GetWorkflow(req, cb) {
|
|
46
46
|
return this.request("GetWorkflow", req, cb);
|
|
47
47
|
}
|
|
48
|
+
/**
|
|
49
|
+
* 修改工作空间
|
|
50
|
+
*/
|
|
51
|
+
async UpdateWorkspace(req, cb) {
|
|
52
|
+
return this.request("UpdateWorkspace", req, cb);
|
|
53
|
+
}
|
|
48
54
|
/**
|
|
49
55
|
* 查询任务运行详情
|
|
50
56
|
*/
|
|
@@ -57,6 +63,18 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
57
63
|
async ListWorkflowTaskRuns(req, cb) {
|
|
58
64
|
return this.request("ListWorkflowTaskRuns", req, cb);
|
|
59
65
|
}
|
|
66
|
+
/**
|
|
67
|
+
* 查询工作空间详情
|
|
68
|
+
*/
|
|
69
|
+
async GetWorkspace(req, cb) {
|
|
70
|
+
return this.request("GetWorkspace", req, cb);
|
|
71
|
+
}
|
|
72
|
+
/**
|
|
73
|
+
* 获取文件夹详情
|
|
74
|
+
*/
|
|
75
|
+
async GetFolder(req, cb) {
|
|
76
|
+
return this.request("GetFolder", req, cb);
|
|
77
|
+
}
|
|
60
78
|
/**
|
|
61
79
|
* 删除控制台用户组
|
|
62
80
|
*/
|
|
@@ -99,6 +117,18 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
99
117
|
async UnbindWorkflowBundle(req, cb) {
|
|
100
118
|
return this.request("UnbindWorkflowBundle", req, cb);
|
|
101
119
|
}
|
|
120
|
+
/**
|
|
121
|
+
* 创建工作空间
|
|
122
|
+
*/
|
|
123
|
+
async CreateWorkspace(req, cb) {
|
|
124
|
+
return this.request("CreateWorkspace", req, cb);
|
|
125
|
+
}
|
|
126
|
+
/**
|
|
127
|
+
* 终止工作流的运行
|
|
128
|
+
*/
|
|
129
|
+
async KillWorkflowRun(req, cb) {
|
|
130
|
+
return this.request("KillWorkflowRun", req, cb);
|
|
131
|
+
}
|
|
102
132
|
/**
|
|
103
133
|
* 删除工作流
|
|
104
134
|
*/
|
|
@@ -134,12 +164,6 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
134
164
|
async CreateConsoleGroup(req, cb) {
|
|
135
165
|
return this.request("CreateConsoleGroup", req, cb);
|
|
136
166
|
}
|
|
137
|
-
/**
|
|
138
|
-
* 终止工作流的运行
|
|
139
|
-
*/
|
|
140
|
-
async KillWorkflowRun(req, cb) {
|
|
141
|
-
return this.request("KillWorkflowRun", req, cb);
|
|
142
|
-
}
|
|
143
167
|
/**
|
|
144
168
|
* 查询工作流运行详情
|
|
145
169
|
*/
|
|
@@ -147,7 +171,19 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
147
171
|
return this.request("GetWorkflowRun", req, cb);
|
|
148
172
|
}
|
|
149
173
|
/**
|
|
150
|
-
*
|
|
174
|
+
* 更新文件夹(支持重命名+移动)
|
|
175
|
+
*/
|
|
176
|
+
async UpdateFolder(req, cb) {
|
|
177
|
+
return this.request("UpdateFolder", req, cb);
|
|
178
|
+
}
|
|
179
|
+
/**
|
|
180
|
+
* 创建文件夹
|
|
181
|
+
*/
|
|
182
|
+
async CreateFolder(req, cb) {
|
|
183
|
+
return this.request("CreateFolder", req, cb);
|
|
184
|
+
}
|
|
185
|
+
/**
|
|
186
|
+
* 查询控制台用户列表,该接口为控制台级接口,仅支持在中心地域调用:国内站请传入 ap-guangzhou,国际站请传入 ap-singapore;其他地域调用将返回 UnsupportedRegion。
|
|
151
187
|
*/
|
|
152
188
|
async ListConsoleUsers(req, cb) {
|
|
153
189
|
return this.request("ListConsoleUsers", req, cb);
|
|
@@ -165,13 +201,25 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
165
201
|
return this.request("RunWorkflow", req, cb);
|
|
166
202
|
}
|
|
167
203
|
/**
|
|
168
|
-
*
|
|
204
|
+
* 获取文件夹和文件列表
|
|
205
|
+
*/
|
|
206
|
+
async ListFiles(req, cb) {
|
|
207
|
+
return this.request("ListFiles", req, cb);
|
|
208
|
+
}
|
|
209
|
+
/**
|
|
210
|
+
* 删除文件夹
|
|
211
|
+
*/
|
|
212
|
+
async DeleteFolder(req, cb) {
|
|
213
|
+
return this.request("DeleteFolder", req, cb);
|
|
214
|
+
}
|
|
215
|
+
/**
|
|
216
|
+
* 查询控制台用户组列表,该接口为控制台级接口,仅支持在中心地域调用:国内站请传入 ap-guangzhou,国际站请传入 ap-singapore;其他地域调用将返回 UnsupportedRegion。
|
|
169
217
|
*/
|
|
170
218
|
async ListConsoleGroups(req, cb) {
|
|
171
219
|
return this.request("ListConsoleGroups", req, cb);
|
|
172
220
|
}
|
|
173
221
|
/**
|
|
174
|
-
*
|
|
222
|
+
* 查询控制台角色列表,该接口为控制台级接口,仅支持在中心地域调用:国内站请传入 ap-guangzhou,国际站请传入 ap-singapore;其他地域调用将返回 UnsupportedRegion。
|
|
175
223
|
*/
|
|
176
224
|
async ListConsoleRoles(req, cb) {
|
|
177
225
|
return this.request("ListConsoleRoles", req, cb);
|
|
@@ -239,7 +287,7 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
239
287
|
return this.request("CreateFile", req, cb);
|
|
240
288
|
}
|
|
241
289
|
/**
|
|
242
|
-
*
|
|
290
|
+
* 查询控制台用户组成员列表,该接口为控制台级接口,仅支持在中心地域调用:国内站请传入 ap-guangzhou,国际站请传入 ap-singapore;其他地域调用将返回 UnsupportedRegion。
|
|
243
291
|
*/
|
|
244
292
|
async ListConsoleGroupUsers(req, cb) {
|
|
245
293
|
return this.request("ListConsoleGroupUsers", req, cb);
|
|
@@ -250,5 +298,11 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
250
298
|
async ListWorkflowRuns(req, cb) {
|
|
251
299
|
return this.request("ListWorkflowRuns", req, cb);
|
|
252
300
|
}
|
|
301
|
+
/**
|
|
302
|
+
* 删除工作空间
|
|
303
|
+
*/
|
|
304
|
+
async DeleteWorkspace(req, cb) {
|
|
305
|
+
return this.request("DeleteWorkspace", req, cb);
|
|
306
|
+
}
|
|
253
307
|
}
|
|
254
308
|
exports.Client = Client;
|