tencentcloud-sdk-nodejs 4.0.443 → 4.0.445
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 +226 -0
- package/SERVICE_CHANGELOG.md +229 -247
- package/package.json +1 -1
- package/products.md +14 -13
- package/src/common/sdk_version.ts +1 -1
- package/src/services/acp/v20220105/acp_models.ts +21 -1
- package/src/services/bma/v20210624/bma_models.ts +11 -11
- package/src/services/cdn/v20180606/cdn_client.ts +1 -0
- package/src/services/cdn/v20180606/cdn_models.ts +20 -0
- package/src/services/ckafka/v20190819/ckafka_client.ts +7 -2
- package/src/services/ckafka/v20190819/ckafka_models.ts +306 -62
- package/src/services/cloudstudio/index.ts +5 -0
- package/src/services/cloudstudio/v20210524/cloudstudio_client.ts +286 -0
- package/src/services/cloudstudio/v20210524/cloudstudio_models.ts +1404 -0
- package/src/services/cloudstudio/v20210524/index.ts +6 -0
- package/src/services/ess/v20201111/ess_client.ts +2 -2
- package/src/services/ess/v20201111/ess_models.ts +2 -2
- package/src/services/essbasic/v20210526/essbasic_models.ts +9 -9
- package/src/services/iai/v20180301/iai_models.ts +1 -1
- package/src/services/iai/v20200303/iai_models.ts +1 -1
- package/src/services/index.ts +1 -0
- package/src/services/mongodb/v20190725/mongodb_models.ts +6 -5
- package/src/services/ms/v20180408/ms_models.ts +1 -1
- package/src/services/privatedns/v20201028/privatedns_models.ts +6 -0
- package/src/services/pts/v20210728/pts_client.ts +1 -0
- package/src/services/pts/v20210728/pts_models.ts +173 -2
- package/src/services/redis/v20180412/redis_models.ts +3 -3
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/acp/v20220105/acp_models.d.ts +17 -1
- package/tencentcloud/services/bma/v20210624/bma_models.d.ts +11 -11
- package/tencentcloud/services/cdn/v20180606/cdn_models.d.ts +17 -0
- package/tencentcloud/services/ckafka/v20190819/ckafka_client.d.ts +1 -1
- package/tencentcloud/services/ckafka/v20190819/ckafka_models.d.ts +254 -49
- package/tencentcloud/services/cloudstudio/index.d.ts +6 -0
- package/tencentcloud/services/cloudstudio/index.js +7 -0
- package/tencentcloud/services/cloudstudio/v20210524/cloudstudio_client.d.ts +91 -0
- package/tencentcloud/services/cloudstudio/v20210524/cloudstudio_client.js +152 -0
- package/tencentcloud/services/cloudstudio/v20210524/cloudstudio_models.d.ts +1178 -0
- package/tencentcloud/services/cloudstudio/v20210524/cloudstudio_models.js +18 -0
- package/tencentcloud/services/cloudstudio/v20210524/index.d.ts +6 -0
- package/tencentcloud/services/cloudstudio/v20210524/index.js +9 -0
- package/tencentcloud/services/ess/v20201111/ess_client.d.ts +2 -2
- package/tencentcloud/services/ess/v20201111/ess_client.js +2 -2
- package/tencentcloud/services/ess/v20201111/ess_models.d.ts +2 -2
- package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +8 -8
- package/tencentcloud/services/iai/v20180301/iai_models.d.ts +1 -1
- package/tencentcloud/services/iai/v20200303/iai_models.d.ts +1 -1
- package/tencentcloud/services/index.d.ts +1 -0
- package/tencentcloud/services/index.js +2 -0
- package/tencentcloud/services/mongodb/v20190725/mongodb_models.d.ts +5 -4
- package/tencentcloud/services/ms/v20180408/ms_models.d.ts +1 -1
- package/tencentcloud/services/privatedns/v20201028/privatedns_models.d.ts +5 -0
- package/tencentcloud/services/pts/v20210728/pts_models.d.ts +143 -0
- package/tencentcloud/services/redis/v20180412/redis_models.d.ts +3 -3
- package/test/cloudstudio.v20210524.test.js +221 -0
|
@@ -432,6 +432,15 @@ export interface DescribeDatahubGroupOffsetsResponse {
|
|
|
432
432
|
*/
|
|
433
433
|
RequestId?: string;
|
|
434
434
|
}
|
|
435
|
+
/**
|
|
436
|
+
* 值支持一拆多,即将一个值拆为一个数组
|
|
437
|
+
*/
|
|
438
|
+
export interface SplitParam {
|
|
439
|
+
/**
|
|
440
|
+
* 分隔符
|
|
441
|
+
*/
|
|
442
|
+
Regex: string;
|
|
443
|
+
}
|
|
435
444
|
/**
|
|
436
445
|
* 用户组实体
|
|
437
446
|
*/
|
|
@@ -509,7 +518,7 @@ export interface DescribeConnectResourceResp {
|
|
|
509
518
|
*/
|
|
510
519
|
StepList: Array<string>;
|
|
511
520
|
/**
|
|
512
|
-
* MySQL配置,Type为MYSQL时返回
|
|
521
|
+
* MySQL配置,Type为MYSQL或TDSQL_C_MYSQL时返回
|
|
513
522
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
514
523
|
*/
|
|
515
524
|
MySQLConnectParam: MySQLConnectParam;
|
|
@@ -538,6 +547,21 @@ export interface DescribeConnectResourceResp {
|
|
|
538
547
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
539
548
|
*/
|
|
540
549
|
ClickHouseConnectParam: ClickHouseConnectParam;
|
|
550
|
+
/**
|
|
551
|
+
* MariaDB配置,Type为MARIADB时返回
|
|
552
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
553
|
+
*/
|
|
554
|
+
MariaDBConnectParam: MariaDBConnectParam;
|
|
555
|
+
/**
|
|
556
|
+
* SQLServer配置,Type为SQLSERVER时返回
|
|
557
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
558
|
+
*/
|
|
559
|
+
SQLServerConnectParam: SQLServerConnectParam;
|
|
560
|
+
/**
|
|
561
|
+
* Ctsdb配置,Type为CTSDB时返回
|
|
562
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
563
|
+
*/
|
|
564
|
+
CtsdbConnectParam: CtsdbConnectParam;
|
|
541
565
|
}
|
|
542
566
|
/**
|
|
543
567
|
* AuthorizeToken返回参数结构体
|
|
@@ -714,15 +738,30 @@ export interface DescribeConnectResource {
|
|
|
714
738
|
*/
|
|
715
739
|
ClickHouseConnectParam: ClickHouseConnectParam;
|
|
716
740
|
/**
|
|
717
|
-
* MySQL配置,Type为MYSQL
|
|
741
|
+
* MySQL配置,Type为MYSQL或TDSQL_C_MYSQL时返回
|
|
718
742
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
719
743
|
*/
|
|
720
744
|
MySQLConnectParam: MySQLConnectParam;
|
|
721
745
|
/**
|
|
722
|
-
* PostgreSQL配置,Type为POSTGRESQL或TDSQL_C_POSTGRESQL
|
|
746
|
+
* PostgreSQL配置,Type为POSTGRESQL或TDSQL_C_POSTGRESQL时返回
|
|
723
747
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
724
748
|
*/
|
|
725
749
|
PostgreSQLConnectParam: PostgreSQLConnectParam;
|
|
750
|
+
/**
|
|
751
|
+
* MariaDB配置,Type为MARIADB时返回
|
|
752
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
753
|
+
*/
|
|
754
|
+
MariaDBConnectParam: MariaDBConnectParam;
|
|
755
|
+
/**
|
|
756
|
+
* SQLServer配置,Type为SQLSERVER时返回
|
|
757
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
758
|
+
*/
|
|
759
|
+
SQLServerConnectParam: SQLServerConnectParam;
|
|
760
|
+
/**
|
|
761
|
+
* Ctsdb配置,Type为CTSDB时返回
|
|
762
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
763
|
+
*/
|
|
764
|
+
CtsdbConnectParam: CtsdbConnectParam;
|
|
726
765
|
}
|
|
727
766
|
/**
|
|
728
767
|
* Dts类型入参
|
|
@@ -966,6 +1005,39 @@ export interface DeleteTopicRequest {
|
|
|
966
1005
|
*/
|
|
967
1006
|
TopicName: string;
|
|
968
1007
|
}
|
|
1008
|
+
/**
|
|
1009
|
+
* DescribeDatahubTasks请求参数结构体
|
|
1010
|
+
*/
|
|
1011
|
+
export interface DescribeDatahubTasksRequest {
|
|
1012
|
+
/**
|
|
1013
|
+
* 返回数量,默认为20,最大值为100
|
|
1014
|
+
*/
|
|
1015
|
+
Limit?: number;
|
|
1016
|
+
/**
|
|
1017
|
+
* 分页偏移量,默认为0
|
|
1018
|
+
*/
|
|
1019
|
+
Offset?: number;
|
|
1020
|
+
/**
|
|
1021
|
+
* 过滤条件,按照 TaskName 过滤,支持模糊查询
|
|
1022
|
+
*/
|
|
1023
|
+
SearchWord?: string;
|
|
1024
|
+
/**
|
|
1025
|
+
* 转储的目标类型
|
|
1026
|
+
*/
|
|
1027
|
+
TargetType?: string;
|
|
1028
|
+
/**
|
|
1029
|
+
* 任务类型,SOURCE数据接入,SINK数据流出
|
|
1030
|
+
*/
|
|
1031
|
+
TaskType?: string;
|
|
1032
|
+
/**
|
|
1033
|
+
* 转储的源类型
|
|
1034
|
+
*/
|
|
1035
|
+
SourceType?: string;
|
|
1036
|
+
/**
|
|
1037
|
+
* 转储的资源
|
|
1038
|
+
*/
|
|
1039
|
+
Resource?: string;
|
|
1040
|
+
}
|
|
969
1041
|
/**
|
|
970
1042
|
* DescribeInstances返回参数结构体
|
|
971
1043
|
*/
|
|
@@ -1057,6 +1129,11 @@ export interface DatahubResource {
|
|
|
1057
1129
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1058
1130
|
*/
|
|
1059
1131
|
SQLServerParam?: SQLServerParam;
|
|
1132
|
+
/**
|
|
1133
|
+
* Ctsdb配置,Type为CTSDB时必填
|
|
1134
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1135
|
+
*/
|
|
1136
|
+
CtsdbParam?: CtsdbParam;
|
|
1060
1137
|
}
|
|
1061
1138
|
/**
|
|
1062
1139
|
* BatchModifyTopicAttributes返回参数结构体
|
|
@@ -1352,6 +1429,11 @@ export interface TransformsParam {
|
|
|
1352
1429
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1353
1430
|
*/
|
|
1354
1431
|
RowParam?: RowParam;
|
|
1432
|
+
/**
|
|
1433
|
+
* 是否保留数据源Topic元数据信息(源Topic、Partition、Offset),默认为false
|
|
1434
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1435
|
+
*/
|
|
1436
|
+
KeepMetadata?: boolean;
|
|
1355
1437
|
}
|
|
1356
1438
|
/**
|
|
1357
1439
|
* ClickHouse修改连接源参数
|
|
@@ -1580,35 +1662,37 @@ export interface CheckCdcClusterResponse {
|
|
|
1580
1662
|
RequestId?: string;
|
|
1581
1663
|
}
|
|
1582
1664
|
/**
|
|
1583
|
-
*
|
|
1665
|
+
* Ctsdb连接源参数(更新)
|
|
1584
1666
|
*/
|
|
1585
|
-
export interface
|
|
1667
|
+
export interface CtsdbModifyConnectParam {
|
|
1586
1668
|
/**
|
|
1587
|
-
*
|
|
1588
|
-
|
|
1589
|
-
Limit?: number;
|
|
1590
|
-
/**
|
|
1591
|
-
* 分页偏移量,默认为0
|
|
1669
|
+
* Ctsdb的连接port
|
|
1670
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1592
1671
|
*/
|
|
1593
|
-
|
|
1672
|
+
Port?: number;
|
|
1594
1673
|
/**
|
|
1595
|
-
*
|
|
1674
|
+
* Ctsdb连接源的实例vip
|
|
1675
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1596
1676
|
*/
|
|
1597
|
-
|
|
1677
|
+
ServiceVip?: string;
|
|
1598
1678
|
/**
|
|
1599
|
-
*
|
|
1679
|
+
* Ctsdb连接源的vpcId
|
|
1680
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1600
1681
|
*/
|
|
1601
|
-
|
|
1682
|
+
UniqVpcId?: string;
|
|
1602
1683
|
/**
|
|
1603
|
-
*
|
|
1684
|
+
* Ctsdb连接源的用户名
|
|
1685
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1604
1686
|
*/
|
|
1605
|
-
|
|
1687
|
+
UserName?: string;
|
|
1606
1688
|
/**
|
|
1607
|
-
*
|
|
1689
|
+
* Ctsdb连接源的密码
|
|
1690
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1608
1691
|
*/
|
|
1609
|
-
|
|
1692
|
+
Password?: string;
|
|
1610
1693
|
/**
|
|
1611
|
-
*
|
|
1694
|
+
* Ctsdb连接源的实例资源
|
|
1695
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1612
1696
|
*/
|
|
1613
1697
|
Resource?: string;
|
|
1614
1698
|
}
|
|
@@ -1840,6 +1924,10 @@ export interface ModifyConnectResourceRequest {
|
|
|
1840
1924
|
* SQLServer配置,Type为SQLSERVER时必填
|
|
1841
1925
|
*/
|
|
1842
1926
|
SQLServerConnectParam?: SQLServerModifyConnectParam;
|
|
1927
|
+
/**
|
|
1928
|
+
* Ctsdb配置,Type为CTSDB
|
|
1929
|
+
*/
|
|
1930
|
+
CtsdbConnectParam?: CtsdbModifyConnectParam;
|
|
1843
1931
|
}
|
|
1844
1932
|
/**
|
|
1845
1933
|
* ModifyInstanceAttributes返回参数结构体
|
|
@@ -2047,6 +2135,43 @@ export interface TdwParam {
|
|
|
2047
2135
|
*/
|
|
2048
2136
|
TdwPort?: number;
|
|
2049
2137
|
}
|
|
2138
|
+
/**
|
|
2139
|
+
* ModifyGroupOffsets请求参数结构体
|
|
2140
|
+
*/
|
|
2141
|
+
export interface ModifyGroupOffsetsRequest {
|
|
2142
|
+
/**
|
|
2143
|
+
* kafka实例id
|
|
2144
|
+
*/
|
|
2145
|
+
InstanceId: string;
|
|
2146
|
+
/**
|
|
2147
|
+
* kafka 消费分组
|
|
2148
|
+
*/
|
|
2149
|
+
Group: string;
|
|
2150
|
+
/**
|
|
2151
|
+
* 重置offset的策略,入参含义 0. 对齐shift-by参数,代表把offset向前或向后移动shift条 1. 对齐参考(by-duration,to-datetime,to-earliest,to-latest),代表把offset移动到指定timestamp的位置 2. 对齐参考(to-offset),代表把offset移动到指定的offset位置
|
|
2152
|
+
*/
|
|
2153
|
+
Strategy: number;
|
|
2154
|
+
/**
|
|
2155
|
+
* 表示需要重置的topics, 不填表示全部
|
|
2156
|
+
*/
|
|
2157
|
+
Topics?: Array<string>;
|
|
2158
|
+
/**
|
|
2159
|
+
* 当strategy为0时,必须包含该字段,可以大于零代表会把offset向后移动shift条,小于零则将offset向前回溯shift条数。正确重置后新的offset应该是(old_offset + shift),需要注意的是如果新的offset小于partition的earliest则会设置为earliest,如果大于partition 的latest则会设置为latest
|
|
2160
|
+
*/
|
|
2161
|
+
Shift?: number;
|
|
2162
|
+
/**
|
|
2163
|
+
* 单位ms。当strategy为1时,必须包含该字段,其中-2表示重置offset到最开始的位置,-1表示重置到最新的位置(相当于清空),其它值则代表指定的时间,会获取topic中指定时间的offset然后进行重置,需要注意的时,如果指定的时间不存在消息,则获取最末尾的offset。
|
|
2164
|
+
*/
|
|
2165
|
+
ShiftTimestamp?: number;
|
|
2166
|
+
/**
|
|
2167
|
+
* 需要重新设置的offset位置。当strategy为2,必须包含该字段。
|
|
2168
|
+
*/
|
|
2169
|
+
Offset?: number;
|
|
2170
|
+
/**
|
|
2171
|
+
* 需要重新设置的partition的列表,如果没有指定Topics参数。则重置全部topics的对应的Partition列表里的partition。指定Topics时则重置指定的topic列表的对应的Partitions列表的partition。
|
|
2172
|
+
*/
|
|
2173
|
+
Partitions?: Array<number>;
|
|
2174
|
+
}
|
|
2050
2175
|
/**
|
|
2051
2176
|
* DescribeCkafkaZone请求参数结构体
|
|
2052
2177
|
*/
|
|
@@ -2540,6 +2665,30 @@ export interface MariaDBParam {
|
|
|
2540
2665
|
* 复制存量信息(schema_only不复制, initial全量),默认位initial
|
|
2541
2666
|
*/
|
|
2542
2667
|
SnapshotMode?: string;
|
|
2668
|
+
/**
|
|
2669
|
+
* 格式:库1.表1:字段1,字段2;库2.表2:字段2,表之间;(分号)隔开,字段之间,(逗号)隔开。不指定的表默认取表的主键
|
|
2670
|
+
*/
|
|
2671
|
+
KeyColumns?: string;
|
|
2672
|
+
/**
|
|
2673
|
+
* 当Table输入的是前缀时,该项值为true,否则为false
|
|
2674
|
+
*/
|
|
2675
|
+
IsTablePrefix?: boolean;
|
|
2676
|
+
/**
|
|
2677
|
+
* 输出格式,DEFAULT、CANAL_1、CANAL_2
|
|
2678
|
+
*/
|
|
2679
|
+
OutputFormat?: string;
|
|
2680
|
+
/**
|
|
2681
|
+
* 如果该值为all,则DDL数据以及DML数据也会写入到选中的topic;若该值为dml,则只有DML数据写入到选中的topic
|
|
2682
|
+
*/
|
|
2683
|
+
IncludeContentChanges?: string;
|
|
2684
|
+
/**
|
|
2685
|
+
* 如果该值为true,且MySQL中"binlog_rows_query_log_events"配置项的值为"ON",则流入到topic的数据包含原SQL语句;若该值为false,流入到topic的数据不包含原SQL语句
|
|
2686
|
+
*/
|
|
2687
|
+
IncludeQuery?: boolean;
|
|
2688
|
+
/**
|
|
2689
|
+
* 如果该值为 true,则消息中会携带消息结构体对应的schema,如果该值为false则不会携带
|
|
2690
|
+
*/
|
|
2691
|
+
RecordWithSchema?: boolean;
|
|
2543
2692
|
}
|
|
2544
2693
|
/**
|
|
2545
2694
|
* 路由实体对象
|
|
@@ -3651,6 +3800,41 @@ export interface ClickHouseSchema {
|
|
|
3651
3800
|
*/
|
|
3652
3801
|
AllowNull: boolean;
|
|
3653
3802
|
}
|
|
3803
|
+
/**
|
|
3804
|
+
* Ctsdb连接源参数
|
|
3805
|
+
*/
|
|
3806
|
+
export interface CtsdbConnectParam {
|
|
3807
|
+
/**
|
|
3808
|
+
* Ctsdb的连接port
|
|
3809
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3810
|
+
*/
|
|
3811
|
+
Port?: number;
|
|
3812
|
+
/**
|
|
3813
|
+
* Ctsdb连接源的实例vip
|
|
3814
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3815
|
+
*/
|
|
3816
|
+
ServiceVip?: string;
|
|
3817
|
+
/**
|
|
3818
|
+
* Ctsdb连接源的vpcId
|
|
3819
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3820
|
+
*/
|
|
3821
|
+
UniqVpcId?: string;
|
|
3822
|
+
/**
|
|
3823
|
+
* Ctsdb连接源的用户名
|
|
3824
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3825
|
+
*/
|
|
3826
|
+
UserName?: string;
|
|
3827
|
+
/**
|
|
3828
|
+
* Ctsdb连接源的密码
|
|
3829
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3830
|
+
*/
|
|
3831
|
+
Password?: string;
|
|
3832
|
+
/**
|
|
3833
|
+
* Ctsdb连接源的实例资源
|
|
3834
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3835
|
+
*/
|
|
3836
|
+
Resource?: string;
|
|
3837
|
+
}
|
|
3654
3838
|
/**
|
|
3655
3839
|
* ModifyPassword请求参数结构体
|
|
3656
3840
|
*/
|
|
@@ -4772,7 +4956,7 @@ export interface DateParam {
|
|
|
4772
4956
|
*/
|
|
4773
4957
|
export interface ValueParam {
|
|
4774
4958
|
/**
|
|
4775
|
-
* 处理模式,REPLACE替换,SUBSTR截取,DATE日期转换,TRIM去除前后空格,REGEX_REPLACE
|
|
4959
|
+
* 处理模式,REPLACE替换,SUBSTR截取,DATE日期转换,TRIM去除前后空格,REGEX_REPLACE正则替换,URL_DECODE,LOWERCASE转换为小写
|
|
4776
4960
|
*/
|
|
4777
4961
|
Type: string;
|
|
4778
4962
|
/**
|
|
@@ -4795,6 +4979,21 @@ export interface ValueParam {
|
|
|
4795
4979
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
4796
4980
|
*/
|
|
4797
4981
|
RegexReplace?: RegexReplaceParam;
|
|
4982
|
+
/**
|
|
4983
|
+
* 值支持一拆多,TYPE=SPLIT时必传
|
|
4984
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4985
|
+
*/
|
|
4986
|
+
Split?: SplitParam;
|
|
4987
|
+
/**
|
|
4988
|
+
* key-value二次解析,TYPE=KV时必传
|
|
4989
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4990
|
+
*/
|
|
4991
|
+
KV?: KVParam;
|
|
4992
|
+
/**
|
|
4993
|
+
* 处理结果
|
|
4994
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4995
|
+
*/
|
|
4996
|
+
Result?: string;
|
|
4798
4997
|
}
|
|
4799
4998
|
/**
|
|
4800
4999
|
* DescribeDatahubTasks返回参数结构体
|
|
@@ -5408,6 +5607,18 @@ export interface PostgreSQLParam {
|
|
|
5408
5607
|
* 是否抛弃解析失败的消息,默认为true
|
|
5409
5608
|
*/
|
|
5410
5609
|
DropInvalidMessage?: boolean;
|
|
5610
|
+
/**
|
|
5611
|
+
* 输入的table是否为正则表达式
|
|
5612
|
+
*/
|
|
5613
|
+
IsTableRegular?: boolean;
|
|
5614
|
+
/**
|
|
5615
|
+
* 格式:库1.表1:字段1,字段2;库2.表2:字段2,表之间;(分号)隔开,字段之间,(逗号)隔开。不指定的表默认取表的主键
|
|
5616
|
+
*/
|
|
5617
|
+
KeyColumns?: string;
|
|
5618
|
+
/**
|
|
5619
|
+
* 如果该值为 true,则消息中会携带消息结构体对应的schema,如果该值为false则不会携带
|
|
5620
|
+
*/
|
|
5621
|
+
RecordWithSchema?: boolean;
|
|
5411
5622
|
}
|
|
5412
5623
|
/**
|
|
5413
5624
|
* 统一返回的TopicResponse
|
|
@@ -5462,6 +5673,19 @@ export interface DescribeGroupOffsetsResponse {
|
|
|
5462
5673
|
*/
|
|
5463
5674
|
RequestId?: string;
|
|
5464
5675
|
}
|
|
5676
|
+
/**
|
|
5677
|
+
* Ctsdb类型入参
|
|
5678
|
+
*/
|
|
5679
|
+
export interface CtsdbParam {
|
|
5680
|
+
/**
|
|
5681
|
+
* 连接管理实例资源
|
|
5682
|
+
*/
|
|
5683
|
+
Resource?: string;
|
|
5684
|
+
/**
|
|
5685
|
+
* Ctsdb的metric
|
|
5686
|
+
*/
|
|
5687
|
+
CtsdbMetric?: string;
|
|
5688
|
+
}
|
|
5465
5689
|
/**
|
|
5466
5690
|
* SendMessage请求参数结构体
|
|
5467
5691
|
*/
|
|
@@ -5558,41 +5782,22 @@ export interface PostgreSQLConnectParam {
|
|
|
5558
5782
|
SelfBuilt?: boolean;
|
|
5559
5783
|
}
|
|
5560
5784
|
/**
|
|
5561
|
-
*
|
|
5785
|
+
* key-value二次解析
|
|
5562
5786
|
*/
|
|
5563
|
-
export interface
|
|
5564
|
-
/**
|
|
5565
|
-
* kafka实例id
|
|
5566
|
-
*/
|
|
5567
|
-
InstanceId: string;
|
|
5568
|
-
/**
|
|
5569
|
-
* kafka 消费分组
|
|
5570
|
-
*/
|
|
5571
|
-
Group: string;
|
|
5572
|
-
/**
|
|
5573
|
-
* 重置offset的策略,入参含义 0. 对齐shift-by参数,代表把offset向前或向后移动shift条 1. 对齐参考(by-duration,to-datetime,to-earliest,to-latest),代表把offset移动到指定timestamp的位置 2. 对齐参考(to-offset),代表把offset移动到指定的offset位置
|
|
5574
|
-
*/
|
|
5575
|
-
Strategy: number;
|
|
5576
|
-
/**
|
|
5577
|
-
* 表示需要重置的topics, 不填表示全部
|
|
5578
|
-
*/
|
|
5579
|
-
Topics?: Array<string>;
|
|
5787
|
+
export interface KVParam {
|
|
5580
5788
|
/**
|
|
5581
|
-
*
|
|
5789
|
+
* 分隔符
|
|
5582
5790
|
*/
|
|
5583
|
-
|
|
5791
|
+
Delimiter: string;
|
|
5584
5792
|
/**
|
|
5585
|
-
*
|
|
5793
|
+
* key-value二次解析分隔符
|
|
5586
5794
|
*/
|
|
5587
|
-
|
|
5588
|
-
/**
|
|
5589
|
-
* 需要重新设置的offset位置。当strategy为2,必须包含该字段。
|
|
5590
|
-
*/
|
|
5591
|
-
Offset?: number;
|
|
5795
|
+
Regex: string;
|
|
5592
5796
|
/**
|
|
5593
|
-
*
|
|
5797
|
+
* 保留源Key,默认为false不保留
|
|
5798
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5594
5799
|
*/
|
|
5595
|
-
|
|
5800
|
+
KeepOriginalKey?: string;
|
|
5596
5801
|
}
|
|
5597
5802
|
/**
|
|
5598
5803
|
* BatchModifyTopicAttributes请求参数结构体
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
import { AbstractClient } from "../../../common/abstract_client";
|
|
2
|
+
import { ClientConfig } from "../../../common/interface";
|
|
3
|
+
import { RecoverWorkspaceResponse, DescribeWorkspaceStatusRequest, CreateCustomizeTemplatesRequest, RecoverWorkspaceRequest, DescribeCustomizeTemplatesByIdRequest, CreateWorkspaceByVersionControlRequest, ModifyCustomizeTemplateVersionControlRequest, CreateCustomizeTemplatesResponse, RunWorkspaceRequest, DescribeWorkspaceStatusResponse, CreateWorkspaceByAgentRequest, DeleteCustomizeTemplatesByIdRequest, StopWorkspaceRequest, DescribeWorkspaceEnvListResponse, DescribeWorkspaceStatusListResponse, ModifyCustomizeTemplatesFullByIdRequest, ModifyCustomizeTemplateVersionControlResponse, DescribeWorkspaceEnvListRequest, ModifyWorkspaceAttributesResponse, DescribeCustomizeTemplatesPresetsRequest, StopWorkspaceResponse, DescribeWorkspaceNameExistRequest, DescribeWorkspaceStatusListRequest, RemoveWorkspaceRequest, DescribeCustomizeTemplatesRequest, RunWorkspaceResponse, DescribeCustomizeTemplatesByIdResponse, DescribeCustomizeTemplatesPresetsResponse, CreateWorkspaceByTemplateResponse, CreateWorkspaceByAgentResponse, ModifyCustomizeTemplatesFullByIdResponse, DescribeCustomizeTemplatesResponse, CreateWorkspaceByVersionControlResponse, ModifyCustomizeTemplatesPartByIdRequest, DeleteCustomizeTemplatesByIdResponse, RemoveWorkspaceResponse, DescribeWorkspaceNameExistResponse, CreateWorkspaceByTemplateRequest, ModifyCustomizeTemplatesPartByIdResponse, ModifyWorkspaceAttributesRequest } from "./cloudstudio_models";
|
|
4
|
+
/**
|
|
5
|
+
* cloudstudio client
|
|
6
|
+
* @class
|
|
7
|
+
*/
|
|
8
|
+
export declare class Client extends AbstractClient {
|
|
9
|
+
constructor(clientConfig: ClientConfig);
|
|
10
|
+
/**
|
|
11
|
+
* 获取工作空间元信息
|
|
12
|
+
*/
|
|
13
|
+
DescribeWorkspaceStatus(req: DescribeWorkspaceStatusRequest, cb?: (error: string, rep: DescribeWorkspaceStatusResponse) => void): Promise<DescribeWorkspaceStatusResponse>;
|
|
14
|
+
/**
|
|
15
|
+
* 获取特定模板信息
|
|
16
|
+
*/
|
|
17
|
+
DescribeCustomizeTemplatesById(req: DescribeCustomizeTemplatesByIdRequest, cb?: (error: string, rep: DescribeCustomizeTemplatesByIdResponse) => void): Promise<DescribeCustomizeTemplatesByIdResponse>;
|
|
18
|
+
/**
|
|
19
|
+
* 根据模板创建工作空间
|
|
20
|
+
*/
|
|
21
|
+
CreateWorkspaceByVersionControl(req: CreateWorkspaceByVersionControlRequest, cb?: (error: string, rep: CreateWorkspaceByVersionControlResponse) => void): Promise<CreateWorkspaceByVersionControlResponse>;
|
|
22
|
+
/**
|
|
23
|
+
* 快速开始, 基于模版创建工作空间
|
|
24
|
+
*/
|
|
25
|
+
CreateWorkspaceByTemplate(req: CreateWorkspaceByTemplateRequest, cb?: (error: string, rep: CreateWorkspaceByTemplateResponse) => void): Promise<CreateWorkspaceByTemplateResponse>;
|
|
26
|
+
/**
|
|
27
|
+
* 修改模版默认代码仓库
|
|
28
|
+
*/
|
|
29
|
+
ModifyCustomizeTemplateVersionControl(req: ModifyCustomizeTemplateVersionControlRequest, cb?: (error: string, rep: ModifyCustomizeTemplateVersionControlResponse) => void): Promise<ModifyCustomizeTemplateVersionControlResponse>;
|
|
30
|
+
/**
|
|
31
|
+
* 恢复工作空间
|
|
32
|
+
|
|
33
|
+
*/
|
|
34
|
+
RecoverWorkspace(req: RecoverWorkspaceRequest, cb?: (error: string, rep: RecoverWorkspaceResponse) => void): Promise<RecoverWorkspaceResponse>;
|
|
35
|
+
/**
|
|
36
|
+
* 获取用户工作空间列表
|
|
37
|
+
*/
|
|
38
|
+
DescribeWorkspaceStatusList(req: DescribeWorkspaceStatusListRequest, cb?: (error: string, rep: DescribeWorkspaceStatusListResponse) => void): Promise<DescribeWorkspaceStatusListResponse>;
|
|
39
|
+
/**
|
|
40
|
+
* 删除工作空间
|
|
41
|
+
*/
|
|
42
|
+
RemoveWorkspace(req: RemoveWorkspaceRequest, cb?: (error: string, rep: RemoveWorkspaceResponse) => void): Promise<RemoveWorkspaceResponse>;
|
|
43
|
+
/**
|
|
44
|
+
* 检查工作空间是否存在
|
|
45
|
+
*/
|
|
46
|
+
DescribeWorkspaceNameExist(req: DescribeWorkspaceNameExistRequest, cb?: (error: string, rep: DescribeWorkspaceNameExistResponse) => void): Promise<DescribeWorkspaceNameExistResponse>;
|
|
47
|
+
/**
|
|
48
|
+
* 全量修改自定义模板,不忽略空
|
|
49
|
+
*/
|
|
50
|
+
ModifyCustomizeTemplatesFullById(req: ModifyCustomizeTemplatesFullByIdRequest, cb?: (error: string, rep: ModifyCustomizeTemplatesFullByIdResponse) => void): Promise<ModifyCustomizeTemplatesFullByIdResponse>;
|
|
51
|
+
/**
|
|
52
|
+
* 运行空间
|
|
53
|
+
*/
|
|
54
|
+
RunWorkspace(req: RunWorkspaceRequest, cb?: (error: string, rep: RunWorkspaceResponse) => void): Promise<RunWorkspaceResponse>;
|
|
55
|
+
/**
|
|
56
|
+
* 删除自定义模板
|
|
57
|
+
*/
|
|
58
|
+
DeleteCustomizeTemplatesById(req: DeleteCustomizeTemplatesByIdRequest, cb?: (error: string, rep: DeleteCustomizeTemplatesByIdResponse) => void): Promise<DeleteCustomizeTemplatesByIdResponse>;
|
|
59
|
+
/**
|
|
60
|
+
* 全量修改自定义模板,忽略空
|
|
61
|
+
*/
|
|
62
|
+
ModifyCustomizeTemplatesPartById(req: ModifyCustomizeTemplatesPartByIdRequest, cb?: (error: string, rep: ModifyCustomizeTemplatesPartByIdResponse) => void): Promise<ModifyCustomizeTemplatesPartByIdResponse>;
|
|
63
|
+
/**
|
|
64
|
+
* 停止运行空间
|
|
65
|
+
*/
|
|
66
|
+
StopWorkspace(req: StopWorkspaceRequest, cb?: (error: string, rep: StopWorkspaceResponse) => void): Promise<StopWorkspaceResponse>;
|
|
67
|
+
/**
|
|
68
|
+
* 获取创建模板的预置参数
|
|
69
|
+
*/
|
|
70
|
+
DescribeCustomizeTemplatesPresets(req: DescribeCustomizeTemplatesPresetsRequest, cb?: (error: string, rep: DescribeCustomizeTemplatesPresetsResponse) => void): Promise<DescribeCustomizeTemplatesPresetsResponse>;
|
|
71
|
+
/**
|
|
72
|
+
* 环境列表接口返回信息
|
|
73
|
+
*/
|
|
74
|
+
DescribeWorkspaceEnvList(req: DescribeWorkspaceEnvListRequest, cb?: (error: string, rep: DescribeWorkspaceEnvListResponse) => void): Promise<DescribeWorkspaceEnvListResponse>;
|
|
75
|
+
/**
|
|
76
|
+
* 修改工作空间的名称和描述
|
|
77
|
+
*/
|
|
78
|
+
ModifyWorkspaceAttributes(req: ModifyWorkspaceAttributesRequest, cb?: (error: string, rep: ModifyWorkspaceAttributesResponse) => void): Promise<ModifyWorkspaceAttributesResponse>;
|
|
79
|
+
/**
|
|
80
|
+
* 云主机方式创建工作空间
|
|
81
|
+
*/
|
|
82
|
+
CreateWorkspaceByAgent(req: CreateWorkspaceByAgentRequest, cb?: (error: string, rep: CreateWorkspaceByAgentResponse) => void): Promise<CreateWorkspaceByAgentResponse>;
|
|
83
|
+
/**
|
|
84
|
+
* 添加自定义模板
|
|
85
|
+
*/
|
|
86
|
+
CreateCustomizeTemplates(req: CreateCustomizeTemplatesRequest, cb?: (error: string, rep: CreateCustomizeTemplatesResponse) => void): Promise<CreateCustomizeTemplatesResponse>;
|
|
87
|
+
/**
|
|
88
|
+
* 获取所有模版列表
|
|
89
|
+
*/
|
|
90
|
+
DescribeCustomizeTemplates(req: DescribeCustomizeTemplatesRequest, cb?: (error: string, rep: DescribeCustomizeTemplatesResponse) => void): Promise<DescribeCustomizeTemplatesResponse>;
|
|
91
|
+
}
|