tencentcloud-sdk-nodejs 4.0.578 → 4.0.580
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 +336 -0
- package/SERVICE_CHANGELOG.md +555 -55
- package/package.json +1 -1
- package/products.md +19 -19
- package/src/common/sdk_version.ts +1 -1
- package/src/services/asr/v20190614/asr_models.ts +8 -2
- package/src/services/btoe/index.ts +2 -2
- package/src/services/chdfs/index.ts +2 -2
- package/src/services/cls/v20201016/cls_models.ts +10 -0
- package/src/services/cvm/v20170312/cvm_models.ts +6 -4
- package/src/services/ess/v20201111/ess_client.ts +8 -8
- package/src/services/ess/v20201111/ess_models.ts +8 -8
- package/src/services/essbasic/index.ts +2 -2
- package/src/services/facefusion/index.ts +2 -2
- package/src/services/faceid/v20180301/faceid_models.ts +12 -0
- package/src/services/iotvideo/index.ts +2 -2
- package/src/services/lcic/v20220817/lcic_models.ts +4 -4
- package/src/services/mgobe/index.ts +2 -2
- package/src/services/ocr/v20181119/ocr_client.ts +15 -13
- package/src/services/ocr/v20181119/ocr_models.ts +34 -34
- package/src/services/redis/v20180412/redis_client.ts +1 -1
- package/src/services/redis/v20180412/redis_models.ts +152 -82
- package/src/services/sms/index.ts +2 -2
- package/src/services/tcaplusdb/v20190823/tcaplusdb_client.ts +51 -9
- package/src/services/tcaplusdb/v20190823/tcaplusdb_models.ts +241 -35
- package/src/services/tem/index.ts +2 -2
- package/src/services/teo/v20220106/teo_client.ts +17 -1252
- package/src/services/teo/v20220106/teo_models.ts +278 -10164
- package/src/services/teo/v20220901/teo_models.ts +2 -2
- package/src/services/thpc/index.ts +2 -2
- package/src/services/tiw/v20190919/tiw_client.ts +1 -1
- package/src/services/tiw/v20190919/tiw_models.ts +3 -3
- package/src/services/trtc/v20190722/trtc_models.ts +5 -0
- package/src/services/tsw/index.ts +2 -2
- package/src/services/vm/index.ts +4 -4
- package/src/services/vrs/v20200824/vrs_models.ts +12 -4
- package/src/services/waf/v20180125/waf_models.ts +2 -2
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/asr/v20190614/asr_models.d.ts +7 -1
- package/tencentcloud/services/btoe/index.d.ts +4 -4
- package/tencentcloud/services/btoe/index.js +2 -2
- package/tencentcloud/services/chdfs/index.d.ts +4 -4
- package/tencentcloud/services/chdfs/index.js +2 -2
- package/tencentcloud/services/cls/v20201016/cls_models.d.ts +8 -0
- package/tencentcloud/services/cvm/v20170312/cvm_models.d.ts +6 -4
- package/tencentcloud/services/ess/v20201111/ess_client.d.ts +8 -8
- package/tencentcloud/services/ess/v20201111/ess_client.js +8 -8
- package/tencentcloud/services/ess/v20201111/ess_models.d.ts +8 -8
- package/tencentcloud/services/essbasic/index.d.ts +4 -4
- package/tencentcloud/services/essbasic/index.js +2 -2
- package/tencentcloud/services/facefusion/index.d.ts +4 -4
- package/tencentcloud/services/facefusion/index.js +2 -2
- package/tencentcloud/services/faceid/v20180301/faceid_models.d.ts +10 -0
- package/tencentcloud/services/iotvideo/index.d.ts +4 -4
- package/tencentcloud/services/iotvideo/index.js +2 -2
- package/tencentcloud/services/lcic/v20220817/lcic_models.d.ts +4 -4
- package/tencentcloud/services/mgobe/index.d.ts +4 -4
- package/tencentcloud/services/mgobe/index.js +2 -2
- package/tencentcloud/services/ocr/v20181119/ocr_client.d.ts +14 -12
- package/tencentcloud/services/ocr/v20181119/ocr_client.js +14 -12
- package/tencentcloud/services/ocr/v20181119/ocr_models.d.ts +34 -34
- package/tencentcloud/services/redis/v20180412/redis_client.d.ts +1 -1
- package/tencentcloud/services/redis/v20180412/redis_client.js +1 -1
- package/tencentcloud/services/redis/v20180412/redis_models.d.ts +139 -69
- package/tencentcloud/services/sms/index.d.ts +4 -4
- package/tencentcloud/services/sms/index.js +2 -2
- package/tencentcloud/services/tcaplusdb/v20190823/tcaplusdb_client.d.ts +19 -3
- package/tencentcloud/services/tcaplusdb/v20190823/tcaplusdb_client.js +25 -3
- package/tencentcloud/services/tcaplusdb/v20190823/tcaplusdb_models.d.ts +207 -32
- package/tencentcloud/services/tem/index.d.ts +4 -4
- package/tencentcloud/services/tem/index.js +2 -2
- package/tencentcloud/services/teo/v20220106/teo_client.d.ts +3 -375
- package/tencentcloud/services/teo/v20220106/teo_client.js +3 -557
- package/tencentcloud/services/teo/v20220106/teo_models.d.ts +260 -8717
- package/tencentcloud/services/teo/v20220901/teo_models.d.ts +2 -2
- package/tencentcloud/services/thpc/index.d.ts +4 -4
- package/tencentcloud/services/thpc/index.js +2 -2
- package/tencentcloud/services/tiw/v20190919/tiw_client.d.ts +1 -1
- package/tencentcloud/services/tiw/v20190919/tiw_client.js +1 -1
- package/tencentcloud/services/tiw/v20190919/tiw_models.d.ts +3 -3
- package/tencentcloud/services/trtc/v20190722/trtc_models.d.ts +4 -0
- package/tencentcloud/services/tsw/index.d.ts +4 -4
- package/tencentcloud/services/tsw/index.js +2 -2
- package/tencentcloud/services/vm/index.d.ts +6 -6
- package/tencentcloud/services/vm/index.js +4 -4
- package/tencentcloud/services/vrs/v20200824/vrs_models.d.ts +12 -4
- package/tencentcloud/services/waf/v20180125/waf_models.d.ts +2 -2
- package/test/tcaplusdb.v20190823.test.js +32 -2
- package/test/teo.v20220106.test.js +3 -913
|
@@ -829,7 +829,7 @@ export interface Account {
|
|
|
829
829
|
*/
|
|
830
830
|
export interface InstanceProxySlowlogDetail {
|
|
831
831
|
/**
|
|
832
|
-
*
|
|
832
|
+
* 慢查询耗时时长。单位:毫秒。
|
|
833
833
|
*/
|
|
834
834
|
Duration: number;
|
|
835
835
|
/**
|
|
@@ -837,11 +837,11 @@ export interface InstanceProxySlowlogDetail {
|
|
|
837
837
|
*/
|
|
838
838
|
Client: string;
|
|
839
839
|
/**
|
|
840
|
-
*
|
|
840
|
+
* 慢查询的命令。
|
|
841
841
|
*/
|
|
842
842
|
Command: string;
|
|
843
843
|
/**
|
|
844
|
-
*
|
|
844
|
+
* 慢查询详细命令行信息。
|
|
845
845
|
*/
|
|
846
846
|
CommandLine: string;
|
|
847
847
|
/**
|
|
@@ -1179,41 +1179,43 @@ export interface DescribeProjectSecurityGroupRequest {
|
|
|
1179
1179
|
*/
|
|
1180
1180
|
export interface ParameterDetail {
|
|
1181
1181
|
/**
|
|
1182
|
-
*
|
|
1182
|
+
* 参数名称。
|
|
1183
1183
|
*/
|
|
1184
1184
|
Name: string;
|
|
1185
1185
|
/**
|
|
1186
|
-
*
|
|
1186
|
+
* 参数类型。
|
|
1187
1187
|
*/
|
|
1188
1188
|
ParamType: string;
|
|
1189
1189
|
/**
|
|
1190
|
-
*
|
|
1190
|
+
* 参数默认值。
|
|
1191
1191
|
*/
|
|
1192
1192
|
Default: string;
|
|
1193
1193
|
/**
|
|
1194
|
-
*
|
|
1194
|
+
* 参数描述。
|
|
1195
1195
|
*/
|
|
1196
1196
|
Description: string;
|
|
1197
1197
|
/**
|
|
1198
|
-
*
|
|
1198
|
+
* 参数当前值。
|
|
1199
1199
|
*/
|
|
1200
1200
|
CurrentValue: string;
|
|
1201
1201
|
/**
|
|
1202
|
-
*
|
|
1202
|
+
* 修改参数后,是否需要重启数据库以使参数生效。
|
|
1203
|
+
- 0:不需要重启。
|
|
1204
|
+
- 1:需要重启。
|
|
1203
1205
|
*/
|
|
1204
1206
|
NeedReboot: number;
|
|
1205
1207
|
/**
|
|
1206
|
-
*
|
|
1208
|
+
* 参数允许的最大值。
|
|
1207
1209
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1208
1210
|
*/
|
|
1209
1211
|
Max: string;
|
|
1210
1212
|
/**
|
|
1211
|
-
*
|
|
1213
|
+
* 参数允许的最小值。
|
|
1212
1214
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1213
1215
|
*/
|
|
1214
1216
|
Min: string;
|
|
1215
1217
|
/**
|
|
1216
|
-
*
|
|
1218
|
+
* 参数可选枚举值。如果为非枚举参数,则为空。
|
|
1217
1219
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1218
1220
|
*/
|
|
1219
1221
|
EnumValue: Array<string>;
|
|
@@ -1531,59 +1533,68 @@ export interface ModifyInstanceResponse {
|
|
|
1531
1533
|
*/
|
|
1532
1534
|
export interface RedisCommonInstanceList {
|
|
1533
1535
|
/**
|
|
1534
|
-
*
|
|
1536
|
+
* 实例名称。
|
|
1535
1537
|
*/
|
|
1536
1538
|
InstanceName: string;
|
|
1537
1539
|
/**
|
|
1538
|
-
* 实例
|
|
1540
|
+
* 实例 ID。
|
|
1539
1541
|
*/
|
|
1540
1542
|
InstanceId: string;
|
|
1541
1543
|
/**
|
|
1542
|
-
* 用户
|
|
1544
|
+
* 用户APPID。APPID是与账号ID有唯一对应关系的应用 ID,部分腾讯云产品会使用此 APPID。
|
|
1543
1545
|
*/
|
|
1544
1546
|
AppId: number;
|
|
1545
1547
|
/**
|
|
1546
|
-
* 实例所属项目
|
|
1548
|
+
* 实例所属项目 ID。
|
|
1547
1549
|
*/
|
|
1548
1550
|
ProjectId: number;
|
|
1549
1551
|
/**
|
|
1550
|
-
*
|
|
1552
|
+
* 实例接入区域。
|
|
1551
1553
|
*/
|
|
1552
1554
|
Region: string;
|
|
1553
1555
|
/**
|
|
1554
|
-
*
|
|
1556
|
+
* 实例接入可用区。
|
|
1555
1557
|
*/
|
|
1556
1558
|
Zone: string;
|
|
1557
1559
|
/**
|
|
1558
|
-
*
|
|
1560
|
+
* 实例私有网络 ID。
|
|
1559
1561
|
*/
|
|
1560
1562
|
VpcId: string;
|
|
1561
1563
|
/**
|
|
1562
|
-
*
|
|
1564
|
+
* 私有网络所属子网 ID。
|
|
1563
1565
|
*/
|
|
1564
1566
|
SubnetId: string;
|
|
1565
1567
|
/**
|
|
1566
|
-
*
|
|
1568
|
+
* 实例状态信息。
|
|
1569
|
+
- 1-流程中。
|
|
1570
|
+
- 2-运行中。
|
|
1571
|
+
- -2-实例已隔离。
|
|
1572
|
+
- -3-实例待回收。
|
|
1573
|
+
- -4-实例已删除。
|
|
1567
1574
|
*/
|
|
1568
1575
|
Status: string;
|
|
1569
1576
|
/**
|
|
1570
|
-
*
|
|
1577
|
+
* 实例私有网络 IP 地址。
|
|
1571
1578
|
*/
|
|
1572
1579
|
Vips: Array<string>;
|
|
1573
1580
|
/**
|
|
1574
|
-
*
|
|
1581
|
+
* 实例网络端口。
|
|
1575
1582
|
*/
|
|
1576
1583
|
Vport: number;
|
|
1577
1584
|
/**
|
|
1578
|
-
*
|
|
1585
|
+
* 实例创建时间。
|
|
1579
1586
|
*/
|
|
1580
1587
|
Createtime: string;
|
|
1581
1588
|
/**
|
|
1582
|
-
*
|
|
1589
|
+
* 计费类型。
|
|
1590
|
+
- 0:按量计费。
|
|
1591
|
+
- 1:包年包月。
|
|
1583
1592
|
*/
|
|
1584
1593
|
PayMode: number;
|
|
1585
1594
|
/**
|
|
1586
|
-
*
|
|
1595
|
+
* 网络类型。
|
|
1596
|
+
- 0:基础网络。
|
|
1597
|
+
- 1:VPC 网络。
|
|
1587
1598
|
*/
|
|
1588
1599
|
NetType: number;
|
|
1589
1600
|
}
|
|
@@ -1745,7 +1756,7 @@ export interface ModifyMaintenanceWindowRequest {
|
|
|
1745
1756
|
*/
|
|
1746
1757
|
export interface DescribeParamTemplateInfoRequest {
|
|
1747
1758
|
/**
|
|
1748
|
-
*
|
|
1759
|
+
* 指定查询的参数模板 ID。请通过接口[DescribeParamTemplates](https://cloud.tencent.com/document/product/239/58750)获取参数模板列表信息。
|
|
1749
1760
|
*/
|
|
1750
1761
|
TemplateId: string;
|
|
1751
1762
|
}
|
|
@@ -2120,19 +2131,29 @@ export interface CloneInstancesResponse {
|
|
|
2120
2131
|
*/
|
|
2121
2132
|
export interface ParamTemplateInfo {
|
|
2122
2133
|
/**
|
|
2123
|
-
* 参数模板ID
|
|
2134
|
+
* 参数模板 ID。
|
|
2124
2135
|
*/
|
|
2125
2136
|
TemplateId: string;
|
|
2126
2137
|
/**
|
|
2127
|
-
*
|
|
2138
|
+
* 参数模板名称。
|
|
2128
2139
|
*/
|
|
2129
2140
|
Name: string;
|
|
2130
2141
|
/**
|
|
2131
|
-
*
|
|
2142
|
+
* 参数模板描述。
|
|
2132
2143
|
*/
|
|
2133
2144
|
Description: string;
|
|
2134
2145
|
/**
|
|
2135
|
-
*
|
|
2146
|
+
* 实例类型。
|
|
2147
|
+
- 2:Redis 2.8内存版(标准架构)。
|
|
2148
|
+
- 3:CKV 3.2内存版(标准架构)。
|
|
2149
|
+
- 4:CKV 3.2内存版(集群架构)。
|
|
2150
|
+
- 5:Redis 2.8内存版(单机)。
|
|
2151
|
+
- 6:Redis 4.0内存版(标准架构)。
|
|
2152
|
+
- 7:Redis 4.0内存版(集群架构)。
|
|
2153
|
+
- 8:Redis 5.0内存版(标准架构)。
|
|
2154
|
+
- 9:Redis 5.0内存版(集群架构)。
|
|
2155
|
+
- 15:Redis 6.2内存版(标准架构)。
|
|
2156
|
+
- 16:Redis 6.2内存版(集群架构)。
|
|
2136
2157
|
*/
|
|
2137
2158
|
ProductType: number;
|
|
2138
2159
|
}
|
|
@@ -2542,23 +2563,26 @@ export interface DescribeInstanceSecurityGroupRequest {
|
|
|
2542
2563
|
*/
|
|
2543
2564
|
export interface InstanceParamHistory {
|
|
2544
2565
|
/**
|
|
2545
|
-
*
|
|
2566
|
+
* 参数名称。
|
|
2546
2567
|
*/
|
|
2547
2568
|
ParamName: string;
|
|
2548
2569
|
/**
|
|
2549
|
-
*
|
|
2570
|
+
* 参数修改之前的值。
|
|
2550
2571
|
*/
|
|
2551
2572
|
PreValue: string;
|
|
2552
2573
|
/**
|
|
2553
|
-
*
|
|
2574
|
+
* 参数修改之后的值。
|
|
2554
2575
|
*/
|
|
2555
2576
|
NewValue: string;
|
|
2556
2577
|
/**
|
|
2557
|
-
*
|
|
2578
|
+
* 参数配置状态。
|
|
2579
|
+
- 1:参数配置修改中。
|
|
2580
|
+
- 2:参数配置修改成功。
|
|
2581
|
+
- 3:参数配置修改失败。
|
|
2558
2582
|
*/
|
|
2559
2583
|
Status: number;
|
|
2560
2584
|
/**
|
|
2561
|
-
*
|
|
2585
|
+
* 修改时间。
|
|
2562
2586
|
*/
|
|
2563
2587
|
ModifyTime: string;
|
|
2564
2588
|
}
|
|
@@ -2921,55 +2945,71 @@ export interface ReleaseWanAddressResponse {
|
|
|
2921
2945
|
*/
|
|
2922
2946
|
export interface ProductConf {
|
|
2923
2947
|
/**
|
|
2924
|
-
*
|
|
2948
|
+
* 产品类型。
|
|
2949
|
+
- 2:Redis 2.8内存版(标准架构)。
|
|
2950
|
+
- 3:CKV 3.2内存版(标准架构)。
|
|
2951
|
+
- 4:CKV 3.2内存版(集群架构)。
|
|
2952
|
+
- 5:Redis 2.8内存版(单机)。
|
|
2953
|
+
- 6:Redis 4.0内存版(标准架构)。
|
|
2954
|
+
- 7:Redis 4.0内存版(集群架构)。
|
|
2955
|
+
- 8:Redis 5.0内存版(标准架构)。
|
|
2956
|
+
- 9:Redis 5.0内存版(集群架构)。
|
|
2957
|
+
- 15:Redis 6.2内存版(标准架构)。
|
|
2958
|
+
- 16:Redis 6.2内存版(集群架构)。
|
|
2925
2959
|
*/
|
|
2926
2960
|
Type: number;
|
|
2927
2961
|
/**
|
|
2928
|
-
*
|
|
2962
|
+
* 产品名称。包括:Redis 主从版、CKV 主从版、CKV 集群版、Redis 单机版、Redis 集群版。
|
|
2929
2963
|
*/
|
|
2930
2964
|
TypeName: string;
|
|
2931
2965
|
/**
|
|
2932
|
-
*
|
|
2966
|
+
* 购买时的最小数量。
|
|
2933
2967
|
*/
|
|
2934
2968
|
MinBuyNum: number;
|
|
2935
2969
|
/**
|
|
2936
|
-
*
|
|
2970
|
+
* 购买时的最大数量。
|
|
2937
2971
|
*/
|
|
2938
2972
|
MaxBuyNum: number;
|
|
2939
2973
|
/**
|
|
2940
|
-
*
|
|
2974
|
+
* 产品是否售罄。
|
|
2975
|
+
- true:售罄。
|
|
2976
|
+
- false:未售罄。
|
|
2941
2977
|
*/
|
|
2942
2978
|
Saleout: boolean;
|
|
2943
2979
|
/**
|
|
2944
|
-
*
|
|
2980
|
+
* 产品引擎。包括:腾讯云 CKV与社区版 Redis。
|
|
2945
2981
|
*/
|
|
2946
2982
|
Engine: string;
|
|
2947
2983
|
/**
|
|
2948
|
-
*
|
|
2984
|
+
* 兼容版本。包括:Redis-2.8、Redis-3.2、Redis-4.0、Redis-5.0、Redis-6.2。
|
|
2949
2985
|
*/
|
|
2950
2986
|
Version: string;
|
|
2951
2987
|
/**
|
|
2952
|
-
* 规格总大小,单位
|
|
2988
|
+
* 规格总大小,单位GB。
|
|
2953
2989
|
*/
|
|
2954
2990
|
TotalSize: Array<string>;
|
|
2955
2991
|
/**
|
|
2956
|
-
* 每个分片大小,单位
|
|
2992
|
+
* 每个分片大小,单位GB。
|
|
2957
2993
|
*/
|
|
2958
2994
|
ShardSize: Array<string>;
|
|
2959
2995
|
/**
|
|
2960
|
-
*
|
|
2996
|
+
* 副本数量。
|
|
2961
2997
|
*/
|
|
2962
2998
|
ReplicaNum: Array<string>;
|
|
2963
2999
|
/**
|
|
2964
|
-
*
|
|
3000
|
+
* 分片数量。
|
|
2965
3001
|
*/
|
|
2966
3002
|
ShardNum: Array<string>;
|
|
2967
3003
|
/**
|
|
2968
|
-
*
|
|
3004
|
+
* 支持的计费模式。
|
|
3005
|
+
- 1:包年包月。
|
|
3006
|
+
- 0:按量计费。
|
|
2969
3007
|
*/
|
|
2970
3008
|
PayMode: string;
|
|
2971
3009
|
/**
|
|
2972
|
-
*
|
|
3010
|
+
* 是否支持副本只读。
|
|
3011
|
+
- true:支持副本只读。
|
|
3012
|
+
- false:不支持。
|
|
2973
3013
|
*/
|
|
2974
3014
|
EnableRepicaReadOnly: boolean;
|
|
2975
3015
|
}
|
|
@@ -3156,11 +3196,11 @@ export interface TradeDealDetail {
|
|
|
3156
3196
|
*/
|
|
3157
3197
|
export interface ResourceTag {
|
|
3158
3198
|
/**
|
|
3159
|
-
* 标签
|
|
3199
|
+
* 标签Key。
|
|
3160
3200
|
*/
|
|
3161
3201
|
TagKey: string;
|
|
3162
3202
|
/**
|
|
3163
|
-
* 标签
|
|
3203
|
+
* 标签 Key 对应的 Value。
|
|
3164
3204
|
*/
|
|
3165
3205
|
TagValue: string;
|
|
3166
3206
|
}
|
|
@@ -3280,7 +3320,7 @@ export interface DescribeInstanceDealDetailResponse {
|
|
|
3280
3320
|
*/
|
|
3281
3321
|
export interface Groups {
|
|
3282
3322
|
/**
|
|
3283
|
-
* 用户
|
|
3323
|
+
* 用户 APPID。APPID是与账号ID有唯一对应关系的应用 ID,部分腾讯云产品会使用此 APPID。
|
|
3284
3324
|
*/
|
|
3285
3325
|
AppId: number;
|
|
3286
3326
|
/**
|
|
@@ -3306,7 +3346,7 @@ export interface Groups {
|
|
|
3306
3346
|
*/
|
|
3307
3347
|
RegionId: number;
|
|
3308
3348
|
/**
|
|
3309
|
-
* 复制组 ID
|
|
3349
|
+
* 复制组 ID。格式如:crs-rpl-deind****。
|
|
3310
3350
|
*/
|
|
3311
3351
|
GroupId: string;
|
|
3312
3352
|
/**
|
|
@@ -3778,7 +3818,17 @@ export interface InstanceSet {
|
|
|
3778
3818
|
*/
|
|
3779
3819
|
SizeUsed: number;
|
|
3780
3820
|
/**
|
|
3781
|
-
*
|
|
3821
|
+
* 实例类型。
|
|
3822
|
+
- 2:Redis 2.8内存版(标准架构)。
|
|
3823
|
+
- 3:CKV 3.2内存版(标准架构)。
|
|
3824
|
+
- 4:CKV 3.2内存版(集群架构)。
|
|
3825
|
+
- 5:Redis 2.8内存版(单机)。
|
|
3826
|
+
- 6:Redis 4.0内存版(标准架构)。
|
|
3827
|
+
- 7:Redis 4.0内存版(集群架构)。
|
|
3828
|
+
- 8:Redis 5.0内存版(标准架构)。
|
|
3829
|
+
- 9:Redis 5.0内存版(集群架构)。
|
|
3830
|
+
- 15:Redis 6.2内存版(标准架构)。
|
|
3831
|
+
- 16:Redis 6.2内存版(集群架构)。
|
|
3782
3832
|
*/
|
|
3783
3833
|
Type: number;
|
|
3784
3834
|
/**
|
|
@@ -4485,29 +4535,39 @@ export declare type DescribeBackupDownloadRestrictionRequest = null;
|
|
|
4485
4535
|
*/
|
|
4486
4536
|
export interface DescribeParamTemplateInfoResponse {
|
|
4487
4537
|
/**
|
|
4488
|
-
*
|
|
4538
|
+
* 参数模板的参数数量。
|
|
4489
4539
|
*/
|
|
4490
|
-
TotalCount
|
|
4540
|
+
TotalCount?: number;
|
|
4491
4541
|
/**
|
|
4492
4542
|
* 参数模板 ID。
|
|
4493
4543
|
*/
|
|
4494
|
-
TemplateId
|
|
4544
|
+
TemplateId?: string;
|
|
4495
4545
|
/**
|
|
4496
4546
|
* 参数模板名称。
|
|
4497
4547
|
*/
|
|
4498
|
-
Name
|
|
4548
|
+
Name?: string;
|
|
4499
4549
|
/**
|
|
4500
|
-
*
|
|
4550
|
+
* 产品类型。
|
|
4551
|
+
- 2:Redis 2.8内存版(标准架构)。
|
|
4552
|
+
- 3:CKV 3.2内存版(标准架构)。
|
|
4553
|
+
- 4:CKV 3.2内存版(集群架构)。
|
|
4554
|
+
- 5:Redis 2.8内存版(单机)。
|
|
4555
|
+
- 6:Redis 4.0内存版(标准架构)。
|
|
4556
|
+
- 7:Redis 4.0内存版(集群架构)。
|
|
4557
|
+
- 8:Redis 5.0内存版(标准架构)。
|
|
4558
|
+
- 9:Redis 5.0内存版(集群架构)。
|
|
4559
|
+
- 15:Redis 6.2内存版(标准架构)。
|
|
4560
|
+
- 16:Redis 6.2内存版(集群架构)。
|
|
4501
4561
|
*/
|
|
4502
|
-
ProductType
|
|
4562
|
+
ProductType?: number;
|
|
4503
4563
|
/**
|
|
4504
|
-
*
|
|
4564
|
+
* 参数模板描述。
|
|
4505
4565
|
*/
|
|
4506
|
-
Description
|
|
4566
|
+
Description?: string;
|
|
4507
4567
|
/**
|
|
4508
|
-
*
|
|
4568
|
+
* 参数详情。包含:参数的名称,当前运行值,默认值,最大值、最小值、枚举值等信息。
|
|
4509
4569
|
*/
|
|
4510
|
-
Items
|
|
4570
|
+
Items?: Array<ParameterDetail>;
|
|
4511
4571
|
/**
|
|
4512
4572
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
4513
4573
|
*/
|
|
@@ -4544,15 +4604,15 @@ export interface SwitchInstanceVipResponse {
|
|
|
4544
4604
|
RequestId?: string;
|
|
4545
4605
|
}
|
|
4546
4606
|
/**
|
|
4547
|
-
*
|
|
4607
|
+
* 已配置的备份文件下载地址对应的 VPC 信息。
|
|
4548
4608
|
*/
|
|
4549
4609
|
export interface BackupLimitVpcItem {
|
|
4550
4610
|
/**
|
|
4551
|
-
*
|
|
4611
|
+
* 备份文件的下载地址对应VPC 所属的地域。
|
|
4552
4612
|
*/
|
|
4553
4613
|
Region: string;
|
|
4554
4614
|
/**
|
|
4555
|
-
*
|
|
4615
|
+
* 备份文件下载地址的 VPC 列表。
|
|
4556
4616
|
*/
|
|
4557
4617
|
VpcList: Array<string>;
|
|
4558
4618
|
}
|
|
@@ -4995,7 +5055,7 @@ export interface DescribeProjectSecurityGroupResponse {
|
|
|
4995
5055
|
*/
|
|
4996
5056
|
export interface Instances {
|
|
4997
5057
|
/**
|
|
4998
|
-
* 用户
|
|
5058
|
+
* 用户APPID。APPID是与账号ID有唯一对应关系的应用 ID,部分腾讯云产品会使用此 APPID。
|
|
4999
5059
|
*/
|
|
5000
5060
|
AppId: number;
|
|
5001
5061
|
/**
|
|
@@ -5065,7 +5125,17 @@ export interface Instances {
|
|
|
5065
5125
|
*/
|
|
5066
5126
|
GrocerySysId: number;
|
|
5067
5127
|
/**
|
|
5068
|
-
*
|
|
5128
|
+
* 实例类型。
|
|
5129
|
+
- 2:Redis 2.8内存版(标准架构)。
|
|
5130
|
+
- 3:CKV 3.2内存版(标准架构)。
|
|
5131
|
+
- 4:CKV 3.2内存版(集群架构)。
|
|
5132
|
+
- 5:Redis 2.8内存版(单机)。
|
|
5133
|
+
- 6:Redis 4.0内存版(标准架构)。
|
|
5134
|
+
- 7:Redis 4.0内存版(集群架构)。
|
|
5135
|
+
- 8:Redis 5.0内存版(标准架构)。
|
|
5136
|
+
- 9:Redis 5.0内存版(集群架构)。
|
|
5137
|
+
- 15:Redis 6.2内存版(标准架构)。
|
|
5138
|
+
- 16:Redis 6.2内存版(集群架构)。
|
|
5069
5139
|
*/
|
|
5070
5140
|
ProductType: number;
|
|
5071
5141
|
/**
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
export declare const sms: {
|
|
2
|
-
v20190711: {
|
|
3
|
-
Client: typeof import("./v20190711/sms_client").Client;
|
|
4
|
-
Models: typeof import("./v20190711/sms_models");
|
|
5
|
-
};
|
|
6
2
|
v20210111: {
|
|
7
3
|
Client: typeof import("./v20210111/sms_client").Client;
|
|
8
4
|
Models: typeof import("./v20210111/sms_models");
|
|
9
5
|
};
|
|
6
|
+
v20190711: {
|
|
7
|
+
Client: typeof import("./v20190711/sms_client").Client;
|
|
8
|
+
Models: typeof import("./v20190711/sms_models");
|
|
9
|
+
};
|
|
10
10
|
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.sms = void 0;
|
|
4
|
-
const v20190711_1 = require("./v20190711");
|
|
5
4
|
const v20210111_1 = require("./v20210111");
|
|
5
|
+
const v20190711_1 = require("./v20190711");
|
|
6
6
|
exports.sms = {
|
|
7
|
-
v20190711: v20190711_1.v20190711,
|
|
8
7
|
v20210111: v20210111_1.v20210111,
|
|
8
|
+
v20190711: v20190711_1.v20190711,
|
|
9
9
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AbstractClient } from "../../../common/abstract_client";
|
|
2
2
|
import { ClientConfig } from "../../../common/interface";
|
|
3
|
-
import { ImportSnapshotsResponse, ModifyClusterNameRequest, ModifyTableGroupNameResponse, DescribeTableTagsRequest, ModifyClusterPasswordResponse, DeleteClusterResponse, DeleteTableIndexResponse, DescribeTablesResponse, ModifySnapshotsResponse, UpdateApplyResponse, DeleteClusterRequest, DeleteTableIndexRequest, DescribeTasksResponse, DeleteTablesRequest, DescribeRegionsResponse, SetTableDataFlowResponse, ModifyClusterPasswordRequest, DescribeMachineResponse, DeleteTableDataFlowRequest, DeleteTableGroupRequest, DescribeSnapshotsRequest, DescribeApplicationsResponse, CreateTableGroupRequest, ModifyClusterMachineResponse, DeleteIdlFilesResponse, ModifyTableTagsRequest, DescribeTasksRequest, ClearTablesResponse, DescribeIdlFileInfosRequest, ModifyTableTagsResponse, ModifyCensorshipRequest, DisableRestProxyRequest, DescribeTablesInRecycleResponse, ModifyTablesResponse, DeleteSnapshotsRequest, ModifyTableGroupTagsResponse, ModifyClusterTagsRequest, CreateSnapshotsRequest, DescribeTableGroupTagsResponse, SetTableIndexRequest, ModifyTableQuotasResponse, RecoverRecycleTablesRequest, DeleteSnapshotsResponse, DeleteTablesResponse, ModifyTableGroupNameRequest, DescribeTableGroupsRequest,
|
|
3
|
+
import { ImportSnapshotsResponse, ModifyClusterNameRequest, ModifyTableGroupNameResponse, DescribeTableTagsRequest, ModifyClusterPasswordResponse, DeleteClusterResponse, DeleteTableIndexResponse, DescribeBackupRecordsResponse, DescribeTablesResponse, ModifySnapshotsResponse, UpdateApplyResponse, DeleteClusterRequest, DeleteTableIndexRequest, DescribeTasksResponse, DeleteTablesRequest, DescribeRegionsResponse, SetTableDataFlowResponse, ModifyClusterPasswordRequest, DescribeMachineResponse, DeleteTableDataFlowRequest, DeleteTableGroupRequest, DescribeSnapshotsRequest, DescribeApplicationsResponse, CreateTableGroupRequest, ModifyClusterMachineResponse, DeleteIdlFilesResponse, ModifyTableTagsRequest, DescribeTasksRequest, ClearTablesResponse, DescribeIdlFileInfosRequest, ModifyTableTagsResponse, ModifyCensorshipRequest, DisableRestProxyRequest, DescribeTablesInRecycleResponse, ModifyTablesResponse, DeleteSnapshotsRequest, ModifyTableGroupTagsResponse, ModifyClusterTagsRequest, CreateSnapshotsRequest, DescribeTableGroupTagsResponse, SetTableIndexRequest, ModifyTableQuotasResponse, RecoverRecycleTablesRequest, ModifyClusterMachineRequest, DeleteSnapshotsResponse, DeleteTablesResponse, ModifyTableGroupNameRequest, DescribeTableGroupsRequest, ModifyCensorshipResponse, MergeTablesDataRequest, CreateClusterRequest, ModifyTableGroupTagsRequest, EnableRestProxyRequest, ModifyTableQuotasRequest, CompareIdlFilesResponse, CreateTablesResponse, DescribeRegionsRequest, DescribeClustersResponse, ModifyClusterTagsResponse, DescribeClusterTagsResponse, SetTableIndexResponse, ClearTablesRequest, DescribeIdlFileInfosResponse, CreateSnapshotsResponse, SetBackupExpireRuleRequest, DeleteBackupRecordsResponse, DisableRestProxyResponse, CreateClusterResponse, DescribeClustersRequest, DeleteIdlFilesRequest, CreateBackupResponse, VerifyIdlFilesResponse, DescribeTableTagsResponse, CreateTableGroupResponse, DescribeSnapshotsResponse, SetBackupExpireRuleResponse, DeleteBackupRecordsRequest, VerifyIdlFilesRequest, EnableRestProxyResponse, ModifyClusterNameResponse, ModifyTablesRequest, SetTableDataFlowRequest, DescribeTableGroupTagsRequest, DescribeTablesInRecycleRequest, DescribeTablesRequest, DeleteTableDataFlowResponse, UpdateApplyRequest, ModifyTableMemosRequest, DescribeUinInWhitelistResponse, RollbackTablesResponse, CreateBackupRequest, CreateTablesRequest, DescribeClusterTagsRequest, RecoverRecycleTablesResponse, MergeTablesDataResponse, DescribeApplicationsRequest, DescribeTableGroupsResponse, DeleteTableGroupResponse, DescribeBackupRecordsRequest, DescribeMachineRequest, RollbackTablesRequest, DescribeUinInWhitelistRequest, CompareIdlFilesRequest, ModifyTableMemosResponse, ModifySnapshotsRequest, ImportSnapshotsRequest } from "./tcaplusdb_models";
|
|
4
4
|
/**
|
|
5
5
|
* tcaplusdb client
|
|
6
6
|
* @class
|
|
@@ -43,6 +43,10 @@ export declare class Client extends AbstractClient {
|
|
|
43
43
|
* 查询回收站中的表详情
|
|
44
44
|
*/
|
|
45
45
|
DescribeTablesInRecycle(req: DescribeTablesInRecycleRequest, cb?: (error: string, rep: DescribeTablesInRecycleResponse) => void): Promise<DescribeTablesInRecycleResponse>;
|
|
46
|
+
/**
|
|
47
|
+
* 修改指定的集群名称
|
|
48
|
+
*/
|
|
49
|
+
ModifyClusterName(req: ModifyClusterNameRequest, cb?: (error: string, rep: ModifyClusterNameResponse) => void): Promise<ModifyClusterNameResponse>;
|
|
46
50
|
/**
|
|
47
51
|
* 当restful api为关闭状态时,可以通过此接口关闭restful api
|
|
48
52
|
*/
|
|
@@ -52,9 +56,9 @@ export declare class Client extends AbstractClient {
|
|
|
52
56
|
*/
|
|
53
57
|
RollbackTables(req: RollbackTablesRequest, cb?: (error: string, rep: RollbackTablesResponse) => void): Promise<RollbackTablesResponse>;
|
|
54
58
|
/**
|
|
55
|
-
*
|
|
59
|
+
* 删除手工备份
|
|
56
60
|
*/
|
|
57
|
-
|
|
61
|
+
DeleteBackupRecords(req: DeleteBackupRecordsRequest, cb?: (error: string, rep: DeleteBackupRecordsResponse) => void): Promise<DeleteBackupRecordsResponse>;
|
|
58
62
|
/**
|
|
59
63
|
* 新增、修改表格数据订阅
|
|
60
64
|
*/
|
|
@@ -83,6 +87,10 @@ export declare class Client extends AbstractClient {
|
|
|
83
87
|
* 当restful api为关闭状态时,可以通过此接口开启restful apu
|
|
84
88
|
*/
|
|
85
89
|
EnableRestProxy(req: EnableRestProxyRequest, cb?: (error: string, rep: EnableRestProxyResponse) => void): Promise<EnableRestProxyResponse>;
|
|
90
|
+
/**
|
|
91
|
+
* 新增、删除、修改备份过期策略, ClusterId必须为具体的集群Id(appid)
|
|
92
|
+
*/
|
|
93
|
+
SetBackupExpireRule(req: SetBackupExpireRuleRequest, cb?: (error: string, rep: SetBackupExpireRuleResponse) => void): Promise<SetBackupExpireRuleResponse>;
|
|
86
94
|
/**
|
|
87
95
|
* 用户创建备份任务
|
|
88
96
|
*/
|
|
@@ -139,6 +147,14 @@ export declare class Client extends AbstractClient {
|
|
|
139
147
|
* 查询快照列表
|
|
140
148
|
*/
|
|
141
149
|
DescribeSnapshots(req: DescribeSnapshotsRequest, cb?: (error: string, rep: DescribeSnapshotsResponse) => void): Promise<DescribeSnapshotsResponse>;
|
|
150
|
+
/**
|
|
151
|
+
* 查询备份记录
|
|
152
|
+
|
|
153
|
+
查询集群级别时, 将TableGroupId设置为"-1", 将TableName设置为"-1"
|
|
154
|
+
查询集群+表格组级别时, 将TableName设置为"-1"
|
|
155
|
+
查询集群+表格组+表格级别时, 都不能设置为“-1”
|
|
156
|
+
*/
|
|
157
|
+
DescribeBackupRecords(req: DescribeBackupRecordsRequest, cb?: (error: string, rep: DescribeBackupRecordsResponse) => void): Promise<DescribeBackupRecordsResponse>;
|
|
142
158
|
/**
|
|
143
159
|
* 修改集群标签
|
|
144
160
|
*/
|
|
@@ -81,6 +81,12 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
81
81
|
async DescribeTablesInRecycle(req, cb) {
|
|
82
82
|
return this.request("DescribeTablesInRecycle", req, cb);
|
|
83
83
|
}
|
|
84
|
+
/**
|
|
85
|
+
* 修改指定的集群名称
|
|
86
|
+
*/
|
|
87
|
+
async ModifyClusterName(req, cb) {
|
|
88
|
+
return this.request("ModifyClusterName", req, cb);
|
|
89
|
+
}
|
|
84
90
|
/**
|
|
85
91
|
* 当restful api为关闭状态时,可以通过此接口关闭restful api
|
|
86
92
|
*/
|
|
@@ -94,10 +100,10 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
94
100
|
return this.request("RollbackTables", req, cb);
|
|
95
101
|
}
|
|
96
102
|
/**
|
|
97
|
-
*
|
|
103
|
+
* 删除手工备份
|
|
98
104
|
*/
|
|
99
|
-
async
|
|
100
|
-
return this.request("
|
|
105
|
+
async DeleteBackupRecords(req, cb) {
|
|
106
|
+
return this.request("DeleteBackupRecords", req, cb);
|
|
101
107
|
}
|
|
102
108
|
/**
|
|
103
109
|
* 新增、修改表格数据订阅
|
|
@@ -141,6 +147,12 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
141
147
|
async EnableRestProxy(req, cb) {
|
|
142
148
|
return this.request("EnableRestProxy", req, cb);
|
|
143
149
|
}
|
|
150
|
+
/**
|
|
151
|
+
* 新增、删除、修改备份过期策略, ClusterId必须为具体的集群Id(appid)
|
|
152
|
+
*/
|
|
153
|
+
async SetBackupExpireRule(req, cb) {
|
|
154
|
+
return this.request("SetBackupExpireRule", req, cb);
|
|
155
|
+
}
|
|
144
156
|
/**
|
|
145
157
|
* 用户创建备份任务
|
|
146
158
|
*/
|
|
@@ -225,6 +237,16 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
225
237
|
async DescribeSnapshots(req, cb) {
|
|
226
238
|
return this.request("DescribeSnapshots", req, cb);
|
|
227
239
|
}
|
|
240
|
+
/**
|
|
241
|
+
* 查询备份记录
|
|
242
|
+
|
|
243
|
+
查询集群级别时, 将TableGroupId设置为"-1", 将TableName设置为"-1"
|
|
244
|
+
查询集群+表格组级别时, 将TableName设置为"-1"
|
|
245
|
+
查询集群+表格组+表格级别时, 都不能设置为“-1”
|
|
246
|
+
*/
|
|
247
|
+
async DescribeBackupRecords(req, cb) {
|
|
248
|
+
return this.request("DescribeBackupRecords", req, cb);
|
|
249
|
+
}
|
|
228
250
|
/**
|
|
229
251
|
* 修改集群标签
|
|
230
252
|
*/
|