tencentcloud-sdk-nodejs 4.0.644 → 4.0.645

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.
Files changed (59) hide show
  1. package/CHANGELOG.md +290 -0
  2. package/SERVICE_CHANGELOG.md +344 -172
  3. package/package.json +1 -1
  4. package/products.md +19 -19
  5. package/src/common/sdk_version.ts +1 -1
  6. package/src/services/as/v20180419/as_client.ts +1 -0
  7. package/src/services/as/v20180419/as_models.ts +41 -18
  8. package/src/services/batch/v20170312/batch_models.ts +3 -3
  9. package/src/services/cam/v20190116/cam_models.ts +11 -6
  10. package/src/services/cls/v20201016/cls_client.ts +31 -18
  11. package/src/services/cls/v20201016/cls_models.ts +86 -0
  12. package/src/services/cvm/v20170312/cvm_models.ts +6 -6
  13. package/src/services/ess/v20201111/ess_models.ts +4 -0
  14. package/src/services/essbasic/v20210526/essbasic_models.ts +1 -1
  15. package/src/services/goosefs/v20220519/goosefs_models.ts +19 -0
  16. package/src/services/keewidb/v20220308/keewidb_models.ts +9 -5
  17. package/src/services/lighthouse/v20200324/lighthouse_models.ts +4 -0
  18. package/src/services/live/v20180801/live_models.ts +1 -1
  19. package/src/services/monitor/v20180724/monitor_client.ts +2 -23
  20. package/src/services/monitor/v20180724/monitor_models.ts +28 -74
  21. package/src/services/ocr/v20181119/ocr_client.ts +2 -2
  22. package/src/services/ocr/v20181119/ocr_models.ts +19 -2
  23. package/src/services/ssl/v20191205/ssl_models.ts +1 -1
  24. package/src/services/tse/v20201207/tse_client.ts +14 -0
  25. package/src/services/tse/v20201207/tse_models.ts +57 -0
  26. package/src/services/wedata/v20210820/wedata_client.ts +140 -40
  27. package/src/services/wedata/v20210820/wedata_models.ts +711 -87
  28. package/tencentcloud/common/sdk_version.d.ts +1 -1
  29. package/tencentcloud/common/sdk_version.js +1 -1
  30. package/tencentcloud/services/as/v20180419/as_models.d.ts +40 -18
  31. package/tencentcloud/services/batch/v20170312/batch_models.d.ts +3 -3
  32. package/tencentcloud/services/cam/v20190116/cam_models.d.ts +11 -6
  33. package/tencentcloud/services/cls/v20201016/cls_client.d.ts +11 -7
  34. package/tencentcloud/services/cls/v20201016/cls_client.js +15 -9
  35. package/tencentcloud/services/cls/v20201016/cls_models.d.ts +83 -0
  36. package/tencentcloud/services/cvm/v20170312/cvm_models.d.ts +6 -6
  37. package/tencentcloud/services/ess/v20201111/ess_models.d.ts +4 -0
  38. package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +1 -1
  39. package/tencentcloud/services/goosefs/v20220519/goosefs_models.d.ts +19 -0
  40. package/tencentcloud/services/keewidb/v20220308/keewidb_models.d.ts +9 -5
  41. package/tencentcloud/services/lighthouse/v20200324/lighthouse_models.d.ts +4 -0
  42. package/tencentcloud/services/live/v20180801/live_models.d.ts +1 -1
  43. package/tencentcloud/services/monitor/v20180724/monitor_client.d.ts +1 -13
  44. package/tencentcloud/services/monitor/v20180724/monitor_client.js +0 -14
  45. package/tencentcloud/services/monitor/v20180724/monitor_models.d.ts +28 -71
  46. package/tencentcloud/services/ocr/v20181119/ocr_client.d.ts +2 -2
  47. package/tencentcloud/services/ocr/v20181119/ocr_client.js +2 -2
  48. package/tencentcloud/services/ocr/v20181119/ocr_models.d.ts +19 -2
  49. package/tencentcloud/services/ssl/v20191205/ssl_models.d.ts +1 -1
  50. package/tencentcloud/services/tse/v20201207/tse_client.d.ts +5 -1
  51. package/tencentcloud/services/tse/v20201207/tse_client.js +6 -0
  52. package/tencentcloud/services/tse/v20201207/tse_models.d.ts +53 -0
  53. package/tencentcloud/services/wedata/v20210820/wedata_client.d.ts +44 -12
  54. package/tencentcloud/services/wedata/v20210820/wedata_client.js +64 -16
  55. package/tencentcloud/services/wedata/v20210820/wedata_models.d.ts +685 -81
  56. package/test/cls.v20201016.test.js +16 -6
  57. package/test/monitor.v20180724.test.js +0 -10
  58. package/test/tse.v20201207.test.js +10 -0
  59. package/test/wedata.v20210820.test.js +90 -10
@@ -59,11 +59,26 @@ export interface DescribeClusterRoleTokenRequest {
59
59
  * 查询Client Token
60
60
  */
61
61
  export interface ClientToken {
62
+ /**
63
+ * 节点 IP
64
+ 注意:此字段可能返回 null,表示取不到有效值。
65
+ */
66
+ NodeIp?: string
62
67
  /**
63
68
  * 挂载点
64
69
  注意:此字段可能返回 null,表示取不到有效值。
65
70
  */
66
71
  LocalDirectory?: string
72
+ /**
73
+ * 可以访问的 GooseFS 目录
74
+ 注意:此字段可能返回 null,表示取不到有效值。
75
+ */
76
+ GooseFSDirectory?: string
77
+ /**
78
+ * token
79
+ 注意:此字段可能返回 null,表示取不到有效值。
80
+ */
81
+ Token?: string
67
82
  }
68
83
 
69
84
  /**
@@ -103,6 +118,10 @@ export interface DescribeClusterRolesRequest {
103
118
  * 集群ID
104
119
  */
105
120
  ClusterId: string
121
+ /**
122
+ * 角色名
123
+ */
124
+ RoleName?: string
106
125
  }
107
126
 
108
127
  /**
@@ -154,10 +154,6 @@ export interface CreateInstancesRequest {
154
154
  * 副本数。当前仅支持设置1个副本节点,即每一个分片仅包含1个主节点与1个副本节点,数据主从实时热备。
155
155
  */
156
156
  ReplicasNum: number
157
- /**
158
- * 计算cpu核心数。
159
- */
160
- MachineCpu: number
161
157
  /**
162
158
  * 实例内存容量,单位:GB。
163
159
  KeeWiDB 内存容量<b>MachineMemory</b>与持久内存容量<b>MemSize</b>为固定搭配,即2GB内存,固定分配8GB的持久内存,不可选择。具体信息,请参见[产品规格](https://cloud.tencent.com/document/product/1520/80808)。
@@ -211,10 +207,18 @@ KeeWiDB 内存容量<b>MachineMemory</b>与持久内存容量<b>MemSize</b>为
211
207
  每一缓存分片容量,对应的磁盘容量范围不同。具体信息,请参见[产品规格](https://cloud.tencent.com/document/product/1520/80808)。
212
208
  */
213
209
  DiskSize?: number
210
+ /**
211
+ * 计算 CPU 核数,可忽略不传。CPU 核数与内存为固定搭配,具体信息,请参见[产品规格](https://cloud.tencent.com/document/product/1520/80808)。
212
+ */
213
+ MachineCpu?: number
214
214
  /**
215
215
  * 项目id,取值以用户账户>用户账户相关接口查询>项目列表返回的projectId为准。
216
216
  */
217
217
  ProjectId?: number
218
+ /**
219
+ * 数据压缩开关。<ul><li>ON:开启,默认开启压缩。</li><li>OFF:关闭。</li>
220
+ */
221
+ Compression?: string
218
222
  }
219
223
 
220
224
  /**
@@ -2433,7 +2437,7 @@ export interface UpgradeInstanceRequest {
2433
2437
  */
2434
2438
  MemSize?: number
2435
2439
  /**
2436
- * CPU 核数。
2440
+ * CPU 核数,可忽略不传
2437
2441
  */
2438
2442
  MachineCpu?: number
2439
2443
  /**
@@ -3375,6 +3375,10 @@ export interface DockerContainerConfiguration {
3375
3375
  * 运行的命令
3376
3376
  */
3377
3377
  Command?: string
3378
+ /**
3379
+ * 容器重启策略
3380
+ */
3381
+ RestartPolicy?: string
3378
3382
  }
3379
3383
 
3380
3384
  /**
@@ -4758,7 +4758,7 @@ SourceType 为点播(PullVodPushLive)可以填多个,上限30个。
4758
4758
  /**
4759
4759
  * 结束时间,注意:
4760
4760
  1. 结束时间必须大于开始时间;
4761
- 2. 结束时间和开始时间必须大于当前时间;
4761
+ 2. 结束时间必须大于当前时间;
4762
4762
  3. 结束时间 和 开始时间 间隔必须小于七天。
4763
4763
  使用 UTC 格式时间,
4764
4764
  例如:2019-01-08T10:00:00Z。
@@ -273,7 +273,7 @@ import {
273
273
  ModifyAlarmPolicyConditionResponse,
274
274
  DescribePrometheusInstancesOverviewResponse,
275
275
  MetricSet,
276
- DescribePrometheusRecordRuleYamlResponse,
276
+ PrometheusInstanceGrantInfo,
277
277
  TemplateGroup,
278
278
  DescribeBindingPolicyObjectListInstance,
279
279
  UpdateGrafanaIntegrationResponse,
@@ -292,7 +292,7 @@ import {
292
292
  DescribeAccidentEventListAlarms,
293
293
  CreatePrometheusGlobalNotificationResponse,
294
294
  DescribeAlarmHistoriesRequest,
295
- PrometheusInstanceGrantInfo,
295
+ DescribePrometheusRecordRuleYamlResponse,
296
296
  DeletePolicyGroupRequest,
297
297
  EnableSSOCamCheckRequest,
298
298
  DeleteGrafanaIntegrationResponse,
@@ -356,7 +356,6 @@ import {
356
356
  UpdatePrometheusAgentStatusRequest,
357
357
  DescribeGrafanaInstancesResponse,
358
358
  CheckIsPrometheusNewUserResponse,
359
- PutMonitorDataResponse,
360
359
  DescribePolicyGroupInfoRequest,
361
360
  UpdateAlertRuleStateResponse,
362
361
  ModifyPrometheusRecordRuleYamlRequest,
@@ -414,7 +413,6 @@ import {
414
413
  DescribeProductEventListEventsGroupInfo,
415
414
  UpdateSSOAccountRequest,
416
415
  CreateSSOAccountResponse,
417
- PutMonitorDataRequest,
418
416
  UpdatePrometheusScrapeJobResponse,
419
417
  DescribeAlarmPoliciesRequest,
420
418
  DescribePolicyConditionListConfigManualStatType,
@@ -430,7 +428,6 @@ import {
430
428
  UpdateGrafanaIntegrationRequest,
431
429
  DeletePrometheusRecordRuleYamlRequest,
432
430
  DescribeAlarmNoticeCallbacksRequest,
433
- MetricDatum,
434
431
  DescribeStatisticDataRequest,
435
432
  GrafanaNotificationChannel,
436
433
  SetDefaultAlarmPolicyRequest,
@@ -1724,24 +1721,6 @@ export class Client extends AbstractClient {
1724
1721
  return this.request("GetMonitorData", req, cb)
1725
1722
  }
1726
1723
 
1727
- /**
1728
- * 对应的功能控制台及后端服务已于2年前下线,剩余该API接口未下线。
1729
-
1730
- 默认接口请求频率限制:50次/秒。
1731
- 默认单租户指标上限:100个。
1732
- 单次上报最多 30 个指标/值对,请求返回错误时,请求中所有的指标/值均不会被保存。
1733
-
1734
- 上报的时间戳为期望保存的时间戳,建议构造整数分钟时刻的时间戳。
1735
- 时间戳时间范围必须为当前时间到 300 秒前之间。
1736
- 同一 IP 指标对的数据需按分钟先后顺序上报。
1737
- */
1738
- async PutMonitorData(
1739
- req: PutMonitorDataRequest,
1740
- cb?: (error: string, rep: PutMonitorDataResponse) => void
1741
- ): Promise<PutMonitorDataResponse> {
1742
- return this.request("PutMonitorData", req, cb)
1743
- }
1744
-
1745
1724
  /**
1746
1725
  * 更新 Grafana 的 DNS 配置
1747
1726
  */
@@ -6118,13 +6118,33 @@ export interface MetricSet {
6118
6118
  }
6119
6119
 
6120
6120
  /**
6121
- * DescribePrometheusRecordRuleYaml返回参数结构体
6121
+ * 实例的授权信息
6122
6122
  */
6123
- export interface DescribePrometheusRecordRuleYamlResponse {
6123
+ export interface PrometheusInstanceGrantInfo {
6124
6124
  /**
6125
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
6125
+ * 是否有计费操作权限(1=有,2=无)
6126
6126
  */
6127
- RequestId?: string
6127
+ HasChargeOperation: number
6128
+ /**
6129
+ * 是否显示VPC信息的权限(1=有,2=无)
6130
+ */
6131
+ HasVpcDisplay: number
6132
+ /**
6133
+ * 是否可修改Grafana的状态(1=有,2=无)
6134
+ */
6135
+ HasGrafanaStatusChange: number
6136
+ /**
6137
+ * 是否有管理agent的权限(1=有,2=无)
6138
+ */
6139
+ HasAgentManage: number
6140
+ /**
6141
+ * 是否有管理TKE集成的权限(1=有,2=无)
6142
+ */
6143
+ HasTkeManage: number
6144
+ /**
6145
+ * 是否显示API等信息(1=有, 2=无)
6146
+ */
6147
+ HasApiOperation: number
6128
6148
  }
6129
6149
 
6130
6150
  /**
@@ -6628,33 +6648,13 @@ export interface DescribeAlarmHistoriesRequest {
6628
6648
  }
6629
6649
 
6630
6650
  /**
6631
- * 实例的授权信息
6651
+ * DescribePrometheusRecordRuleYaml返回参数结构体
6632
6652
  */
6633
- export interface PrometheusInstanceGrantInfo {
6634
- /**
6635
- * 是否有计费操作权限(1=有,2=无)
6636
- */
6637
- HasChargeOperation: number
6638
- /**
6639
- * 是否显示VPC信息的权限(1=有,2=无)
6640
- */
6641
- HasVpcDisplay: number
6642
- /**
6643
- * 是否可修改Grafana的状态(1=有,2=无)
6644
- */
6645
- HasGrafanaStatusChange: number
6646
- /**
6647
- * 是否有管理agent的权限(1=有,2=无)
6648
- */
6649
- HasAgentManage: number
6650
- /**
6651
- * 是否有管理TKE集成的权限(1=有,2=无)
6652
- */
6653
- HasTkeManage: number
6653
+ export interface DescribePrometheusRecordRuleYamlResponse {
6654
6654
  /**
6655
- * 是否显示API等信息(1=有, 2=无)
6655
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
6656
6656
  */
6657
- HasApiOperation: number
6657
+ RequestId?: string
6658
6658
  }
6659
6659
 
6660
6660
  /**
@@ -8239,16 +8239,6 @@ export interface CheckIsPrometheusNewUserResponse {
8239
8239
  RequestId?: string
8240
8240
  }
8241
8241
 
8242
- /**
8243
- * PutMonitorData返回参数结构体
8244
- */
8245
- export interface PutMonitorDataResponse {
8246
- /**
8247
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
8248
- */
8249
- RequestId?: string
8250
- }
8251
-
8252
8242
  /**
8253
8243
  * DescribePolicyGroupInfo请求参数结构体
8254
8244
  */
@@ -9589,28 +9579,6 @@ export interface CreateSSOAccountResponse {
9589
9579
  RequestId?: string
9590
9580
  }
9591
9581
 
9592
- /**
9593
- * PutMonitorData请求参数结构体
9594
- */
9595
- export interface PutMonitorDataRequest {
9596
- /**
9597
- * 一组指标和数据
9598
- */
9599
- Metrics: Array<MetricDatum>
9600
- /**
9601
- * 上报时自行指定的 IP
9602
- */
9603
- AnnounceIp?: string
9604
- /**
9605
- * 上报时自行指定的时间戳
9606
- */
9607
- AnnounceTimestamp?: number
9608
- /**
9609
- * 上报时自行指定的 IP 或 产品实例ID
9610
- */
9611
- AnnounceInstance?: string
9612
- }
9613
-
9614
9582
  /**
9615
9583
  * UpdatePrometheusScrapeJob返回参数结构体
9616
9584
  */
@@ -10016,20 +9984,6 @@ export interface DescribeAlarmNoticeCallbacksRequest {
10016
9984
  Module: string
10017
9985
  }
10018
9986
 
10019
- /**
10020
- * 指标名称和值的封装
10021
- */
10022
- export interface MetricDatum {
10023
- /**
10024
- * 指标名称
10025
- */
10026
- MetricName: string
10027
- /**
10028
- * 指标的值
10029
- */
10030
- Value: number
10031
- }
10032
-
10033
9987
  /**
10034
9988
  * DescribeStatisticData请求参数结构体
10035
9989
  */
@@ -354,7 +354,7 @@ export class Client extends AbstractClient {
354
354
  }
355
355
 
356
356
  /**
357
- * 本接口支持识别并提取各类证照、票据、表单、合同等结构化场景的字段信息。无需任何配置,灵活高效。适用于各类结构化信息录入场景。
357
+ * 本接口支持智能提取各类证照、票据、表单、合同等结构化场景的key:value字段信息,并支持提取表格信息的key:value组的结构化,灵活高效,适用于各类非标准材料的信息录入场景,点击[立即体验](https://cloud.tencent.com/product/smart-ocr)。
358
358
 
359
359
  默认接口请求频率限制:10次/秒。
360
360
  */
@@ -1127,7 +1127,7 @@ export class Client extends AbstractClient {
1127
1127
  }
1128
1128
 
1129
1129
  /**
1130
- * 本接口支持各类印章识别,包括发票章,财务章等,适用于公文,票据等场景。
1130
+ * 本接口支持各类印章主体内容、印章其他内容及形状识别,支持单图多印章识别,包括发票章、财务章等,适用于公文票据等场景。
1131
1131
 
1132
1132
  默认接口请求频率限制:5次/秒。
1133
1133
  */
@@ -571,6 +571,7 @@ export interface SmartStructuralOCRV2Request {
571
571
  * 图片的 Url 地址。
572
572
  支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
573
573
  支持的图片大小:所下载图片经 Base64 编码后不超过 7M。图片下载时间不超过 3 秒。
574
+ 支持的图片像素:需介于20-10000px之间。
574
575
  图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。
575
576
  非腾讯云存储的 Url 速度和稳定性可能受一定影响。
576
577
  */
@@ -579,6 +580,7 @@ export interface SmartStructuralOCRV2Request {
579
580
  * 图片的 Base64 值。
580
581
  支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
581
582
  支持的图片大小:所下载图片经Base64编码后不超过 7M。图片下载时间不超过 3 秒。
583
+ 支持的图片像素:需介于20-10000px之间。
582
584
  图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
583
585
  */
584
586
  ImageBase64?: string
@@ -600,6 +602,16 @@ ItemNames=["姓名","性别"]
600
602
  * 是否开启全文字段识别
601
603
  */
602
604
  ReturnFullText?: boolean
605
+ /**
606
+ * 配置id支持:
607
+ General -- 通用场景
608
+ OnlineTaxiItinerary -- 网约车行程单
609
+ RideHailingDriverLicense -- 网约车驾驶证
610
+ RideHailingTransportLicense -- 网约车运输证
611
+ WayBill -- 快递运单
612
+ AccountOpeningPermit -- 银行开户许可证
613
+ */
614
+ ConfigId?: string
603
615
  }
604
616
 
605
617
  /**
@@ -2926,12 +2938,17 @@ export interface GeneralBasicOCRResponse {
2926
2938
  Language?: string
2927
2939
  /**
2928
2940
  * 图片旋转角度(角度制),文本的水平方向为0°;顺时针为正,逆时针为负。点击查看<a href="https://cloud.tencent.com/document/product/866/45139">如何纠正倾斜文本</a>
2941
+ * @deprecated
2929
2942
  */
2930
2943
  Angel?: number
2931
2944
  /**
2932
2945
  * 图片为PDF时,返回PDF的总页数,默认为0
2933
2946
  */
2934
2947
  PdfPageSize?: number
2948
+ /**
2949
+ * 图片旋转角度(角度制),文本的水平方向为0°;顺时针为正,逆时针为负。点击查看<a href="https://cloud.tencent.com/document/product/866/45139">如何纠正倾斜文本</a>
2950
+ */
2951
+ Angle?: number
2935
2952
  /**
2936
2953
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2937
2954
  */
@@ -7503,12 +7520,12 @@ export interface ShipInvoiceOCRRequest {
7503
7520
  */
7504
7521
  export interface SealOCRRequest {
7505
7522
  /**
7506
- * 图片的 Base64 值。要求图片经Base64编码后不超过 7M,分辨率建议500*800以上,支持PNG、JPG、JPEG、BMP格式。建议卡片部分占据图片2/3以上。
7523
+ * 图片的 Base64 值。要求图片经Base64编码后不超过 7M,分辨率建议500*800以上,支持PNG、JPG、JPEG、BMP、PDF格式。建议卡片部分占据图片2/3以上。
7507
7524
  图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
7508
7525
  */
7509
7526
  ImageBase64?: string
7510
7527
  /**
7511
- * 图片的 Url 地址。要求图片经Base64编码后不超过 7M,分辨率建议500*800以上,支持PNG、JPG、JPEG、BMP格式。建议卡片部分占据图片2/3以上。图片下载时间不超过 3 秒。
7528
+ * 图片的 Url 地址。要求图片经Base64编码后不超过 7M,分辨率建议500*800以上,支持PNG、JPG、JPEG、BMP、PDF格式。建议卡片部分占据图片2/3以上。图片下载时间不超过 3 秒。
7512
7529
  建议图片存储于腾讯云,可保障更高的下载速度和稳定性。
7513
7530
  */
7514
7531
  ImageUrl?: string
@@ -2526,7 +2526,7 @@ export interface HostCertificateResponse {
2526
2526
  /**
2527
2527
  * 云资源配置详情
2528
2528
  */
2529
- CertHostingInfo: CertHostingInfo
2529
+ CertHostingInfo?: CertHostingInfo
2530
2530
  /**
2531
2531
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2532
2532
  */
@@ -29,6 +29,7 @@ import {
29
29
  DescribeSREInstanceAccessAddressResponse,
30
30
  DeleteCloudNativeAPIGatewayCanaryRuleRequest,
31
31
  DescribeCloudNativeAPIGatewayServicesResponse,
32
+ GatewayInstanceSchemeAndPorts,
32
33
  QpsThreshold,
33
34
  ModifyCloudNativeAPIGatewayServiceResponse,
34
35
  DescribeCloudNativeAPIGatewayNodesResponse,
@@ -52,6 +53,7 @@ import {
52
53
  DescribeZookeeperReplicasRequest,
53
54
  DeleteCloudNativeAPIGatewayServiceResponse,
54
55
  DeleteCloudNativeAPIGatewayRouteResponse,
56
+ DescribeCloudNativeAPIGatewayPortsResponse,
55
57
  CreateCloudNativeAPIGatewayRouteRateLimitRequest,
56
58
  ModifyCloudNativeAPIGatewayRouteResponse,
57
59
  ServiceGovernanceInfo,
@@ -83,6 +85,7 @@ import {
83
85
  DeleteCloudNativeAPIGatewayServiceRateLimitResponse,
84
86
  ModifyCloudNativeAPIGatewayServiceRateLimitRequest,
85
87
  CloudNativeAPIGatewayNode,
88
+ DescribeGatewayInstancePortResult,
86
89
  DescribeZookeeperServerInterfacesResponse,
87
90
  Filter,
88
91
  PolarisLimiterAddress,
@@ -116,6 +119,7 @@ import {
116
119
  EngineAdmin,
117
120
  DescribeCloudNativeAPIGatewayCanaryRulesRequest,
118
121
  DeleteCloudNativeAPIGatewayCanaryRuleResponse,
122
+ DescribeCloudNativeAPIGatewayPortsRequest,
119
123
  KongServiceDetail,
120
124
  } from "./tse_models"
121
125
 
@@ -208,6 +212,16 @@ export class Client extends AbstractClient {
208
212
  return this.request("DescribeCloudNativeAPIGatewayRoutes", req, cb)
209
213
  }
210
214
 
215
+ /**
216
+ * 获取云原生API网关实例端口信息
217
+ */
218
+ async DescribeCloudNativeAPIGatewayPorts(
219
+ req: DescribeCloudNativeAPIGatewayPortsRequest,
220
+ cb?: (error: string, rep: DescribeCloudNativeAPIGatewayPortsResponse) => void
221
+ ): Promise<DescribeCloudNativeAPIGatewayPortsResponse> {
222
+ return this.request("DescribeCloudNativeAPIGatewayPorts", req, cb)
223
+ }
224
+
211
225
  /**
212
226
  * 删除云原生网关路由
213
227
  */
@@ -313,6 +313,22 @@ export interface DescribeCloudNativeAPIGatewayServicesResponse {
313
313
  RequestId?: string
314
314
  }
315
315
 
316
+ /**
317
+ * 网关实例协议端口列表
318
+ */
319
+ export interface GatewayInstanceSchemeAndPorts {
320
+ /**
321
+ * 端口协议,可选HTTP、HTTPS、TCP和UDP
322
+ 注意:此字段可能返回 null,表示取不到有效值。
323
+ */
324
+ Scheme?: string
325
+ /**
326
+ * 端口列表
327
+ 注意:此字段可能返回 null,表示取不到有效值。
328
+ */
329
+ PortList?: Array<number>
330
+ }
331
+
316
332
  /**
317
333
  * 云原生网关限流插件Qps阈值
318
334
  */
@@ -813,6 +829,21 @@ export interface DeleteCloudNativeAPIGatewayRouteResponse {
813
829
  RequestId?: string
814
830
  }
815
831
 
832
+ /**
833
+ * DescribeCloudNativeAPIGatewayPorts返回参数结构体
834
+ */
835
+ export interface DescribeCloudNativeAPIGatewayPortsResponse {
836
+ /**
837
+ * 云原生API网关实例协议端口列表响应结果
838
+ 注意:此字段可能返回 null,表示取不到有效值。
839
+ */
840
+ Result?: DescribeGatewayInstancePortResult
841
+ /**
842
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
843
+ */
844
+ RequestId?: string
845
+ }
846
+
816
847
  /**
817
848
  * CreateCloudNativeAPIGatewayRouteRateLimit请求参数结构体
818
849
  */
@@ -1698,6 +1729,22 @@ export interface CloudNativeAPIGatewayNode {
1698
1729
  Status?: string
1699
1730
  }
1700
1731
 
1732
+ /**
1733
+ * 获取云原生API网关实例协议端口列表响应结果
1734
+ */
1735
+ export interface DescribeGatewayInstancePortResult {
1736
+ /**
1737
+ * 云原生API网关ID
1738
+ 注意:此字段可能返回 null,表示取不到有效值。
1739
+ */
1740
+ GatewayId?: string
1741
+ /**
1742
+ * 网关实例协议端口列表
1743
+ 注意:此字段可能返回 null,表示取不到有效值。
1744
+ */
1745
+ GatewayInstancePortList?: Array<GatewayInstanceSchemeAndPorts>
1746
+ }
1747
+
1701
1748
  /**
1702
1749
  * DescribeZookeeperServerInterfaces返回参数结构体
1703
1750
  */
@@ -2503,6 +2550,16 @@ export interface DeleteCloudNativeAPIGatewayCanaryRuleResponse {
2503
2550
  RequestId?: string
2504
2551
  }
2505
2552
 
2553
+ /**
2554
+ * DescribeCloudNativeAPIGatewayPorts请求参数结构体
2555
+ */
2556
+ export interface DescribeCloudNativeAPIGatewayPortsRequest {
2557
+ /**
2558
+ * 云原生API网关实例ID
2559
+ */
2560
+ GatewayId: string
2561
+ }
2562
+
2506
2563
  /**
2507
2564
  * 云原生网关服务详细信息
2508
2565
  */