tencentcloud-sdk-nodejs-bh 4.1.115 → 4.1.147
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/README.md +6 -4
- package/es/services/bh/v20230418/bh_client.js +203 -137
- package/es/services/bh/v20230418/bh_models.js +1 -0
- package/package.json +7 -5
- package/tencentcloud/services/bh/v20230418/bh_client.d.ts +233 -145
- package/tencentcloud/services/bh/v20230418/bh_client.js +348 -216
- package/tencentcloud/services/bh/v20230418/bh_models.d.ts +930 -168
- package/tencentcloud/services/index.js +1 -0
|
@@ -29,124 +29,136 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
29
29
|
super("bh.tencentcloudapi.com", "2023-04-18", clientConfig);
|
|
30
30
|
}
|
|
31
31
|
/**
|
|
32
|
-
*
|
|
32
|
+
* 删除主机账号
|
|
33
33
|
*/
|
|
34
|
-
async
|
|
35
|
-
return this.request("
|
|
34
|
+
async DeleteDeviceAccounts(req, cb) {
|
|
35
|
+
return this.request("DeleteDeviceAccounts", req, cb);
|
|
36
36
|
}
|
|
37
37
|
/**
|
|
38
|
-
*
|
|
38
|
+
* 重置用户
|
|
39
39
|
*/
|
|
40
|
-
async
|
|
41
|
-
return this.request("
|
|
40
|
+
async ResetUser(req, cb) {
|
|
41
|
+
return this.request("ResetUser", req, cb);
|
|
42
42
|
}
|
|
43
43
|
/**
|
|
44
|
-
*
|
|
44
|
+
* 获取运维任务列表
|
|
45
45
|
*/
|
|
46
|
-
async
|
|
47
|
-
return this.request("
|
|
46
|
+
async DescribeOperationTask(req, cb) {
|
|
47
|
+
return this.request("DescribeOperationTask", req, cb);
|
|
48
48
|
}
|
|
49
49
|
/**
|
|
50
|
-
*
|
|
50
|
+
* 查询网络域
|
|
51
51
|
*/
|
|
52
|
-
async
|
|
53
|
-
return this.request("
|
|
52
|
+
async DescribeDomains(req, cb) {
|
|
53
|
+
return this.request("DescribeDomains", req, cb);
|
|
54
54
|
}
|
|
55
55
|
/**
|
|
56
|
-
*
|
|
56
|
+
* 修改用户目录信息
|
|
57
57
|
*/
|
|
58
|
-
async
|
|
59
|
-
return this.request("
|
|
58
|
+
async ModifyUserDirectory(req, cb) {
|
|
59
|
+
return this.request("ModifyUserDirectory", req, cb);
|
|
60
60
|
}
|
|
61
61
|
/**
|
|
62
|
-
*
|
|
62
|
+
* 导入外部资产信息
|
|
63
63
|
*/
|
|
64
|
-
async
|
|
65
|
-
return this.request("
|
|
64
|
+
async ImportExternalDevice(req, cb) {
|
|
65
|
+
return this.request("ImportExternalDevice", req, cb);
|
|
66
66
|
}
|
|
67
67
|
/**
|
|
68
|
-
*
|
|
68
|
+
* 获取用户目录
|
|
69
69
|
*/
|
|
70
|
-
async
|
|
71
|
-
return this.request("
|
|
70
|
+
async DescribeUserDirectory(req, cb) {
|
|
71
|
+
return this.request("DescribeUserDirectory", req, cb);
|
|
72
72
|
}
|
|
73
73
|
/**
|
|
74
|
-
*
|
|
74
|
+
* 删除用户组成员
|
|
75
75
|
*/
|
|
76
|
-
async
|
|
77
|
-
return this.request("
|
|
76
|
+
async DeleteUserGroupMembers(req, cb) {
|
|
77
|
+
return this.request("DeleteUserGroupMembers", req, cb);
|
|
78
78
|
}
|
|
79
79
|
/**
|
|
80
|
-
*
|
|
80
|
+
* 创建手工资产同步任务
|
|
81
81
|
*/
|
|
82
|
-
async
|
|
83
|
-
return this.request("
|
|
82
|
+
async CreateAssetSyncJob(req, cb) {
|
|
83
|
+
return this.request("CreateAssetSyncJob", req, cb);
|
|
84
84
|
}
|
|
85
85
|
/**
|
|
86
|
-
*
|
|
86
|
+
* 创建用户同步任务
|
|
87
87
|
*/
|
|
88
|
-
async
|
|
89
|
-
return this.request("
|
|
88
|
+
async CreateSyncUserTask(req, cb) {
|
|
89
|
+
return this.request("CreateSyncUserTask", req, cb);
|
|
90
90
|
}
|
|
91
91
|
/**
|
|
92
|
-
*
|
|
92
|
+
* 查询运维子任务执行结果
|
|
93
93
|
*/
|
|
94
|
-
async
|
|
95
|
-
return this.request("
|
|
94
|
+
async SearchSubtaskResultById(req, cb) {
|
|
95
|
+
return this.request("SearchSubtaskResultById", req, cb);
|
|
96
96
|
}
|
|
97
97
|
/**
|
|
98
|
-
*
|
|
98
|
+
* 修改访问权限
|
|
99
99
|
*/
|
|
100
|
-
async
|
|
101
|
-
return this.request("
|
|
100
|
+
async ModifyAcl(req, cb) {
|
|
101
|
+
return this.request("ModifyAcl", req, cb);
|
|
102
102
|
}
|
|
103
103
|
/**
|
|
104
|
-
*
|
|
104
|
+
* 删除用户
|
|
105
105
|
*/
|
|
106
|
-
async
|
|
107
|
-
return this.request("
|
|
106
|
+
async DeleteUsers(req, cb) {
|
|
107
|
+
return this.request("DeleteUsers", req, cb);
|
|
108
108
|
}
|
|
109
109
|
/**
|
|
110
|
-
*
|
|
110
|
+
* 查询资产自动同步开关
|
|
111
111
|
*/
|
|
112
|
-
async
|
|
113
|
-
return this.request("
|
|
112
|
+
async DescribeAssetSyncFlag(req, cb) {
|
|
113
|
+
return this.request("DescribeAssetSyncFlag", req, cb);
|
|
114
114
|
}
|
|
115
115
|
/**
|
|
116
|
-
*
|
|
116
|
+
* 查询访问白名单规则列表
|
|
117
117
|
*/
|
|
118
|
-
async
|
|
119
|
-
return this.request("
|
|
118
|
+
async DescribeAccessWhiteListRules(req, cb) {
|
|
119
|
+
return this.request("DescribeAccessWhiteListRules", req, cb);
|
|
120
120
|
}
|
|
121
121
|
/**
|
|
122
|
-
*
|
|
122
|
+
* 查询资产同步状态
|
|
123
123
|
*/
|
|
124
|
-
async
|
|
125
|
-
return this.request("
|
|
124
|
+
async DescribeAssetSyncStatus(req, cb) {
|
|
125
|
+
return this.request("DescribeAssetSyncStatus", req, cb);
|
|
126
126
|
}
|
|
127
127
|
/**
|
|
128
|
-
*
|
|
128
|
+
* 查询操作日志
|
|
129
129
|
*/
|
|
130
|
-
async
|
|
131
|
-
return this.request("
|
|
130
|
+
async DescribeOperationEvent(req, cb) {
|
|
131
|
+
return this.request("DescribeOperationEvent", req, cb);
|
|
132
132
|
}
|
|
133
133
|
/**
|
|
134
|
-
*
|
|
134
|
+
* 获取账号组信息
|
|
135
135
|
*/
|
|
136
|
-
async
|
|
137
|
-
return this.request("
|
|
136
|
+
async DescribeAccountGroups(req, cb) {
|
|
137
|
+
return this.request("DescribeAccountGroups", req, cb);
|
|
138
138
|
}
|
|
139
139
|
/**
|
|
140
|
-
*
|
|
140
|
+
* 删除高危命令模板
|
|
141
141
|
*/
|
|
142
|
-
async
|
|
143
|
-
return this.request("
|
|
142
|
+
async DeleteCmdTemplates(req, cb) {
|
|
143
|
+
return this.request("DeleteCmdTemplates", req, cb);
|
|
144
144
|
}
|
|
145
145
|
/**
|
|
146
|
-
*
|
|
146
|
+
* 修改访问白名单状态:开启或关闭放开全部来源IP。
|
|
147
147
|
*/
|
|
148
|
-
async
|
|
149
|
-
return this.request("
|
|
148
|
+
async ModifyAccessWhiteListStatus(req, cb) {
|
|
149
|
+
return this.request("ModifyAccessWhiteListStatus", req, cb);
|
|
150
|
+
}
|
|
151
|
+
/**
|
|
152
|
+
* 查询登录日志
|
|
153
|
+
*/
|
|
154
|
+
async DescribeLoginEvent(req, cb) {
|
|
155
|
+
return this.request("DescribeLoginEvent", req, cb);
|
|
156
|
+
}
|
|
157
|
+
/**
|
|
158
|
+
* 查询改密任务列表
|
|
159
|
+
*/
|
|
160
|
+
async DescribeChangePwdTask(req, cb) {
|
|
161
|
+
return this.request("DescribeChangePwdTask", req, cb);
|
|
150
162
|
}
|
|
151
163
|
/**
|
|
152
164
|
* 文件传输检索
|
|
@@ -154,6 +166,78 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
154
166
|
async SearchFile(req, cb) {
|
|
155
167
|
return this.request("SearchFile", req, cb);
|
|
156
168
|
}
|
|
169
|
+
/**
|
|
170
|
+
* 新建用户组
|
|
171
|
+
*/
|
|
172
|
+
async CreateUserGroup(req, cb) {
|
|
173
|
+
return this.request("CreateUserGroup", req, cb);
|
|
174
|
+
}
|
|
175
|
+
/**
|
|
176
|
+
* 新建用户
|
|
177
|
+
*/
|
|
178
|
+
async CreateUser(req, cb) {
|
|
179
|
+
return this.request("CreateUser", req, cb);
|
|
180
|
+
}
|
|
181
|
+
/**
|
|
182
|
+
* 搜索运维任务执行结果
|
|
183
|
+
*/
|
|
184
|
+
async SearchTaskResult(req, cb) {
|
|
185
|
+
return this.request("SearchTaskResult", req, cb);
|
|
186
|
+
}
|
|
187
|
+
/**
|
|
188
|
+
* 同步堡垒机本地用户到IOA
|
|
189
|
+
*/
|
|
190
|
+
async SyncUserToIOA(req, cb) {
|
|
191
|
+
return this.request("SyncUserToIOA", req, cb);
|
|
192
|
+
}
|
|
193
|
+
/**
|
|
194
|
+
* 命令执行检索
|
|
195
|
+
*/
|
|
196
|
+
async SearchCommand(req, cb) {
|
|
197
|
+
return this.request("SearchCommand", req, cb);
|
|
198
|
+
}
|
|
199
|
+
/**
|
|
200
|
+
* 新建访问权限
|
|
201
|
+
*/
|
|
202
|
+
async CreateAcl(req, cb) {
|
|
203
|
+
return this.request("CreateAcl", req, cb);
|
|
204
|
+
}
|
|
205
|
+
/**
|
|
206
|
+
* 新建资产组
|
|
207
|
+
*/
|
|
208
|
+
async CreateDeviceGroup(req, cb) {
|
|
209
|
+
return this.request("CreateDeviceGroup", req, cb);
|
|
210
|
+
}
|
|
211
|
+
/**
|
|
212
|
+
* 测试LDAP连接
|
|
213
|
+
*/
|
|
214
|
+
async CheckLDAPConnection(req, cb) {
|
|
215
|
+
return this.request("CheckLDAPConnection", req, cb);
|
|
216
|
+
}
|
|
217
|
+
/**
|
|
218
|
+
* 查询用户组列表
|
|
219
|
+
*/
|
|
220
|
+
async DescribeUserGroups(req, cb) {
|
|
221
|
+
return this.request("DescribeUserGroups", req, cb);
|
|
222
|
+
}
|
|
223
|
+
/**
|
|
224
|
+
* 开通服务,初始化资源,只针对新购资源
|
|
225
|
+
*/
|
|
226
|
+
async DeployResource(req, cb) {
|
|
227
|
+
return this.request("DeployResource", req, cb);
|
|
228
|
+
}
|
|
229
|
+
/**
|
|
230
|
+
* 修改资产信息
|
|
231
|
+
*/
|
|
232
|
+
async ModifyDevice(req, cb) {
|
|
233
|
+
return this.request("ModifyDevice", req, cb);
|
|
234
|
+
}
|
|
235
|
+
/**
|
|
236
|
+
* 修改资产绑定的堡垒机服务
|
|
237
|
+
*/
|
|
238
|
+
async BindDeviceResource(req, cb) {
|
|
239
|
+
return this.request("BindDeviceResource", req, cb);
|
|
240
|
+
}
|
|
157
241
|
/**
|
|
158
242
|
* 搜索会话
|
|
159
243
|
*/
|
|
@@ -161,10 +245,10 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
161
245
|
return this.request("SearchSession", req, cb);
|
|
162
246
|
}
|
|
163
247
|
/**
|
|
164
|
-
*
|
|
248
|
+
* 查询安全配置信息
|
|
165
249
|
*/
|
|
166
|
-
async
|
|
167
|
-
return this.request("
|
|
250
|
+
async DescribeSecuritySetting(req, cb) {
|
|
251
|
+
return this.request("DescribeSecuritySetting", req, cb);
|
|
168
252
|
}
|
|
169
253
|
/**
|
|
170
254
|
* 外部客户访问资产
|
|
@@ -179,160 +263,160 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
179
263
|
return this.request("DescribeResources", req, cb);
|
|
180
264
|
}
|
|
181
265
|
/**
|
|
182
|
-
*
|
|
266
|
+
* 开启公网访问堡垒机
|
|
183
267
|
*/
|
|
184
|
-
async
|
|
185
|
-
return this.request("
|
|
268
|
+
async EnableExternalAccess(req, cb) {
|
|
269
|
+
return this.request("EnableExternalAccess", req, cb);
|
|
186
270
|
}
|
|
187
271
|
/**
|
|
188
|
-
*
|
|
272
|
+
* 关闭公网访问堡垒机
|
|
189
273
|
*/
|
|
190
|
-
async
|
|
191
|
-
return this.request("
|
|
274
|
+
async DisableExternalAccess(req, cb) {
|
|
275
|
+
return this.request("DisableExternalAccess", req, cb);
|
|
192
276
|
}
|
|
193
277
|
/**
|
|
194
|
-
*
|
|
278
|
+
* 根据会话Id搜索Command
|
|
195
279
|
*/
|
|
196
|
-
async
|
|
197
|
-
return this.request("
|
|
280
|
+
async SearchCommandBySid(req, cb) {
|
|
281
|
+
return this.request("SearchCommandBySid", req, cb);
|
|
198
282
|
}
|
|
199
283
|
/**
|
|
200
|
-
*
|
|
284
|
+
* 修改高危命令模板
|
|
201
285
|
*/
|
|
202
|
-
async
|
|
203
|
-
return this.request("
|
|
286
|
+
async ModifyCmdTemplate(req, cb) {
|
|
287
|
+
return this.request("ModifyCmdTemplate", req, cb);
|
|
204
288
|
}
|
|
205
289
|
/**
|
|
206
|
-
*
|
|
290
|
+
* 新建高危命令模板
|
|
207
291
|
*/
|
|
208
|
-
async
|
|
209
|
-
return this.request("
|
|
292
|
+
async CreateCmdTemplate(req, cb) {
|
|
293
|
+
return this.request("CreateCmdTemplate", req, cb);
|
|
210
294
|
}
|
|
211
295
|
/**
|
|
212
|
-
*
|
|
296
|
+
* 会话回放
|
|
213
297
|
*/
|
|
214
|
-
async
|
|
215
|
-
return this.request("
|
|
298
|
+
async ReplaySession(req, cb) {
|
|
299
|
+
return this.request("ReplaySession", req, cb);
|
|
216
300
|
}
|
|
217
301
|
/**
|
|
218
|
-
*
|
|
302
|
+
* 清除设备账号绑定的密钥
|
|
219
303
|
*/
|
|
220
|
-
async
|
|
221
|
-
return this.request("
|
|
304
|
+
async ResetDeviceAccountPrivateKey(req, cb) {
|
|
305
|
+
return this.request("ResetDeviceAccountPrivateKey", req, cb);
|
|
222
306
|
}
|
|
223
307
|
/**
|
|
224
|
-
*
|
|
308
|
+
* 搜索审计日志
|
|
225
309
|
*/
|
|
226
|
-
async
|
|
227
|
-
return this.request("
|
|
310
|
+
async SearchAuditLog(req, cb) {
|
|
311
|
+
return this.request("SearchAuditLog", req, cb);
|
|
228
312
|
}
|
|
229
313
|
/**
|
|
230
|
-
*
|
|
314
|
+
* 修改认证方式配置信息
|
|
231
315
|
*/
|
|
232
|
-
async
|
|
233
|
-
return this.request("
|
|
316
|
+
async ModifyAuthModeSetting(req, cb) {
|
|
317
|
+
return this.request("ModifyAuthModeSetting", req, cb);
|
|
234
318
|
}
|
|
235
319
|
/**
|
|
236
|
-
*
|
|
320
|
+
* 命令检索
|
|
237
321
|
*/
|
|
238
|
-
async
|
|
239
|
-
return this.request("
|
|
322
|
+
async SearchSessionCommand(req, cb) {
|
|
323
|
+
return this.request("SearchSessionCommand", req, cb);
|
|
240
324
|
}
|
|
241
325
|
/**
|
|
242
|
-
*
|
|
326
|
+
* 修改资产组
|
|
243
327
|
*/
|
|
244
|
-
async
|
|
245
|
-
return this.request("
|
|
328
|
+
async ModifyDeviceGroup(req, cb) {
|
|
329
|
+
return this.request("ModifyDeviceGroup", req, cb);
|
|
246
330
|
}
|
|
247
331
|
/**
|
|
248
|
-
*
|
|
332
|
+
* 设置OAuth认证参数
|
|
249
333
|
*/
|
|
250
|
-
async
|
|
251
|
-
return this.request("
|
|
334
|
+
async ModifyOAuthSetting(req, cb) {
|
|
335
|
+
return this.request("ModifyOAuthSetting", req, cb);
|
|
252
336
|
}
|
|
253
337
|
/**
|
|
254
|
-
*
|
|
338
|
+
* 创建用户目录
|
|
255
339
|
*/
|
|
256
|
-
async
|
|
257
|
-
return this.request("
|
|
340
|
+
async CreateUserDirectory(req, cb) {
|
|
341
|
+
return this.request("CreateUserDirectory", req, cb);
|
|
258
342
|
}
|
|
259
343
|
/**
|
|
260
|
-
*
|
|
344
|
+
* 创建运维任务
|
|
261
345
|
*/
|
|
262
|
-
async
|
|
263
|
-
return this.request("
|
|
346
|
+
async CreateOperationTask(req, cb) {
|
|
347
|
+
return this.request("CreateOperationTask", req, cb);
|
|
264
348
|
}
|
|
265
349
|
/**
|
|
266
|
-
*
|
|
350
|
+
* 添加用户组成员
|
|
267
351
|
*/
|
|
268
|
-
async
|
|
269
|
-
return this.request("
|
|
352
|
+
async AddUserGroupMembers(req, cb) {
|
|
353
|
+
return this.request("AddUserGroupMembers", req, cb);
|
|
270
354
|
}
|
|
271
355
|
/**
|
|
272
|
-
*
|
|
356
|
+
* 设置LDAP 立即同步标记
|
|
273
357
|
*/
|
|
274
|
-
async
|
|
275
|
-
return this.request("
|
|
358
|
+
async SetLDAPSyncFlag(req, cb) {
|
|
359
|
+
return this.request("SetLDAPSyncFlag", req, cb);
|
|
276
360
|
}
|
|
277
361
|
/**
|
|
278
|
-
*
|
|
362
|
+
* 绑定主机账号密码
|
|
279
363
|
*/
|
|
280
|
-
async
|
|
281
|
-
return this.request("
|
|
364
|
+
async BindDeviceAccountPassword(req, cb) {
|
|
365
|
+
return this.request("BindDeviceAccountPassword", req, cb);
|
|
282
366
|
}
|
|
283
367
|
/**
|
|
284
|
-
*
|
|
368
|
+
* 获取LDAP ou 列表
|
|
285
369
|
*/
|
|
286
|
-
async
|
|
287
|
-
return this.request("
|
|
370
|
+
async DescribeLDAPUnitSet(req, cb) {
|
|
371
|
+
return this.request("DescribeLDAPUnitSet", req, cb);
|
|
288
372
|
}
|
|
289
373
|
/**
|
|
290
|
-
*
|
|
374
|
+
* 删除访问权限
|
|
291
375
|
*/
|
|
292
|
-
async
|
|
293
|
-
return this.request("
|
|
376
|
+
async DeleteAcls(req, cb) {
|
|
377
|
+
return this.request("DeleteAcls", req, cb);
|
|
294
378
|
}
|
|
295
379
|
/**
|
|
296
|
-
*
|
|
380
|
+
* 删除用户目录
|
|
297
381
|
*/
|
|
298
|
-
async
|
|
299
|
-
return this.request("
|
|
382
|
+
async DeleteUserDirectory(req, cb) {
|
|
383
|
+
return this.request("DeleteUserDirectory", req, cb);
|
|
300
384
|
}
|
|
301
385
|
/**
|
|
302
|
-
*
|
|
386
|
+
* 修改用户组
|
|
303
387
|
*/
|
|
304
|
-
async
|
|
305
|
-
return this.request("
|
|
388
|
+
async ModifyUserGroup(req, cb) {
|
|
389
|
+
return this.request("ModifyUserGroup", req, cb);
|
|
306
390
|
}
|
|
307
391
|
/**
|
|
308
|
-
*
|
|
392
|
+
* 获取认证源信息
|
|
309
393
|
*/
|
|
310
|
-
async
|
|
311
|
-
return this.request("
|
|
394
|
+
async DescribeSourceTypes(req, cb) {
|
|
395
|
+
return this.request("DescribeSourceTypes", req, cb);
|
|
312
396
|
}
|
|
313
397
|
/**
|
|
314
|
-
*
|
|
398
|
+
* 新建主机账号
|
|
315
399
|
*/
|
|
316
|
-
async
|
|
317
|
-
return this.request("
|
|
400
|
+
async CreateDeviceAccount(req, cb) {
|
|
401
|
+
return this.request("CreateDeviceAccount", req, cb);
|
|
318
402
|
}
|
|
319
403
|
/**
|
|
320
|
-
*
|
|
404
|
+
* 删除改密任务
|
|
321
405
|
*/
|
|
322
|
-
async
|
|
323
|
-
return this.request("
|
|
406
|
+
async DeleteChangePwdTask(req, cb) {
|
|
407
|
+
return this.request("DeleteChangePwdTask", req, cb);
|
|
324
408
|
}
|
|
325
409
|
/**
|
|
326
|
-
*
|
|
410
|
+
* 修改运维任务
|
|
327
411
|
*/
|
|
328
|
-
async
|
|
329
|
-
return this.request("
|
|
412
|
+
async ModifyOperationTask(req, cb) {
|
|
413
|
+
return this.request("ModifyOperationTask", req, cb);
|
|
330
414
|
}
|
|
331
415
|
/**
|
|
332
|
-
*
|
|
416
|
+
* 查询主机账号列表
|
|
333
417
|
*/
|
|
334
|
-
async
|
|
335
|
-
return this.request("
|
|
418
|
+
async DescribeDeviceAccounts(req, cb) {
|
|
419
|
+
return this.request("DescribeDeviceAccounts", req, cb);
|
|
336
420
|
}
|
|
337
421
|
/**
|
|
338
422
|
* 删除用户组
|
|
@@ -347,118 +431,130 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
347
431
|
return this.request("RunOperationTask", req, cb);
|
|
348
432
|
}
|
|
349
433
|
/**
|
|
350
|
-
*
|
|
434
|
+
* 开通内网访问
|
|
351
435
|
*/
|
|
352
|
-
async
|
|
353
|
-
return this.request("
|
|
436
|
+
async EnableIntranetAccess(req, cb) {
|
|
437
|
+
return this.request("EnableIntranetAccess", req, cb);
|
|
354
438
|
}
|
|
355
439
|
/**
|
|
356
|
-
*
|
|
440
|
+
* 查询用户列表
|
|
357
441
|
*/
|
|
358
|
-
async
|
|
359
|
-
return this.request("
|
|
442
|
+
async DescribeUsers(req, cb) {
|
|
443
|
+
return this.request("DescribeUsers", req, cb);
|
|
360
444
|
}
|
|
361
445
|
/**
|
|
362
|
-
*
|
|
446
|
+
* 查询用户组成员列表
|
|
363
447
|
*/
|
|
364
|
-
async
|
|
365
|
-
return this.request("
|
|
448
|
+
async DescribeUserGroupMembers(req, cb) {
|
|
449
|
+
return this.request("DescribeUserGroupMembers", req, cb);
|
|
366
450
|
}
|
|
367
451
|
/**
|
|
368
|
-
*
|
|
452
|
+
* 解锁用户
|
|
369
453
|
*/
|
|
370
|
-
async
|
|
371
|
-
return this.request("
|
|
454
|
+
async UnlockUser(req, cb) {
|
|
455
|
+
return this.request("UnlockUser", req, cb);
|
|
372
456
|
}
|
|
373
457
|
/**
|
|
374
|
-
*
|
|
458
|
+
* 搜索文件传输会话下文件操作列表
|
|
375
459
|
*/
|
|
376
|
-
async
|
|
377
|
-
return this.request("
|
|
460
|
+
async SearchFileBySid(req, cb) {
|
|
461
|
+
return this.request("SearchFileBySid", req, cb);
|
|
378
462
|
}
|
|
379
463
|
/**
|
|
380
|
-
*
|
|
464
|
+
* 修改访问白名单自动添加IP状态:开启或关闭自动添加IP
|
|
381
465
|
*/
|
|
382
|
-
async
|
|
383
|
-
return this.request("
|
|
466
|
+
async ModifyAccessWhiteListAutoStatus(req, cb) {
|
|
467
|
+
return this.request("ModifyAccessWhiteListAutoStatus", req, cb);
|
|
384
468
|
}
|
|
385
469
|
/**
|
|
386
|
-
*
|
|
470
|
+
* 查询改密任务详情
|
|
387
471
|
*/
|
|
388
|
-
async
|
|
389
|
-
return this.request("
|
|
472
|
+
async DescribeChangePwdTaskDetail(req, cb) {
|
|
473
|
+
return this.request("DescribeChangePwdTaskDetail", req, cb);
|
|
390
474
|
}
|
|
391
475
|
/**
|
|
392
|
-
*
|
|
476
|
+
* 修改运维资产连接重连次数
|
|
393
477
|
*/
|
|
394
|
-
async
|
|
395
|
-
return this.request("
|
|
478
|
+
async ModifyReconnectionSetting(req, cb) {
|
|
479
|
+
return this.request("ModifyReconnectionSetting", req, cb);
|
|
396
480
|
}
|
|
397
481
|
/**
|
|
398
|
-
*
|
|
482
|
+
* 查询资产组成员列表
|
|
399
483
|
*/
|
|
400
|
-
async
|
|
401
|
-
return this.request("
|
|
484
|
+
async DescribeDeviceGroupMembers(req, cb) {
|
|
485
|
+
return this.request("DescribeDeviceGroupMembers", req, cb);
|
|
402
486
|
}
|
|
403
487
|
/**
|
|
404
|
-
*
|
|
488
|
+
* 关闭内网访问
|
|
405
489
|
*/
|
|
406
|
-
async
|
|
407
|
-
return this.request("
|
|
490
|
+
async DisableIntranetAccess(req, cb) {
|
|
491
|
+
return this.request("DisableIntranetAccess", req, cb);
|
|
408
492
|
}
|
|
409
493
|
/**
|
|
410
|
-
*
|
|
494
|
+
* 修改访问白名单规则
|
|
411
495
|
*/
|
|
412
|
-
async
|
|
413
|
-
return this.request("
|
|
496
|
+
async ModifyAccessWhiteListRule(req, cb) {
|
|
497
|
+
return this.request("ModifyAccessWhiteListRule", req, cb);
|
|
414
498
|
}
|
|
415
499
|
/**
|
|
416
|
-
*
|
|
500
|
+
* 删除运维任务
|
|
417
501
|
*/
|
|
418
|
-
async
|
|
419
|
-
return this.request("
|
|
502
|
+
async DeleteOperationTasks(req, cb) {
|
|
503
|
+
return this.request("DeleteOperationTasks", req, cb);
|
|
420
504
|
}
|
|
421
505
|
/**
|
|
422
|
-
*
|
|
506
|
+
* 删除主机
|
|
423
507
|
*/
|
|
424
|
-
async
|
|
425
|
-
return this.request("
|
|
508
|
+
async DeleteDevices(req, cb) {
|
|
509
|
+
return this.request("DeleteDevices", req, cb);
|
|
426
510
|
}
|
|
427
511
|
/**
|
|
428
|
-
*
|
|
512
|
+
* 创建修改密码任务
|
|
429
513
|
*/
|
|
430
|
-
async
|
|
431
|
-
return this.request("
|
|
514
|
+
async CreateChangePwdTask(req, cb) {
|
|
515
|
+
return this.request("CreateChangePwdTask", req, cb);
|
|
432
516
|
}
|
|
433
517
|
/**
|
|
434
|
-
*
|
|
518
|
+
* 同步资产到IOA
|
|
435
519
|
*/
|
|
436
|
-
async
|
|
437
|
-
return this.request("
|
|
520
|
+
async SyncDevicesToIOA(req, cb) {
|
|
521
|
+
return this.request("SyncDevicesToIOA", req, cb);
|
|
438
522
|
}
|
|
439
523
|
/**
|
|
440
|
-
*
|
|
524
|
+
* 更新修改密码任务
|
|
441
525
|
*/
|
|
442
|
-
async
|
|
443
|
-
return this.request("
|
|
526
|
+
async ModifyChangePwdTask(req, cb) {
|
|
527
|
+
return this.request("ModifyChangePwdTask", req, cb);
|
|
444
528
|
}
|
|
445
529
|
/**
|
|
446
|
-
*
|
|
530
|
+
* 执行改密任务
|
|
447
531
|
*/
|
|
448
|
-
async
|
|
449
|
-
return this.request("
|
|
532
|
+
async RunChangePwdTask(req, cb) {
|
|
533
|
+
return this.request("RunChangePwdTask", req, cb);
|
|
450
534
|
}
|
|
451
535
|
/**
|
|
452
|
-
*
|
|
536
|
+
* 清除设备账号绑定密码
|
|
453
537
|
*/
|
|
454
|
-
async
|
|
455
|
-
return this.request("
|
|
538
|
+
async ResetDeviceAccountPassword(req, cb) {
|
|
539
|
+
return this.request("ResetDeviceAccountPassword", req, cb);
|
|
456
540
|
}
|
|
457
541
|
/**
|
|
458
|
-
*
|
|
542
|
+
* 删除资产组
|
|
459
543
|
*/
|
|
460
|
-
async
|
|
461
|
-
return this.request("
|
|
544
|
+
async DeleteDeviceGroups(req, cb) {
|
|
545
|
+
return this.request("DeleteDeviceGroups", req, cb);
|
|
546
|
+
}
|
|
547
|
+
/**
|
|
548
|
+
* 删除访问白名单规则
|
|
549
|
+
*/
|
|
550
|
+
async DeleteAccessWhiteListRules(req, cb) {
|
|
551
|
+
return this.request("DeleteAccessWhiteListRules", req, cb);
|
|
552
|
+
}
|
|
553
|
+
/**
|
|
554
|
+
* 获取用户同步状态
|
|
555
|
+
*/
|
|
556
|
+
async DescribeUserSyncStatus(req, cb) {
|
|
557
|
+
return this.request("DescribeUserSyncStatus", req, cb);
|
|
462
558
|
}
|
|
463
559
|
/**
|
|
464
560
|
* 创建堡垒机实例
|
|
@@ -467,40 +563,76 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
467
563
|
return this.request("CreateResource", req, cb);
|
|
468
564
|
}
|
|
469
565
|
/**
|
|
470
|
-
*
|
|
566
|
+
* 添加访问白名单规则
|
|
471
567
|
*/
|
|
472
|
-
async
|
|
473
|
-
return this.request("
|
|
568
|
+
async CreateAccessWhiteListRule(req, cb) {
|
|
569
|
+
return this.request("CreateAccessWhiteListRule", req, cb);
|
|
474
570
|
}
|
|
475
571
|
/**
|
|
476
|
-
*
|
|
572
|
+
* 查询访问权限列表
|
|
477
573
|
*/
|
|
478
|
-
async
|
|
479
|
-
return this.request("
|
|
574
|
+
async DescribeAcls(req, cb) {
|
|
575
|
+
return this.request("DescribeAcls", req, cb);
|
|
480
576
|
}
|
|
481
577
|
/**
|
|
482
|
-
*
|
|
578
|
+
* 修改LDAP配置信息
|
|
483
579
|
*/
|
|
484
|
-
async
|
|
485
|
-
return this.request("
|
|
580
|
+
async ModifyLDAPSetting(req, cb) {
|
|
581
|
+
return this.request("ModifyLDAPSetting", req, cb);
|
|
486
582
|
}
|
|
487
583
|
/**
|
|
488
|
-
*
|
|
584
|
+
* 资源变配
|
|
489
585
|
*/
|
|
490
|
-
async
|
|
491
|
-
return this.request("
|
|
586
|
+
async ModifyResource(req, cb) {
|
|
587
|
+
return this.request("ModifyResource", req, cb);
|
|
492
588
|
}
|
|
493
589
|
/**
|
|
494
|
-
*
|
|
590
|
+
* 修改资产自动同步开关
|
|
495
591
|
*/
|
|
496
|
-
async
|
|
497
|
-
return this.request("
|
|
592
|
+
async ModifyAssetSyncFlag(req, cb) {
|
|
593
|
+
return this.request("ModifyAssetSyncFlag", req, cb);
|
|
498
594
|
}
|
|
499
595
|
/**
|
|
500
|
-
*
|
|
596
|
+
* 修改用户信息
|
|
501
597
|
*/
|
|
502
|
-
async
|
|
503
|
-
return this.request("
|
|
598
|
+
async ModifyUser(req, cb) {
|
|
599
|
+
return this.request("ModifyUser", req, cb);
|
|
600
|
+
}
|
|
601
|
+
/**
|
|
602
|
+
* 查询命令模板列表
|
|
603
|
+
*/
|
|
604
|
+
async DescribeCmdTemplates(req, cb) {
|
|
605
|
+
return this.request("DescribeCmdTemplates", req, cb);
|
|
606
|
+
}
|
|
607
|
+
/**
|
|
608
|
+
* 删除资产组成员
|
|
609
|
+
*/
|
|
610
|
+
async DeleteDeviceGroupMembers(req, cb) {
|
|
611
|
+
return this.request("DeleteDeviceGroupMembers", req, cb);
|
|
612
|
+
}
|
|
613
|
+
/**
|
|
614
|
+
* 查询资产组列表
|
|
615
|
+
*/
|
|
616
|
+
async DescribeDeviceGroups(req, cb) {
|
|
617
|
+
return this.request("DescribeDeviceGroups", req, cb);
|
|
618
|
+
}
|
|
619
|
+
/**
|
|
620
|
+
* 查询资产列表
|
|
621
|
+
*/
|
|
622
|
+
async DescribeDevices(req, cb) {
|
|
623
|
+
return this.request("DescribeDevices", req, cb);
|
|
624
|
+
}
|
|
625
|
+
/**
|
|
626
|
+
* 添加资产组成员
|
|
627
|
+
*/
|
|
628
|
+
async AddDeviceGroupMembers(req, cb) {
|
|
629
|
+
return this.request("AddDeviceGroupMembers", req, cb);
|
|
630
|
+
}
|
|
631
|
+
/**
|
|
632
|
+
* 绑定主机账号私钥
|
|
633
|
+
*/
|
|
634
|
+
async BindDeviceAccountPrivateKey(req, cb) {
|
|
635
|
+
return this.request("BindDeviceAccountPrivateKey", req, cb);
|
|
504
636
|
}
|
|
505
637
|
}
|
|
506
638
|
exports.Client = Client;
|