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
|
@@ -1001,7 +1001,7 @@ export interface Account {
|
|
|
1001
1001
|
*/
|
|
1002
1002
|
export interface InstanceProxySlowlogDetail {
|
|
1003
1003
|
/**
|
|
1004
|
-
*
|
|
1004
|
+
* 慢查询耗时时长。单位:毫秒。
|
|
1005
1005
|
*/
|
|
1006
1006
|
Duration: number
|
|
1007
1007
|
|
|
@@ -1011,12 +1011,12 @@ export interface InstanceProxySlowlogDetail {
|
|
|
1011
1011
|
Client: string
|
|
1012
1012
|
|
|
1013
1013
|
/**
|
|
1014
|
-
*
|
|
1014
|
+
* 慢查询的命令。
|
|
1015
1015
|
*/
|
|
1016
1016
|
Command: string
|
|
1017
1017
|
|
|
1018
1018
|
/**
|
|
1019
|
-
*
|
|
1019
|
+
* 慢查询详细命令行信息。
|
|
1020
1020
|
*/
|
|
1021
1021
|
CommandLine: string
|
|
1022
1022
|
|
|
@@ -1416,49 +1416,51 @@ export interface DescribeProjectSecurityGroupRequest {
|
|
|
1416
1416
|
*/
|
|
1417
1417
|
export interface ParameterDetail {
|
|
1418
1418
|
/**
|
|
1419
|
-
*
|
|
1419
|
+
* 参数名称。
|
|
1420
1420
|
*/
|
|
1421
1421
|
Name: string
|
|
1422
1422
|
|
|
1423
1423
|
/**
|
|
1424
|
-
*
|
|
1424
|
+
* 参数类型。
|
|
1425
1425
|
*/
|
|
1426
1426
|
ParamType: string
|
|
1427
1427
|
|
|
1428
1428
|
/**
|
|
1429
|
-
*
|
|
1429
|
+
* 参数默认值。
|
|
1430
1430
|
*/
|
|
1431
1431
|
Default: string
|
|
1432
1432
|
|
|
1433
1433
|
/**
|
|
1434
|
-
*
|
|
1434
|
+
* 参数描述。
|
|
1435
1435
|
*/
|
|
1436
1436
|
Description: string
|
|
1437
1437
|
|
|
1438
1438
|
/**
|
|
1439
|
-
*
|
|
1439
|
+
* 参数当前值。
|
|
1440
1440
|
*/
|
|
1441
1441
|
CurrentValue: string
|
|
1442
1442
|
|
|
1443
1443
|
/**
|
|
1444
|
-
|
|
1445
|
-
|
|
1444
|
+
* 修改参数后,是否需要重启数据库以使参数生效。
|
|
1445
|
+
- 0:不需要重启。
|
|
1446
|
+
- 1:需要重启。
|
|
1447
|
+
*/
|
|
1446
1448
|
NeedReboot: number
|
|
1447
1449
|
|
|
1448
1450
|
/**
|
|
1449
|
-
*
|
|
1451
|
+
* 参数允许的最大值。
|
|
1450
1452
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1451
1453
|
*/
|
|
1452
1454
|
Max: string
|
|
1453
1455
|
|
|
1454
1456
|
/**
|
|
1455
|
-
*
|
|
1457
|
+
* 参数允许的最小值。
|
|
1456
1458
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1457
1459
|
*/
|
|
1458
1460
|
Min: string
|
|
1459
1461
|
|
|
1460
1462
|
/**
|
|
1461
|
-
*
|
|
1463
|
+
* 参数可选枚举值。如果为非枚举参数,则为空。
|
|
1462
1464
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1463
1465
|
*/
|
|
1464
1466
|
EnumValue: Array<string>
|
|
@@ -1827,73 +1829,82 @@ export interface ModifyInstanceResponse {
|
|
|
1827
1829
|
*/
|
|
1828
1830
|
export interface RedisCommonInstanceList {
|
|
1829
1831
|
/**
|
|
1830
|
-
*
|
|
1832
|
+
* 实例名称。
|
|
1831
1833
|
*/
|
|
1832
1834
|
InstanceName: string
|
|
1833
1835
|
|
|
1834
1836
|
/**
|
|
1835
|
-
* 实例
|
|
1837
|
+
* 实例 ID。
|
|
1836
1838
|
*/
|
|
1837
1839
|
InstanceId: string
|
|
1838
1840
|
|
|
1839
1841
|
/**
|
|
1840
|
-
* 用户
|
|
1842
|
+
* 用户APPID。APPID是与账号ID有唯一对应关系的应用 ID,部分腾讯云产品会使用此 APPID。
|
|
1841
1843
|
*/
|
|
1842
1844
|
AppId: number
|
|
1843
1845
|
|
|
1844
1846
|
/**
|
|
1845
|
-
* 实例所属项目
|
|
1847
|
+
* 实例所属项目 ID。
|
|
1846
1848
|
*/
|
|
1847
1849
|
ProjectId: number
|
|
1848
1850
|
|
|
1849
1851
|
/**
|
|
1850
|
-
*
|
|
1852
|
+
* 实例接入区域。
|
|
1851
1853
|
*/
|
|
1852
1854
|
Region: string
|
|
1853
1855
|
|
|
1854
1856
|
/**
|
|
1855
|
-
*
|
|
1857
|
+
* 实例接入可用区。
|
|
1856
1858
|
*/
|
|
1857
1859
|
Zone: string
|
|
1858
1860
|
|
|
1859
1861
|
/**
|
|
1860
|
-
*
|
|
1862
|
+
* 实例私有网络 ID。
|
|
1861
1863
|
*/
|
|
1862
1864
|
VpcId: string
|
|
1863
1865
|
|
|
1864
1866
|
/**
|
|
1865
|
-
*
|
|
1867
|
+
* 私有网络所属子网 ID。
|
|
1866
1868
|
*/
|
|
1867
1869
|
SubnetId: string
|
|
1868
1870
|
|
|
1869
1871
|
/**
|
|
1870
|
-
|
|
1871
|
-
|
|
1872
|
+
* 实例状态信息。
|
|
1873
|
+
- 1-流程中。
|
|
1874
|
+
- 2-运行中。
|
|
1875
|
+
- -2-实例已隔离。
|
|
1876
|
+
- -3-实例待回收。
|
|
1877
|
+
- -4-实例已删除。
|
|
1878
|
+
*/
|
|
1872
1879
|
Status: string
|
|
1873
1880
|
|
|
1874
1881
|
/**
|
|
1875
|
-
*
|
|
1882
|
+
* 实例私有网络 IP 地址。
|
|
1876
1883
|
*/
|
|
1877
1884
|
Vips: Array<string>
|
|
1878
1885
|
|
|
1879
1886
|
/**
|
|
1880
|
-
*
|
|
1887
|
+
* 实例网络端口。
|
|
1881
1888
|
*/
|
|
1882
1889
|
Vport: number
|
|
1883
1890
|
|
|
1884
1891
|
/**
|
|
1885
|
-
*
|
|
1892
|
+
* 实例创建时间。
|
|
1886
1893
|
*/
|
|
1887
1894
|
Createtime: string
|
|
1888
1895
|
|
|
1889
1896
|
/**
|
|
1890
|
-
|
|
1891
|
-
|
|
1897
|
+
* 计费类型。
|
|
1898
|
+
- 0:按量计费。
|
|
1899
|
+
- 1:包年包月。
|
|
1900
|
+
*/
|
|
1892
1901
|
PayMode: number
|
|
1893
1902
|
|
|
1894
1903
|
/**
|
|
1895
|
-
|
|
1896
|
-
|
|
1904
|
+
* 网络类型。
|
|
1905
|
+
- 0:基础网络。
|
|
1906
|
+
- 1:VPC 网络。
|
|
1907
|
+
*/
|
|
1897
1908
|
NetType: number
|
|
1898
1909
|
}
|
|
1899
1910
|
|
|
@@ -2082,7 +2093,7 @@ export interface ModifyMaintenanceWindowRequest {
|
|
|
2082
2093
|
*/
|
|
2083
2094
|
export interface DescribeParamTemplateInfoRequest {
|
|
2084
2095
|
/**
|
|
2085
|
-
*
|
|
2096
|
+
* 指定查询的参数模板 ID。请通过接口[DescribeParamTemplates](https://cloud.tencent.com/document/product/239/58750)获取参数模板列表信息。
|
|
2086
2097
|
*/
|
|
2087
2098
|
TemplateId: string
|
|
2088
2099
|
}
|
|
@@ -2520,23 +2531,33 @@ export interface CloneInstancesResponse {
|
|
|
2520
2531
|
*/
|
|
2521
2532
|
export interface ParamTemplateInfo {
|
|
2522
2533
|
/**
|
|
2523
|
-
* 参数模板ID
|
|
2534
|
+
* 参数模板 ID。
|
|
2524
2535
|
*/
|
|
2525
2536
|
TemplateId: string
|
|
2526
2537
|
|
|
2527
2538
|
/**
|
|
2528
|
-
*
|
|
2539
|
+
* 参数模板名称。
|
|
2529
2540
|
*/
|
|
2530
2541
|
Name: string
|
|
2531
2542
|
|
|
2532
2543
|
/**
|
|
2533
|
-
*
|
|
2544
|
+
* 参数模板描述。
|
|
2534
2545
|
*/
|
|
2535
2546
|
Description: string
|
|
2536
2547
|
|
|
2537
2548
|
/**
|
|
2538
|
-
|
|
2539
|
-
|
|
2549
|
+
* 实例类型。
|
|
2550
|
+
- 2:Redis 2.8内存版(标准架构)。
|
|
2551
|
+
- 3:CKV 3.2内存版(标准架构)。
|
|
2552
|
+
- 4:CKV 3.2内存版(集群架构)。
|
|
2553
|
+
- 5:Redis 2.8内存版(单机)。
|
|
2554
|
+
- 6:Redis 4.0内存版(标准架构)。
|
|
2555
|
+
- 7:Redis 4.0内存版(集群架构)。
|
|
2556
|
+
- 8:Redis 5.0内存版(标准架构)。
|
|
2557
|
+
- 9:Redis 5.0内存版(集群架构)。
|
|
2558
|
+
- 15:Redis 6.2内存版(标准架构)。
|
|
2559
|
+
- 16:Redis 6.2内存版(集群架构)。
|
|
2560
|
+
*/
|
|
2540
2561
|
ProductType: number
|
|
2541
2562
|
}
|
|
2542
2563
|
|
|
@@ -3022,27 +3043,30 @@ export interface DescribeInstanceSecurityGroupRequest {
|
|
|
3022
3043
|
*/
|
|
3023
3044
|
export interface InstanceParamHistory {
|
|
3024
3045
|
/**
|
|
3025
|
-
*
|
|
3046
|
+
* 参数名称。
|
|
3026
3047
|
*/
|
|
3027
3048
|
ParamName: string
|
|
3028
3049
|
|
|
3029
3050
|
/**
|
|
3030
|
-
*
|
|
3051
|
+
* 参数修改之前的值。
|
|
3031
3052
|
*/
|
|
3032
3053
|
PreValue: string
|
|
3033
3054
|
|
|
3034
3055
|
/**
|
|
3035
|
-
*
|
|
3056
|
+
* 参数修改之后的值。
|
|
3036
3057
|
*/
|
|
3037
3058
|
NewValue: string
|
|
3038
3059
|
|
|
3039
3060
|
/**
|
|
3040
|
-
|
|
3041
|
-
|
|
3061
|
+
* 参数配置状态。
|
|
3062
|
+
- 1:参数配置修改中。
|
|
3063
|
+
- 2:参数配置修改成功。
|
|
3064
|
+
- 3:参数配置修改失败。
|
|
3065
|
+
*/
|
|
3042
3066
|
Status: number
|
|
3043
3067
|
|
|
3044
3068
|
/**
|
|
3045
|
-
*
|
|
3069
|
+
* 修改时间。
|
|
3046
3070
|
*/
|
|
3047
3071
|
ModifyTime: string
|
|
3048
3072
|
}
|
|
@@ -3470,68 +3494,84 @@ export interface ReleaseWanAddressResponse {
|
|
|
3470
3494
|
*/
|
|
3471
3495
|
export interface ProductConf {
|
|
3472
3496
|
/**
|
|
3473
|
-
|
|
3474
|
-
|
|
3497
|
+
* 产品类型。
|
|
3498
|
+
- 2:Redis 2.8内存版(标准架构)。
|
|
3499
|
+
- 3:CKV 3.2内存版(标准架构)。
|
|
3500
|
+
- 4:CKV 3.2内存版(集群架构)。
|
|
3501
|
+
- 5:Redis 2.8内存版(单机)。
|
|
3502
|
+
- 6:Redis 4.0内存版(标准架构)。
|
|
3503
|
+
- 7:Redis 4.0内存版(集群架构)。
|
|
3504
|
+
- 8:Redis 5.0内存版(标准架构)。
|
|
3505
|
+
- 9:Redis 5.0内存版(集群架构)。
|
|
3506
|
+
- 15:Redis 6.2内存版(标准架构)。
|
|
3507
|
+
- 16:Redis 6.2内存版(集群架构)。
|
|
3508
|
+
*/
|
|
3475
3509
|
Type: number
|
|
3476
3510
|
|
|
3477
3511
|
/**
|
|
3478
|
-
*
|
|
3512
|
+
* 产品名称。包括:Redis 主从版、CKV 主从版、CKV 集群版、Redis 单机版、Redis 集群版。
|
|
3479
3513
|
*/
|
|
3480
3514
|
TypeName: string
|
|
3481
3515
|
|
|
3482
3516
|
/**
|
|
3483
|
-
*
|
|
3517
|
+
* 购买时的最小数量。
|
|
3484
3518
|
*/
|
|
3485
3519
|
MinBuyNum: number
|
|
3486
3520
|
|
|
3487
3521
|
/**
|
|
3488
|
-
*
|
|
3522
|
+
* 购买时的最大数量。
|
|
3489
3523
|
*/
|
|
3490
3524
|
MaxBuyNum: number
|
|
3491
3525
|
|
|
3492
3526
|
/**
|
|
3493
|
-
|
|
3494
|
-
|
|
3527
|
+
* 产品是否售罄。
|
|
3528
|
+
- true:售罄。
|
|
3529
|
+
- false:未售罄。
|
|
3530
|
+
*/
|
|
3495
3531
|
Saleout: boolean
|
|
3496
3532
|
|
|
3497
3533
|
/**
|
|
3498
|
-
*
|
|
3534
|
+
* 产品引擎。包括:腾讯云 CKV与社区版 Redis。
|
|
3499
3535
|
*/
|
|
3500
3536
|
Engine: string
|
|
3501
3537
|
|
|
3502
3538
|
/**
|
|
3503
|
-
*
|
|
3539
|
+
* 兼容版本。包括:Redis-2.8、Redis-3.2、Redis-4.0、Redis-5.0、Redis-6.2。
|
|
3504
3540
|
*/
|
|
3505
3541
|
Version: string
|
|
3506
3542
|
|
|
3507
3543
|
/**
|
|
3508
|
-
* 规格总大小,单位
|
|
3544
|
+
* 规格总大小,单位GB。
|
|
3509
3545
|
*/
|
|
3510
3546
|
TotalSize: Array<string>
|
|
3511
3547
|
|
|
3512
3548
|
/**
|
|
3513
|
-
* 每个分片大小,单位
|
|
3549
|
+
* 每个分片大小,单位GB。
|
|
3514
3550
|
*/
|
|
3515
3551
|
ShardSize: Array<string>
|
|
3516
3552
|
|
|
3517
3553
|
/**
|
|
3518
|
-
*
|
|
3554
|
+
* 副本数量。
|
|
3519
3555
|
*/
|
|
3520
3556
|
ReplicaNum: Array<string>
|
|
3521
3557
|
|
|
3522
3558
|
/**
|
|
3523
|
-
*
|
|
3559
|
+
* 分片数量。
|
|
3524
3560
|
*/
|
|
3525
3561
|
ShardNum: Array<string>
|
|
3526
3562
|
|
|
3527
3563
|
/**
|
|
3528
|
-
|
|
3529
|
-
|
|
3564
|
+
* 支持的计费模式。
|
|
3565
|
+
- 1:包年包月。
|
|
3566
|
+
- 0:按量计费。
|
|
3567
|
+
*/
|
|
3530
3568
|
PayMode: string
|
|
3531
3569
|
|
|
3532
3570
|
/**
|
|
3533
|
-
|
|
3534
|
-
|
|
3571
|
+
* 是否支持副本只读。
|
|
3572
|
+
- true:支持副本只读。
|
|
3573
|
+
- false:不支持。
|
|
3574
|
+
*/
|
|
3535
3575
|
EnableRepicaReadOnly: boolean
|
|
3536
3576
|
}
|
|
3537
3577
|
|
|
@@ -3750,12 +3790,12 @@ export interface TradeDealDetail {
|
|
|
3750
3790
|
*/
|
|
3751
3791
|
export interface ResourceTag {
|
|
3752
3792
|
/**
|
|
3753
|
-
* 标签
|
|
3793
|
+
* 标签Key。
|
|
3754
3794
|
*/
|
|
3755
3795
|
TagKey: string
|
|
3756
3796
|
|
|
3757
3797
|
/**
|
|
3758
|
-
* 标签
|
|
3798
|
+
* 标签 Key 对应的 Value。
|
|
3759
3799
|
*/
|
|
3760
3800
|
TagValue: string
|
|
3761
3801
|
}
|
|
@@ -3895,7 +3935,7 @@ export interface DescribeInstanceDealDetailResponse {
|
|
|
3895
3935
|
*/
|
|
3896
3936
|
export interface Groups {
|
|
3897
3937
|
/**
|
|
3898
|
-
* 用户
|
|
3938
|
+
* 用户 APPID。APPID是与账号ID有唯一对应关系的应用 ID,部分腾讯云产品会使用此 APPID。
|
|
3899
3939
|
*/
|
|
3900
3940
|
AppId: number
|
|
3901
3941
|
|
|
@@ -3923,7 +3963,7 @@ export interface Groups {
|
|
|
3923
3963
|
RegionId: number
|
|
3924
3964
|
|
|
3925
3965
|
/**
|
|
3926
|
-
* 复制组 ID
|
|
3966
|
+
* 复制组 ID。格式如:crs-rpl-deind****。
|
|
3927
3967
|
*/
|
|
3928
3968
|
GroupId: string
|
|
3929
3969
|
|
|
@@ -4486,8 +4526,18 @@ export interface InstanceSet {
|
|
|
4486
4526
|
SizeUsed: number
|
|
4487
4527
|
|
|
4488
4528
|
/**
|
|
4489
|
-
|
|
4490
|
-
|
|
4529
|
+
* 实例类型。
|
|
4530
|
+
- 2:Redis 2.8内存版(标准架构)。
|
|
4531
|
+
- 3:CKV 3.2内存版(标准架构)。
|
|
4532
|
+
- 4:CKV 3.2内存版(集群架构)。
|
|
4533
|
+
- 5:Redis 2.8内存版(单机)。
|
|
4534
|
+
- 6:Redis 4.0内存版(标准架构)。
|
|
4535
|
+
- 7:Redis 4.0内存版(集群架构)。
|
|
4536
|
+
- 8:Redis 5.0内存版(标准架构)。
|
|
4537
|
+
- 9:Redis 5.0内存版(集群架构)。
|
|
4538
|
+
- 15:Redis 6.2内存版(标准架构)。
|
|
4539
|
+
- 16:Redis 6.2内存版(集群架构)。
|
|
4540
|
+
*/
|
|
4491
4541
|
Type: number
|
|
4492
4542
|
|
|
4493
4543
|
/**
|
|
@@ -5327,34 +5377,44 @@ export type DescribeBackupDownloadRestrictionRequest = null
|
|
|
5327
5377
|
*/
|
|
5328
5378
|
export interface DescribeParamTemplateInfoResponse {
|
|
5329
5379
|
/**
|
|
5330
|
-
*
|
|
5380
|
+
* 参数模板的参数数量。
|
|
5331
5381
|
*/
|
|
5332
|
-
TotalCount
|
|
5382
|
+
TotalCount?: number
|
|
5333
5383
|
|
|
5334
5384
|
/**
|
|
5335
5385
|
* 参数模板 ID。
|
|
5336
5386
|
*/
|
|
5337
|
-
TemplateId
|
|
5387
|
+
TemplateId?: string
|
|
5338
5388
|
|
|
5339
5389
|
/**
|
|
5340
5390
|
* 参数模板名称。
|
|
5341
5391
|
*/
|
|
5342
|
-
Name
|
|
5392
|
+
Name?: string
|
|
5343
5393
|
|
|
5344
5394
|
/**
|
|
5345
|
-
|
|
5346
|
-
|
|
5347
|
-
|
|
5395
|
+
* 产品类型。
|
|
5396
|
+
- 2:Redis 2.8内存版(标准架构)。
|
|
5397
|
+
- 3:CKV 3.2内存版(标准架构)。
|
|
5398
|
+
- 4:CKV 3.2内存版(集群架构)。
|
|
5399
|
+
- 5:Redis 2.8内存版(单机)。
|
|
5400
|
+
- 6:Redis 4.0内存版(标准架构)。
|
|
5401
|
+
- 7:Redis 4.0内存版(集群架构)。
|
|
5402
|
+
- 8:Redis 5.0内存版(标准架构)。
|
|
5403
|
+
- 9:Redis 5.0内存版(集群架构)。
|
|
5404
|
+
- 15:Redis 6.2内存版(标准架构)。
|
|
5405
|
+
- 16:Redis 6.2内存版(集群架构)。
|
|
5406
|
+
*/
|
|
5407
|
+
ProductType?: number
|
|
5348
5408
|
|
|
5349
5409
|
/**
|
|
5350
|
-
*
|
|
5410
|
+
* 参数模板描述。
|
|
5351
5411
|
*/
|
|
5352
|
-
Description
|
|
5412
|
+
Description?: string
|
|
5353
5413
|
|
|
5354
5414
|
/**
|
|
5355
|
-
*
|
|
5415
|
+
* 参数详情。包含:参数的名称,当前运行值,默认值,最大值、最小值、枚举值等信息。
|
|
5356
5416
|
*/
|
|
5357
|
-
Items
|
|
5417
|
+
Items?: Array<ParameterDetail>
|
|
5358
5418
|
|
|
5359
5419
|
/**
|
|
5360
5420
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -5398,16 +5458,16 @@ export interface SwitchInstanceVipResponse {
|
|
|
5398
5458
|
}
|
|
5399
5459
|
|
|
5400
5460
|
/**
|
|
5401
|
-
*
|
|
5461
|
+
* 已配置的备份文件下载地址对应的 VPC 信息。
|
|
5402
5462
|
*/
|
|
5403
5463
|
export interface BackupLimitVpcItem {
|
|
5404
5464
|
/**
|
|
5405
|
-
*
|
|
5465
|
+
* 备份文件的下载地址对应VPC 所属的地域。
|
|
5406
5466
|
*/
|
|
5407
5467
|
Region: string
|
|
5408
5468
|
|
|
5409
5469
|
/**
|
|
5410
|
-
*
|
|
5470
|
+
* 备份文件下载地址的 VPC 列表。
|
|
5411
5471
|
*/
|
|
5412
5472
|
VpcList: Array<string>
|
|
5413
5473
|
}
|
|
@@ -5932,7 +5992,7 @@ export interface DescribeProjectSecurityGroupResponse {
|
|
|
5932
5992
|
*/
|
|
5933
5993
|
export interface Instances {
|
|
5934
5994
|
/**
|
|
5935
|
-
* 用户
|
|
5995
|
+
* 用户APPID。APPID是与账号ID有唯一对应关系的应用 ID,部分腾讯云产品会使用此 APPID。
|
|
5936
5996
|
*/
|
|
5937
5997
|
AppId: number
|
|
5938
5998
|
|
|
@@ -6019,8 +6079,18 @@ export interface Instances {
|
|
|
6019
6079
|
GrocerySysId: number
|
|
6020
6080
|
|
|
6021
6081
|
/**
|
|
6022
|
-
|
|
6023
|
-
|
|
6082
|
+
* 实例类型。
|
|
6083
|
+
- 2:Redis 2.8内存版(标准架构)。
|
|
6084
|
+
- 3:CKV 3.2内存版(标准架构)。
|
|
6085
|
+
- 4:CKV 3.2内存版(集群架构)。
|
|
6086
|
+
- 5:Redis 2.8内存版(单机)。
|
|
6087
|
+
- 6:Redis 4.0内存版(标准架构)。
|
|
6088
|
+
- 7:Redis 4.0内存版(集群架构)。
|
|
6089
|
+
- 8:Redis 5.0内存版(标准架构)。
|
|
6090
|
+
- 9:Redis 5.0内存版(集群架构)。
|
|
6091
|
+
- 15:Redis 6.2内存版(标准架构)。
|
|
6092
|
+
- 16:Redis 6.2内存版(集群架构)。
|
|
6093
|
+
*/
|
|
6024
6094
|
ProductType: number
|
|
6025
6095
|
|
|
6026
6096
|
/**
|
|
@@ -27,6 +27,7 @@ import {
|
|
|
27
27
|
DeleteClusterResponse,
|
|
28
28
|
DeleteTableIndexResponse,
|
|
29
29
|
TableRollbackResultNew,
|
|
30
|
+
DescribeBackupRecordsResponse,
|
|
30
31
|
ApplyStatus,
|
|
31
32
|
RegionInfo,
|
|
32
33
|
DescribeTablesResponse,
|
|
@@ -76,11 +77,13 @@ import {
|
|
|
76
77
|
SetTableIndexRequest,
|
|
77
78
|
ModifyTableQuotasResponse,
|
|
78
79
|
RecoverRecycleTablesRequest,
|
|
80
|
+
ModifyClusterMachineRequest,
|
|
79
81
|
DeleteSnapshotsResponse,
|
|
80
82
|
DeleteTablesResponse,
|
|
81
83
|
ModifyTableGroupNameRequest,
|
|
84
|
+
BackupExpireRuleInfo,
|
|
82
85
|
DescribeTableGroupsRequest,
|
|
83
|
-
|
|
86
|
+
ModifyCensorshipResponse,
|
|
84
87
|
MergeTablesDataRequest,
|
|
85
88
|
CreateClusterRequest,
|
|
86
89
|
ModifyTableGroupTagsRequest,
|
|
@@ -99,6 +102,8 @@ import {
|
|
|
99
102
|
DescribeIdlFileInfosResponse,
|
|
100
103
|
ServerMachineInfo,
|
|
101
104
|
CreateSnapshotsResponse,
|
|
105
|
+
SetBackupExpireRuleRequest,
|
|
106
|
+
DeleteBackupRecordsResponse,
|
|
102
107
|
IdlFileInfo,
|
|
103
108
|
DisableRestProxyResponse,
|
|
104
109
|
TagInfoUnit,
|
|
@@ -115,6 +120,8 @@ import {
|
|
|
115
120
|
DescribeTableTagsResponse,
|
|
116
121
|
CreateTableGroupResponse,
|
|
117
122
|
DescribeSnapshotsResponse,
|
|
123
|
+
SetBackupExpireRuleResponse,
|
|
124
|
+
DeleteBackupRecordsRequest,
|
|
118
125
|
VerifyIdlFilesRequest,
|
|
119
126
|
EnableRestProxyResponse,
|
|
120
127
|
ModifyClusterNameResponse,
|
|
@@ -141,15 +148,16 @@ import {
|
|
|
141
148
|
DescribeApplicationsRequest,
|
|
142
149
|
DescribeTableGroupsResponse,
|
|
143
150
|
DeleteTableGroupResponse,
|
|
151
|
+
DescribeBackupRecordsRequest,
|
|
144
152
|
PoolInfo,
|
|
145
153
|
DescribeMachineRequest,
|
|
146
154
|
RollbackTablesRequest,
|
|
147
|
-
|
|
155
|
+
DescribeUinInWhitelistRequest,
|
|
148
156
|
CompareIdlFilesRequest,
|
|
149
157
|
ProxyDetailInfo,
|
|
150
158
|
IdlFileInfoWithoutContent,
|
|
151
159
|
ModifyTableMemosResponse,
|
|
152
|
-
|
|
160
|
+
BackupRecords,
|
|
153
161
|
Filter,
|
|
154
162
|
ModifySnapshotsRequest,
|
|
155
163
|
ImportSnapshotsRequest,
|
|
@@ -257,6 +265,16 @@ export class Client extends AbstractClient {
|
|
|
257
265
|
return this.request("DescribeTablesInRecycle", req, cb)
|
|
258
266
|
}
|
|
259
267
|
|
|
268
|
+
/**
|
|
269
|
+
* 修改指定的集群名称
|
|
270
|
+
*/
|
|
271
|
+
async ModifyClusterName(
|
|
272
|
+
req: ModifyClusterNameRequest,
|
|
273
|
+
cb?: (error: string, rep: ModifyClusterNameResponse) => void
|
|
274
|
+
): Promise<ModifyClusterNameResponse> {
|
|
275
|
+
return this.request("ModifyClusterName", req, cb)
|
|
276
|
+
}
|
|
277
|
+
|
|
260
278
|
/**
|
|
261
279
|
* 当restful api为关闭状态时,可以通过此接口关闭restful api
|
|
262
280
|
*/
|
|
@@ -278,13 +296,13 @@ export class Client extends AbstractClient {
|
|
|
278
296
|
}
|
|
279
297
|
|
|
280
298
|
/**
|
|
281
|
-
*
|
|
299
|
+
* 删除手工备份
|
|
282
300
|
*/
|
|
283
|
-
async
|
|
284
|
-
req:
|
|
285
|
-
cb?: (error: string, rep:
|
|
286
|
-
): Promise<
|
|
287
|
-
return this.request("
|
|
301
|
+
async DeleteBackupRecords(
|
|
302
|
+
req: DeleteBackupRecordsRequest,
|
|
303
|
+
cb?: (error: string, rep: DeleteBackupRecordsResponse) => void
|
|
304
|
+
): Promise<DeleteBackupRecordsResponse> {
|
|
305
|
+
return this.request("DeleteBackupRecords", req, cb)
|
|
288
306
|
}
|
|
289
307
|
|
|
290
308
|
/**
|
|
@@ -357,6 +375,16 @@ export class Client extends AbstractClient {
|
|
|
357
375
|
return this.request("EnableRestProxy", req, cb)
|
|
358
376
|
}
|
|
359
377
|
|
|
378
|
+
/**
|
|
379
|
+
* 新增、删除、修改备份过期策略, ClusterId必须为具体的集群Id(appid)
|
|
380
|
+
*/
|
|
381
|
+
async SetBackupExpireRule(
|
|
382
|
+
req: SetBackupExpireRuleRequest,
|
|
383
|
+
cb?: (error: string, rep: SetBackupExpireRuleResponse) => void
|
|
384
|
+
): Promise<SetBackupExpireRuleResponse> {
|
|
385
|
+
return this.request("SetBackupExpireRule", req, cb)
|
|
386
|
+
}
|
|
387
|
+
|
|
360
388
|
/**
|
|
361
389
|
* 用户创建备份任务
|
|
362
390
|
*/
|
|
@@ -497,6 +525,20 @@ export class Client extends AbstractClient {
|
|
|
497
525
|
return this.request("DescribeSnapshots", req, cb)
|
|
498
526
|
}
|
|
499
527
|
|
|
528
|
+
/**
|
|
529
|
+
* 查询备份记录
|
|
530
|
+
|
|
531
|
+
查询集群级别时, 将TableGroupId设置为"-1", 将TableName设置为"-1"
|
|
532
|
+
查询集群+表格组级别时, 将TableName设置为"-1"
|
|
533
|
+
查询集群+表格组+表格级别时, 都不能设置为“-1”
|
|
534
|
+
*/
|
|
535
|
+
async DescribeBackupRecords(
|
|
536
|
+
req: DescribeBackupRecordsRequest,
|
|
537
|
+
cb?: (error: string, rep: DescribeBackupRecordsResponse) => void
|
|
538
|
+
): Promise<DescribeBackupRecordsResponse> {
|
|
539
|
+
return this.request("DescribeBackupRecords", req, cb)
|
|
540
|
+
}
|
|
541
|
+
|
|
500
542
|
/**
|
|
501
543
|
* 修改集群标签
|
|
502
544
|
*/
|