tencentcloud-sdk-nodejs 4.0.571 → 4.0.573

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 (64) hide show
  1. package/CHANGELOG.md +179 -0
  2. package/SERVICE_CHANGELOG.md +192 -349
  3. package/package.json +1 -1
  4. package/products.md +21 -20
  5. package/src/common/sdk_version.ts +1 -1
  6. package/src/services/asr/v20190614/asr_models.ts +1 -1
  7. package/src/services/cdb/v20170320/cdb_models.ts +1 -1
  8. package/src/services/dcdb/v20180411/dcdb_client.ts +14 -1
  9. package/src/services/dcdb/v20180411/dcdb_models.ts +138 -8
  10. package/src/services/essbasic/v20210526/essbasic_client.ts +3 -3
  11. package/src/services/essbasic/v20210526/essbasic_models.ts +14 -14
  12. package/src/services/index.ts +1 -0
  13. package/src/services/monitor/v20180724/monitor_models.ts +25 -3
  14. package/src/services/scf/v20180416/scf_client.ts +12 -0
  15. package/src/services/scf/v20180416/scf_models.ts +50 -0
  16. package/src/services/tcss/v20201101/tcss_models.ts +27 -27
  17. package/src/services/teo/v20220901/teo_models.ts +4 -2
  18. package/src/services/tke/v20180525/tke_models.ts +6 -0
  19. package/src/services/trro/index.ts +5 -0
  20. package/src/services/trro/v20220325/index.ts +6 -0
  21. package/src/services/trro/v20220325/trro_client.ts +241 -0
  22. package/src/services/trro/v20220325/trro_models.ts +989 -0
  23. package/src/services/vod/v20180717/vod_client.ts +73 -9
  24. package/src/services/vod/v20180717/vod_models.ts +701 -213
  25. package/src/services/waf/v20180125/waf_client.ts +14 -1
  26. package/src/services/waf/v20180125/waf_models.ts +66 -24
  27. package/tencentcloud/common/sdk_version.d.ts +1 -1
  28. package/tencentcloud/common/sdk_version.js +1 -1
  29. package/tencentcloud/services/asr/v20190614/asr_models.d.ts +1 -1
  30. package/tencentcloud/services/cdb/v20170320/cdb_models.d.ts +1 -1
  31. package/tencentcloud/services/dcdb/v20180411/dcdb_client.d.ts +5 -1
  32. package/tencentcloud/services/dcdb/v20180411/dcdb_client.js +6 -0
  33. package/tencentcloud/services/dcdb/v20180411/dcdb_models.d.ts +115 -8
  34. package/tencentcloud/services/essbasic/v20210526/essbasic_client.d.ts +3 -3
  35. package/tencentcloud/services/essbasic/v20210526/essbasic_client.js +3 -3
  36. package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +12 -12
  37. package/tencentcloud/services/index.d.ts +1 -0
  38. package/tencentcloud/services/index.js +2 -0
  39. package/tencentcloud/services/monitor/v20180724/monitor_models.d.ts +21 -3
  40. package/tencentcloud/services/scf/v20180416/scf_client.d.ts +5 -1
  41. package/tencentcloud/services/scf/v20180416/scf_client.js +6 -0
  42. package/tencentcloud/services/scf/v20180416/scf_models.d.ts +42 -0
  43. package/tencentcloud/services/tcss/v20201101/tcss_models.d.ts +27 -27
  44. package/tencentcloud/services/teo/v20220901/teo_models.d.ts +4 -2
  45. package/tencentcloud/services/tke/v20180525/tke_models.d.ts +5 -0
  46. package/tencentcloud/services/trro/index.d.ts +6 -0
  47. package/tencentcloud/services/trro/index.js +7 -0
  48. package/tencentcloud/services/trro/v20220325/index.d.ts +6 -0
  49. package/tencentcloud/services/trro/v20220325/index.js +9 -0
  50. package/tencentcloud/services/trro/v20220325/trro_client.d.ts +78 -0
  51. package/tencentcloud/services/trro/v20220325/trro_client.js +133 -0
  52. package/tencentcloud/services/trro/v20220325/trro_models.d.ts +819 -0
  53. package/tencentcloud/services/trro/v20220325/trro_models.js +18 -0
  54. package/tencentcloud/services/vod/v20180717/vod_client.d.ts +21 -1
  55. package/tencentcloud/services/vod/v20180717/vod_client.js +30 -0
  56. package/tencentcloud/services/vod/v20180717/vod_models.d.ts +602 -190
  57. package/tencentcloud/services/waf/v20180125/waf_client.d.ts +5 -1
  58. package/tencentcloud/services/waf/v20180125/waf_client.js +6 -0
  59. package/tencentcloud/services/waf/v20180125/waf_models.d.ts +57 -20
  60. package/test/dcdb.v20180411.test.js +10 -0
  61. package/test/scf.v20180416.test.js +10 -0
  62. package/test/trro.v20220325.test.js +191 -0
  63. package/test/vod.v20180717.test.js +50 -0
  64. package/test/waf.v20180125.test.js +10 -0
@@ -10466,134 +10466,134 @@ export interface DescribeVirusTaskListResponse {
10466
10466
  */
10467
10467
  export interface DescribeAssetHostDetailResponse {
10468
10468
  /**
10469
- * 云镜uuid
10469
+ * 容器安全uuid
10470
10470
  */
10471
- UUID: string
10471
+ UUID?: string
10472
10472
 
10473
10473
  /**
10474
10474
  * 更新时间
10475
10475
  */
10476
- UpdateTime: string
10476
+ UpdateTime?: string
10477
10477
 
10478
10478
  /**
10479
10479
  * 主机名
10480
10480
  */
10481
- HostName: string
10481
+ HostName?: string
10482
10482
 
10483
10483
  /**
10484
10484
  * 主机分组
10485
10485
  */
10486
- Group: string
10486
+ Group?: string
10487
10487
 
10488
10488
  /**
10489
10489
  * 主机IP
10490
10490
  */
10491
- HostIP: string
10491
+ HostIP?: string
10492
10492
 
10493
10493
  /**
10494
10494
  * 操作系统
10495
10495
  */
10496
- OsName: string
10496
+ OsName?: string
10497
10497
 
10498
10498
  /**
10499
10499
  * agent版本
10500
10500
  */
10501
- AgentVersion: string
10501
+ AgentVersion?: string
10502
10502
 
10503
10503
  /**
10504
10504
  * 内核版本
10505
10505
  */
10506
- KernelVersion: string
10506
+ KernelVersion?: string
10507
10507
 
10508
10508
  /**
10509
10509
  * docker版本
10510
10510
  */
10511
- DockerVersion: string
10511
+ DockerVersion?: string
10512
10512
 
10513
10513
  /**
10514
10514
  * docker api版本
10515
10515
  */
10516
- DockerAPIVersion: string
10516
+ DockerAPIVersion?: string
10517
10517
 
10518
10518
  /**
10519
10519
  * docker go 版本
10520
10520
  */
10521
- DockerGoVersion: string
10521
+ DockerGoVersion?: string
10522
10522
 
10523
10523
  /**
10524
10524
  * docker 文件系统类型
10525
10525
  */
10526
- DockerFileSystemDriver: string
10526
+ DockerFileSystemDriver?: string
10527
10527
 
10528
10528
  /**
10529
10529
  * docker root 目录
10530
10530
  */
10531
- DockerRootDir: string
10531
+ DockerRootDir?: string
10532
10532
 
10533
10533
  /**
10534
10534
  * 镜像数
10535
10535
  */
10536
- ImageCnt: number
10536
+ ImageCnt?: number
10537
10537
 
10538
10538
  /**
10539
10539
  * 容器数
10540
10540
  */
10541
- ContainerCnt: number
10541
+ ContainerCnt?: number
10542
10542
 
10543
10543
  /**
10544
10544
  * k8s IP
10545
10545
  */
10546
- K8sMasterIP: string
10546
+ K8sMasterIP?: string
10547
10547
 
10548
10548
  /**
10549
10549
  * k8s version
10550
10550
  */
10551
- K8sVersion: string
10551
+ K8sVersion?: string
10552
10552
 
10553
10553
  /**
10554
10554
  * kube proxy
10555
10555
  */
10556
- KubeProxyVersion: string
10556
+ KubeProxyVersion?: string
10557
10557
 
10558
10558
  /**
10559
10559
  * "UNINSTALL":"未安装","OFFLINE":"离线", "ONLINE":"防护中
10560
10560
  */
10561
- Status: string
10561
+ Status?: string
10562
10562
 
10563
10563
  /**
10564
10564
  * 是否Containerd
10565
10565
  */
10566
- IsContainerd: boolean
10566
+ IsContainerd?: boolean
10567
10567
 
10568
10568
  /**
10569
10569
  * 主机来源;"TENCENTCLOUD":"腾讯云服务器","OTHERCLOUD":"非腾讯云服务器"
10570
10570
  */
10571
- MachineType: string
10571
+ MachineType?: string
10572
10572
 
10573
10573
  /**
10574
10574
  * 外网ip
10575
10575
  */
10576
- PublicIp: string
10576
+ PublicIp?: string
10577
10577
 
10578
10578
  /**
10579
10579
  * 主机实例ID
10580
10580
  */
10581
- InstanceID: string
10581
+ InstanceID?: string
10582
10582
 
10583
10583
  /**
10584
10584
  * 地域ID
10585
10585
  */
10586
- RegionID: number
10586
+ RegionID?: number
10587
10587
 
10588
10588
  /**
10589
10589
  * 所属项目
10590
10590
  */
10591
- Project: ProjectInfo
10591
+ Project?: ProjectInfo
10592
10592
 
10593
10593
  /**
10594
10594
  * 标签
10595
10595
  */
10596
- Tags: Array<TagInfo>
10596
+ Tags?: Array<TagInfo>
10597
10597
 
10598
10598
  /**
10599
10599
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
@@ -77,7 +77,7 @@ export interface DescribeSpeedTestingQuotaResponse {
77
77
  /**
78
78
  * 配额数据。
79
79
  */
80
- SpeedTestingQuota: SpeedTestingQuota
80
+ SpeedTestingQuota?: SpeedTestingQuota
81
81
 
82
82
  /**
83
83
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
@@ -1316,7 +1316,9 @@ export interface ExceptUserRuleScope {
1316
1316
  /**
1317
1317
  * 生效的模块,该字段取值有:
1318
1318
  <li>waf:托管规则;</li>
1319
- <li>cc:速率限制规则;</li>
1319
+ <li>rate:速率限制;</li>
1320
+ <li>acl:自定义规则;</li>
1321
+ <li>cc:cc攻击防护;</li>
1320
1322
  <li>bot:Bot防护。</li>
1321
1323
  注意:此字段可能返回 null,表示取不到有效值。
1322
1324
  */
@@ -287,6 +287,12 @@ Name: 通过实例名称来过滤
287
287
  * ServiceAccount认证相关配置
288
288
  */
289
289
  export interface ServiceAccountAuthenticationOptions {
290
+ /**
291
+ * 使用TKE默认issuer和jwksuri
292
+ 注意:此字段可能返回 null,表示取不到有效值。
293
+ */
294
+ UseTKEDefault?: boolean
295
+
290
296
  /**
291
297
  * service-account-issuer
292
298
  注意:此字段可能返回 null,表示取不到有效值。
@@ -0,0 +1,5 @@
1
+ import { v20220325 } from "./v20220325"
2
+
3
+ export const trro = {
4
+ v20220325: v20220325,
5
+ }
@@ -0,0 +1,6 @@
1
+ import * as Models from "./trro_models"
2
+ import { Client } from "./trro_client"
3
+ export const v20220325 = {
4
+ Client: Client,
5
+ Models: Models,
6
+ }
@@ -0,0 +1,241 @@
1
+ /* eslint-disable @typescript-eslint/no-unused-vars */
2
+ /*
3
+ * Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
4
+ *
5
+ * Licensed under the Apache License, Version 2.0 (the "License");
6
+ * you may not use this file except in compliance with the License.
7
+ * You may obtain a copy of the License at
8
+ *
9
+ * http://www.apache.org/licenses/LICENSE-2.0
10
+ *
11
+ * Unless required by applicable law or agreed to in writing,
12
+ * software distributed under the License is distributed on an
13
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14
+ * KIND, either express or implied. See the License for the
15
+ * specific language governing permissions and limitations
16
+ * under the License.
17
+ */
18
+ import { AbstractClient } from "../../../common/abstract_client"
19
+ import { ClientConfig } from "../../../common/interface"
20
+ import {
21
+ DescribeDeviceSessionDetailsResponse,
22
+ DeleteProjectRequest,
23
+ PolicyInfo,
24
+ ModifyDeviceResponse,
25
+ DescribePolicyResponse,
26
+ BatchDeleteDevicesRequest,
27
+ SessionInfo,
28
+ DescribeDeviceInfoRequest,
29
+ DescribeSessionStatisticsByIntervalResponse,
30
+ DescribeProjectInfoRequest,
31
+ ModifyPolicyRequest,
32
+ DescribeDeviceInfoResponse,
33
+ DescribeProjectListResponse,
34
+ ModifyProjectResponse,
35
+ BatchDeletePolicyResponse,
36
+ DescribePolicyRequest,
37
+ DescribeSessionStatisticsRequest,
38
+ BatchDeleteDevicesResponse,
39
+ ModifyProjectRequest,
40
+ ModifyDeviceRequest,
41
+ DescribeProjectListRequest,
42
+ ProjectInfo,
43
+ BatchDeletePolicyRequest,
44
+ DescribeDeviceSessionListResponse,
45
+ DescribeProjectInfoResponse,
46
+ DescribeDeviceListResponse,
47
+ DeleteProjectResponse,
48
+ DescribeDeviceListRequest,
49
+ SessionDeviceDetail,
50
+ CreateDeviceResponse,
51
+ DescribeSessionStatisticsByIntervalRequest,
52
+ CreateDeviceRequest,
53
+ DescribeSessionStatisticsResponse,
54
+ DescribeDeviceSessionDetailsRequest,
55
+ DeviceInfo,
56
+ DescribeDeviceSessionListRequest,
57
+ ModifyPolicyResponse,
58
+ CreateProjectResponse,
59
+ SessionIntervalStatistic,
60
+ CreateProjectRequest,
61
+ } from "./trro_models"
62
+
63
+ /**
64
+ * trro client
65
+ * @class
66
+ */
67
+ export class Client extends AbstractClient {
68
+ constructor(clientConfig: ClientConfig) {
69
+ super("trro.tencentcloudapi.com", "2022-03-25", clientConfig)
70
+ }
71
+
72
+ /**
73
+ * 获取各时间段的会话统计值
74
+ */
75
+ async DescribeSessionStatisticsByInterval(
76
+ req: DescribeSessionStatisticsByIntervalRequest,
77
+ cb?: (error: string, rep: DescribeSessionStatisticsByIntervalResponse) => void
78
+ ): Promise<DescribeSessionStatisticsByIntervalResponse> {
79
+ return this.request("DescribeSessionStatisticsByInterval", req, cb)
80
+ }
81
+
82
+ /**
83
+ * 用于批量删除修改权限配置
84
+ */
85
+ async BatchDeletePolicy(
86
+ req: BatchDeletePolicyRequest,
87
+ cb?: (error: string, rep: BatchDeletePolicyResponse) => void
88
+ ): Promise<BatchDeletePolicyResponse> {
89
+ return this.request("BatchDeletePolicy", req, cb)
90
+ }
91
+
92
+ /**
93
+ * 用于创建设备
94
+ */
95
+ async CreateDevice(
96
+ req: CreateDeviceRequest,
97
+ cb?: (error: string, rep: CreateDeviceResponse) => void
98
+ ): Promise<CreateDeviceResponse> {
99
+ return this.request("CreateDevice", req, cb)
100
+ }
101
+
102
+ /**
103
+ * 获取会话统计值
104
+ */
105
+ async DescribeSessionStatistics(
106
+ req: DescribeSessionStatisticsRequest,
107
+ cb?: (error: string, rep: DescribeSessionStatisticsResponse) => void
108
+ ): Promise<DescribeSessionStatisticsResponse> {
109
+ return this.request("DescribeSessionStatistics", req, cb)
110
+ }
111
+
112
+ /**
113
+ * 用于批量删除设备
114
+ */
115
+ async BatchDeleteDevices(
116
+ req: BatchDeleteDevicesRequest,
117
+ cb?: (error: string, rep: BatchDeleteDevicesResponse) => void
118
+ ): Promise<BatchDeleteDevicesResponse> {
119
+ return this.request("BatchDeleteDevices", req, cb)
120
+ }
121
+
122
+ /**
123
+ * 获取设备会话列表
124
+ */
125
+ async DescribeDeviceSessionList(
126
+ req: DescribeDeviceSessionListRequest,
127
+ cb?: (error: string, rep: DescribeDeviceSessionListResponse) => void
128
+ ): Promise<DescribeDeviceSessionListResponse> {
129
+ return this.request("DescribeDeviceSessionList", req, cb)
130
+ }
131
+
132
+ /**
133
+ * 用于修改权限配置
134
+ */
135
+ async ModifyPolicy(
136
+ req: ModifyPolicyRequest,
137
+ cb?: (error: string, rep: ModifyPolicyResponse) => void
138
+ ): Promise<ModifyPolicyResponse> {
139
+ return this.request("ModifyPolicy", req, cb)
140
+ }
141
+
142
+ /**
143
+ * 用于获取项目信息
144
+ */
145
+ async DescribeProjectInfo(
146
+ req: DescribeProjectInfoRequest,
147
+ cb?: (error: string, rep: DescribeProjectInfoResponse) => void
148
+ ): Promise<DescribeProjectInfoResponse> {
149
+ return this.request("DescribeProjectInfo", req, cb)
150
+ }
151
+
152
+ /**
153
+ * 用于创建项目
154
+ */
155
+ async CreateProject(
156
+ req: CreateProjectRequest,
157
+ cb?: (error: string, rep: CreateProjectResponse) => void
158
+ ): Promise<CreateProjectResponse> {
159
+ return this.request("CreateProject", req, cb)
160
+ }
161
+
162
+ /**
163
+ * 用于获取指定设备信息
164
+ */
165
+ async DescribeDeviceInfo(
166
+ req: DescribeDeviceInfoRequest,
167
+ cb?: (error: string, rep: DescribeDeviceInfoResponse) => void
168
+ ): Promise<DescribeDeviceInfoResponse> {
169
+ return this.request("DescribeDeviceInfo", req, cb)
170
+ }
171
+
172
+ /**
173
+ * 用于删除项目
174
+ */
175
+ async DeleteProject(
176
+ req: DeleteProjectRequest,
177
+ cb?: (error: string, rep: DeleteProjectResponse) => void
178
+ ): Promise<DeleteProjectResponse> {
179
+ return this.request("DeleteProject", req, cb)
180
+ }
181
+
182
+ /**
183
+ * 用于获取设备信息列表
184
+ */
185
+ async DescribeDeviceList(
186
+ req: DescribeDeviceListRequest,
187
+ cb?: (error: string, rep: DescribeDeviceListResponse) => void
188
+ ): Promise<DescribeDeviceListResponse> {
189
+ return this.request("DescribeDeviceList", req, cb)
190
+ }
191
+
192
+ /**
193
+ * 用于修改项目信息
194
+ */
195
+ async ModifyProject(
196
+ req: ModifyProjectRequest,
197
+ cb?: (error: string, rep: ModifyProjectResponse) => void
198
+ ): Promise<ModifyProjectResponse> {
199
+ return this.request("ModifyProject", req, cb)
200
+ }
201
+
202
+ /**
203
+ * 用于获取项目列表
204
+ */
205
+ async DescribeProjectList(
206
+ req: DescribeProjectListRequest,
207
+ cb?: (error: string, rep: DescribeProjectListResponse) => void
208
+ ): Promise<DescribeProjectListResponse> {
209
+ return this.request("DescribeProjectList", req, cb)
210
+ }
211
+
212
+ /**
213
+ * 用于查看权限配置
214
+ */
215
+ async DescribePolicy(
216
+ req: DescribePolicyRequest,
217
+ cb?: (error: string, rep: DescribePolicyResponse) => void
218
+ ): Promise<DescribePolicyResponse> {
219
+ return this.request("DescribePolicy", req, cb)
220
+ }
221
+
222
+ /**
223
+ * 用于修改设备信息
224
+ */
225
+ async ModifyDevice(
226
+ req: ModifyDeviceRequest,
227
+ cb?: (error: string, rep: ModifyDeviceResponse) => void
228
+ ): Promise<ModifyDeviceResponse> {
229
+ return this.request("ModifyDevice", req, cb)
230
+ }
231
+
232
+ /**
233
+ * 获取设备会话数据详单
234
+ */
235
+ async DescribeDeviceSessionDetails(
236
+ req: DescribeDeviceSessionDetailsRequest,
237
+ cb?: (error: string, rep: DescribeDeviceSessionDetailsResponse) => void
238
+ ): Promise<DescribeDeviceSessionDetailsResponse> {
239
+ return this.request("DescribeDeviceSessionDetails", req, cb)
240
+ }
241
+ }