tencentcloud-sdk-nodejs 4.1.167 → 4.1.169
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/es/common/sdk_version.js +1 -1
- package/es/services/car/v20220110/car_client.js +3 -0
- package/es/services/dataagent/v20250513/dataagent_client.js +6 -0
- package/es/services/live/v20180801/live_client.js +6 -0
- package/es/services/vpc/v20170312/vpc_client.js +3 -0
- package/es/services/wedata/v20250806/wedata_client.js +6 -0
- package/package.json +1 -1
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/apm/v20210622/apm_models.d.ts +16 -0
- package/tencentcloud/services/car/v20220110/car_client.d.ts +5 -1
- package/tencentcloud/services/car/v20220110/car_client.js +6 -0
- package/tencentcloud/services/car/v20220110/car_models.d.ts +79 -49
- package/tencentcloud/services/cfw/v20190904/cfw_models.d.ts +9 -1
- package/tencentcloud/services/cvm/v20170312/cvm_client.d.ts +1 -1
- package/tencentcloud/services/cvm/v20170312/cvm_client.js +1 -1
- package/tencentcloud/services/cwp/v20180228/cwp_models.d.ts +8 -0
- package/tencentcloud/services/dataagent/v20250513/dataagent_client.d.ts +9 -1
- package/tencentcloud/services/dataagent/v20250513/dataagent_client.js +12 -0
- package/tencentcloud/services/dataagent/v20250513/dataagent_models.d.ts +76 -0
- package/tencentcloud/services/emr/v20190103/emr_models.d.ts +8 -0
- package/tencentcloud/services/keewidb/v20220308/keewidb_models.d.ts +26 -34
- package/tencentcloud/services/live/v20180801/live_client.d.ts +10 -1
- package/tencentcloud/services/live/v20180801/live_client.js +13 -0
- package/tencentcloud/services/live/v20180801/live_models.d.ts +50 -0
- package/tencentcloud/services/lke/v20231130/lke_models.d.ts +12 -3
- package/tencentcloud/services/mps/v20190612/mps_models.d.ts +5 -0
- package/tencentcloud/services/ocr/v20181119/ocr_client.d.ts +3 -4
- package/tencentcloud/services/ocr/v20181119/ocr_client.js +3 -4
- package/tencentcloud/services/teo/v20220901/teo_models.d.ts +4 -4
- package/tencentcloud/services/tse/v20201207/tse_models.d.ts +21 -0
- package/tencentcloud/services/vod/v20180717/vod_client.d.ts +1 -1
- package/tencentcloud/services/vod/v20180717/vod_models.d.ts +350 -81
- package/tencentcloud/services/vpc/v20170312/vpc_client.d.ts +5 -1
- package/tencentcloud/services/vpc/v20170312/vpc_client.js +6 -0
- package/tencentcloud/services/vpc/v20170312/vpc_models.d.ts +43 -0
- package/tencentcloud/services/wedata/v20250806/wedata_client.d.ts +12 -1
- package/tencentcloud/services/wedata/v20250806/wedata_client.js +15 -0
- package/tencentcloud/services/wedata/v20250806/wedata_models.d.ts +591 -8
package/es/common/sdk_version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const sdkVersion = "4.1.
|
|
1
|
+
export const sdkVersion = "4.1.169";
|
|
@@ -6,6 +6,9 @@ export class Client extends AbstractClient {
|
|
|
6
6
|
async ApplyConcurrent(req, cb) {
|
|
7
7
|
return this.request("ApplyConcurrent", req, cb);
|
|
8
8
|
}
|
|
9
|
+
async DescribeConcurrentCount(req, cb) {
|
|
10
|
+
return this.request("DescribeConcurrentCount", req, cb);
|
|
11
|
+
}
|
|
9
12
|
async DestroySession(req, cb) {
|
|
10
13
|
return this.request("DestroySession", req, cb);
|
|
11
14
|
}
|
|
@@ -30,9 +30,15 @@ export class Client extends AbstractClient {
|
|
|
30
30
|
async ModifyKnowledgeBase(req, cb) {
|
|
31
31
|
return this.request("ModifyKnowledgeBase", req, cb);
|
|
32
32
|
}
|
|
33
|
+
async ModifyUserAuthority(req, cb) {
|
|
34
|
+
return this.request("ModifyUserAuthority", req, cb);
|
|
35
|
+
}
|
|
33
36
|
async DeleteDataAgentSession(req, cb) {
|
|
34
37
|
return this.request("DeleteDataAgentSession", req, cb);
|
|
35
38
|
}
|
|
39
|
+
async QueryUserAuthority(req, cb) {
|
|
40
|
+
return this.request("QueryUserAuthority", req, cb);
|
|
41
|
+
}
|
|
36
42
|
async QueryChunkList(req, cb) {
|
|
37
43
|
return this.request("QueryChunkList", req, cb);
|
|
38
44
|
}
|
|
@@ -414,6 +414,9 @@ export class Client extends AbstractClient {
|
|
|
414
414
|
async DescribeScreenshotTask(req, cb) {
|
|
415
415
|
return this.request("DescribeScreenshotTask", req, cb);
|
|
416
416
|
}
|
|
417
|
+
async SwitchCasterToEmergency(req, cb) {
|
|
418
|
+
return this.request("SwitchCasterToEmergency", req, cb);
|
|
419
|
+
}
|
|
417
420
|
async DescribePushBandwidthAndFluxList(req, cb) {
|
|
418
421
|
return this.request("DescribePushBandwidthAndFluxList", req, cb);
|
|
419
422
|
}
|
|
@@ -423,6 +426,9 @@ export class Client extends AbstractClient {
|
|
|
423
426
|
async ForbidLiveStream(req, cb) {
|
|
424
427
|
return this.request("ForbidLiveStream", req, cb);
|
|
425
428
|
}
|
|
429
|
+
async DescribeCasterEmergencyStatus(req, cb) {
|
|
430
|
+
return this.request("DescribeCasterEmergencyStatus", req, cb);
|
|
431
|
+
}
|
|
426
432
|
async AddLiveDomain(req, cb) {
|
|
427
433
|
return this.request("AddLiveDomain", req, cb);
|
|
428
434
|
}
|
|
@@ -1278,6 +1278,9 @@ export class Client extends AbstractClient {
|
|
|
1278
1278
|
async ModifyIp6AddressesBandwidth(req, cb) {
|
|
1279
1279
|
return this.request("ModifyIp6AddressesBandwidth", req, cb);
|
|
1280
1280
|
}
|
|
1281
|
+
async ReplaceRoutesWithRoutePolicy(req, cb) {
|
|
1282
|
+
return this.request("ReplaceRoutesWithRoutePolicy", req, cb);
|
|
1283
|
+
}
|
|
1281
1284
|
async CreateVpcEndPoint(req, cb) {
|
|
1282
1285
|
return this.request("CreateVpcEndPoint", req, cb);
|
|
1283
1286
|
}
|
|
@@ -168,6 +168,9 @@ export class Client extends AbstractClient {
|
|
|
168
168
|
async ListWorkflows(req, cb) {
|
|
169
169
|
return this.request("ListWorkflows", req, cb);
|
|
170
170
|
}
|
|
171
|
+
async CreateQualityRule(req, cb) {
|
|
172
|
+
return this.request("CreateQualityRule", req, cb);
|
|
173
|
+
}
|
|
171
174
|
async GetProject(req, cb) {
|
|
172
175
|
return this.request("GetProject", req, cb);
|
|
173
176
|
}
|
|
@@ -429,6 +432,9 @@ export class Client extends AbstractClient {
|
|
|
429
432
|
async GetCodeFolder(req, cb) {
|
|
430
433
|
return this.request("GetCodeFolder", req, cb);
|
|
431
434
|
}
|
|
435
|
+
async ListQualityRuleGroups(req, cb) {
|
|
436
|
+
return this.request("ListQualityRuleGroups", req, cb);
|
|
437
|
+
}
|
|
432
438
|
async StartOpsTasks(req, cb) {
|
|
433
439
|
return this.request("StartOpsTasks", req, cb);
|
|
434
440
|
}
|
package/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const sdkVersion = "4.1.
|
|
1
|
+
export declare const sdkVersion = "4.1.169";
|
|
@@ -1033,6 +1033,10 @@ export interface ApmAppConfig {
|
|
|
1033
1033
|
* 脱敏规则
|
|
1034
1034
|
*/
|
|
1035
1035
|
DesensitizationRule?: string;
|
|
1036
|
+
/**
|
|
1037
|
+
* spanId的索引key: 当CLS索引类型为键值索引时生效
|
|
1038
|
+
*/
|
|
1039
|
+
LogSpanIdKey?: string;
|
|
1036
1040
|
}
|
|
1037
1041
|
/**
|
|
1038
1042
|
* CreateApmSampleConfig返回参数结构体
|
|
@@ -1541,6 +1545,10 @@ export interface ModifyApmInstanceRequest {
|
|
|
1541
1545
|
* URL数字分段收敛阈值
|
|
1542
1546
|
*/
|
|
1543
1547
|
UrlNumberSegmentThreshold?: number;
|
|
1548
|
+
/**
|
|
1549
|
+
* spanId的索引key: 当CLS索引类型为键值索引时生效
|
|
1550
|
+
*/
|
|
1551
|
+
LogSpanIdKey?: string;
|
|
1544
1552
|
}
|
|
1545
1553
|
/**
|
|
1546
1554
|
* ModifyApmSampleConfig请求参数结构体
|
|
@@ -2234,6 +2242,10 @@ export interface ApmInstanceDetail {
|
|
|
2234
2242
|
* URL数字分段收敛阈值
|
|
2235
2243
|
*/
|
|
2236
2244
|
UrlNumberSegmentThreshold?: number;
|
|
2245
|
+
/**
|
|
2246
|
+
* spanId的索引key: 当CLS索引类型为键值索引时生效
|
|
2247
|
+
*/
|
|
2248
|
+
LogSpanIdKey?: string;
|
|
2237
2249
|
}
|
|
2238
2250
|
/**
|
|
2239
2251
|
* Span 对象
|
|
@@ -2910,6 +2922,10 @@ export interface ModifyApmApplicationConfigRequest {
|
|
|
2910
2922
|
* 脱敏规则
|
|
2911
2923
|
*/
|
|
2912
2924
|
DesensitizationRule?: string;
|
|
2925
|
+
/**
|
|
2926
|
+
* spanId的索引key: 当CLS索引类型为键值索引时生效
|
|
2927
|
+
*/
|
|
2928
|
+
LogSpanIdKey?: string;
|
|
2913
2929
|
}
|
|
2914
2930
|
/**
|
|
2915
2931
|
* ModifyGeneralApmApplicationConfig返回参数结构体
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AbstractClient } from "../../../common/abstract_client";
|
|
2
2
|
import { ClientConfig } from "../../../common/interface";
|
|
3
|
-
import { CreateSessionResponse, StopPublishStreamRequest, StartPublishStreamWithURLResponse, StopPublishStreamResponse, StartPublishStreamWithURLRequest,
|
|
3
|
+
import { CreateSessionResponse, StopPublishStreamRequest, StartPublishStreamWithURLResponse, StopPublishStreamResponse, DestroySessionResponse, StartPublishStreamWithURLRequest, ApplyConcurrentResponse, StartPublishStreamResponse, CreateSessionRequest, ApplyConcurrentRequest, DescribeConcurrentCountResponse, DestroySessionRequest, DescribeConcurrentCountRequest, StartPublishStreamRequest } from "./car_models";
|
|
4
4
|
/**
|
|
5
5
|
* car client
|
|
6
6
|
* @class
|
|
@@ -11,6 +11,10 @@ export declare class Client extends AbstractClient {
|
|
|
11
11
|
* 本接口用于申请并发。接口超时时间:20秒。
|
|
12
12
|
*/
|
|
13
13
|
ApplyConcurrent(req: ApplyConcurrentRequest, cb?: (error: string, rep: ApplyConcurrentResponse) => void): Promise<ApplyConcurrentResponse>;
|
|
14
|
+
/**
|
|
15
|
+
* 获取并发计数
|
|
16
|
+
*/
|
|
17
|
+
DescribeConcurrentCount(req: DescribeConcurrentCountRequest, cb?: (error: string, rep: DescribeConcurrentCountResponse) => void): Promise<DescribeConcurrentCountResponse>;
|
|
14
18
|
/**
|
|
15
19
|
* 销毁会话。如果该会话开启了云端推流,那么销毁会话时会结束云端推流。
|
|
16
20
|
*/
|
|
@@ -33,6 +33,12 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
33
33
|
async ApplyConcurrent(req, cb) {
|
|
34
34
|
return this.request("ApplyConcurrent", req, cb);
|
|
35
35
|
}
|
|
36
|
+
/**
|
|
37
|
+
* 获取并发计数
|
|
38
|
+
*/
|
|
39
|
+
async DescribeConcurrentCount(req, cb) {
|
|
40
|
+
return this.request("DescribeConcurrentCount", req, cb);
|
|
41
|
+
}
|
|
36
42
|
/**
|
|
37
43
|
* 销毁会话。如果该会话开启了云端推流,那么销毁会话时会结束云端推流。
|
|
38
44
|
*/
|
|
@@ -38,6 +38,15 @@ export interface StopPublishStreamResponse {
|
|
|
38
38
|
*/
|
|
39
39
|
RequestId?: string;
|
|
40
40
|
}
|
|
41
|
+
/**
|
|
42
|
+
* DestroySession返回参数结构体
|
|
43
|
+
*/
|
|
44
|
+
export interface DestroySessionResponse {
|
|
45
|
+
/**
|
|
46
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
47
|
+
*/
|
|
48
|
+
RequestId?: string;
|
|
49
|
+
}
|
|
41
50
|
/**
|
|
42
51
|
* StartPublishStreamWithURL请求参数结构体
|
|
43
52
|
*/
|
|
@@ -52,9 +61,9 @@ export interface StartPublishStreamWithURLRequest {
|
|
|
52
61
|
PublishStreamURL: string;
|
|
53
62
|
}
|
|
54
63
|
/**
|
|
55
|
-
*
|
|
64
|
+
* ApplyConcurrent返回参数结构体
|
|
56
65
|
*/
|
|
57
|
-
export interface
|
|
66
|
+
export interface ApplyConcurrentResponse {
|
|
58
67
|
/**
|
|
59
68
|
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
60
69
|
*/
|
|
@@ -70,13 +79,49 @@ export interface StartPublishStreamResponse {
|
|
|
70
79
|
RequestId?: string;
|
|
71
80
|
}
|
|
72
81
|
/**
|
|
73
|
-
*
|
|
82
|
+
* CreateSession请求参数结构体
|
|
74
83
|
*/
|
|
75
|
-
export interface
|
|
84
|
+
export interface CreateSessionRequest {
|
|
76
85
|
/**
|
|
77
|
-
*
|
|
86
|
+
* 唯一用户身份标识,由业务方自定义,平台不予理解。(可根据业务需要决定使用用户的唯一身份标识或是使用时间戳随机生成;在用户重连时应保持UserId不变)
|
|
78
87
|
*/
|
|
79
|
-
|
|
88
|
+
UserId: string;
|
|
89
|
+
/**
|
|
90
|
+
* 用户IP,用户客户端的公网IP,用于就近调度
|
|
91
|
+
*/
|
|
92
|
+
UserIp: string;
|
|
93
|
+
/**
|
|
94
|
+
* 客户端session信息,从SDK请求中获得。特殊的,当 RunMode 参数为 RunWithoutClient 时,该字段可以为空
|
|
95
|
+
*/
|
|
96
|
+
ClientSession?: string;
|
|
97
|
+
/**
|
|
98
|
+
* 云端运行模式。
|
|
99
|
+
RunWithoutClient:允许无客户端连接的情况下仍保持云端 App 运行
|
|
100
|
+
默认值(空):要求必须有客户端连接才会保持云端 App 运行。
|
|
101
|
+
*/
|
|
102
|
+
RunMode?: string;
|
|
103
|
+
/**
|
|
104
|
+
* 应用启动参数。
|
|
105
|
+
如果请求的是多应用共享项目,此参数生效;
|
|
106
|
+
如果请求的是关闭预启动的单应用独享项目,此参数生效;
|
|
107
|
+
如果请求的是开启预启动的单应用独享项目,此参数失效。
|
|
108
|
+
|
|
109
|
+
注意:在此参数生效的情况下,将会被追加到控制台应用或项目配置的启动参数的后面。
|
|
110
|
+
例如,对于某关闭预启动的单应用独享项目,若在控制台中项目配置的启动参数为bar=0,而ApplicationParameters参数为foo=1,则实际应用启动参数为bar=0 foo=1。
|
|
111
|
+
*/
|
|
112
|
+
ApplicationParameters?: string;
|
|
113
|
+
/**
|
|
114
|
+
* 【多人互动】房主用户ID,在多人互动模式下为必填字段。
|
|
115
|
+
如果该用户是房主,HostUserId需要和UserId保持一致;
|
|
116
|
+
如果该用户非房主,HostUserId需要填写房主的HostUserId。
|
|
117
|
+
*/
|
|
118
|
+
HostUserId?: string;
|
|
119
|
+
/**
|
|
120
|
+
* 【多人互动】角色。
|
|
121
|
+
Player:玩家(可通过键鼠等操作应用)
|
|
122
|
+
Viewer:观察者(只能观看,无法操作)
|
|
123
|
+
*/
|
|
124
|
+
Role?: string;
|
|
80
125
|
}
|
|
81
126
|
/**
|
|
82
127
|
* ApplyConcurrent请求参数结构体
|
|
@@ -104,69 +149,54 @@ export interface ApplyConcurrentRequest {
|
|
|
104
149
|
ApplicationId?: string;
|
|
105
150
|
}
|
|
106
151
|
/**
|
|
107
|
-
*
|
|
152
|
+
* DescribeConcurrentCount返回参数结构体
|
|
108
153
|
*/
|
|
109
|
-
export interface
|
|
154
|
+
export interface DescribeConcurrentCountResponse {
|
|
110
155
|
/**
|
|
111
|
-
*
|
|
156
|
+
* 并发总数
|
|
112
157
|
*/
|
|
113
|
-
|
|
114
|
-
}
|
|
115
|
-
/**
|
|
116
|
-
* StartPublishStream请求参数结构体
|
|
117
|
-
*/
|
|
118
|
-
export interface StartPublishStreamRequest {
|
|
158
|
+
Total?: number;
|
|
119
159
|
/**
|
|
120
|
-
*
|
|
160
|
+
* 并发运行数,包括预启动中的、已连接的、等待重连、清理恢复等所有非空闲的并发数,所以刷新项目或断开并发包的用户连接,都会影响到该值
|
|
121
161
|
*/
|
|
122
|
-
|
|
162
|
+
Running?: number;
|
|
123
163
|
/**
|
|
124
|
-
*
|
|
164
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
125
165
|
*/
|
|
126
|
-
|
|
166
|
+
RequestId?: string;
|
|
127
167
|
}
|
|
128
168
|
/**
|
|
129
|
-
*
|
|
169
|
+
* DestroySession请求参数结构体
|
|
130
170
|
*/
|
|
131
|
-
export interface
|
|
171
|
+
export interface DestroySessionRequest {
|
|
132
172
|
/**
|
|
133
173
|
* 唯一用户身份标识,由业务方自定义,平台不予理解。(可根据业务需要决定使用用户的唯一身份标识或是使用时间戳随机生成;在用户重连时应保持UserId不变)
|
|
134
174
|
*/
|
|
135
175
|
UserId: string;
|
|
176
|
+
}
|
|
177
|
+
/**
|
|
178
|
+
* DescribeConcurrentCount请求参数结构体
|
|
179
|
+
*/
|
|
180
|
+
export interface DescribeConcurrentCountRequest {
|
|
136
181
|
/**
|
|
137
|
-
*
|
|
138
|
-
*/
|
|
139
|
-
UserIp: string;
|
|
140
|
-
/**
|
|
141
|
-
* 客户端session信息,从SDK请求中获得。特殊的,当 RunMode 参数为 RunWithoutClient 时,该字段可以为空
|
|
142
|
-
*/
|
|
143
|
-
ClientSession?: string;
|
|
144
|
-
/**
|
|
145
|
-
* 云端运行模式。
|
|
146
|
-
RunWithoutClient:允许无客户端连接的情况下仍保持云端 App 运行
|
|
147
|
-
默认值(空):要求必须有客户端连接才会保持云端 App 运行。
|
|
182
|
+
* 项目ID
|
|
148
183
|
*/
|
|
149
|
-
|
|
184
|
+
ProjectId?: string;
|
|
150
185
|
/**
|
|
151
|
-
*
|
|
152
|
-
如果请求的是多应用共享项目,此参数生效;
|
|
153
|
-
如果请求的是关闭预启动的单应用独享项目,此参数生效;
|
|
154
|
-
如果请求的是开启预启动的单应用独享项目,此参数失效。
|
|
155
|
-
|
|
156
|
-
注意:在此参数生效的情况下,将会被追加到控制台应用或项目配置的启动参数的后面。
|
|
157
|
-
例如,对于某关闭预启动的单应用独享项目,若在控制台中项目配置的启动参数为bar=0,而ApplicationParameters参数为foo=1,则实际应用启动参数为bar=0 foo=1。
|
|
186
|
+
* 应用类别(DESKTOP: 桌面端,MOBILE:移动端)
|
|
158
187
|
*/
|
|
159
|
-
|
|
188
|
+
ApplicationCategory?: string;
|
|
189
|
+
}
|
|
190
|
+
/**
|
|
191
|
+
* StartPublishStream请求参数结构体
|
|
192
|
+
*/
|
|
193
|
+
export interface StartPublishStreamRequest {
|
|
160
194
|
/**
|
|
161
|
-
*
|
|
162
|
-
如果该用户是房主,HostUserId需要和UserId保持一致;
|
|
163
|
-
如果该用户非房主,HostUserId需要填写房主的HostUserId。
|
|
195
|
+
* 唯一用户身份标识,由业务方自定义,平台不予理解。(UserId将作为StreamId进行推流,比如绑定推流域名为abc.livepush.myqcloud.com,那么推流地址为rtmp://abc.livepush.myqcloud.com/live/UserId?txSecret=xxx&txTime=xxx)
|
|
164
196
|
*/
|
|
165
|
-
|
|
197
|
+
UserId: string;
|
|
166
198
|
/**
|
|
167
|
-
*
|
|
168
|
-
Player:玩家(可通过键鼠等操作应用)
|
|
169
|
-
Viewer:观察者(只能观看,无法操作)
|
|
199
|
+
* 推流参数,推流时携带自定义参数。
|
|
170
200
|
*/
|
|
171
|
-
|
|
201
|
+
PublishStreamArgs?: string;
|
|
172
202
|
}
|
|
@@ -2915,6 +2915,7 @@ export interface EdgeIpInfo {
|
|
|
2915
2915
|
* 0: 该地域暂未支持串行
|
|
2916
2916
|
1: 该用户未在该地域配置串行带宽
|
|
2917
2917
|
2: 该用户已在该地域配置串行带宽,可以开启串行开关
|
|
2918
|
+
3. 该地域可以支持串行,但是未部署公共集群
|
|
2918
2919
|
*/
|
|
2919
2920
|
IsSerialRegion?: number;
|
|
2920
2921
|
/**
|
|
@@ -2925,7 +2926,7 @@ export interface EdgeIpInfo {
|
|
|
2925
2926
|
IsPublicClb?: number;
|
|
2926
2927
|
/**
|
|
2927
2928
|
* 0: 开启开关时提示要创建私有连接。
|
|
2928
|
-
1:
|
|
2929
|
+
1: 关闭该开关时提示删除私有连接。
|
|
2929
2930
|
如果大于 1: 关闭开关 、开启开关不需提示创建删除私有连接。
|
|
2930
2931
|
*/
|
|
2931
2932
|
EndpointBindEipNum?: number;
|
|
@@ -2972,6 +2973,13 @@ export interface EdgeIpInfo {
|
|
|
2972
2973
|
* IP超量状态
|
|
2973
2974
|
*/
|
|
2974
2975
|
OverUsedStatus?: number;
|
|
2976
|
+
/**
|
|
2977
|
+
* 0 都不支持
|
|
2978
|
+
1 支持旁路
|
|
2979
|
+
2 支持串行
|
|
2980
|
+
3 旁路串行都支持
|
|
2981
|
+
*/
|
|
2982
|
+
SwitchSupportType?: number;
|
|
2975
2983
|
}
|
|
2976
2984
|
/**
|
|
2977
2985
|
* AssetZone
|
|
@@ -93,7 +93,7 @@ export declare class Client extends AbstractClient {
|
|
|
93
93
|
|
|
94
94
|
* 目前只支持[系统盘类型](/document/api/213/9452#block_device)是CLOUD_BASIC、CLOUD_PREMIUM、CLOUD_SSD、CLOUD_BSSD类型的实例使用该接口进行机型调整。
|
|
95
95
|
* 目前不支持[CDH](https://cloud.tencent.com/document/product/416)实例使用该接口调整机型。对于包年包月实例,使用该接口会涉及扣费,请确保账户余额充足。可通过[DescribeAccountBalance](https://cloud.tencent.com/document/product/555/20253)接口查询账户余额。
|
|
96
|
-
* 本接口为异步接口,调整实例配置请求发送成功后会返回一个RequestId,此时操作并未立即完成。实例操作结果可以通过调用 [DescribeInstances](https://cloud.tencent.com/document/api/213/15728#.E7.A4.BA.E4.BE.8B3-.E6.9F.A5.E8.AF.A2.E5.AE.9E.E4.BE.8B.E7.9A.84.E6.9C.80.E6.96.B0.E6.93.8D.E4.BD.9C.E6.83.85.E5.86.B5) 接口查询,如果实例的最新操作状态(LatestOperationState)为“SUCCESS
|
|
96
|
+
* 本接口为异步接口,调整实例配置请求发送成功后会返回一个RequestId,此时操作并未立即完成。实例操作结果可以通过调用 [DescribeInstances](https://cloud.tencent.com/document/api/213/15728#.E7.A4.BA.E4.BE.8B3-.E6.9F.A5.E8.AF.A2.E5.AE.9E.E4.BE.8B.E7.9A.84.E6.9C.80.E6.96.B0.E6.93.8D.E4.BD.9C.E6.83.85.E5.86.B5) 接口查询,如果实例的最新操作状态(LatestOperationState)为“SUCCESS”,则代表调整实例配置操作成功。完成实例配置调整后,实例将自动显示为运行中,无需手动进行开机。
|
|
97
97
|
*/
|
|
98
98
|
ResetInstancesType(req: ResetInstancesTypeRequest, cb?: (error: string, rep: ResetInstancesTypeResponse) => void): Promise<ResetInstancesTypeResponse>;
|
|
99
99
|
/**
|
|
@@ -137,7 +137,7 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
137
137
|
|
|
138
138
|
* 目前只支持[系统盘类型](/document/api/213/9452#block_device)是CLOUD_BASIC、CLOUD_PREMIUM、CLOUD_SSD、CLOUD_BSSD类型的实例使用该接口进行机型调整。
|
|
139
139
|
* 目前不支持[CDH](https://cloud.tencent.com/document/product/416)实例使用该接口调整机型。对于包年包月实例,使用该接口会涉及扣费,请确保账户余额充足。可通过[DescribeAccountBalance](https://cloud.tencent.com/document/product/555/20253)接口查询账户余额。
|
|
140
|
-
* 本接口为异步接口,调整实例配置请求发送成功后会返回一个RequestId,此时操作并未立即完成。实例操作结果可以通过调用 [DescribeInstances](https://cloud.tencent.com/document/api/213/15728#.E7.A4.BA.E4.BE.8B3-.E6.9F.A5.E8.AF.A2.E5.AE.9E.E4.BE.8B.E7.9A.84.E6.9C.80.E6.96.B0.E6.93.8D.E4.BD.9C.E6.83.85.E5.86.B5) 接口查询,如果实例的最新操作状态(LatestOperationState)为“SUCCESS
|
|
140
|
+
* 本接口为异步接口,调整实例配置请求发送成功后会返回一个RequestId,此时操作并未立即完成。实例操作结果可以通过调用 [DescribeInstances](https://cloud.tencent.com/document/api/213/15728#.E7.A4.BA.E4.BE.8B3-.E6.9F.A5.E8.AF.A2.E5.AE.9E.E4.BE.8B.E7.9A.84.E6.9C.80.E6.96.B0.E6.93.8D.E4.BD.9C.E6.83.85.E5.86.B5) 接口查询,如果实例的最新操作状态(LatestOperationState)为“SUCCESS”,则代表调整实例配置操作成功。完成实例配置调整后,实例将自动显示为运行中,无需手动进行开机。
|
|
141
141
|
*/
|
|
142
142
|
async ResetInstancesType(req, cb) {
|
|
143
143
|
return this.request("ResetInstancesType", req, cb);
|
|
@@ -2326,6 +2326,10 @@ export interface PrivilegeEventInfo {
|
|
|
2326
2326
|
* 处理时间
|
|
2327
2327
|
*/
|
|
2328
2328
|
ModifyTime?: string;
|
|
2329
|
+
/**
|
|
2330
|
+
* 告警数量
|
|
2331
|
+
*/
|
|
2332
|
+
Count?: number;
|
|
2329
2333
|
}
|
|
2330
2334
|
/**
|
|
2331
2335
|
* 索引规则
|
|
@@ -9607,6 +9611,10 @@ export interface PrivilegeEscalationProcess {
|
|
|
9607
9611
|
* 进程id
|
|
9608
9612
|
*/
|
|
9609
9613
|
Pid?: number;
|
|
9614
|
+
/**
|
|
9615
|
+
* 告警数量
|
|
9616
|
+
*/
|
|
9617
|
+
Count?: number;
|
|
9610
9618
|
}
|
|
9611
9619
|
/**
|
|
9612
9620
|
* 异地登录白名单
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AbstractClient } from "../../../common/abstract_client";
|
|
2
2
|
import { ClientConfig } from "../../../common/interface";
|
|
3
|
-
import { UploadAndCommitFileRequest, GetKnowledgeBaseListRequest, AddChunkRequest, ModifyChunkResponse, ChatAIResponse, DeleteChunkRequest, GetSessionDetailsResponse, ModifyChunkRequest, QueryChunkListResponse, GetJobsByKnowledgeBaseIdRequest, QueryChunkListRequest, StopChatAIRequest, GetSessionDetailsRequest, ModifyKnowledgeBaseRequest, DeleteChunkResponse, CreateDataAgentSessionResponse, GetJobsByKnowledgeBaseIdResponse, StopChatAIResponse, GetUploadJobDetailsResponse, DeleteDataAgentSessionResponse, GetKnowledgeBaseFileListResponse, ChatAIRequest, GetKnowledgeBaseFileListRequest, GetUploadJobDetailsRequest, AddChunkResponse, GetKnowledgeBaseListResponse, UploadAndCommitFileResponse, CreateDataAgentSessionRequest, ModifyKnowledgeBaseResponse, DeleteDataAgentSessionRequest } from "./dataagent_models";
|
|
3
|
+
import { UploadAndCommitFileRequest, GetKnowledgeBaseListRequest, AddChunkRequest, ModifyChunkResponse, ChatAIResponse, DeleteChunkRequest, GetSessionDetailsResponse, ModifyChunkRequest, QueryChunkListResponse, GetJobsByKnowledgeBaseIdRequest, QueryChunkListRequest, StopChatAIRequest, GetSessionDetailsRequest, QueryUserAuthorityResponse, ModifyKnowledgeBaseRequest, DeleteChunkResponse, CreateDataAgentSessionResponse, ModifyUserAuthorityRequest, GetJobsByKnowledgeBaseIdResponse, StopChatAIResponse, GetUploadJobDetailsResponse, DeleteDataAgentSessionResponse, GetKnowledgeBaseFileListResponse, ChatAIRequest, QueryUserAuthorityRequest, GetKnowledgeBaseFileListRequest, GetUploadJobDetailsRequest, ModifyUserAuthorityResponse, AddChunkResponse, GetKnowledgeBaseListResponse, UploadAndCommitFileResponse, CreateDataAgentSessionRequest, ModifyKnowledgeBaseResponse, DeleteDataAgentSessionRequest } from "./dataagent_models";
|
|
4
4
|
/**
|
|
5
5
|
* dataagent client
|
|
6
6
|
* @class
|
|
@@ -43,10 +43,18 @@ export declare class Client extends AbstractClient {
|
|
|
43
43
|
* 操作知识库
|
|
44
44
|
*/
|
|
45
45
|
ModifyKnowledgeBase(req: ModifyKnowledgeBaseRequest, cb?: (error: string, rep: ModifyKnowledgeBaseResponse) => void): Promise<ModifyKnowledgeBaseResponse>;
|
|
46
|
+
/**
|
|
47
|
+
* 修改对象权限
|
|
48
|
+
*/
|
|
49
|
+
ModifyUserAuthority(req: ModifyUserAuthorityRequest, cb?: (error: string, rep: ModifyUserAuthorityResponse) => void): Promise<ModifyUserAuthorityResponse>;
|
|
46
50
|
/**
|
|
47
51
|
* 删除会话
|
|
48
52
|
*/
|
|
49
53
|
DeleteDataAgentSession(req: DeleteDataAgentSessionRequest, cb?: (error: string, rep: DeleteDataAgentSessionResponse) => void): Promise<DeleteDataAgentSessionResponse>;
|
|
54
|
+
/**
|
|
55
|
+
* 查询对象权限
|
|
56
|
+
*/
|
|
57
|
+
QueryUserAuthority(req?: QueryUserAuthorityRequest, cb?: (error: string, rep: QueryUserAuthorityResponse) => void): Promise<QueryUserAuthorityResponse>;
|
|
50
58
|
/**
|
|
51
59
|
* 文档切片查询
|
|
52
60
|
*/
|
|
@@ -81,12 +81,24 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
81
81
|
async ModifyKnowledgeBase(req, cb) {
|
|
82
82
|
return this.request("ModifyKnowledgeBase", req, cb);
|
|
83
83
|
}
|
|
84
|
+
/**
|
|
85
|
+
* 修改对象权限
|
|
86
|
+
*/
|
|
87
|
+
async ModifyUserAuthority(req, cb) {
|
|
88
|
+
return this.request("ModifyUserAuthority", req, cb);
|
|
89
|
+
}
|
|
84
90
|
/**
|
|
85
91
|
* 删除会话
|
|
86
92
|
*/
|
|
87
93
|
async DeleteDataAgentSession(req, cb) {
|
|
88
94
|
return this.request("DeleteDataAgentSession", req, cb);
|
|
89
95
|
}
|
|
96
|
+
/**
|
|
97
|
+
* 查询对象权限
|
|
98
|
+
*/
|
|
99
|
+
async QueryUserAuthority(req, cb) {
|
|
100
|
+
return this.request("QueryUserAuthority", req, cb);
|
|
101
|
+
}
|
|
90
102
|
/**
|
|
91
103
|
* 文档切片查询
|
|
92
104
|
*/
|
|
@@ -117,6 +117,43 @@ export interface GetSessionDetailsResponse {
|
|
|
117
117
|
*/
|
|
118
118
|
RequestId?: string;
|
|
119
119
|
}
|
|
120
|
+
/**
|
|
121
|
+
* 用户对象的权限
|
|
122
|
+
*/
|
|
123
|
+
export interface ModelUserAuthority {
|
|
124
|
+
/**
|
|
125
|
+
* 实例id
|
|
126
|
+
*/
|
|
127
|
+
InstanceId?: string;
|
|
128
|
+
/**
|
|
129
|
+
* 模块,分为知识库knowledge、数据源datasource、自定义场景scene
|
|
130
|
+
*/
|
|
131
|
+
Module?: string;
|
|
132
|
+
/**
|
|
133
|
+
* 对象创建者
|
|
134
|
+
*/
|
|
135
|
+
CreatorUin?: string;
|
|
136
|
+
/**
|
|
137
|
+
* 对象id,分为知识库id、数据源id、场景id
|
|
138
|
+
*/
|
|
139
|
+
ObjectId?: string;
|
|
140
|
+
/**
|
|
141
|
+
* 作用范围:1仅自己使用,2指定用户,0全员
|
|
142
|
+
*/
|
|
143
|
+
UseScope?: number;
|
|
144
|
+
/**
|
|
145
|
+
* 可使用的用户列表
|
|
146
|
+
*/
|
|
147
|
+
AuthorityUins?: Array<string>;
|
|
148
|
+
/**
|
|
149
|
+
* 创建时间
|
|
150
|
+
*/
|
|
151
|
+
CreateTime?: string;
|
|
152
|
+
/**
|
|
153
|
+
* 更新时间
|
|
154
|
+
*/
|
|
155
|
+
UpdateTime?: string;
|
|
156
|
+
}
|
|
120
157
|
/**
|
|
121
158
|
* ModifyChunk请求参数结构体
|
|
122
159
|
*/
|
|
@@ -281,6 +318,19 @@ export interface GetSessionDetailsRequest {
|
|
|
281
318
|
*/
|
|
282
319
|
SessionId?: string;
|
|
283
320
|
}
|
|
321
|
+
/**
|
|
322
|
+
* QueryUserAuthority返回参数结构体
|
|
323
|
+
*/
|
|
324
|
+
export interface QueryUserAuthorityResponse {
|
|
325
|
+
/**
|
|
326
|
+
* 对象权限信息
|
|
327
|
+
*/
|
|
328
|
+
ModelUserAuthority?: ModelUserAuthority;
|
|
329
|
+
/**
|
|
330
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
331
|
+
*/
|
|
332
|
+
RequestId?: string;
|
|
333
|
+
}
|
|
284
334
|
/**
|
|
285
335
|
* ModifyKnowledgeBase请求参数结构体
|
|
286
336
|
*/
|
|
@@ -387,6 +437,19 @@ export interface KnowledgeBase {
|
|
|
387
437
|
*/
|
|
388
438
|
DatasourceIds?: Array<string>;
|
|
389
439
|
}
|
|
440
|
+
/**
|
|
441
|
+
* ModifyUserAuthority请求参数结构体
|
|
442
|
+
*/
|
|
443
|
+
export interface ModifyUserAuthorityRequest {
|
|
444
|
+
/**
|
|
445
|
+
* 作用范围:1仅自己使用,2指定用户,0全员
|
|
446
|
+
*/
|
|
447
|
+
UseScope?: number;
|
|
448
|
+
/**
|
|
449
|
+
* 可使用的用户列表,UseScope=0/1,取值为[]
|
|
450
|
+
*/
|
|
451
|
+
AuthorityUins?: Array<string>;
|
|
452
|
+
}
|
|
390
453
|
/**
|
|
391
454
|
* GetJobsByKnowledgeBaseId返回参数结构体
|
|
392
455
|
*/
|
|
@@ -587,6 +650,10 @@ export interface ChatAIRequest {
|
|
|
587
650
|
*/
|
|
588
651
|
KnowledgeBaseIds?: Array<string>;
|
|
589
652
|
}
|
|
653
|
+
/**
|
|
654
|
+
* QueryUserAuthority请求参数结构体
|
|
655
|
+
*/
|
|
656
|
+
export type QueryUserAuthorityRequest = null;
|
|
590
657
|
/**
|
|
591
658
|
* 知识库文件信息
|
|
592
659
|
*/
|
|
@@ -676,6 +743,15 @@ export interface GetUploadJobDetailsRequest {
|
|
|
676
743
|
*/
|
|
677
744
|
JobId?: string;
|
|
678
745
|
}
|
|
746
|
+
/**
|
|
747
|
+
* ModifyUserAuthority返回参数结构体
|
|
748
|
+
*/
|
|
749
|
+
export interface ModifyUserAuthorityResponse {
|
|
750
|
+
/**
|
|
751
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
752
|
+
*/
|
|
753
|
+
RequestId?: string;
|
|
754
|
+
}
|
|
679
755
|
/**
|
|
680
756
|
* AddChunk返回参数结构体
|
|
681
757
|
*/
|
|
@@ -2916,6 +2916,10 @@ export interface TrinoQueryInfo {
|
|
|
2916
2916
|
* 写入字节数
|
|
2917
2917
|
*/
|
|
2918
2918
|
WrittenBytes?: number;
|
|
2919
|
+
/**
|
|
2920
|
+
* Error日志
|
|
2921
|
+
*/
|
|
2922
|
+
ErrorMessage?: string;
|
|
2919
2923
|
}
|
|
2920
2924
|
/**
|
|
2921
2925
|
* 采样序列
|
|
@@ -6272,6 +6276,10 @@ export interface StarRocksQueryInfo {
|
|
|
6272
6276
|
* 用户
|
|
6273
6277
|
*/
|
|
6274
6278
|
User?: string;
|
|
6279
|
+
/**
|
|
6280
|
+
* 错误码
|
|
6281
|
+
*/
|
|
6282
|
+
ErrorCode?: string;
|
|
6275
6283
|
}
|
|
6276
6284
|
/**
|
|
6277
6285
|
* Pod的存储设备描述信息。
|