tencentcloud-sdk-nodejs 4.0.790 → 4.0.792
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 +442 -0
- package/SERVICE_CHANGELOG.md +390 -378
- package/package.json +1 -1
- package/products.md +15 -15
- package/src/common/sdk_version.ts +1 -1
- package/src/services/apigateway/v20180808/apigateway_models.ts +9 -4
- package/src/services/as/v20180419/as_models.ts +38 -38
- package/src/services/bi/v20220105/bi_client.ts +1 -0
- package/src/services/bi/v20220105/bi_models.ts +226 -16
- package/src/services/cls/v20201016/cls_client.ts +70 -21
- package/src/services/cls/v20201016/cls_models.ts +360 -145
- package/src/services/csip/v20221121/csip_client.ts +1 -0
- package/src/services/csip/v20221121/csip_models.ts +26 -0
- package/src/services/cwp/v20180228/cwp_client.ts +4 -2
- package/src/services/ess/v20201111/ess_client.ts +32 -1
- package/src/services/ess/v20201111/ess_models.ts +12 -0
- package/src/services/essbasic/v20210526/essbasic_client.ts +35 -4
- package/src/services/essbasic/v20210526/essbasic_models.ts +18 -0
- package/src/services/iotcloud/v20210408/iotcloud_client.ts +12 -0
- package/src/services/iotcloud/v20210408/iotcloud_models.ts +43 -3
- package/src/services/lcic/v20220817/lcic_models.ts +8 -0
- package/src/services/rum/v20210622/rum_client.ts +0 -12
- package/src/services/rum/v20210622/rum_models.ts +0 -108
- package/src/services/trro/v20220325/trro_models.ts +13 -0
- package/src/services/tse/v20201207/tse_client.ts +2 -1
- package/src/services/tse/v20201207/tse_models.ts +45 -15
- package/src/services/weilingwith/v20230427/weilingwith_models.ts +20 -2
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/apigateway/v20180808/apigateway_models.d.ts +9 -4
- package/tencentcloud/services/as/v20180419/as_models.d.ts +38 -38
- package/tencentcloud/services/bi/v20220105/bi_models.d.ts +225 -16
- package/tencentcloud/services/cls/v20201016/cls_client.d.ts +23 -7
- package/tencentcloud/services/cls/v20201016/cls_client.js +33 -9
- package/tencentcloud/services/cls/v20201016/cls_models.d.ts +351 -145
- package/tencentcloud/services/csip/v20221121/csip_models.d.ts +25 -0
- package/tencentcloud/services/cwp/v20180228/cwp_client.d.ts +3 -1
- package/tencentcloud/services/cwp/v20180228/cwp_client.js +3 -1
- package/tencentcloud/services/ess/v20201111/ess_client.d.ts +32 -1
- package/tencentcloud/services/ess/v20201111/ess_client.js +32 -1
- package/tencentcloud/services/ess/v20201111/ess_models.d.ts +12 -0
- package/tencentcloud/services/essbasic/v20210526/essbasic_client.d.ts +35 -4
- package/tencentcloud/services/essbasic/v20210526/essbasic_client.js +35 -4
- package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +18 -0
- package/tencentcloud/services/iotcloud/v20210408/iotcloud_client.d.ts +5 -1
- package/tencentcloud/services/iotcloud/v20210408/iotcloud_client.js +6 -0
- package/tencentcloud/services/iotcloud/v20210408/iotcloud_models.d.ts +41 -3
- package/tencentcloud/services/lcic/v20220817/lcic_models.d.ts +8 -0
- package/tencentcloud/services/rum/v20210622/rum_client.d.ts +1 -5
- package/tencentcloud/services/rum/v20210622/rum_client.js +0 -6
- package/tencentcloud/services/rum/v20210622/rum_models.d.ts +0 -106
- package/tencentcloud/services/trro/v20220325/trro_models.d.ts +13 -0
- package/tencentcloud/services/tse/v20201207/tse_client.d.ts +1 -1
- package/tencentcloud/services/tse/v20201207/tse_models.d.ts +44 -15
- package/tencentcloud/services/weilingwith/v20230427/weilingwith_models.d.ts +20 -2
- package/test/cls.v20201016.test.js +52 -12
- package/test/iotcloud.v20210408.test.js +10 -0
- package/test/rum.v20210622.test.js +0 -10
|
@@ -218,6 +218,7 @@ export interface CloudNativeAPIGatewayStrategyCronScalerConfig {
|
|
|
218
218
|
/**
|
|
219
219
|
* 是否开启定时伸缩
|
|
220
220
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
221
|
+
* @deprecated
|
|
221
222
|
*/
|
|
222
223
|
Enabled?: boolean;
|
|
223
224
|
/**
|
|
@@ -726,21 +727,24 @@ export interface GatewayInstanceSchemeAndPorts {
|
|
|
726
727
|
PortList?: Array<number | bigint>;
|
|
727
728
|
}
|
|
728
729
|
/**
|
|
729
|
-
*
|
|
730
|
+
* 创建kong客户端公网结果
|
|
730
731
|
*/
|
|
731
|
-
export interface
|
|
732
|
+
export interface CreatePublicNetworkResult {
|
|
732
733
|
/**
|
|
733
|
-
*
|
|
734
|
+
* 网关实例ID
|
|
735
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
734
736
|
*/
|
|
735
|
-
|
|
737
|
+
GatewayId?: string;
|
|
736
738
|
/**
|
|
737
|
-
*
|
|
739
|
+
* 分组ID
|
|
740
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
738
741
|
*/
|
|
739
|
-
|
|
742
|
+
GroupId?: string;
|
|
740
743
|
/**
|
|
741
|
-
*
|
|
744
|
+
* 客户端公网网络ID
|
|
745
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
742
746
|
*/
|
|
743
|
-
|
|
747
|
+
NetworkId?: string;
|
|
744
748
|
}
|
|
745
749
|
/**
|
|
746
750
|
* 云原生网关健康检查配置
|
|
@@ -1456,6 +1460,23 @@ export interface DescribeZookeeperReplicasRequest {
|
|
|
1456
1460
|
*/
|
|
1457
1461
|
Offset?: number;
|
|
1458
1462
|
}
|
|
1463
|
+
/**
|
|
1464
|
+
* DescribeZookeeperServerInterfaces请求参数结构体
|
|
1465
|
+
*/
|
|
1466
|
+
export interface DescribeZookeeperServerInterfacesRequest {
|
|
1467
|
+
/**
|
|
1468
|
+
* 实例id
|
|
1469
|
+
*/
|
|
1470
|
+
InstanceId?: string;
|
|
1471
|
+
/**
|
|
1472
|
+
* 返回的列表个数
|
|
1473
|
+
*/
|
|
1474
|
+
Limit?: number;
|
|
1475
|
+
/**
|
|
1476
|
+
* 返回的列表起始偏移量
|
|
1477
|
+
*/
|
|
1478
|
+
Offset?: number;
|
|
1479
|
+
}
|
|
1459
1480
|
/**
|
|
1460
1481
|
* UpdateUpstreamTargets请求参数结构体
|
|
1461
1482
|
*/
|
|
@@ -2182,7 +2203,7 @@ export interface DescribeCloudNativeAPIGatewaysRequest {
|
|
|
2182
2203
|
*/
|
|
2183
2204
|
export interface AutoScalerPolicy {
|
|
2184
2205
|
/**
|
|
2185
|
-
* 类型,Pods
|
|
2206
|
+
* 类型,Pods
|
|
2186
2207
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
2187
2208
|
*/
|
|
2188
2209
|
Type?: string;
|
|
@@ -2677,6 +2698,11 @@ export interface DeleteEngineRequest {
|
|
|
2677
2698
|
* CreateCloudNativeAPIGatewayPublicNetwork返回参数结构体
|
|
2678
2699
|
*/
|
|
2679
2700
|
export interface CreateCloudNativeAPIGatewayPublicNetworkResponse {
|
|
2701
|
+
/**
|
|
2702
|
+
* 返回结果
|
|
2703
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2704
|
+
*/
|
|
2705
|
+
Result?: CreatePublicNetworkResult;
|
|
2680
2706
|
/**
|
|
2681
2707
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2682
2708
|
*/
|
|
@@ -2911,16 +2937,18 @@ export interface UpdateUpstreamHealthCheckConfigRequest {
|
|
|
2911
2937
|
export interface CloudNativeAPIGatewayStrategyAutoScalerConfigMetric {
|
|
2912
2938
|
/**
|
|
2913
2939
|
* 指标类型
|
|
2914
|
-
|
|
2940
|
+
- Resource
|
|
2915
2941
|
*/
|
|
2916
2942
|
Type?: string;
|
|
2917
2943
|
/**
|
|
2918
2944
|
* 指标资源名称
|
|
2945
|
+
- cpu
|
|
2946
|
+
- memory
|
|
2919
2947
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
2920
2948
|
*/
|
|
2921
2949
|
ResourceName?: string;
|
|
2922
2950
|
/**
|
|
2923
|
-
*
|
|
2951
|
+
* 指标目标类型,目前只支持百分比Utilization
|
|
2924
2952
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
2925
2953
|
*/
|
|
2926
2954
|
TargetType?: string;
|
|
@@ -3559,12 +3587,12 @@ export interface CloudNativeAPIGatewayStrategyCronScalerConfigParam {
|
|
|
3559
3587
|
*/
|
|
3560
3588
|
StartAt?: string;
|
|
3561
3589
|
/**
|
|
3562
|
-
*
|
|
3590
|
+
* 定时伸缩目标节点数,不超过指标伸缩中定义的最大节点数
|
|
3563
3591
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
3564
3592
|
*/
|
|
3565
3593
|
TargetReplicas?: number;
|
|
3566
3594
|
/**
|
|
3567
|
-
* 定时伸缩cron
|
|
3595
|
+
* 定时伸缩cron表达式,无需输入
|
|
3568
3596
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
3569
3597
|
*/
|
|
3570
3598
|
Crontab?: string;
|
|
@@ -3788,6 +3816,7 @@ export interface CloudNativeAPIGatewayStrategyAutoScalerConfig {
|
|
|
3788
3816
|
/**
|
|
3789
3817
|
* 是否开启指标伸缩
|
|
3790
3818
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
3819
|
+
* @deprecated
|
|
3791
3820
|
*/
|
|
3792
3821
|
Enabled?: boolean;
|
|
3793
3822
|
/**
|
|
@@ -4025,7 +4054,7 @@ export interface DescribeCloudNativeAPIGatewayCertificateDetailsRequest {
|
|
|
4025
4054
|
*/
|
|
4026
4055
|
export interface AutoScalerRules {
|
|
4027
4056
|
/**
|
|
4028
|
-
*
|
|
4057
|
+
* 稳定窗口时间,扩容时默认0,缩容时默认300
|
|
4029
4058
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
4030
4059
|
*/
|
|
4031
4060
|
StabilizationWindowSeconds?: number;
|
|
@@ -4035,7 +4064,7 @@ export interface AutoScalerRules {
|
|
|
4035
4064
|
*/
|
|
4036
4065
|
SelectPolicy?: string;
|
|
4037
4066
|
/**
|
|
4038
|
-
*
|
|
4067
|
+
* 扩缩容策略
|
|
4039
4068
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
4040
4069
|
*/
|
|
4041
4070
|
Policies?: Array<AutoScalerPolicy>;
|
|
@@ -221,7 +221,7 @@ export interface DeviceDataInfo {
|
|
|
221
221
|
*/
|
|
222
222
|
ProductName?: string;
|
|
223
223
|
/**
|
|
224
|
-
*
|
|
224
|
+
* 产品能力:信令数据、音视频。二进制数值中第0位表示信令数据、第1位表示音视频 。1(信令数据),3(具有信令数据以及音视频能力)。
|
|
225
225
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
226
226
|
*/
|
|
227
227
|
ProductAbility?: number;
|
|
@@ -290,6 +290,16 @@ export interface DeviceDataInfo {
|
|
|
290
290
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
291
291
|
*/
|
|
292
292
|
GroupInfo?: string;
|
|
293
|
+
/**
|
|
294
|
+
* 通信在/离线状态(online=normal+fault,offline)
|
|
295
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
296
|
+
*/
|
|
297
|
+
DeviceStatus?: string;
|
|
298
|
+
/**
|
|
299
|
+
* 设备业务状态(normal、fault、offline)
|
|
300
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
301
|
+
*/
|
|
302
|
+
Status?: string;
|
|
293
303
|
}
|
|
294
304
|
/**
|
|
295
305
|
* 查询建筑信息响应体
|
|
@@ -698,7 +708,7 @@ export interface ProductInfo {
|
|
|
698
708
|
*/
|
|
699
709
|
ProductType?: string;
|
|
700
710
|
/**
|
|
701
|
-
*
|
|
711
|
+
* 产品能力:信令数据、音视频。二进制数值中第0位表示信令数据、第1位表示音视频 。1(信令数据),3(具有信令数据以及音视频能力)。
|
|
702
712
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
703
713
|
*/
|
|
704
714
|
ProductAbility?: number;
|
|
@@ -1245,6 +1255,14 @@ export interface DescribeDeviceListRequest {
|
|
|
1245
1255
|
* 分组id列表,非必填
|
|
1246
1256
|
*/
|
|
1247
1257
|
GroupIdSet?: Array<number | bigint>;
|
|
1258
|
+
/**
|
|
1259
|
+
* 是否激活,默认全部,"1"激活,"0"未激活
|
|
1260
|
+
*/
|
|
1261
|
+
IsActive?: string;
|
|
1262
|
+
/**
|
|
1263
|
+
* 是否为摄像头,默认全部,"true"摄像头,"false"非摄像头
|
|
1264
|
+
*/
|
|
1265
|
+
IsCamera?: string;
|
|
1248
1266
|
}
|
|
1249
1267
|
/**
|
|
1250
1268
|
* DescribeSpaceRelationByDeviceId请求参数结构体
|
|
@@ -58,6 +58,16 @@ it("cls.v20201016.CreateIndex", async function () {
|
|
|
58
58
|
}
|
|
59
59
|
})
|
|
60
60
|
|
|
61
|
+
it("cls.v20201016.QueryMetric", async function () {
|
|
62
|
+
try {
|
|
63
|
+
const data = await client.QueryMetric({})
|
|
64
|
+
expect(data).to.be.ok
|
|
65
|
+
} catch(error) {
|
|
66
|
+
expect(error.requestId).to.be.ok
|
|
67
|
+
expect(error.code).to.be.ok
|
|
68
|
+
}
|
|
69
|
+
})
|
|
70
|
+
|
|
61
71
|
it("cls.v20201016.ModifyShipper", async function () {
|
|
62
72
|
try {
|
|
63
73
|
const data = await client.ModifyShipper({})
|
|
@@ -178,9 +188,9 @@ it("cls.v20201016.CreateConfig", async function () {
|
|
|
178
188
|
}
|
|
179
189
|
})
|
|
180
190
|
|
|
181
|
-
it("cls.v20201016.
|
|
191
|
+
it("cls.v20201016.DescribeMachineGroupConfigs", async function () {
|
|
182
192
|
try {
|
|
183
|
-
const data = await client.
|
|
193
|
+
const data = await client.DescribeMachineGroupConfigs({})
|
|
184
194
|
expect(data).to.be.ok
|
|
185
195
|
} catch(error) {
|
|
186
196
|
expect(error.requestId).to.be.ok
|
|
@@ -268,6 +278,16 @@ it("cls.v20201016.DescribeIndex", async function () {
|
|
|
268
278
|
}
|
|
269
279
|
})
|
|
270
280
|
|
|
281
|
+
it("cls.v20201016.CreateAlarmShield", async function () {
|
|
282
|
+
try {
|
|
283
|
+
const data = await client.CreateAlarmShield({})
|
|
284
|
+
expect(data).to.be.ok
|
|
285
|
+
} catch(error) {
|
|
286
|
+
expect(error.requestId).to.be.ok
|
|
287
|
+
expect(error.code).to.be.ok
|
|
288
|
+
}
|
|
289
|
+
})
|
|
290
|
+
|
|
271
291
|
it("cls.v20201016.CreateShipper", async function () {
|
|
272
292
|
try {
|
|
273
293
|
const data = await client.CreateShipper({})
|
|
@@ -348,6 +368,16 @@ it("cls.v20201016.ApplyConfigToMachineGroup", async function () {
|
|
|
348
368
|
}
|
|
349
369
|
})
|
|
350
370
|
|
|
371
|
+
it("cls.v20201016.DeleteAlarmShield", async function () {
|
|
372
|
+
try {
|
|
373
|
+
const data = await client.DeleteAlarmShield({})
|
|
374
|
+
expect(data).to.be.ok
|
|
375
|
+
} catch(error) {
|
|
376
|
+
expect(error.requestId).to.be.ok
|
|
377
|
+
expect(error.code).to.be.ok
|
|
378
|
+
}
|
|
379
|
+
})
|
|
380
|
+
|
|
351
381
|
it("cls.v20201016.DescribeLogHistogram", async function () {
|
|
352
382
|
try {
|
|
353
383
|
const data = await client.DescribeLogHistogram({})
|
|
@@ -428,6 +458,16 @@ it("cls.v20201016.ModifyConfigExtra", async function () {
|
|
|
428
458
|
}
|
|
429
459
|
})
|
|
430
460
|
|
|
461
|
+
it("cls.v20201016.ModifyAlarmShield", async function () {
|
|
462
|
+
try {
|
|
463
|
+
const data = await client.ModifyAlarmShield({})
|
|
464
|
+
expect(data).to.be.ok
|
|
465
|
+
} catch(error) {
|
|
466
|
+
expect(error.requestId).to.be.ok
|
|
467
|
+
expect(error.code).to.be.ok
|
|
468
|
+
}
|
|
469
|
+
})
|
|
470
|
+
|
|
431
471
|
it("cls.v20201016.CreateConfigExtra", async function () {
|
|
432
472
|
try {
|
|
433
473
|
const data = await client.CreateConfigExtra({})
|
|
@@ -438,6 +478,16 @@ it("cls.v20201016.CreateConfigExtra", async function () {
|
|
|
438
478
|
}
|
|
439
479
|
})
|
|
440
480
|
|
|
481
|
+
it("cls.v20201016.DescribeAlarmShields", async function () {
|
|
482
|
+
try {
|
|
483
|
+
const data = await client.DescribeAlarmShields({})
|
|
484
|
+
expect(data).to.be.ok
|
|
485
|
+
} catch(error) {
|
|
486
|
+
expect(error.requestId).to.be.ok
|
|
487
|
+
expect(error.code).to.be.ok
|
|
488
|
+
}
|
|
489
|
+
})
|
|
490
|
+
|
|
441
491
|
it("cls.v20201016.ModifyScheduledSql", async function () {
|
|
442
492
|
try {
|
|
443
493
|
const data = await client.ModifyScheduledSql({})
|
|
@@ -818,16 +868,6 @@ it("cls.v20201016.ModifyLogset", async function () {
|
|
|
818
868
|
}
|
|
819
869
|
})
|
|
820
870
|
|
|
821
|
-
it("cls.v20201016.DescribeMachineGroupConfigs", async function () {
|
|
822
|
-
try {
|
|
823
|
-
const data = await client.DescribeMachineGroupConfigs({})
|
|
824
|
-
expect(data).to.be.ok
|
|
825
|
-
} catch(error) {
|
|
826
|
-
expect(error.requestId).to.be.ok
|
|
827
|
-
expect(error.code).to.be.ok
|
|
828
|
-
}
|
|
829
|
-
})
|
|
830
|
-
|
|
831
871
|
it("cls.v20201016.ModifyDataTransform", async function () {
|
|
832
872
|
try {
|
|
833
873
|
const data = await client.ModifyDataTransform({})
|
|
@@ -348,6 +348,16 @@ it("iotcloud.v20210408.UpdateDevicesEnableState", async function () {
|
|
|
348
348
|
}
|
|
349
349
|
})
|
|
350
350
|
|
|
351
|
+
it("iotcloud.v20210408.UpdateOtaTaskStatus", async function () {
|
|
352
|
+
try {
|
|
353
|
+
const data = await client.UpdateOtaTaskStatus({})
|
|
354
|
+
expect(data).to.be.ok
|
|
355
|
+
} catch(error) {
|
|
356
|
+
expect(error.requestId).to.be.ok
|
|
357
|
+
expect(error.code).to.be.ok
|
|
358
|
+
}
|
|
359
|
+
})
|
|
360
|
+
|
|
351
361
|
it("iotcloud.v20210408.ListFirmwares", async function () {
|
|
352
362
|
try {
|
|
353
363
|
const data = await client.ListFirmwares({})
|
|
@@ -158,16 +158,6 @@ it("rum.v20210622.ResumeInstance", async function () {
|
|
|
158
158
|
}
|
|
159
159
|
})
|
|
160
160
|
|
|
161
|
-
it("rum.v20210622.DescribeDataPerformanceProject", async function () {
|
|
162
|
-
try {
|
|
163
|
-
const data = await client.DescribeDataPerformanceProject({})
|
|
164
|
-
expect(data).to.be.ok
|
|
165
|
-
} catch(error) {
|
|
166
|
-
expect(error.requestId).to.be.ok
|
|
167
|
-
expect(error.code).to.be.ok
|
|
168
|
-
}
|
|
169
|
-
})
|
|
170
|
-
|
|
171
161
|
it("rum.v20210622.DescribeError", async function () {
|
|
172
162
|
try {
|
|
173
163
|
const data = await client.DescribeError({})
|