tencentcloud-sdk-nodejs 4.0.448 → 4.0.449
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 +179 -0
- package/SERVICE_CHANGELOG.md +277 -30
- package/package.json +1 -1
- package/products.md +9 -7
- package/src/common/sdk_version.ts +1 -1
- package/src/services/bpaas/index.ts +5 -0
- package/src/services/bpaas/v20181217/bpaas_client.ts +59 -0
- package/src/services/bpaas/v20181217/bpaas_models.ts +291 -0
- package/src/services/bpaas/v20181217/index.ts +6 -0
- package/src/services/cam/v20190116/cam_models.ts +2 -2
- package/src/services/ckafka/v20190819/ckafka_client.ts +2 -1
- package/src/services/ckafka/v20190819/ckafka_models.ts +86 -10
- package/src/services/ess/v20201111/ess_models.ts +1 -1
- package/src/services/index.ts +2 -0
- package/src/services/lcic/index.ts +5 -0
- package/src/services/lcic/v20220817/index.ts +6 -0
- package/src/services/lcic/v20220817/lcic_client.ts +115 -0
- package/src/services/lcic/v20220817/lcic_models.ts +371 -0
- package/src/services/live/v20180801/live_models.ts +19 -16
- package/src/services/organization/v20210331/organization_models.ts +7 -1
- package/src/services/postgres/v20170312/postgres_client.ts +1 -1
- package/src/services/postgres/v20170312/postgres_models.ts +76 -12
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/bpaas/index.d.ts +6 -0
- package/tencentcloud/services/bpaas/index.js +7 -0
- package/tencentcloud/services/bpaas/v20181217/bpaas_client.d.ts +18 -0
- package/tencentcloud/services/bpaas/v20181217/bpaas_client.js +43 -0
- package/tencentcloud/services/bpaas/v20181217/bpaas_models.d.ts +233 -0
- package/tencentcloud/services/bpaas/v20181217/bpaas_models.js +18 -0
- package/tencentcloud/services/bpaas/v20181217/index.d.ts +6 -0
- package/tencentcloud/services/bpaas/v20181217/index.js +9 -0
- package/tencentcloud/services/cam/v20190116/cam_models.d.ts +2 -2
- package/tencentcloud/services/ckafka/v20190819/ckafka_models.d.ts +72 -8
- package/tencentcloud/services/ess/v20201111/ess_models.d.ts +1 -1
- package/tencentcloud/services/index.d.ts +2 -0
- package/tencentcloud/services/index.js +4 -0
- package/tencentcloud/services/lcic/index.d.ts +6 -0
- package/tencentcloud/services/lcic/index.js +7 -0
- package/tencentcloud/services/lcic/v20220817/index.d.ts +6 -0
- package/tencentcloud/services/lcic/v20220817/index.js +9 -0
- package/tencentcloud/services/lcic/v20220817/lcic_client.d.ts +38 -0
- package/tencentcloud/services/lcic/v20220817/lcic_client.js +73 -0
- package/tencentcloud/services/lcic/v20220817/lcic_models.d.ts +302 -0
- package/tencentcloud/services/lcic/v20220817/lcic_models.js +18 -0
- package/tencentcloud/services/live/v20180801/live_models.d.ts +16 -13
- package/tencentcloud/services/organization/v20210331/organization_models.d.ts +6 -1
- package/tencentcloud/services/postgres/v20170312/postgres_client.d.ts +1 -1
- package/tencentcloud/services/postgres/v20170312/postgres_client.js +1 -1
- package/tencentcloud/services/postgres/v20170312/postgres_models.d.ts +67 -11
- package/test/bpaas.v20181217.test.js +41 -0
- package/test/lcic.v20220817.test.js +91 -0
|
@@ -0,0 +1,59 @@
|
|
|
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
|
+
StatusNode,
|
|
22
|
+
ApproveOpinion,
|
|
23
|
+
OutApproveBpaasApplicationResponse,
|
|
24
|
+
GetBpaasApproveDetailRequest,
|
|
25
|
+
ApproveUser,
|
|
26
|
+
GetBpaasApproveDetailResponse,
|
|
27
|
+
OutApproveBpaasApplicationRequest,
|
|
28
|
+
ApplyParam,
|
|
29
|
+
} from "./bpaas_models"
|
|
30
|
+
|
|
31
|
+
/**
|
|
32
|
+
* bpaas client
|
|
33
|
+
* @class
|
|
34
|
+
*/
|
|
35
|
+
export class Client extends AbstractClient {
|
|
36
|
+
constructor(clientConfig: ClientConfig) {
|
|
37
|
+
super("bpaas.tencentcloudapi.com", "2018-12-17", clientConfig)
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
/**
|
|
41
|
+
* 查看审批详情
|
|
42
|
+
*/
|
|
43
|
+
async GetBpaasApproveDetail(
|
|
44
|
+
req: GetBpaasApproveDetailRequest,
|
|
45
|
+
cb?: (error: string, rep: GetBpaasApproveDetailResponse) => void
|
|
46
|
+
): Promise<GetBpaasApproveDetailResponse> {
|
|
47
|
+
return this.request("GetBpaasApproveDetail", req, cb)
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
/**
|
|
51
|
+
* 外部审批申请单
|
|
52
|
+
*/
|
|
53
|
+
async OutApproveBpaasApplication(
|
|
54
|
+
req: OutApproveBpaasApplicationRequest,
|
|
55
|
+
cb?: (error: string, rep: OutApproveBpaasApplicationResponse) => void
|
|
56
|
+
): Promise<OutApproveBpaasApplicationResponse> {
|
|
57
|
+
return this.request("OutApproveBpaasApplication", req, cb)
|
|
58
|
+
}
|
|
59
|
+
}
|
|
@@ -0,0 +1,291 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing,
|
|
11
|
+
* software distributed under the License is distributed on an
|
|
12
|
+
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
13
|
+
* KIND, either express or implied. See the License for the
|
|
14
|
+
* specific language governing permissions and limitations
|
|
15
|
+
* under the License.
|
|
16
|
+
*/
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
* 状态节点
|
|
20
|
+
*/
|
|
21
|
+
export interface StatusNode {
|
|
22
|
+
/**
|
|
23
|
+
* 节点id
|
|
24
|
+
*/
|
|
25
|
+
NodeId: string
|
|
26
|
+
|
|
27
|
+
/**
|
|
28
|
+
* 节点名称
|
|
29
|
+
*/
|
|
30
|
+
NodeName: string
|
|
31
|
+
|
|
32
|
+
/**
|
|
33
|
+
* 节点类型 1:审批节点 2:执行节点 3:条件节点
|
|
34
|
+
*/
|
|
35
|
+
NodeType: number
|
|
36
|
+
|
|
37
|
+
/**
|
|
38
|
+
* 下一个节点
|
|
39
|
+
*/
|
|
40
|
+
NextNode: string
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
* 审批意见模型
|
|
44
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
45
|
+
*/
|
|
46
|
+
Opinion: ApproveOpinion
|
|
47
|
+
|
|
48
|
+
/**
|
|
49
|
+
* scf函数名称
|
|
50
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
51
|
+
*/
|
|
52
|
+
ScfName: string
|
|
53
|
+
|
|
54
|
+
/**
|
|
55
|
+
* 状态(0:待审批,1:审批通过,2:拒绝,3:scf执行失败,4:scf执行成功)
|
|
56
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
57
|
+
*/
|
|
58
|
+
SubStatus: number
|
|
59
|
+
|
|
60
|
+
/**
|
|
61
|
+
* 审批节点审批人
|
|
62
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
63
|
+
*/
|
|
64
|
+
ApprovedUin: Array<number>
|
|
65
|
+
|
|
66
|
+
/**
|
|
67
|
+
* 审批时间
|
|
68
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
69
|
+
*/
|
|
70
|
+
CreateTime: string
|
|
71
|
+
|
|
72
|
+
/**
|
|
73
|
+
* 审批意见信息 审批节点:审批人意见 执行节点:scf函数执行日志
|
|
74
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
75
|
+
*/
|
|
76
|
+
Msg: string
|
|
77
|
+
|
|
78
|
+
/**
|
|
79
|
+
* 有权限审批该节点的uin
|
|
80
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
81
|
+
*/
|
|
82
|
+
Users: ApproveUser
|
|
83
|
+
|
|
84
|
+
/**
|
|
85
|
+
* 是否有权限审批该节点
|
|
86
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
87
|
+
*/
|
|
88
|
+
IsApprove: boolean
|
|
89
|
+
|
|
90
|
+
/**
|
|
91
|
+
* 审批id
|
|
92
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
93
|
+
*/
|
|
94
|
+
ApproveId: string
|
|
95
|
+
|
|
96
|
+
/**
|
|
97
|
+
* 审批方式 0或签 1会签
|
|
98
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
99
|
+
*/
|
|
100
|
+
ApproveMethod: number
|
|
101
|
+
|
|
102
|
+
/**
|
|
103
|
+
* 审批节点审批类型,1人工审批 2自动通过 3自动决绝 4外部审批scf
|
|
104
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
105
|
+
*/
|
|
106
|
+
ApproveType: number
|
|
107
|
+
|
|
108
|
+
/**
|
|
109
|
+
* 外部审批类型 scf:0或null ; CKafka:1
|
|
110
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
111
|
+
*/
|
|
112
|
+
CallMethod: number
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
/**
|
|
116
|
+
* 审批意见
|
|
117
|
+
*/
|
|
118
|
+
export interface ApproveOpinion {
|
|
119
|
+
/**
|
|
120
|
+
* 方式 1:输入文字反馈 2:预设选项
|
|
121
|
+
*/
|
|
122
|
+
Type: number
|
|
123
|
+
|
|
124
|
+
/**
|
|
125
|
+
* 审批意见
|
|
126
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
127
|
+
*/
|
|
128
|
+
Content?: Array<string>
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
/**
|
|
132
|
+
* OutApproveBpaasApplication返回参数结构体
|
|
133
|
+
*/
|
|
134
|
+
export interface OutApproveBpaasApplicationResponse {
|
|
135
|
+
/**
|
|
136
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
137
|
+
*/
|
|
138
|
+
RequestId?: string
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
/**
|
|
142
|
+
* GetBpaasApproveDetail请求参数结构体
|
|
143
|
+
*/
|
|
144
|
+
export interface GetBpaasApproveDetailRequest {
|
|
145
|
+
/**
|
|
146
|
+
* 审批id
|
|
147
|
+
*/
|
|
148
|
+
ApproveId: number
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
/**
|
|
152
|
+
* 审批人
|
|
153
|
+
*/
|
|
154
|
+
export interface ApproveUser {
|
|
155
|
+
/**
|
|
156
|
+
* 用户uin
|
|
157
|
+
*/
|
|
158
|
+
Uin: number
|
|
159
|
+
|
|
160
|
+
/**
|
|
161
|
+
* 用户类型 (1:用户 2:用户组)
|
|
162
|
+
*/
|
|
163
|
+
Type: number
|
|
164
|
+
|
|
165
|
+
/**
|
|
166
|
+
* 用户描述
|
|
167
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
168
|
+
*/
|
|
169
|
+
Desc?: string
|
|
170
|
+
|
|
171
|
+
/**
|
|
172
|
+
* 用户昵称
|
|
173
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
174
|
+
*/
|
|
175
|
+
Nick?: string
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
/**
|
|
179
|
+
* GetBpaasApproveDetail返回参数结构体
|
|
180
|
+
*/
|
|
181
|
+
export interface GetBpaasApproveDetailResponse {
|
|
182
|
+
/**
|
|
183
|
+
* 申请人uin
|
|
184
|
+
*/
|
|
185
|
+
ApplyUin: number
|
|
186
|
+
|
|
187
|
+
/**
|
|
188
|
+
* 申请人主账号
|
|
189
|
+
*/
|
|
190
|
+
ApplyOwnUin: number
|
|
191
|
+
|
|
192
|
+
/**
|
|
193
|
+
* 申请人昵称
|
|
194
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
195
|
+
*/
|
|
196
|
+
ApplyUinNick: string
|
|
197
|
+
|
|
198
|
+
/**
|
|
199
|
+
* 审批流id
|
|
200
|
+
*/
|
|
201
|
+
BpaasId: number
|
|
202
|
+
|
|
203
|
+
/**
|
|
204
|
+
* 审批流名称
|
|
205
|
+
*/
|
|
206
|
+
BpaasName: string
|
|
207
|
+
|
|
208
|
+
/**
|
|
209
|
+
* 申请参数
|
|
210
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
211
|
+
*/
|
|
212
|
+
ApplicationParams: Array<ApplyParam>
|
|
213
|
+
|
|
214
|
+
/**
|
|
215
|
+
* 申请原因
|
|
216
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
217
|
+
*/
|
|
218
|
+
Reason: string
|
|
219
|
+
|
|
220
|
+
/**
|
|
221
|
+
* 申请时间
|
|
222
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
223
|
+
*/
|
|
224
|
+
CreateTime: string
|
|
225
|
+
|
|
226
|
+
/**
|
|
227
|
+
* 申请单状态
|
|
228
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
229
|
+
*/
|
|
230
|
+
Status: number
|
|
231
|
+
|
|
232
|
+
/**
|
|
233
|
+
* 节点信息
|
|
234
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
235
|
+
*/
|
|
236
|
+
Nodes: Array<StatusNode>
|
|
237
|
+
|
|
238
|
+
/**
|
|
239
|
+
* 正在审批的节点id
|
|
240
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
241
|
+
*/
|
|
242
|
+
ApprovingNodeId: string
|
|
243
|
+
|
|
244
|
+
/**
|
|
245
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
246
|
+
*/
|
|
247
|
+
RequestId?: string
|
|
248
|
+
}
|
|
249
|
+
|
|
250
|
+
/**
|
|
251
|
+
* OutApproveBpaasApplication请求参数结构体
|
|
252
|
+
*/
|
|
253
|
+
export interface OutApproveBpaasApplicationRequest {
|
|
254
|
+
/**
|
|
255
|
+
* 状态 1:通过 2:拒绝
|
|
256
|
+
*/
|
|
257
|
+
Status: number
|
|
258
|
+
|
|
259
|
+
/**
|
|
260
|
+
* 审批单id
|
|
261
|
+
*/
|
|
262
|
+
ApproveId: number
|
|
263
|
+
|
|
264
|
+
/**
|
|
265
|
+
* 审批意见
|
|
266
|
+
*/
|
|
267
|
+
Msg?: string
|
|
268
|
+
}
|
|
269
|
+
|
|
270
|
+
/**
|
|
271
|
+
* bpaas申请入参
|
|
272
|
+
*/
|
|
273
|
+
export interface ApplyParam {
|
|
274
|
+
/**
|
|
275
|
+
* 审批流中表单唯一标识
|
|
276
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
277
|
+
*/
|
|
278
|
+
Key: string
|
|
279
|
+
|
|
280
|
+
/**
|
|
281
|
+
* 表单value
|
|
282
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
283
|
+
*/
|
|
284
|
+
Value: Array<string>
|
|
285
|
+
|
|
286
|
+
/**
|
|
287
|
+
* 表单参数描述
|
|
288
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
289
|
+
*/
|
|
290
|
+
Name?: string
|
|
291
|
+
}
|
|
@@ -1433,12 +1433,12 @@ export interface DetachRolePolicyRequest {
|
|
|
1433
1433
|
PolicyId?: number
|
|
1434
1434
|
|
|
1435
1435
|
/**
|
|
1436
|
-
* 角色ID,用于指定角色,入参
|
|
1436
|
+
* 角色ID,用于指定角色,入参 DetachRoleId 与 DetachRoleName 二选一
|
|
1437
1437
|
*/
|
|
1438
1438
|
DetachRoleId?: string
|
|
1439
1439
|
|
|
1440
1440
|
/**
|
|
1441
|
-
* 角色名称,用于指定角色,入参
|
|
1441
|
+
* 角色名称,用于指定角色,入参 DetachRoleId 与 DetachRoleName 二选一
|
|
1442
1442
|
*/
|
|
1443
1443
|
DetachRoleName?: string
|
|
1444
1444
|
|
|
@@ -76,7 +76,7 @@ import {
|
|
|
76
76
|
CtsdbModifyConnectParam,
|
|
77
77
|
DescribeACLResponse,
|
|
78
78
|
DynamicDiskConfig,
|
|
79
|
-
|
|
79
|
+
DorisConnectParam,
|
|
80
80
|
ZoneInfo,
|
|
81
81
|
DescribeTopicSubscribeGroupResponse,
|
|
82
82
|
DeleteAclRuleRequest,
|
|
@@ -232,6 +232,7 @@ import {
|
|
|
232
232
|
PrivateLinkParam,
|
|
233
233
|
CreateRouteResponse,
|
|
234
234
|
InstanceResponse,
|
|
235
|
+
JgwOperateResponse,
|
|
235
236
|
DescribeGroup,
|
|
236
237
|
ClsParam,
|
|
237
238
|
EventBusParam,
|
|
@@ -679,6 +679,12 @@ export interface DescribeConnectResourceResp {
|
|
|
679
679
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
680
680
|
*/
|
|
681
681
|
CtsdbConnectParam: CtsdbConnectParam
|
|
682
|
+
|
|
683
|
+
/**
|
|
684
|
+
* Doris 配置,Type 为 DORIS 时返回
|
|
685
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
686
|
+
*/
|
|
687
|
+
DorisConnectParam: DorisConnectParam
|
|
682
688
|
}
|
|
683
689
|
|
|
684
690
|
/**
|
|
@@ -918,6 +924,12 @@ export interface DescribeConnectResource {
|
|
|
918
924
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
919
925
|
*/
|
|
920
926
|
CtsdbConnectParam: CtsdbConnectParam
|
|
927
|
+
|
|
928
|
+
/**
|
|
929
|
+
* Doris 配置,Type 为 DORIS 时返回
|
|
930
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
931
|
+
*/
|
|
932
|
+
DorisConnectParam: DorisConnectParam
|
|
921
933
|
}
|
|
922
934
|
|
|
923
935
|
/**
|
|
@@ -2071,24 +2083,62 @@ export interface DynamicDiskConfig {
|
|
|
2071
2083
|
}
|
|
2072
2084
|
|
|
2073
2085
|
/**
|
|
2074
|
-
*
|
|
2086
|
+
* Doris 连接源参数
|
|
2075
2087
|
*/
|
|
2076
|
-
export interface
|
|
2088
|
+
export interface DorisConnectParam {
|
|
2077
2089
|
/**
|
|
2078
|
-
|
|
2079
|
-
|
|
2080
|
-
|
|
2090
|
+
* Doris jdbc 负载均衡连接 port,通常映射到 fe 的 9030 端口
|
|
2091
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2092
|
+
*/
|
|
2093
|
+
Port: number
|
|
2081
2094
|
|
|
2082
2095
|
/**
|
|
2083
|
-
|
|
2084
|
-
|
|
2085
|
-
|
|
2096
|
+
* Doris 连接源的用户名
|
|
2097
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2098
|
+
*/
|
|
2099
|
+
UserName: string
|
|
2086
2100
|
|
|
2087
2101
|
/**
|
|
2088
|
-
*
|
|
2102
|
+
* Doris 连接源的密码
|
|
2089
2103
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
2090
2104
|
*/
|
|
2091
|
-
|
|
2105
|
+
Password: string
|
|
2106
|
+
|
|
2107
|
+
/**
|
|
2108
|
+
* Doris 连接源的实例资源
|
|
2109
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2110
|
+
*/
|
|
2111
|
+
Resource: string
|
|
2112
|
+
|
|
2113
|
+
/**
|
|
2114
|
+
* Doris 连接源的实例vip,当为腾讯云实例时,必填
|
|
2115
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2116
|
+
*/
|
|
2117
|
+
ServiceVip?: string
|
|
2118
|
+
|
|
2119
|
+
/**
|
|
2120
|
+
* Doris 连接源的vpcId,当为腾讯云实例时,必填
|
|
2121
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2122
|
+
*/
|
|
2123
|
+
UniqVpcId?: string
|
|
2124
|
+
|
|
2125
|
+
/**
|
|
2126
|
+
* 是否更新到关联的Datahub任务
|
|
2127
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2128
|
+
*/
|
|
2129
|
+
IsUpdate?: boolean
|
|
2130
|
+
|
|
2131
|
+
/**
|
|
2132
|
+
* Doris 连接源是否为自建集群
|
|
2133
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2134
|
+
*/
|
|
2135
|
+
SelfBuilt?: boolean
|
|
2136
|
+
|
|
2137
|
+
/**
|
|
2138
|
+
* Doris 的 http 负载均衡连接 port,通常映射到 be 的 8040 端口
|
|
2139
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2140
|
+
*/
|
|
2141
|
+
BePort?: number
|
|
2092
2142
|
}
|
|
2093
2143
|
|
|
2094
2144
|
/**
|
|
@@ -3205,6 +3255,11 @@ export interface CreateConnectResourceRequest {
|
|
|
3205
3255
|
* SQLServer配置,Type为SQLSERVER时必填
|
|
3206
3256
|
*/
|
|
3207
3257
|
SQLServerConnectParam?: SQLServerConnectParam
|
|
3258
|
+
|
|
3259
|
+
/**
|
|
3260
|
+
* Doris 配置,Type为 DORIS 时必填
|
|
3261
|
+
*/
|
|
3262
|
+
DorisConnectParam?: DorisConnectParam
|
|
3208
3263
|
}
|
|
3209
3264
|
|
|
3210
3265
|
/**
|
|
@@ -6271,6 +6326,27 @@ export interface InstanceResponse {
|
|
|
6271
6326
|
TotalCount: number
|
|
6272
6327
|
}
|
|
6273
6328
|
|
|
6329
|
+
/**
|
|
6330
|
+
* 操作型结果返回值
|
|
6331
|
+
*/
|
|
6332
|
+
export interface JgwOperateResponse {
|
|
6333
|
+
/**
|
|
6334
|
+
* 返回的code,0为正常,非0为错误
|
|
6335
|
+
*/
|
|
6336
|
+
ReturnCode: string
|
|
6337
|
+
|
|
6338
|
+
/**
|
|
6339
|
+
* 成功消息
|
|
6340
|
+
*/
|
|
6341
|
+
ReturnMessage: string
|
|
6342
|
+
|
|
6343
|
+
/**
|
|
6344
|
+
* 操作型返回的Data数据,可能有flowId等
|
|
6345
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
6346
|
+
*/
|
|
6347
|
+
Data: OperateResponseData
|
|
6348
|
+
}
|
|
6349
|
+
|
|
6274
6350
|
/**
|
|
6275
6351
|
* DescribeGroup返回实体
|
|
6276
6352
|
*/
|
package/src/services/index.ts
CHANGED
|
@@ -26,6 +26,7 @@ export { bma } from "./bma"
|
|
|
26
26
|
export { bmeip } from "./bmeip"
|
|
27
27
|
export { bmlb } from "./bmlb"
|
|
28
28
|
export { bmvpc } from "./bmvpc"
|
|
29
|
+
export { bpaas } from "./bpaas"
|
|
29
30
|
export { bri } from "./bri"
|
|
30
31
|
export { bsca } from "./bsca"
|
|
31
32
|
export { btoe } from "./btoe"
|
|
@@ -114,6 +115,7 @@ export { iotvideoindustry } from "./iotvideoindustry"
|
|
|
114
115
|
export { irp } from "./irp"
|
|
115
116
|
export { ivld } from "./ivld"
|
|
116
117
|
export { kms } from "./kms"
|
|
118
|
+
export { lcic } from "./lcic"
|
|
117
119
|
export { lighthouse } from "./lighthouse"
|
|
118
120
|
export { live } from "./live"
|
|
119
121
|
export { lowcode } from "./lowcode"
|
|
@@ -0,0 +1,115 @@
|
|
|
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
|
+
CreateRoomRequest,
|
|
22
|
+
CreateSupervisorRequest,
|
|
23
|
+
DescribeRoomResponse,
|
|
24
|
+
RegisterUserRequest,
|
|
25
|
+
LoginOriginIdRequest,
|
|
26
|
+
DescribeUserRequest,
|
|
27
|
+
RegisterUserResponse,
|
|
28
|
+
LoginUserRequest,
|
|
29
|
+
CreateSupervisorResponse,
|
|
30
|
+
CreateRoomResponse,
|
|
31
|
+
DescribeUserResponse,
|
|
32
|
+
DescribeRoomRequest,
|
|
33
|
+
LoginOriginIdResponse,
|
|
34
|
+
LoginUserResponse,
|
|
35
|
+
} from "./lcic_models"
|
|
36
|
+
|
|
37
|
+
/**
|
|
38
|
+
* lcic client
|
|
39
|
+
* @class
|
|
40
|
+
*/
|
|
41
|
+
export class Client extends AbstractClient {
|
|
42
|
+
constructor(clientConfig: ClientConfig) {
|
|
43
|
+
super("lcic.tencentcloudapi.com", "2022-08-17", clientConfig)
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
/**
|
|
47
|
+
* 获取用户信息
|
|
48
|
+
*/
|
|
49
|
+
async DescribeUser(
|
|
50
|
+
req: DescribeUserRequest,
|
|
51
|
+
cb?: (error: string, rep: DescribeUserResponse) => void
|
|
52
|
+
): Promise<DescribeUserResponse> {
|
|
53
|
+
return this.request("DescribeUser", req, cb)
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
/**
|
|
57
|
+
* 使用源账号登录,源账号为注册时填入的originId
|
|
58
|
+
*/
|
|
59
|
+
async LoginOriginId(
|
|
60
|
+
req: LoginOriginIdRequest,
|
|
61
|
+
cb?: (error: string, rep: LoginOriginIdResponse) => void
|
|
62
|
+
): Promise<LoginOriginIdResponse> {
|
|
63
|
+
return this.request("LoginOriginId", req, cb)
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
/**
|
|
67
|
+
* 注册用户
|
|
68
|
+
*/
|
|
69
|
+
async RegisterUser(
|
|
70
|
+
req: RegisterUserRequest,
|
|
71
|
+
cb?: (error: string, rep: RegisterUserResponse) => void
|
|
72
|
+
): Promise<RegisterUserResponse> {
|
|
73
|
+
return this.request("RegisterUser", req, cb)
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
/**
|
|
77
|
+
* 登录
|
|
78
|
+
*/
|
|
79
|
+
async LoginUser(
|
|
80
|
+
req: LoginUserRequest,
|
|
81
|
+
cb?: (error: string, rep: LoginUserResponse) => void
|
|
82
|
+
): Promise<LoginUserResponse> {
|
|
83
|
+
return this.request("LoginUser", req, cb)
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
/**
|
|
87
|
+
* 创建巡课
|
|
88
|
+
*/
|
|
89
|
+
async CreateSupervisor(
|
|
90
|
+
req?: CreateSupervisorRequest,
|
|
91
|
+
cb?: (error: string, rep: CreateSupervisorResponse) => void
|
|
92
|
+
): Promise<CreateSupervisorResponse> {
|
|
93
|
+
return this.request("CreateSupervisor", req, cb)
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
/**
|
|
97
|
+
* 获取房间信息
|
|
98
|
+
*/
|
|
99
|
+
async DescribeRoom(
|
|
100
|
+
req: DescribeRoomRequest,
|
|
101
|
+
cb?: (error: string, rep: DescribeRoomResponse) => void
|
|
102
|
+
): Promise<DescribeRoomResponse> {
|
|
103
|
+
return this.request("DescribeRoom", req, cb)
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
/**
|
|
107
|
+
* 创建房间
|
|
108
|
+
*/
|
|
109
|
+
async CreateRoom(
|
|
110
|
+
req: CreateRoomRequest,
|
|
111
|
+
cb?: (error: string, rep: CreateRoomResponse) => void
|
|
112
|
+
): Promise<CreateRoomResponse> {
|
|
113
|
+
return this.request("CreateRoom", req, cb)
|
|
114
|
+
}
|
|
115
|
+
}
|