tencentcloud-sdk-nodejs 4.0.668 → 4.0.670
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 +569 -0
- package/SERVICE_CHANGELOG.md +758 -63
- package/package.json +1 -1
- package/products.md +30 -30
- package/src/common/sdk_version.ts +1 -1
- package/src/services/billing/v20180709/billing_client.ts +4 -2
- package/src/services/billing/v20180709/billing_models.ts +118 -46
- package/src/services/cdn/v20180606/cdn_models.ts +4 -0
- package/src/services/cls/v20201016/cls_client.ts +3 -0
- package/src/services/cls/v20201016/cls_models.ts +166 -27
- package/src/services/cynosdb/v20190107/cynosdb_models.ts +17 -13
- package/src/services/dlc/v20210125/dlc_models.ts +1 -1
- package/src/services/dts/v20211206/dts_client.ts +30 -6
- package/src/services/dts/v20211206/dts_models.ts +80 -0
- package/src/services/eb/v20210416/eb_client.ts +1 -1
- package/src/services/eb/v20210416/eb_models.ts +10 -1
- package/src/services/ess/v20201111/ess_models.ts +53 -7
- package/src/services/essbasic/v20210526/essbasic_client.ts +14 -6
- package/src/services/essbasic/v20210526/essbasic_models.ts +77 -15
- package/src/services/iotexplorer/v20190423/iotexplorer_client.ts +16 -3
- package/src/services/iotexplorer/v20190423/iotexplorer_models.ts +180 -82
- package/src/services/lcic/v20220817/lcic_models.ts +21 -1
- package/src/services/mps/v20190612/mps_client.ts +1 -0
- package/src/services/mps/v20190612/mps_models.ts +37 -8
- package/src/services/nlp/v20190408/nlp_client.ts +1 -1
- package/src/services/ocr/v20181119/ocr_client.ts +1 -1
- package/src/services/scf/v20180416/scf_client.ts +27 -0
- package/src/services/scf/v20180416/scf_models.ts +52 -0
- package/src/services/ssa/v20180608/ssa_models.ts +2 -2
- package/src/services/tcb/v20180608/tcb_models.ts +19 -14
- package/src/services/tdmq/v20200217/tdmq_models.ts +40 -25
- package/src/services/tione/v20211111/tione_models.ts +14 -4
- package/src/services/tse/v20201207/tse_client.ts +152 -33
- package/src/services/tse/v20201207/tse_models.ts +792 -121
- package/src/services/tsf/v20180326/tsf_client.ts +1 -0
- package/src/services/tsf/v20180326/tsf_models.ts +74 -30
- package/src/services/tts/v20190823/tts_client.ts +0 -1
- package/src/services/tts/v20190823/tts_models.ts +14 -6
- package/src/services/waf/v20180125/waf_client.ts +12 -0
- package/src/services/waf/v20180125/waf_models.ts +68 -32
- package/src/services/wedata/v20210820/wedata_models.ts +5 -0
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/billing/v20180709/billing_client.d.ts +1 -1
- package/tencentcloud/services/billing/v20180709/billing_models.d.ts +116 -46
- package/tencentcloud/services/cdn/v20180606/cdn_models.d.ts +4 -0
- package/tencentcloud/services/cls/v20201016/cls_models.d.ts +163 -27
- package/tencentcloud/services/cynosdb/v20190107/cynosdb_models.d.ts +17 -13
- package/tencentcloud/services/dlc/v20210125/dlc_models.d.ts +1 -1
- package/tencentcloud/services/dts/v20211206/dts_client.d.ts +11 -3
- package/tencentcloud/services/dts/v20211206/dts_client.js +15 -3
- package/tencentcloud/services/dts/v20211206/dts_models.d.ts +76 -0
- package/tencentcloud/services/eb/v20210416/eb_client.d.ts +1 -1
- package/tencentcloud/services/eb/v20210416/eb_models.d.ts +10 -1
- package/tencentcloud/services/ess/v20201111/ess_models.d.ts +53 -7
- package/tencentcloud/services/essbasic/v20210526/essbasic_client.d.ts +13 -5
- package/tencentcloud/services/essbasic/v20210526/essbasic_client.js +13 -5
- package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +77 -15
- package/tencentcloud/services/iotexplorer/v20190423/iotexplorer_client.d.ts +5 -1
- package/tencentcloud/services/iotexplorer/v20190423/iotexplorer_client.js +6 -0
- package/tencentcloud/services/iotexplorer/v20190423/iotexplorer_models.d.ts +177 -82
- package/tencentcloud/services/lcic/v20220817/lcic_models.d.ts +21 -1
- package/tencentcloud/services/mps/v20190612/mps_models.d.ts +36 -8
- package/tencentcloud/services/nlp/v20190408/nlp_client.d.ts +1 -1
- package/tencentcloud/services/nlp/v20190408/nlp_client.js +1 -1
- package/tencentcloud/services/ocr/v20181119/ocr_client.d.ts +1 -1
- package/tencentcloud/services/ocr/v20181119/ocr_client.js +1 -1
- package/tencentcloud/services/scf/v20180416/scf_client.d.ts +20 -1
- package/tencentcloud/services/scf/v20180416/scf_client.js +21 -0
- package/tencentcloud/services/scf/v20180416/scf_models.d.ts +50 -0
- package/tencentcloud/services/ssa/v20180608/ssa_models.d.ts +2 -2
- package/tencentcloud/services/tcb/v20180608/tcb_models.d.ts +19 -14
- package/tencentcloud/services/tdmq/v20200217/tdmq_models.d.ts +40 -25
- package/tencentcloud/services/tione/v20211111/tione_models.d.ts +14 -4
- package/tencentcloud/services/tse/v20201207/tse_client.d.ts +45 -9
- package/tencentcloud/services/tse/v20201207/tse_client.js +66 -12
- package/tencentcloud/services/tse/v20201207/tse_models.d.ts +770 -128
- package/tencentcloud/services/tsf/v20180326/tsf_models.d.ts +73 -30
- package/tencentcloud/services/tts/v20190823/tts_client.d.ts +0 -1
- package/tencentcloud/services/tts/v20190823/tts_client.js +0 -1
- package/tencentcloud/services/tts/v20190823/tts_models.d.ts +14 -6
- package/tencentcloud/services/waf/v20180125/waf_client.d.ts +5 -1
- package/tencentcloud/services/waf/v20180125/waf_client.js +6 -0
- package/tencentcloud/services/waf/v20180125/waf_models.d.ts +66 -32
- package/tencentcloud/services/wedata/v20210820/wedata_models.d.ts +5 -0
- package/test/dts.v20211206.test.js +22 -2
- package/test/iotexplorer.v20190423.test.js +10 -0
- package/test/scf.v20180416.test.js +10 -0
- package/test/tse.v20201207.test.js +98 -8
- package/test/waf.v20180125.test.js +10 -0
|
@@ -1379,67 +1379,67 @@ export interface Topic {
|
|
|
1379
1379
|
* 最后一次间隔内发布消息的平均byte大小。
|
|
1380
1380
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1381
1381
|
*/
|
|
1382
|
-
AverageMsgSize
|
|
1382
|
+
AverageMsgSize?: string
|
|
1383
1383
|
/**
|
|
1384
1384
|
* 消费者数量。
|
|
1385
1385
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1386
1386
|
*/
|
|
1387
|
-
ConsumerCount
|
|
1387
|
+
ConsumerCount?: string
|
|
1388
1388
|
/**
|
|
1389
1389
|
* 被记录下来的消息总数。
|
|
1390
1390
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1391
1391
|
*/
|
|
1392
|
-
LastConfirmedEntry
|
|
1392
|
+
LastConfirmedEntry?: string
|
|
1393
1393
|
/**
|
|
1394
1394
|
* 最后一个ledger创建的时间。
|
|
1395
1395
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1396
1396
|
*/
|
|
1397
|
-
LastLedgerCreatedTimestamp
|
|
1397
|
+
LastLedgerCreatedTimestamp?: string
|
|
1398
1398
|
/**
|
|
1399
1399
|
* 本地和复制的发布者每秒发布消息的速率。
|
|
1400
1400
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1401
1401
|
*/
|
|
1402
|
-
MsgRateIn
|
|
1402
|
+
MsgRateIn?: string
|
|
1403
1403
|
/**
|
|
1404
1404
|
* 本地和复制的消费者每秒分发消息的数量之和。
|
|
1405
1405
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1406
1406
|
*/
|
|
1407
|
-
MsgRateOut
|
|
1407
|
+
MsgRateOut?: string
|
|
1408
1408
|
/**
|
|
1409
1409
|
* 本地和复制的发布者每秒发布消息的byte。
|
|
1410
1410
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1411
1411
|
*/
|
|
1412
|
-
MsgThroughputIn
|
|
1412
|
+
MsgThroughputIn?: string
|
|
1413
1413
|
/**
|
|
1414
1414
|
* 本地和复制的消费者每秒分发消息的byte。
|
|
1415
1415
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1416
1416
|
*/
|
|
1417
|
-
MsgThroughputOut
|
|
1417
|
+
MsgThroughputOut?: string
|
|
1418
1418
|
/**
|
|
1419
1419
|
* 被记录下来的消息总数。
|
|
1420
1420
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1421
1421
|
*/
|
|
1422
|
-
NumberOfEntries
|
|
1422
|
+
NumberOfEntries?: string
|
|
1423
1423
|
/**
|
|
1424
1424
|
* 分区数<=0:topic下无子分区。
|
|
1425
1425
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1426
1426
|
*/
|
|
1427
|
-
Partitions
|
|
1427
|
+
Partitions?: number
|
|
1428
1428
|
/**
|
|
1429
1429
|
* 生产者数量。
|
|
1430
1430
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1431
1431
|
*/
|
|
1432
|
-
ProducerCount
|
|
1432
|
+
ProducerCount?: string
|
|
1433
1433
|
/**
|
|
1434
1434
|
* 以byte计算的所有消息存储总量。
|
|
1435
1435
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1436
1436
|
*/
|
|
1437
|
-
TotalSize
|
|
1437
|
+
TotalSize?: string
|
|
1438
1438
|
/**
|
|
1439
1439
|
* 分区topic里面的子分区。
|
|
1440
1440
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1441
1441
|
*/
|
|
1442
|
-
SubTopicSets
|
|
1442
|
+
SubTopicSets?: Array<PartitionsTopic>
|
|
1443
1443
|
/**
|
|
1444
1444
|
* topic类型描述:
|
|
1445
1445
|
0:普通消息;
|
|
@@ -1450,42 +1450,42 @@ export interface Topic {
|
|
|
1450
1450
|
5:事务消息。
|
|
1451
1451
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1452
1452
|
*/
|
|
1453
|
-
TopicType
|
|
1453
|
+
TopicType?: number
|
|
1454
1454
|
/**
|
|
1455
1455
|
* 环境(命名空间)名称。
|
|
1456
1456
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1457
1457
|
*/
|
|
1458
|
-
EnvironmentId
|
|
1458
|
+
EnvironmentId?: string
|
|
1459
1459
|
/**
|
|
1460
1460
|
* 主题名称。
|
|
1461
1461
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1462
1462
|
*/
|
|
1463
|
-
TopicName
|
|
1463
|
+
TopicName?: string
|
|
1464
1464
|
/**
|
|
1465
1465
|
* 说明,128个字符以内。
|
|
1466
1466
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1467
1467
|
*/
|
|
1468
|
-
Remark
|
|
1468
|
+
Remark?: string
|
|
1469
1469
|
/**
|
|
1470
1470
|
* 创建时间。
|
|
1471
1471
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1472
1472
|
*/
|
|
1473
|
-
CreateTime
|
|
1473
|
+
CreateTime?: string
|
|
1474
1474
|
/**
|
|
1475
1475
|
* 最近修改时间。
|
|
1476
1476
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1477
1477
|
*/
|
|
1478
|
-
UpdateTime
|
|
1478
|
+
UpdateTime?: string
|
|
1479
1479
|
/**
|
|
1480
1480
|
* 生产者上限。
|
|
1481
1481
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1482
1482
|
*/
|
|
1483
|
-
ProducerLimit
|
|
1483
|
+
ProducerLimit?: string
|
|
1484
1484
|
/**
|
|
1485
1485
|
* 消费者上限。
|
|
1486
1486
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1487
1487
|
*/
|
|
1488
|
-
ConsumerLimit
|
|
1488
|
+
ConsumerLimit?: string
|
|
1489
1489
|
/**
|
|
1490
1490
|
* 0: 非持久非分区
|
|
1491
1491
|
1: 非持久分区
|
|
@@ -1493,7 +1493,13 @@ export interface Topic {
|
|
|
1493
1493
|
3: 持久分区
|
|
1494
1494
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1495
1495
|
*/
|
|
1496
|
-
PulsarTopicType
|
|
1496
|
+
PulsarTopicType?: number
|
|
1497
|
+
/**
|
|
1498
|
+
* 未消费消息过期时间,单位:秒
|
|
1499
|
+
|
|
1500
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1501
|
+
*/
|
|
1502
|
+
MsgTTL?: number
|
|
1497
1503
|
}
|
|
1498
1504
|
|
|
1499
1505
|
/**
|
|
@@ -3048,6 +3054,10 @@ export interface CreateTopicRequest {
|
|
|
3048
3054
|
3: 持久分区
|
|
3049
3055
|
*/
|
|
3050
3056
|
PulsarTopicType?: number
|
|
3057
|
+
/**
|
|
3058
|
+
* 未消费消息过期时间,单位:秒,取值范围:60秒~15天。
|
|
3059
|
+
*/
|
|
3060
|
+
MsgTTL?: number
|
|
3051
3061
|
}
|
|
3052
3062
|
|
|
3053
3063
|
/**
|
|
@@ -4509,11 +4519,11 @@ export interface ModifyTopicResponse {
|
|
|
4509
4519
|
/**
|
|
4510
4520
|
* 分区数
|
|
4511
4521
|
*/
|
|
4512
|
-
Partitions
|
|
4522
|
+
Partitions?: number
|
|
4513
4523
|
/**
|
|
4514
4524
|
* 备注,128字符以内。
|
|
4515
4525
|
*/
|
|
4516
|
-
Remark
|
|
4526
|
+
Remark?: string
|
|
4517
4527
|
/**
|
|
4518
4528
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
4519
4529
|
*/
|
|
@@ -4767,7 +4777,7 @@ export interface CreateCmqTopicResponse {
|
|
|
4767
4777
|
/**
|
|
4768
4778
|
* 主题id
|
|
4769
4779
|
*/
|
|
4770
|
-
TopicId
|
|
4780
|
+
TopicId?: string
|
|
4771
4781
|
/**
|
|
4772
4782
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
4773
4783
|
*/
|
|
@@ -4986,6 +4996,11 @@ export interface ModifyTopicRequest {
|
|
|
4986
4996
|
* Pulsar 集群的ID
|
|
4987
4997
|
*/
|
|
4988
4998
|
ClusterId?: string
|
|
4999
|
+
/**
|
|
5000
|
+
* 未消费消息过期时间,单位:秒,取值范围:60秒~15天。
|
|
5001
|
+
|
|
5002
|
+
*/
|
|
5003
|
+
MsgTTL?: number
|
|
4989
5004
|
}
|
|
4990
5005
|
|
|
4991
5006
|
/**
|
|
@@ -1885,10 +1885,6 @@ export interface DescribeTrainingMetricsRequest {
|
|
|
1885
1885
|
* CreateNotebookImage请求参数结构体
|
|
1886
1886
|
*/
|
|
1887
1887
|
export interface CreateNotebookImageRequest {
|
|
1888
|
-
/**
|
|
1889
|
-
* 要保存的kernel数组
|
|
1890
|
-
*/
|
|
1891
|
-
Kernels: Array<string>
|
|
1892
1888
|
/**
|
|
1893
1889
|
* 镜像信息
|
|
1894
1890
|
*/
|
|
@@ -1897,6 +1893,10 @@ export interface CreateNotebookImageRequest {
|
|
|
1897
1893
|
* notebook id
|
|
1898
1894
|
*/
|
|
1899
1895
|
NotebookId: string
|
|
1896
|
+
/**
|
|
1897
|
+
* 要保存的kernel数组
|
|
1898
|
+
*/
|
|
1899
|
+
Kernels?: Array<string>
|
|
1900
1900
|
}
|
|
1901
1901
|
|
|
1902
1902
|
/**
|
|
@@ -3651,6 +3651,16 @@ export interface ImageInfo {
|
|
|
3651
3651
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
3652
3652
|
*/
|
|
3653
3653
|
RegistryId?: string
|
|
3654
|
+
/**
|
|
3655
|
+
* 是否允许导出全部内容
|
|
3656
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3657
|
+
*/
|
|
3658
|
+
AllowSaveAllContent?: boolean
|
|
3659
|
+
/**
|
|
3660
|
+
* 镜像名称
|
|
3661
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3662
|
+
*/
|
|
3663
|
+
ImageName?: string
|
|
3654
3664
|
}
|
|
3655
3665
|
|
|
3656
3666
|
/**
|
|
@@ -18,27 +18,32 @@
|
|
|
18
18
|
import { AbstractClient } from "../../../common/abstract_client"
|
|
19
19
|
import { ClientConfig } from "../../../common/interface"
|
|
20
20
|
import {
|
|
21
|
-
|
|
21
|
+
ListCloudNativeAPIGatewayResult,
|
|
22
|
+
DescribeCloudNativeAPIGatewayResponse,
|
|
22
23
|
CreateCloudNativeAPIGatewayServiceResponse,
|
|
23
24
|
DeleteCloudNativeAPIGatewayRouteRateLimitResponse,
|
|
24
25
|
ApolloEnvParam,
|
|
25
26
|
DescribeCloudNativeAPIGatewayServiceRateLimitRequest,
|
|
26
|
-
|
|
27
|
+
CreateCloudNativeAPIGatewayRequest,
|
|
27
28
|
DescribeCloudNativeAPIGatewayNodesRequest,
|
|
28
29
|
ModifyCloudNativeAPIGatewayRouteRequest,
|
|
30
|
+
DeleteNativeGatewayServerGroupResponse,
|
|
29
31
|
DescribeSREInstanceAccessAddressResponse,
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
32
|
+
ModifyCloudNativeAPIGatewayCanaryRuleResponse,
|
|
33
|
+
CloudNativeAPIGatewayNodeConfig,
|
|
34
|
+
CreateNativeGatewayServerGroupRequest,
|
|
35
|
+
DeleteCloudNativeAPIGatewayResult,
|
|
33
36
|
QpsThreshold,
|
|
34
37
|
ModifyCloudNativeAPIGatewayServiceResponse,
|
|
35
38
|
DescribeCloudNativeAPIGatewayNodesResponse,
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
+
CreateCloudNativeAPIGatewayResponse,
|
|
40
|
+
DeleteCloudNativeAPIGatewayCanaryRuleRequest,
|
|
41
|
+
GatewayInstanceSchemeAndPorts,
|
|
39
42
|
ModifyCloudNativeAPIGatewayRouteRateLimitRequest,
|
|
40
43
|
NacosServerInterface,
|
|
44
|
+
DescribeNacosReplicasRequest,
|
|
41
45
|
CreateCloudNativeAPIGatewayServiceRequest,
|
|
46
|
+
CloudNativeAPIGatewayBalancedService,
|
|
42
47
|
ExternalRedis,
|
|
43
48
|
EnvAddressInfo,
|
|
44
49
|
InstanceTagInfo,
|
|
@@ -52,13 +57,18 @@ import {
|
|
|
52
57
|
DescribeCloudNativeAPIGatewayRoutesResponse,
|
|
53
58
|
DescribeZookeeperReplicasRequest,
|
|
54
59
|
DeleteCloudNativeAPIGatewayServiceResponse,
|
|
60
|
+
InstancePort,
|
|
61
|
+
DescribeCloudNativeAPIGatewayResult,
|
|
55
62
|
DeleteCloudNativeAPIGatewayRouteResponse,
|
|
56
63
|
DescribeCloudNativeAPIGatewayPortsResponse,
|
|
57
64
|
CreateCloudNativeAPIGatewayRouteRateLimitRequest,
|
|
65
|
+
DeleteNativeGatewayServerGroupRequest,
|
|
58
66
|
ModifyCloudNativeAPIGatewayRouteResponse,
|
|
67
|
+
DeleteNativeGatewayServerGroupResult,
|
|
59
68
|
ServiceGovernanceInfo,
|
|
60
69
|
DescribeNacosReplicasResponse,
|
|
61
70
|
DeleteCloudNativeAPIGatewayServiceRateLimitRequest,
|
|
71
|
+
CloudNativeAPIGatewayVpcConfig,
|
|
62
72
|
CloudAPIGatewayCanaryRuleList,
|
|
63
73
|
KongRoutePreview,
|
|
64
74
|
CloudNativeAPIGatewayRateLimitDetail,
|
|
@@ -72,36 +82,50 @@ import {
|
|
|
72
82
|
DescribeCloudNativeAPIGatewayServiceRateLimitResponse,
|
|
73
83
|
DeleteCloudNativeAPIGatewayServiceRequest,
|
|
74
84
|
EnvInfo,
|
|
85
|
+
ModifyNativeGatewayServerGroupRequest,
|
|
75
86
|
DescribeCloudNativeAPIGatewayRouteRateLimitRequest,
|
|
76
87
|
DescribeOneCloudNativeAPIGatewayServiceRequest,
|
|
77
88
|
CreateCloudNativeAPIGatewayRouteRateLimitResponse,
|
|
89
|
+
DescribeCloudNativeAPIGatewaysResponse,
|
|
78
90
|
UpdateEngineInternetAccessResponse,
|
|
91
|
+
UpdateCloudNativeAPIGatewaySpecRequest,
|
|
92
|
+
DescribeCloudNativeAPIGatewayServicesResponse,
|
|
79
93
|
DeleteCloudNativeAPIGatewayRouteRateLimitRequest,
|
|
80
94
|
ListFilter,
|
|
81
95
|
DeleteEngineRequest,
|
|
82
96
|
ZookeeperReplica,
|
|
97
|
+
DescribeSREInstanceAccessAddressRequest,
|
|
83
98
|
DescribeCloudNativeAPIGatewayCanaryRulesResponse,
|
|
84
99
|
SREInstance,
|
|
85
100
|
DeleteCloudNativeAPIGatewayServiceRateLimitResponse,
|
|
86
101
|
ModifyCloudNativeAPIGatewayServiceRateLimitRequest,
|
|
87
102
|
CloudNativeAPIGatewayNode,
|
|
103
|
+
UpdateCloudNativeAPIGatewaySpecResponse,
|
|
88
104
|
DescribeGatewayInstancePortResult,
|
|
89
105
|
DescribeZookeeperServerInterfacesResponse,
|
|
90
|
-
|
|
106
|
+
DeleteCloudNativeAPIGatewayRequest,
|
|
107
|
+
EngineAdmin,
|
|
91
108
|
PolarisLimiterAddress,
|
|
92
109
|
DescribeOneCloudNativeAPIGatewayServiceResponse,
|
|
93
110
|
ModifyCloudNativeAPIGatewayServiceRequest,
|
|
111
|
+
DeleteCloudNativeAPIGatewayResponse,
|
|
94
112
|
KongServices,
|
|
113
|
+
ModifyCloudNativeAPIGatewayResponse,
|
|
95
114
|
DescribeZookeeperServerInterfacesRequest,
|
|
96
115
|
DescribeCloudNativeAPIGatewayRouteRateLimitResponse,
|
|
116
|
+
UpdateCloudNativeAPIGatewayResult,
|
|
117
|
+
DescribeCloudNativeAPIGatewayRequest,
|
|
97
118
|
CreateCloudNativeAPIGatewayCanaryRuleRequest,
|
|
98
119
|
DeleteCloudNativeAPIGatewayRouteRequest,
|
|
120
|
+
DescribeCloudNativeAPIGatewaysRequest,
|
|
121
|
+
InternetConfig,
|
|
99
122
|
DescribeCloudNativeAPIGatewayRoutesRequest,
|
|
100
123
|
CreateEngineResponse,
|
|
101
124
|
CreateCloudNativeAPIGatewayServiceRateLimitResponse,
|
|
102
125
|
DescribeCloudNativeAPIGatewayNodesResult,
|
|
103
126
|
CloudNativeAPIGatewayCanaryRule,
|
|
104
127
|
ModifyCloudNativeAPIGatewayServiceRateLimitResponse,
|
|
128
|
+
CreateCloudNativeAPIGatewayServerGroupResult,
|
|
105
129
|
DescribeNacosServerInterfacesRequest,
|
|
106
130
|
CloudNativeAPIGatewayCanaryRuleCondition,
|
|
107
131
|
DescribeSREInstancesResponse,
|
|
@@ -109,17 +133,22 @@ import {
|
|
|
109
133
|
BoundK8SInfo,
|
|
110
134
|
KongUpstreamInfo,
|
|
111
135
|
DescribeSREInstancesRequest,
|
|
136
|
+
CreateNativeGatewayServerGroupResponse,
|
|
112
137
|
CreateCloudNativeAPIGatewayServiceRateLimitRequest,
|
|
113
138
|
DescribeZookeeperReplicasResponse,
|
|
114
139
|
CreateEngineRequest,
|
|
115
140
|
ModifyCloudNativeAPIGatewayCanaryRuleRequest,
|
|
141
|
+
VpcInfo,
|
|
116
142
|
KongServiceRouteList,
|
|
117
|
-
|
|
143
|
+
CreateCloudNativeAPIGatewayResult,
|
|
144
|
+
ModifyCloudNativeAPIGatewayRequest,
|
|
145
|
+
KongServicePreview,
|
|
118
146
|
ModifyCloudNativeAPIGatewayRouteRateLimitResponse,
|
|
119
|
-
|
|
147
|
+
Filter,
|
|
120
148
|
DescribeCloudNativeAPIGatewayCanaryRulesRequest,
|
|
121
149
|
DeleteCloudNativeAPIGatewayCanaryRuleResponse,
|
|
122
150
|
DescribeCloudNativeAPIGatewayPortsRequest,
|
|
151
|
+
ModifyNativeGatewayServerGroupResponse,
|
|
123
152
|
KongServiceDetail,
|
|
124
153
|
} from "./tse_models"
|
|
125
154
|
|
|
@@ -133,13 +162,23 @@ export class Client extends AbstractClient {
|
|
|
133
162
|
}
|
|
134
163
|
|
|
135
164
|
/**
|
|
136
|
-
*
|
|
165
|
+
* 查询Nacos类型引擎实例副本信息
|
|
137
166
|
*/
|
|
138
|
-
async
|
|
139
|
-
req:
|
|
140
|
-
cb?: (error: string, rep:
|
|
141
|
-
): Promise<
|
|
142
|
-
return this.request("
|
|
167
|
+
async DescribeNacosReplicas(
|
|
168
|
+
req: DescribeNacosReplicasRequest,
|
|
169
|
+
cb?: (error: string, rep: DescribeNacosReplicasResponse) => void
|
|
170
|
+
): Promise<DescribeNacosReplicasResponse> {
|
|
171
|
+
return this.request("DescribeNacosReplicas", req, cb)
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
/**
|
|
175
|
+
* 修改云原生API网关实例分组基础信息
|
|
176
|
+
*/
|
|
177
|
+
async ModifyNativeGatewayServerGroup(
|
|
178
|
+
req: ModifyNativeGatewayServerGroupRequest,
|
|
179
|
+
cb?: (error: string, rep: ModifyNativeGatewayServerGroupResponse) => void
|
|
180
|
+
): Promise<ModifyNativeGatewayServerGroupResponse> {
|
|
181
|
+
return this.request("ModifyNativeGatewayServerGroup", req, cb)
|
|
143
182
|
}
|
|
144
183
|
|
|
145
184
|
/**
|
|
@@ -162,6 +201,16 @@ export class Client extends AbstractClient {
|
|
|
162
201
|
return this.request("DescribeZookeeperServerInterfaces", req, cb)
|
|
163
202
|
}
|
|
164
203
|
|
|
204
|
+
/**
|
|
205
|
+
* 获取云原生网关服务详情
|
|
206
|
+
*/
|
|
207
|
+
async DescribeOneCloudNativeAPIGatewayService(
|
|
208
|
+
req: DescribeOneCloudNativeAPIGatewayServiceRequest,
|
|
209
|
+
cb?: (error: string, rep: DescribeOneCloudNativeAPIGatewayServiceResponse) => void
|
|
210
|
+
): Promise<DescribeOneCloudNativeAPIGatewayServiceResponse> {
|
|
211
|
+
return this.request("DescribeOneCloudNativeAPIGatewayService", req, cb)
|
|
212
|
+
}
|
|
213
|
+
|
|
165
214
|
/**
|
|
166
215
|
* 修改云原生网关限流插件(服务)
|
|
167
216
|
*/
|
|
@@ -182,6 +231,16 @@ export class Client extends AbstractClient {
|
|
|
182
231
|
return this.request("CreateEngine", req, cb)
|
|
183
232
|
}
|
|
184
233
|
|
|
234
|
+
/**
|
|
235
|
+
* 修改云原生网关的灰度规则
|
|
236
|
+
*/
|
|
237
|
+
async ModifyCloudNativeAPIGatewayCanaryRule(
|
|
238
|
+
req: ModifyCloudNativeAPIGatewayCanaryRuleRequest,
|
|
239
|
+
cb?: (error: string, rep: ModifyCloudNativeAPIGatewayCanaryRuleResponse) => void
|
|
240
|
+
): Promise<ModifyCloudNativeAPIGatewayCanaryRuleResponse> {
|
|
241
|
+
return this.request("ModifyCloudNativeAPIGatewayCanaryRule", req, cb)
|
|
242
|
+
}
|
|
243
|
+
|
|
185
244
|
/**
|
|
186
245
|
* 删除云原生网关服务
|
|
187
246
|
*/
|
|
@@ -212,6 +271,16 @@ export class Client extends AbstractClient {
|
|
|
212
271
|
return this.request("DescribeCloudNativeAPIGatewayRoutes", req, cb)
|
|
213
272
|
}
|
|
214
273
|
|
|
274
|
+
/**
|
|
275
|
+
* 获取云原生API网关实例信息
|
|
276
|
+
*/
|
|
277
|
+
async DescribeCloudNativeAPIGateway(
|
|
278
|
+
req: DescribeCloudNativeAPIGatewayRequest,
|
|
279
|
+
cb?: (error: string, rep: DescribeCloudNativeAPIGatewayResponse) => void
|
|
280
|
+
): Promise<DescribeCloudNativeAPIGatewayResponse> {
|
|
281
|
+
return this.request("DescribeCloudNativeAPIGateway", req, cb)
|
|
282
|
+
}
|
|
283
|
+
|
|
215
284
|
/**
|
|
216
285
|
* 获取云原生API网关实例端口信息
|
|
217
286
|
*/
|
|
@@ -252,6 +321,16 @@ export class Client extends AbstractClient {
|
|
|
252
321
|
return this.request("DeleteCloudNativeAPIGatewayCanaryRule", req, cb)
|
|
253
322
|
}
|
|
254
323
|
|
|
324
|
+
/**
|
|
325
|
+
* 获取云原生API网关实例列表
|
|
326
|
+
*/
|
|
327
|
+
async DescribeCloudNativeAPIGateways(
|
|
328
|
+
req: DescribeCloudNativeAPIGatewaysRequest,
|
|
329
|
+
cb?: (error: string, rep: DescribeCloudNativeAPIGatewaysResponse) => void
|
|
330
|
+
): Promise<DescribeCloudNativeAPIGatewaysResponse> {
|
|
331
|
+
return this.request("DescribeCloudNativeAPIGateways", req, cb)
|
|
332
|
+
}
|
|
333
|
+
|
|
255
334
|
/**
|
|
256
335
|
* 查询云原生网关服务列表
|
|
257
336
|
*/
|
|
@@ -282,6 +361,16 @@ export class Client extends AbstractClient {
|
|
|
282
361
|
return this.request("DescribeNacosServerInterfaces", req, cb)
|
|
283
362
|
}
|
|
284
363
|
|
|
364
|
+
/**
|
|
365
|
+
* 修改云原生API网关实例的节点规格信息,比如节点扩缩容或者升降配
|
|
366
|
+
*/
|
|
367
|
+
async UpdateCloudNativeAPIGatewaySpec(
|
|
368
|
+
req: UpdateCloudNativeAPIGatewaySpecRequest,
|
|
369
|
+
cb?: (error: string, rep: UpdateCloudNativeAPIGatewaySpecResponse) => void
|
|
370
|
+
): Promise<UpdateCloudNativeAPIGatewaySpecResponse> {
|
|
371
|
+
return this.request("UpdateCloudNativeAPIGatewaySpec", req, cb)
|
|
372
|
+
}
|
|
373
|
+
|
|
285
374
|
/**
|
|
286
375
|
* 查询Zookeeper类型注册引擎实例副本信息
|
|
287
376
|
*/
|
|
@@ -292,6 +381,16 @@ export class Client extends AbstractClient {
|
|
|
292
381
|
return this.request("DescribeZookeeperReplicas", req, cb)
|
|
293
382
|
}
|
|
294
383
|
|
|
384
|
+
/**
|
|
385
|
+
* 创建云原生API网关实例
|
|
386
|
+
*/
|
|
387
|
+
async CreateCloudNativeAPIGateway(
|
|
388
|
+
req: CreateCloudNativeAPIGatewayRequest,
|
|
389
|
+
cb?: (error: string, rep: CreateCloudNativeAPIGatewayResponse) => void
|
|
390
|
+
): Promise<CreateCloudNativeAPIGatewayResponse> {
|
|
391
|
+
return this.request("CreateCloudNativeAPIGateway", req, cb)
|
|
392
|
+
}
|
|
393
|
+
|
|
295
394
|
/**
|
|
296
395
|
* 用于查询引擎实例列表
|
|
297
396
|
*/
|
|
@@ -363,13 +462,13 @@ export class Client extends AbstractClient {
|
|
|
363
462
|
}
|
|
364
463
|
|
|
365
464
|
/**
|
|
366
|
-
*
|
|
465
|
+
* 修改云原生API网关实例基础信息
|
|
367
466
|
*/
|
|
368
|
-
async
|
|
369
|
-
req:
|
|
370
|
-
cb?: (error: string, rep:
|
|
371
|
-
): Promise<
|
|
372
|
-
return this.request("
|
|
467
|
+
async ModifyCloudNativeAPIGateway(
|
|
468
|
+
req: ModifyCloudNativeAPIGatewayRequest,
|
|
469
|
+
cb?: (error: string, rep: ModifyCloudNativeAPIGatewayResponse) => void
|
|
470
|
+
): Promise<ModifyCloudNativeAPIGatewayResponse> {
|
|
471
|
+
return this.request("ModifyCloudNativeAPIGateway", req, cb)
|
|
373
472
|
}
|
|
374
473
|
|
|
375
474
|
/**
|
|
@@ -382,6 +481,16 @@ export class Client extends AbstractClient {
|
|
|
382
481
|
return this.request("CreateCloudNativeAPIGatewayServiceRateLimit", req, cb)
|
|
383
482
|
}
|
|
384
483
|
|
|
484
|
+
/**
|
|
485
|
+
* 删除云原生API网关实例
|
|
486
|
+
*/
|
|
487
|
+
async DeleteCloudNativeAPIGateway(
|
|
488
|
+
req: DeleteCloudNativeAPIGatewayRequest,
|
|
489
|
+
cb?: (error: string, rep: DeleteCloudNativeAPIGatewayResponse) => void
|
|
490
|
+
): Promise<DeleteCloudNativeAPIGatewayResponse> {
|
|
491
|
+
return this.request("DeleteCloudNativeAPIGateway", req, cb)
|
|
492
|
+
}
|
|
493
|
+
|
|
385
494
|
/**
|
|
386
495
|
* 创建云原生网关路由
|
|
387
496
|
*/
|
|
@@ -392,6 +501,16 @@ export class Client extends AbstractClient {
|
|
|
392
501
|
return this.request("CreateCloudNativeAPIGatewayRoute", req, cb)
|
|
393
502
|
}
|
|
394
503
|
|
|
504
|
+
/**
|
|
505
|
+
* 创建云原生网关引擎分组
|
|
506
|
+
*/
|
|
507
|
+
async CreateNativeGatewayServerGroup(
|
|
508
|
+
req: CreateNativeGatewayServerGroupRequest,
|
|
509
|
+
cb?: (error: string, rep: CreateNativeGatewayServerGroupResponse) => void
|
|
510
|
+
): Promise<CreateNativeGatewayServerGroupResponse> {
|
|
511
|
+
return this.request("CreateNativeGatewayServerGroup", req, cb)
|
|
512
|
+
}
|
|
513
|
+
|
|
395
514
|
/**
|
|
396
515
|
* 删除云原生网关的限流插件(路由)
|
|
397
516
|
*/
|
|
@@ -412,16 +531,6 @@ export class Client extends AbstractClient {
|
|
|
412
531
|
return this.request("CreateCloudNativeAPIGatewayRouteRateLimit", req, cb)
|
|
413
532
|
}
|
|
414
533
|
|
|
415
|
-
/**
|
|
416
|
-
* 查询Nacos类型引擎实例副本信息
|
|
417
|
-
*/
|
|
418
|
-
async DescribeNacosReplicas(
|
|
419
|
-
req: DescribeNacosReplicasRequest,
|
|
420
|
-
cb?: (error: string, rep: DescribeNacosReplicasResponse) => void
|
|
421
|
-
): Promise<DescribeNacosReplicasResponse> {
|
|
422
|
-
return this.request("DescribeNacosReplicas", req, cb)
|
|
423
|
-
}
|
|
424
|
-
|
|
425
534
|
/**
|
|
426
535
|
* 修改云原生网关路由
|
|
427
536
|
*/
|
|
@@ -432,6 +541,16 @@ export class Client extends AbstractClient {
|
|
|
432
541
|
return this.request("ModifyCloudNativeAPIGatewayRoute", req, cb)
|
|
433
542
|
}
|
|
434
543
|
|
|
544
|
+
/**
|
|
545
|
+
* 删除网关实例分组
|
|
546
|
+
*/
|
|
547
|
+
async DeleteNativeGatewayServerGroup(
|
|
548
|
+
req: DeleteNativeGatewayServerGroupRequest,
|
|
549
|
+
cb?: (error: string, rep: DeleteNativeGatewayServerGroupResponse) => void
|
|
550
|
+
): Promise<DeleteNativeGatewayServerGroupResponse> {
|
|
551
|
+
return this.request("DeleteNativeGatewayServerGroup", req, cb)
|
|
552
|
+
}
|
|
553
|
+
|
|
435
554
|
/**
|
|
436
555
|
* 查询云原生网关灰度规则列表
|
|
437
556
|
*/
|