tencentcloud-sdk-nodejs 4.0.1016 → 4.0.1018
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 +667 -604
- package/package.json +1 -1
- package/products.md +19 -19
- package/src/common/sdk_version.ts +1 -1
- package/src/services/bi/v20220105/bi_models.ts +33 -0
- package/src/services/cdwdoris/v20211228/cdwdoris_models.ts +27 -47
- package/src/services/cfg/v20210820/cfg_models.ts +12 -0
- package/src/services/cvm/v20170312/cvm_models.ts +4 -4
- package/src/services/cwp/v20180228/cwp_client.ts +12 -44
- package/src/services/cwp/v20180228/cwp_models.ts +260 -456
- package/src/services/dlc/v20210125/dlc_models.ts +47 -47
- package/src/services/hunyuan/v20230901/hunyuan_models.ts +5 -0
- package/src/services/lcic/v20220817/lcic_client.ts +1 -1
- package/src/services/lcic/v20220817/lcic_models.ts +1 -1
- package/src/services/lke/v20231130/lke_client.ts +10 -2
- package/src/services/lke/v20231130/lke_models.ts +408 -31
- package/src/services/ocr/v20181119/ocr_client.ts +958 -945
- package/src/services/ocr/v20181119/ocr_models.ts +152 -50
- package/src/services/rum/v20210622/rum_client.ts +2 -1
- package/src/services/rum/v20210622/rum_models.ts +95 -65
- package/src/services/scf/v20180416/scf_models.ts +4 -4
- package/src/services/tdmq/v20200217/tdmq_models.ts +1 -1
- package/src/services/teo/v20220901/teo_client.ts +166 -34
- package/src/services/teo/v20220901/teo_models.ts +1796 -180
- package/src/services/trro/v20220325/trro_models.ts +6 -6
- package/src/services/trtc/v20190722/trtc_models.ts +4 -0
- package/src/services/tse/v20201207/tse_client.ts +17 -4
- package/src/services/tse/v20201207/tse_models.ts +105 -64
- package/src/services/vpc/v20170312/vpc_client.ts +5179 -7
- package/src/services/vpc/v20170312/vpc_models.ts +18815 -9
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/bi/v20220105/bi_models.d.ts +33 -0
- package/tencentcloud/services/cdwdoris/v20211228/cdwdoris_models.d.ts +26 -46
- package/tencentcloud/services/cfg/v20210820/cfg_models.d.ts +12 -0
- package/tencentcloud/services/cvm/v20170312/cvm_models.d.ts +4 -4
- package/tencentcloud/services/cwp/v20180228/cwp_client.d.ts +1 -13
- package/tencentcloud/services/cwp/v20180228/cwp_client.js +0 -16
- package/tencentcloud/services/cwp/v20180228/cwp_models.d.ts +264 -452
- package/tencentcloud/services/dlc/v20210125/dlc_models.d.ts +47 -47
- package/tencentcloud/services/hunyuan/v20230901/hunyuan_models.d.ts +5 -0
- package/tencentcloud/services/lcic/v20220817/lcic_client.d.ts +1 -1
- package/tencentcloud/services/lcic/v20220817/lcic_client.js +1 -1
- package/tencentcloud/services/lcic/v20220817/lcic_models.d.ts +1 -1
- package/tencentcloud/services/lke/v20231130/lke_client.d.ts +1 -1
- package/tencentcloud/services/lke/v20231130/lke_models.d.ts +400 -31
- package/tencentcloud/services/ocr/v20181119/ocr_client.d.ts +535 -531
- package/tencentcloud/services/ocr/v20181119/ocr_client.js +718 -712
- package/tencentcloud/services/ocr/v20181119/ocr_models.d.ts +149 -50
- package/tencentcloud/services/rum/v20210622/rum_client.d.ts +1 -1
- package/tencentcloud/services/rum/v20210622/rum_models.d.ts +94 -65
- package/tencentcloud/services/scf/v20180416/scf_models.d.ts +4 -4
- package/tencentcloud/services/tdmq/v20200217/tdmq_models.d.ts +1 -1
- package/tencentcloud/services/teo/v20220901/teo_client.d.ts +35 -11
- package/tencentcloud/services/teo/v20220901/teo_client.js +48 -12
- package/tencentcloud/services/teo/v20220901/teo_models.d.ts +1710 -166
- package/tencentcloud/services/trro/v20220325/trro_models.d.ts +6 -6
- package/tencentcloud/services/trtc/v20190722/trtc_models.d.ts +4 -0
- package/tencentcloud/services/tse/v20201207/tse_client.d.ts +5 -1
- package/tencentcloud/services/tse/v20201207/tse_client.js +6 -0
- package/tencentcloud/services/tse/v20201207/tse_models.d.ts +102 -64
- package/tencentcloud/services/vpc/v20170312/vpc_client.d.ts +1895 -3
- package/tencentcloud/services/vpc/v20170312/vpc_client.js +2669 -3
- package/tencentcloud/services/vpc/v20170312/vpc_models.d.ts +17875 -9
- package/test/cwp.v20180228.test.js +0 -20
- package/test/ocr.v20181119.test.js +174 -164
- package/test/teo.v20220901.test.js +64 -4
- package/test/tse.v20201207.test.js +10 -0
- package/test/vpc.v20170312.test.js +3872 -2
|
@@ -222,7 +222,7 @@ export interface DescribeSessionStatisticsByIntervalResponse {
|
|
|
222
222
|
/**
|
|
223
223
|
* 各时间段的会话统计数据
|
|
224
224
|
*/
|
|
225
|
-
SessionStatistics
|
|
225
|
+
SessionStatistics?: Array<SessionIntervalStatistic>
|
|
226
226
|
/**
|
|
227
227
|
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
228
228
|
*/
|
|
@@ -1079,23 +1079,23 @@ export interface DescribeSessionStatisticsResponse {
|
|
|
1079
1079
|
/**
|
|
1080
1080
|
* 会话数量
|
|
1081
1081
|
*/
|
|
1082
|
-
SessionNum
|
|
1082
|
+
SessionNum?: number
|
|
1083
1083
|
/**
|
|
1084
1084
|
* 通话时长,单位:分钟
|
|
1085
1085
|
*/
|
|
1086
|
-
TotalDuration
|
|
1086
|
+
TotalDuration?: number
|
|
1087
1087
|
/**
|
|
1088
1088
|
* 活跃现场设备数
|
|
1089
1089
|
*/
|
|
1090
|
-
ActiveFieldDeviceNum
|
|
1090
|
+
ActiveFieldDeviceNum?: number
|
|
1091
1091
|
/**
|
|
1092
1092
|
* 活跃远端设备数
|
|
1093
1093
|
*/
|
|
1094
|
-
ActiveRemoteDeviceNum
|
|
1094
|
+
ActiveRemoteDeviceNum?: number
|
|
1095
1095
|
/**
|
|
1096
1096
|
* 优良会话占比,单位:%
|
|
1097
1097
|
*/
|
|
1098
|
-
NotBadSessionRatio
|
|
1098
|
+
NotBadSessionRatio?: number
|
|
1099
1099
|
/**
|
|
1100
1100
|
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
1101
1101
|
*/
|
|
@@ -75,10 +75,10 @@ import {
|
|
|
75
75
|
DescribeConfigFileReleasesResponse,
|
|
76
76
|
DeleteCloudNativeAPIGatewayServiceRateLimitResponse,
|
|
77
77
|
CreateGovernanceServicesRequest,
|
|
78
|
-
|
|
78
|
+
ModifyCloudNativeAPIGatewayServiceRateLimitRequest,
|
|
79
79
|
NativeGatewayServerGroup,
|
|
80
80
|
ModifyNetworkAccessStrategyResponse,
|
|
81
|
-
|
|
81
|
+
RestartSREInstanceRequest,
|
|
82
82
|
UnbindAutoScalerResourceStrategyFromGroupsRequest,
|
|
83
83
|
DeleteCloudNativeAPIGatewayPublicNetworkRequest,
|
|
84
84
|
ReleaseVersion,
|
|
@@ -194,6 +194,7 @@ import {
|
|
|
194
194
|
DescribeAllConfigFileTemplatesRequest,
|
|
195
195
|
RateLimitResponse,
|
|
196
196
|
RollbackConfigFileReleasesRequest,
|
|
197
|
+
DescribeCloudNativeAPIGatewayInfoByIpResponse,
|
|
197
198
|
CloudNativeAPIGatewayCanaryRule,
|
|
198
199
|
PublishConfigFilesResponse,
|
|
199
200
|
UpdateCloudNativeAPIGatewayCertificateInfoRequest,
|
|
@@ -225,6 +226,7 @@ import {
|
|
|
225
226
|
NacosReplica,
|
|
226
227
|
CreateGovernanceInstancesResponse,
|
|
227
228
|
CreateGatewayServiceResult,
|
|
229
|
+
DescribeInstanceInfoByIpResult,
|
|
228
230
|
DeleteEngineResponse,
|
|
229
231
|
Location,
|
|
230
232
|
ModifyCloudNativeAPIGatewayCanaryRuleRequest,
|
|
@@ -268,6 +270,7 @@ import {
|
|
|
268
270
|
DescribeNacosServerInterfacesRequest,
|
|
269
271
|
KongUpstreamInfo,
|
|
270
272
|
DescribeSREInstancesRequest,
|
|
273
|
+
DescribeCloudNativeAPIGatewayInfoByIpRequest,
|
|
271
274
|
DescribeZookeeperReplicasResponse,
|
|
272
275
|
ModifyConfigFileGroupRequest,
|
|
273
276
|
DescribePublicAddressConfigResponse,
|
|
@@ -332,7 +335,7 @@ import {
|
|
|
332
335
|
UpdateCloudNativeAPIGatewaySpecRequest,
|
|
333
336
|
DeleteEngineRequest,
|
|
334
337
|
ModifyNetworkBasicInfoRequest,
|
|
335
|
-
|
|
338
|
+
CloudNativeAPIGatewayStrategyAutoScalerConfigMetric,
|
|
336
339
|
DescribeCloudNativeAPIGatewayCanaryRulesResponse,
|
|
337
340
|
SREInstance,
|
|
338
341
|
CloudNativeAPIGatewayNode,
|
|
@@ -342,7 +345,7 @@ import {
|
|
|
342
345
|
DescribeCloudNativeAPIGatewayCertificateDetailsResponse,
|
|
343
346
|
CreateGovernanceServicesResponse,
|
|
344
347
|
Filter,
|
|
345
|
-
|
|
348
|
+
ModifyAutoScalerResourceStrategyRequest,
|
|
346
349
|
CreateOrUpdateConfigFileAndReleaseResponse,
|
|
347
350
|
DescribeOneCloudNativeAPIGatewayServiceResponse,
|
|
348
351
|
DeleteNativeGatewayServiceSourceRequest,
|
|
@@ -975,6 +978,16 @@ export class Client extends AbstractClient {
|
|
|
975
978
|
return this.request("DescribeNativeGatewayServiceSources", req, cb)
|
|
976
979
|
}
|
|
977
980
|
|
|
981
|
+
/**
|
|
982
|
+
* 根据公网IP查询云原生网关实例信息
|
|
983
|
+
*/
|
|
984
|
+
async DescribeCloudNativeAPIGatewayInfoByIp(
|
|
985
|
+
req: DescribeCloudNativeAPIGatewayInfoByIpRequest,
|
|
986
|
+
cb?: (error: string, rep: DescribeCloudNativeAPIGatewayInfoByIpResponse) => void
|
|
987
|
+
): Promise<DescribeCloudNativeAPIGatewayInfoByIpResponse> {
|
|
988
|
+
return this.request("DescribeCloudNativeAPIGatewayInfoByIp", req, cb)
|
|
989
|
+
}
|
|
990
|
+
|
|
978
991
|
/**
|
|
979
992
|
* 修改云原生API网关实例分组基础信息
|
|
980
993
|
*/
|
|
@@ -1423,31 +1423,21 @@ export interface CreateGovernanceServicesRequest {
|
|
|
1423
1423
|
}
|
|
1424
1424
|
|
|
1425
1425
|
/**
|
|
1426
|
-
*
|
|
1426
|
+
* ModifyCloudNativeAPIGatewayServiceRateLimit请求参数结构体
|
|
1427
1427
|
*/
|
|
1428
|
-
export interface
|
|
1429
|
-
/**
|
|
1430
|
-
* 指标类型
|
|
1431
|
-
- Resource
|
|
1432
|
-
*/
|
|
1433
|
-
Type?: string
|
|
1428
|
+
export interface ModifyCloudNativeAPIGatewayServiceRateLimitRequest {
|
|
1434
1429
|
/**
|
|
1435
|
-
*
|
|
1436
|
-
- cpu
|
|
1437
|
-
- memory
|
|
1438
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1430
|
+
* 网关ID
|
|
1439
1431
|
*/
|
|
1440
|
-
|
|
1432
|
+
GatewayId: string
|
|
1441
1433
|
/**
|
|
1442
|
-
*
|
|
1443
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1434
|
+
* 服务名称,或服务ID
|
|
1444
1435
|
*/
|
|
1445
|
-
|
|
1436
|
+
Name: string
|
|
1446
1437
|
/**
|
|
1447
|
-
*
|
|
1448
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1438
|
+
* 限流配置
|
|
1449
1439
|
*/
|
|
1450
|
-
|
|
1440
|
+
LimitDetail: CloudNativeAPIGatewayRateLimitDetail
|
|
1451
1441
|
}
|
|
1452
1442
|
|
|
1453
1443
|
/**
|
|
@@ -1532,43 +1522,21 @@ export interface ModifyNetworkAccessStrategyResponse {
|
|
|
1532
1522
|
}
|
|
1533
1523
|
|
|
1534
1524
|
/**
|
|
1535
|
-
*
|
|
1525
|
+
* RestartSREInstance请求参数结构体
|
|
1536
1526
|
*/
|
|
1537
|
-
export interface
|
|
1538
|
-
/**
|
|
1539
|
-
* 网关实例ID
|
|
1540
|
-
*/
|
|
1541
|
-
GatewayId: string
|
|
1542
|
-
/**
|
|
1543
|
-
* 策略ID
|
|
1544
|
-
*/
|
|
1545
|
-
StrategyId: string
|
|
1546
|
-
/**
|
|
1547
|
-
* 策略名称
|
|
1548
|
-
*/
|
|
1549
|
-
StrategyName?: string
|
|
1550
|
-
/**
|
|
1551
|
-
* 策略描述
|
|
1552
|
-
*/
|
|
1553
|
-
Description?: string
|
|
1554
|
-
/**
|
|
1555
|
-
* 指标伸缩配置
|
|
1556
|
-
*/
|
|
1557
|
-
Config?: CloudNativeAPIGatewayStrategyAutoScalerConfig
|
|
1527
|
+
export interface RestartSREInstanceRequest {
|
|
1558
1528
|
/**
|
|
1559
|
-
*
|
|
1560
|
-
* @deprecated
|
|
1529
|
+
* 微服务引擎实例Id
|
|
1561
1530
|
*/
|
|
1562
|
-
|
|
1531
|
+
InstanceId: string
|
|
1563
1532
|
/**
|
|
1564
|
-
*
|
|
1565
|
-
* @deprecated
|
|
1533
|
+
* 重启的环境类型(PROD,DEV,UAT等)
|
|
1566
1534
|
*/
|
|
1567
|
-
|
|
1535
|
+
EnvTypes?: Array<string>
|
|
1568
1536
|
/**
|
|
1569
|
-
*
|
|
1537
|
+
* 指定需要重启的实例节点(当前仅支持zk单节点重启)
|
|
1570
1538
|
*/
|
|
1571
|
-
|
|
1539
|
+
NodeName?: string
|
|
1572
1540
|
}
|
|
1573
1541
|
|
|
1574
1542
|
/**
|
|
@@ -4517,6 +4485,21 @@ export interface RollbackConfigFileReleasesRequest {
|
|
|
4517
4485
|
RollbackConfigFileReleases: Array<ConfigFileRelease>
|
|
4518
4486
|
}
|
|
4519
4487
|
|
|
4488
|
+
/**
|
|
4489
|
+
* DescribeCloudNativeAPIGatewayInfoByIp返回参数结构体
|
|
4490
|
+
*/
|
|
4491
|
+
export interface DescribeCloudNativeAPIGatewayInfoByIpResponse {
|
|
4492
|
+
/**
|
|
4493
|
+
* 出参
|
|
4494
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4495
|
+
*/
|
|
4496
|
+
Result?: DescribeInstanceInfoByIpResult
|
|
4497
|
+
/**
|
|
4498
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
4499
|
+
*/
|
|
4500
|
+
RequestId?: string
|
|
4501
|
+
}
|
|
4502
|
+
|
|
4520
4503
|
/**
|
|
4521
4504
|
* 灰度规则
|
|
4522
4505
|
*/
|
|
@@ -5382,6 +5365,22 @@ export interface CreateGatewayServiceResult {
|
|
|
5382
5365
|
ServiceId?: string
|
|
5383
5366
|
}
|
|
5384
5367
|
|
|
5368
|
+
/**
|
|
5369
|
+
* 根据公网IP查询云原生网关实例信息出参
|
|
5370
|
+
*/
|
|
5371
|
+
export interface DescribeInstanceInfoByIpResult {
|
|
5372
|
+
/**
|
|
5373
|
+
* 实例id
|
|
5374
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5375
|
+
*/
|
|
5376
|
+
GatewayId?: string
|
|
5377
|
+
/**
|
|
5378
|
+
* 分组id
|
|
5379
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5380
|
+
*/
|
|
5381
|
+
GroupId?: string
|
|
5382
|
+
}
|
|
5383
|
+
|
|
5385
5384
|
/**
|
|
5386
5385
|
* DeleteEngine返回参数结构体
|
|
5387
5386
|
*/
|
|
@@ -6401,6 +6400,16 @@ export interface DescribeSREInstancesRequest {
|
|
|
6401
6400
|
QuerySource?: string
|
|
6402
6401
|
}
|
|
6403
6402
|
|
|
6403
|
+
/**
|
|
6404
|
+
* DescribeCloudNativeAPIGatewayInfoByIp请求参数结构体
|
|
6405
|
+
*/
|
|
6406
|
+
export interface DescribeCloudNativeAPIGatewayInfoByIpRequest {
|
|
6407
|
+
/**
|
|
6408
|
+
* 云原生网关的公网ip
|
|
6409
|
+
*/
|
|
6410
|
+
PublicNetworkIP: string
|
|
6411
|
+
}
|
|
6412
|
+
|
|
6404
6413
|
/**
|
|
6405
6414
|
* DescribeZookeeperReplicas返回参数结构体
|
|
6406
6415
|
*/
|
|
@@ -7777,21 +7786,31 @@ export interface ModifyNetworkBasicInfoRequest {
|
|
|
7777
7786
|
}
|
|
7778
7787
|
|
|
7779
7788
|
/**
|
|
7780
|
-
*
|
|
7789
|
+
* 弹性伸缩配置指标
|
|
7781
7790
|
*/
|
|
7782
|
-
export interface
|
|
7791
|
+
export interface CloudNativeAPIGatewayStrategyAutoScalerConfigMetric {
|
|
7783
7792
|
/**
|
|
7784
|
-
*
|
|
7793
|
+
* 指标类型
|
|
7794
|
+
- Resource
|
|
7785
7795
|
*/
|
|
7786
|
-
|
|
7796
|
+
Type?: string
|
|
7787
7797
|
/**
|
|
7788
|
-
*
|
|
7798
|
+
* 指标资源名称
|
|
7799
|
+
- cpu
|
|
7800
|
+
- memory
|
|
7801
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
7789
7802
|
*/
|
|
7790
|
-
|
|
7803
|
+
ResourceName?: string
|
|
7791
7804
|
/**
|
|
7792
|
-
*
|
|
7805
|
+
* 指标目标类型,目前只支持百分比Utilization
|
|
7806
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
7793
7807
|
*/
|
|
7794
|
-
|
|
7808
|
+
TargetType?: string
|
|
7809
|
+
/**
|
|
7810
|
+
* 指标目标值
|
|
7811
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
7812
|
+
*/
|
|
7813
|
+
TargetValue?: number
|
|
7795
7814
|
}
|
|
7796
7815
|
|
|
7797
7816
|
/**
|
|
@@ -8125,21 +8144,43 @@ export interface Filter {
|
|
|
8125
8144
|
}
|
|
8126
8145
|
|
|
8127
8146
|
/**
|
|
8128
|
-
*
|
|
8147
|
+
* ModifyAutoScalerResourceStrategy请求参数结构体
|
|
8129
8148
|
*/
|
|
8130
|
-
export interface
|
|
8149
|
+
export interface ModifyAutoScalerResourceStrategyRequest {
|
|
8131
8150
|
/**
|
|
8132
|
-
*
|
|
8151
|
+
* 网关实例ID
|
|
8133
8152
|
*/
|
|
8134
|
-
|
|
8153
|
+
GatewayId: string
|
|
8135
8154
|
/**
|
|
8136
|
-
*
|
|
8155
|
+
* 策略ID
|
|
8137
8156
|
*/
|
|
8138
|
-
|
|
8157
|
+
StrategyId: string
|
|
8139
8158
|
/**
|
|
8140
|
-
*
|
|
8159
|
+
* 策略名称
|
|
8141
8160
|
*/
|
|
8142
|
-
|
|
8161
|
+
StrategyName?: string
|
|
8162
|
+
/**
|
|
8163
|
+
* 策略描述
|
|
8164
|
+
*/
|
|
8165
|
+
Description?: string
|
|
8166
|
+
/**
|
|
8167
|
+
* 指标伸缩配置
|
|
8168
|
+
*/
|
|
8169
|
+
Config?: CloudNativeAPIGatewayStrategyAutoScalerConfig
|
|
8170
|
+
/**
|
|
8171
|
+
* 定时伸缩配置
|
|
8172
|
+
* @deprecated
|
|
8173
|
+
*/
|
|
8174
|
+
CronScalerConfig?: CloudNativeAPIGatewayStrategyCronScalerConfig
|
|
8175
|
+
/**
|
|
8176
|
+
* 最大节点数
|
|
8177
|
+
* @deprecated
|
|
8178
|
+
*/
|
|
8179
|
+
MaxReplicas?: number
|
|
8180
|
+
/**
|
|
8181
|
+
* 指标伸缩配置
|
|
8182
|
+
*/
|
|
8183
|
+
CronConfig?: CloudNativeAPIGatewayStrategyCronScalerConfig
|
|
8143
8184
|
}
|
|
8144
8185
|
|
|
8145
8186
|
/**
|