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