tencentcloud-sdk-nodejs-bh 4.0.1010 → 4.0.1050
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 +55 -28
- package/package.json +9 -4
- package/src/services/bh/v20230418/bh_client.ts +20 -5
- package/src/services/bh/v20230418/bh_models.ts +437 -139
- package/tencentcloud/services/bh/v20230418/bh_client.d.ts +5 -1
- package/tencentcloud/services/bh/v20230418/bh_client.js +6 -0
- package/tencentcloud/services/bh/v20230418/bh_models.d.ts +432 -139
- package/products.md +0 -263
|
@@ -26,45 +26,29 @@ export interface ResetDeviceAccountPasswordResponse {
|
|
|
26
26
|
}
|
|
27
27
|
|
|
28
28
|
/**
|
|
29
|
-
*
|
|
29
|
+
* 认证信息
|
|
30
30
|
*/
|
|
31
|
-
export interface
|
|
32
|
-
/**
|
|
33
|
-
* 用户名,如果不包含其他条件时对user_name or real_name两个字段模糊查询
|
|
34
|
-
*/
|
|
35
|
-
UserName?: string
|
|
36
|
-
/**
|
|
37
|
-
* 姓名,模糊查询
|
|
38
|
-
*/
|
|
39
|
-
RealName?: string
|
|
40
|
-
/**
|
|
41
|
-
* 查询时间范围,起始时间
|
|
42
|
-
*/
|
|
43
|
-
StartTime?: string
|
|
31
|
+
export interface AccessInfo {
|
|
44
32
|
/**
|
|
45
|
-
*
|
|
33
|
+
* 地址
|
|
46
34
|
*/
|
|
47
|
-
|
|
48
|
-
/**
|
|
49
|
-
* 来源IP,模糊查询
|
|
50
|
-
*/
|
|
51
|
-
SourceIp?: string
|
|
35
|
+
Ip?: string
|
|
52
36
|
/**
|
|
53
|
-
*
|
|
37
|
+
* 端口
|
|
54
38
|
*/
|
|
55
|
-
|
|
39
|
+
Port?: number
|
|
56
40
|
/**
|
|
57
|
-
*
|
|
41
|
+
* 账号
|
|
58
42
|
*/
|
|
59
|
-
|
|
43
|
+
User?: string
|
|
60
44
|
/**
|
|
61
|
-
*
|
|
45
|
+
* 密码
|
|
62
46
|
*/
|
|
63
|
-
|
|
47
|
+
Password?: string
|
|
64
48
|
/**
|
|
65
|
-
*
|
|
49
|
+
* 唤起链接|wss链接
|
|
66
50
|
*/
|
|
67
|
-
|
|
51
|
+
AccessURL?: string
|
|
68
52
|
}
|
|
69
53
|
|
|
70
54
|
/**
|
|
@@ -102,13 +86,73 @@ export interface DeleteAclsRequest {
|
|
|
102
86
|
}
|
|
103
87
|
|
|
104
88
|
/**
|
|
105
|
-
*
|
|
89
|
+
* SearchSession请求参数结构体
|
|
106
90
|
*/
|
|
107
|
-
export interface
|
|
91
|
+
export interface SearchSessionRequest {
|
|
108
92
|
/**
|
|
109
|
-
*
|
|
93
|
+
* 内部Ip
|
|
110
94
|
*/
|
|
111
|
-
|
|
95
|
+
PrivateIp?: string
|
|
96
|
+
/**
|
|
97
|
+
* 外部Ip
|
|
98
|
+
*/
|
|
99
|
+
PublicIp?: string
|
|
100
|
+
/**
|
|
101
|
+
* 用户名,长度不超过20
|
|
102
|
+
*/
|
|
103
|
+
UserName?: string
|
|
104
|
+
/**
|
|
105
|
+
* 账号,长度不超过64
|
|
106
|
+
*/
|
|
107
|
+
Account?: string
|
|
108
|
+
/**
|
|
109
|
+
* 来源Ip
|
|
110
|
+
*/
|
|
111
|
+
FromIp?: string
|
|
112
|
+
/**
|
|
113
|
+
* 搜索区间的开始时间。若入参是Id,则非必传,否则为必传。
|
|
114
|
+
*/
|
|
115
|
+
StartTime?: string
|
|
116
|
+
/**
|
|
117
|
+
* 搜索区间的结束时间
|
|
118
|
+
*/
|
|
119
|
+
EndTime?: string
|
|
120
|
+
/**
|
|
121
|
+
* 会话协议类型,只能是1、2、3或4 对应关系为1-tui 2-gui 3-file 4-数据库。若入参是Id,则非必传,否则为必传。
|
|
122
|
+
*/
|
|
123
|
+
Kind?: number
|
|
124
|
+
/**
|
|
125
|
+
* 偏移量
|
|
126
|
+
*/
|
|
127
|
+
Offset?: number
|
|
128
|
+
/**
|
|
129
|
+
* 分页的页内记录数,默认为20,最大200
|
|
130
|
+
*/
|
|
131
|
+
Limit?: number
|
|
132
|
+
/**
|
|
133
|
+
* 姓名,长度不超过20
|
|
134
|
+
*/
|
|
135
|
+
RealName?: string
|
|
136
|
+
/**
|
|
137
|
+
* 主机名,长度不超过64
|
|
138
|
+
*/
|
|
139
|
+
DeviceName?: string
|
|
140
|
+
/**
|
|
141
|
+
* 状态,1为活跃,2为结束,3为强制离线,4为其他错误
|
|
142
|
+
*/
|
|
143
|
+
Status?: number
|
|
144
|
+
/**
|
|
145
|
+
* 若入参为Id,则其他入参字段不作为搜索依据,仅按照Id来搜索会话
|
|
146
|
+
*/
|
|
147
|
+
Id?: string
|
|
148
|
+
/**
|
|
149
|
+
* 应用资产类型, 1-web
|
|
150
|
+
*/
|
|
151
|
+
AppAssetKindSet?: Array<number | bigint>
|
|
152
|
+
/**
|
|
153
|
+
* 应用资产Url
|
|
154
|
+
*/
|
|
155
|
+
AppAssetUrl?: string
|
|
112
156
|
}
|
|
113
157
|
|
|
114
158
|
/**
|
|
@@ -253,6 +297,48 @@ export interface CreateChangePwdTaskResponse {
|
|
|
253
297
|
RequestId?: string
|
|
254
298
|
}
|
|
255
299
|
|
|
300
|
+
/**
|
|
301
|
+
* DescribeLoginEvent请求参数结构体
|
|
302
|
+
*/
|
|
303
|
+
export interface DescribeLoginEventRequest {
|
|
304
|
+
/**
|
|
305
|
+
* 用户名,如果不包含其他条件时对user_name or real_name两个字段模糊查询
|
|
306
|
+
*/
|
|
307
|
+
UserName?: string
|
|
308
|
+
/**
|
|
309
|
+
* 姓名,模糊查询
|
|
310
|
+
*/
|
|
311
|
+
RealName?: string
|
|
312
|
+
/**
|
|
313
|
+
* 查询时间范围,起始时间
|
|
314
|
+
*/
|
|
315
|
+
StartTime?: string
|
|
316
|
+
/**
|
|
317
|
+
* 查询时间范围,结束时间
|
|
318
|
+
*/
|
|
319
|
+
EndTime?: string
|
|
320
|
+
/**
|
|
321
|
+
* 来源IP,模糊查询
|
|
322
|
+
*/
|
|
323
|
+
SourceIp?: string
|
|
324
|
+
/**
|
|
325
|
+
* 登录入口:1-字符界面,2-图形界面,3-web页面, 4-API
|
|
326
|
+
*/
|
|
327
|
+
Entry?: number
|
|
328
|
+
/**
|
|
329
|
+
* 操作结果,1-成功,2-失败
|
|
330
|
+
*/
|
|
331
|
+
Result?: number
|
|
332
|
+
/**
|
|
333
|
+
* 分页偏移位置,默认值为0
|
|
334
|
+
*/
|
|
335
|
+
Offset?: number
|
|
336
|
+
/**
|
|
337
|
+
* 分页每页记录数,默认20
|
|
338
|
+
*/
|
|
339
|
+
Limit?: number
|
|
340
|
+
}
|
|
341
|
+
|
|
256
342
|
/**
|
|
257
343
|
* ModifyUserGroup返回参数结构体
|
|
258
344
|
*/
|
|
@@ -711,65 +797,29 @@ export interface ImportExternalDeviceRequest {
|
|
|
711
797
|
}
|
|
712
798
|
|
|
713
799
|
/**
|
|
714
|
-
*
|
|
800
|
+
* DescribeResources请求参数结构体
|
|
715
801
|
*/
|
|
716
|
-
export interface
|
|
717
|
-
/**
|
|
718
|
-
* 内部Ip
|
|
719
|
-
*/
|
|
720
|
-
PrivateIp?: string
|
|
721
|
-
/**
|
|
722
|
-
* 外部Ip
|
|
723
|
-
*/
|
|
724
|
-
PublicIp?: string
|
|
725
|
-
/**
|
|
726
|
-
* 用户名,长度不超过20
|
|
727
|
-
*/
|
|
728
|
-
UserName?: string
|
|
729
|
-
/**
|
|
730
|
-
* 账号,长度不超过64
|
|
731
|
-
*/
|
|
732
|
-
Account?: string
|
|
733
|
-
/**
|
|
734
|
-
* 来源Ip
|
|
735
|
-
*/
|
|
736
|
-
FromIp?: string
|
|
737
|
-
/**
|
|
738
|
-
* 搜索区间的开始时间。若入参是Id,则非必传,否则为必传。
|
|
739
|
-
*/
|
|
740
|
-
StartTime?: string
|
|
802
|
+
export interface DescribeResourcesRequest {
|
|
741
803
|
/**
|
|
742
|
-
*
|
|
804
|
+
* 地域码, 如: ap-guangzhou
|
|
743
805
|
*/
|
|
744
|
-
|
|
806
|
+
ApCode?: string
|
|
745
807
|
/**
|
|
746
|
-
*
|
|
808
|
+
* 按照堡垒机开通的 VPC 实例ID查询
|
|
747
809
|
*/
|
|
748
|
-
|
|
810
|
+
VpcId?: string
|
|
749
811
|
/**
|
|
750
|
-
*
|
|
812
|
+
* 资源ID集合,当传入ID集合时忽略 ApCode 和 VpcId
|
|
751
813
|
*/
|
|
752
|
-
|
|
814
|
+
ResourceIds?: Array<string>
|
|
753
815
|
/**
|
|
754
|
-
*
|
|
816
|
+
* 每页条目数量
|
|
755
817
|
*/
|
|
756
818
|
Limit?: number
|
|
757
819
|
/**
|
|
758
|
-
*
|
|
759
|
-
*/
|
|
760
|
-
RealName?: string
|
|
761
|
-
/**
|
|
762
|
-
* 主机名,长度不超过64
|
|
763
|
-
*/
|
|
764
|
-
DeviceName?: string
|
|
765
|
-
/**
|
|
766
|
-
* 状态,1为活跃,2为结束,3为强制离线,4为其他错误
|
|
767
|
-
*/
|
|
768
|
-
Status?: number
|
|
769
|
-
/**
|
|
770
|
-
* 若入参为Id,则其他入参字段不作为搜索依据,仅按照Id来搜索会话
|
|
820
|
+
* 分页偏移位置
|
|
771
821
|
*/
|
|
772
|
-
|
|
822
|
+
Offset?: number
|
|
773
823
|
}
|
|
774
824
|
|
|
775
825
|
/**
|
|
@@ -1129,6 +1179,60 @@ export interface Department {
|
|
|
1129
1179
|
ManagerUsers?: Array<DepartmentManagerUser>
|
|
1130
1180
|
}
|
|
1131
1181
|
|
|
1182
|
+
/**
|
|
1183
|
+
* AccessDevices请求参数结构体
|
|
1184
|
+
*/
|
|
1185
|
+
export interface AccessDevicesRequest {
|
|
1186
|
+
/**
|
|
1187
|
+
* 资源id
|
|
1188
|
+
*/
|
|
1189
|
+
InstanceId: string
|
|
1190
|
+
/**
|
|
1191
|
+
* 账号
|
|
1192
|
+
*/
|
|
1193
|
+
Account: string
|
|
1194
|
+
/**
|
|
1195
|
+
* 运维端登录账号
|
|
1196
|
+
*/
|
|
1197
|
+
LoginAccount: string
|
|
1198
|
+
/**
|
|
1199
|
+
* 运维端登录密码
|
|
1200
|
+
*/
|
|
1201
|
+
LoginPassword: string
|
|
1202
|
+
/**
|
|
1203
|
+
* 密码
|
|
1204
|
+
*/
|
|
1205
|
+
Password?: string
|
|
1206
|
+
/**
|
|
1207
|
+
* 私钥
|
|
1208
|
+
*/
|
|
1209
|
+
PrivateKey?: string
|
|
1210
|
+
/**
|
|
1211
|
+
* 私钥密码
|
|
1212
|
+
*/
|
|
1213
|
+
PrivateKeyPassword?: string
|
|
1214
|
+
/**
|
|
1215
|
+
* 客户端工具
|
|
1216
|
+
*/
|
|
1217
|
+
Exe?: string
|
|
1218
|
+
/**
|
|
1219
|
+
* RDP挂载盘符驱动(mstsc支持)
|
|
1220
|
+
*/
|
|
1221
|
+
Drivers?: Array<string>
|
|
1222
|
+
/**
|
|
1223
|
+
* 窗口宽度(RDP支持)
|
|
1224
|
+
*/
|
|
1225
|
+
Width?: number
|
|
1226
|
+
/**
|
|
1227
|
+
* 窗口高度(RDP支持)
|
|
1228
|
+
*/
|
|
1229
|
+
Height?: number
|
|
1230
|
+
/**
|
|
1231
|
+
* 是否内网访问(默认不是)
|
|
1232
|
+
*/
|
|
1233
|
+
IntranetAccess?: boolean
|
|
1234
|
+
}
|
|
1235
|
+
|
|
1132
1236
|
/**
|
|
1133
1237
|
* ModifyCmdTemplate请求参数结构体
|
|
1134
1238
|
*/
|
|
@@ -1156,6 +1260,92 @@ export interface ModifyCmdTemplateRequest {
|
|
|
1156
1260
|
Type?: number
|
|
1157
1261
|
}
|
|
1158
1262
|
|
|
1263
|
+
/**
|
|
1264
|
+
* 搜索字符或图形会话时返回的SessionResul结构体
|
|
1265
|
+
*/
|
|
1266
|
+
export interface SessionResult {
|
|
1267
|
+
/**
|
|
1268
|
+
* 用户名
|
|
1269
|
+
*/
|
|
1270
|
+
UserName?: string
|
|
1271
|
+
/**
|
|
1272
|
+
* 姓名
|
|
1273
|
+
*/
|
|
1274
|
+
RealName?: string
|
|
1275
|
+
/**
|
|
1276
|
+
* 主机账号
|
|
1277
|
+
*/
|
|
1278
|
+
Account?: string
|
|
1279
|
+
/**
|
|
1280
|
+
* 开始时间
|
|
1281
|
+
*/
|
|
1282
|
+
StartTime?: string
|
|
1283
|
+
/**
|
|
1284
|
+
* 结束时间
|
|
1285
|
+
*/
|
|
1286
|
+
EndTime?: string
|
|
1287
|
+
/**
|
|
1288
|
+
* 会话大小
|
|
1289
|
+
*/
|
|
1290
|
+
Size?: number
|
|
1291
|
+
/**
|
|
1292
|
+
* 设备ID
|
|
1293
|
+
*/
|
|
1294
|
+
InstanceId?: string
|
|
1295
|
+
/**
|
|
1296
|
+
* 设备名
|
|
1297
|
+
*/
|
|
1298
|
+
DeviceName?: string
|
|
1299
|
+
/**
|
|
1300
|
+
* 内部Ip
|
|
1301
|
+
*/
|
|
1302
|
+
PrivateIp?: string
|
|
1303
|
+
/**
|
|
1304
|
+
* 外部Ip
|
|
1305
|
+
*/
|
|
1306
|
+
PublicIp?: string
|
|
1307
|
+
/**
|
|
1308
|
+
* 来源Ip
|
|
1309
|
+
*/
|
|
1310
|
+
FromIp?: string
|
|
1311
|
+
/**
|
|
1312
|
+
* 会话持续时长
|
|
1313
|
+
*/
|
|
1314
|
+
Duration?: number
|
|
1315
|
+
/**
|
|
1316
|
+
* 该会话内命令数量 ,搜索图形会话时该字段无意义
|
|
1317
|
+
*/
|
|
1318
|
+
Count?: number
|
|
1319
|
+
/**
|
|
1320
|
+
* 该会话内高危命令数,搜索图形时该字段无意义
|
|
1321
|
+
*/
|
|
1322
|
+
DangerCount?: number
|
|
1323
|
+
/**
|
|
1324
|
+
* 会话状态,如1会话活跃 2会话结束 3强制离线 4其他错误
|
|
1325
|
+
*/
|
|
1326
|
+
Status?: number
|
|
1327
|
+
/**
|
|
1328
|
+
* 会话Id
|
|
1329
|
+
*/
|
|
1330
|
+
Id?: string
|
|
1331
|
+
/**
|
|
1332
|
+
* 设备所属的地域
|
|
1333
|
+
*/
|
|
1334
|
+
ApCode?: string
|
|
1335
|
+
/**
|
|
1336
|
+
* 会话协议
|
|
1337
|
+
*/
|
|
1338
|
+
Protocol?: string
|
|
1339
|
+
/**
|
|
1340
|
+
* 应用资产类型:1-web
|
|
1341
|
+
*/
|
|
1342
|
+
AppAssetKind?: number
|
|
1343
|
+
/**
|
|
1344
|
+
* 应用资产url
|
|
1345
|
+
*/
|
|
1346
|
+
AppAssetUrl?: string
|
|
1347
|
+
}
|
|
1348
|
+
|
|
1159
1349
|
/**
|
|
1160
1350
|
* CreateUser返回参数结构体
|
|
1161
1351
|
*/
|
|
@@ -1170,6 +1360,88 @@ export interface CreateUserResponse {
|
|
|
1170
1360
|
RequestId?: string
|
|
1171
1361
|
}
|
|
1172
1362
|
|
|
1363
|
+
/**
|
|
1364
|
+
* 应用资产信息
|
|
1365
|
+
*/
|
|
1366
|
+
export interface AppAsset {
|
|
1367
|
+
/**
|
|
1368
|
+
* 应用资产id
|
|
1369
|
+
*/
|
|
1370
|
+
Id?: number
|
|
1371
|
+
/**
|
|
1372
|
+
* 实例id
|
|
1373
|
+
*/
|
|
1374
|
+
InstanceId?: string
|
|
1375
|
+
/**
|
|
1376
|
+
* 资产名称
|
|
1377
|
+
*/
|
|
1378
|
+
Name?: string
|
|
1379
|
+
/**
|
|
1380
|
+
* 应用服务器id
|
|
1381
|
+
*/
|
|
1382
|
+
DeviceId?: number
|
|
1383
|
+
/**
|
|
1384
|
+
* 应用服务器账号id
|
|
1385
|
+
*/
|
|
1386
|
+
DeviceAccountId?: number
|
|
1387
|
+
/**
|
|
1388
|
+
* 应用资产类型。1-web应用
|
|
1389
|
+
*/
|
|
1390
|
+
Kind?: number
|
|
1391
|
+
/**
|
|
1392
|
+
* 客户端工具路径
|
|
1393
|
+
*/
|
|
1394
|
+
ClientAppPath?: string
|
|
1395
|
+
/**
|
|
1396
|
+
* 客户端工具类型
|
|
1397
|
+
*/
|
|
1398
|
+
ClientAppKind?: string
|
|
1399
|
+
/**
|
|
1400
|
+
* 应用资产url
|
|
1401
|
+
*/
|
|
1402
|
+
Url?: string
|
|
1403
|
+
/**
|
|
1404
|
+
* 托管状态。0-未托管,1-已托管
|
|
1405
|
+
*/
|
|
1406
|
+
BindStatus?: number
|
|
1407
|
+
/**
|
|
1408
|
+
* 应用服务器实例id
|
|
1409
|
+
*/
|
|
1410
|
+
DeviceInstanceId?: string
|
|
1411
|
+
/**
|
|
1412
|
+
* 应用服务器名称
|
|
1413
|
+
*/
|
|
1414
|
+
DeviceName?: string
|
|
1415
|
+
/**
|
|
1416
|
+
* 应用服务器账号名称
|
|
1417
|
+
*/
|
|
1418
|
+
DeviceAccountName?: string
|
|
1419
|
+
/**
|
|
1420
|
+
* 堡垒机实例id
|
|
1421
|
+
*/
|
|
1422
|
+
ResourceId?: string
|
|
1423
|
+
/**
|
|
1424
|
+
* 堡垒机实例信息
|
|
1425
|
+
*/
|
|
1426
|
+
Resource?: Resource
|
|
1427
|
+
/**
|
|
1428
|
+
* 网络域id
|
|
1429
|
+
*/
|
|
1430
|
+
DomainId?: string
|
|
1431
|
+
/**
|
|
1432
|
+
* 网络域名称
|
|
1433
|
+
*/
|
|
1434
|
+
DomainName?: string
|
|
1435
|
+
/**
|
|
1436
|
+
* 资产组信息
|
|
1437
|
+
*/
|
|
1438
|
+
GroupSet?: Array<Group>
|
|
1439
|
+
/**
|
|
1440
|
+
* 资产所属部门
|
|
1441
|
+
*/
|
|
1442
|
+
Department?: Department
|
|
1443
|
+
}
|
|
1444
|
+
|
|
1173
1445
|
/**
|
|
1174
1446
|
* DescribeAssetSyncStatus返回参数结构体
|
|
1175
1447
|
*/
|
|
@@ -1280,6 +1552,10 @@ export interface CreateAclRequest {
|
|
|
1280
1552
|
* 关联的资产ID集合
|
|
1281
1553
|
*/
|
|
1282
1554
|
DeviceIdSet?: Array<number | bigint>
|
|
1555
|
+
/**
|
|
1556
|
+
* 关联的应用资产ID集合
|
|
1557
|
+
*/
|
|
1558
|
+
AppAssetIdSet?: Array<number | bigint>
|
|
1283
1559
|
/**
|
|
1284
1560
|
* 关联的资产组ID
|
|
1285
1561
|
*/
|
|
@@ -1468,6 +1744,54 @@ export interface DescribeAclsResponse {
|
|
|
1468
1744
|
RequestId?: string
|
|
1469
1745
|
}
|
|
1470
1746
|
|
|
1747
|
+
/**
|
|
1748
|
+
* ModifyUser请求参数结构体
|
|
1749
|
+
*/
|
|
1750
|
+
export interface ModifyUserRequest {
|
|
1751
|
+
/**
|
|
1752
|
+
* 用户ID
|
|
1753
|
+
*/
|
|
1754
|
+
Id: number
|
|
1755
|
+
/**
|
|
1756
|
+
* 用户姓名,最大长度20个字符,不能包含空格
|
|
1757
|
+
*/
|
|
1758
|
+
RealName: string
|
|
1759
|
+
/**
|
|
1760
|
+
* 按照"国家地区代码|手机号"的格式输入。如: "+86|xxxxxxxx"
|
|
1761
|
+
*/
|
|
1762
|
+
Phone?: string
|
|
1763
|
+
/**
|
|
1764
|
+
* 电子邮件
|
|
1765
|
+
*/
|
|
1766
|
+
Email?: string
|
|
1767
|
+
/**
|
|
1768
|
+
* 用户生效时间,如:"2021-09-22T00:00:00+00:00"
|
|
1769
|
+
生效、失效时间不填则用户长期有效
|
|
1770
|
+
*/
|
|
1771
|
+
ValidateFrom?: string
|
|
1772
|
+
/**
|
|
1773
|
+
* 用户失效时间,如:"2021-09-23T00:00:00+00:00"
|
|
1774
|
+
生效、失效时间不填则用户长期有效
|
|
1775
|
+
*/
|
|
1776
|
+
ValidateTo?: string
|
|
1777
|
+
/**
|
|
1778
|
+
* 所属用户组ID集合
|
|
1779
|
+
*/
|
|
1780
|
+
GroupIdSet?: Array<number | bigint>
|
|
1781
|
+
/**
|
|
1782
|
+
* 认证方式,0 - 本地,1 - LDAP,2 - OAuth 不传则默认为0
|
|
1783
|
+
*/
|
|
1784
|
+
AuthType?: number
|
|
1785
|
+
/**
|
|
1786
|
+
* 访问时间段限制, 由0、1组成的字符串,长度168(7 × 24),代表该用户在一周中允许访问的时间段。字符串中第N个字符代表在一周中的第N个小时, 0 - 代表不允许访问,1 - 代表允许访问
|
|
1787
|
+
*/
|
|
1788
|
+
ValidateTime?: string
|
|
1789
|
+
/**
|
|
1790
|
+
* 用户所属部门的ID,如1.2.3
|
|
1791
|
+
*/
|
|
1792
|
+
DepartmentId?: string
|
|
1793
|
+
}
|
|
1794
|
+
|
|
1471
1795
|
/**
|
|
1472
1796
|
* CreateCmdTemplate返回参数结构体
|
|
1473
1797
|
*/
|
|
@@ -1546,6 +1870,10 @@ export interface ModifyAclRequest {
|
|
|
1546
1870
|
* 关联的资产ID
|
|
1547
1871
|
*/
|
|
1548
1872
|
DeviceIdSet?: Array<number | bigint>
|
|
1873
|
+
/**
|
|
1874
|
+
* 关联的应用资产ID集合
|
|
1875
|
+
*/
|
|
1876
|
+
AppAssetIdSet?: Array<number | bigint>
|
|
1549
1877
|
/**
|
|
1550
1878
|
* 关联的资产组ID
|
|
1551
1879
|
*/
|
|
@@ -1777,6 +2105,10 @@ export interface DescribeUsersRequest {
|
|
|
1777
2105
|
* 查询具有指定资产ID访问权限的用户
|
|
1778
2106
|
*/
|
|
1779
2107
|
AuthorizedDeviceIdSet?: Array<number | bigint>
|
|
2108
|
+
/**
|
|
2109
|
+
* 查询具有指定应用资产ID访问权限的用户
|
|
2110
|
+
*/
|
|
2111
|
+
AuthorizedAppAssetIdSet?: Array<number | bigint>
|
|
1780
2112
|
/**
|
|
1781
2113
|
* 认证方式,0 - 本地, 1 - LDAP, 2 - OAuth, 不传为全部
|
|
1782
2114
|
*/
|
|
@@ -1846,6 +2178,10 @@ export interface SearchSessionResponse {
|
|
|
1846
2178
|
* 记录数
|
|
1847
2179
|
*/
|
|
1848
2180
|
TotalCount?: number
|
|
2181
|
+
/**
|
|
2182
|
+
* 会话信息列表
|
|
2183
|
+
*/
|
|
2184
|
+
SessionSet?: Array<SessionResult>
|
|
1849
2185
|
/**
|
|
1850
2186
|
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
1851
2187
|
*/
|
|
@@ -2077,51 +2413,17 @@ export interface Clb {
|
|
|
2077
2413
|
}
|
|
2078
2414
|
|
|
2079
2415
|
/**
|
|
2080
|
-
*
|
|
2416
|
+
* AccessDevices返回参数结构体
|
|
2081
2417
|
*/
|
|
2082
|
-
export interface
|
|
2083
|
-
/**
|
|
2084
|
-
* 用户ID
|
|
2085
|
-
*/
|
|
2086
|
-
Id: number
|
|
2087
|
-
/**
|
|
2088
|
-
* 用户姓名,最大长度20个字符,不能包含空格
|
|
2089
|
-
*/
|
|
2090
|
-
RealName: string
|
|
2091
|
-
/**
|
|
2092
|
-
* 按照"国家地区代码|手机号"的格式输入。如: "+86|xxxxxxxx"
|
|
2093
|
-
*/
|
|
2094
|
-
Phone?: string
|
|
2095
|
-
/**
|
|
2096
|
-
* 电子邮件
|
|
2097
|
-
*/
|
|
2098
|
-
Email?: string
|
|
2099
|
-
/**
|
|
2100
|
-
* 用户生效时间,如:"2021-09-22T00:00:00+00:00"
|
|
2101
|
-
生效、失效时间不填则用户长期有效
|
|
2102
|
-
*/
|
|
2103
|
-
ValidateFrom?: string
|
|
2104
|
-
/**
|
|
2105
|
-
* 用户失效时间,如:"2021-09-23T00:00:00+00:00"
|
|
2106
|
-
生效、失效时间不填则用户长期有效
|
|
2107
|
-
*/
|
|
2108
|
-
ValidateTo?: string
|
|
2418
|
+
export interface AccessDevicesResponse {
|
|
2109
2419
|
/**
|
|
2110
|
-
*
|
|
2111
|
-
*/
|
|
2112
|
-
GroupIdSet?: Array<number | bigint>
|
|
2113
|
-
/**
|
|
2114
|
-
* 认证方式,0 - 本地,1 - LDAP,2 - OAuth 不传则默认为0
|
|
2420
|
+
* 认证信息
|
|
2115
2421
|
*/
|
|
2116
|
-
|
|
2422
|
+
AccessInfo?: AccessInfo
|
|
2117
2423
|
/**
|
|
2118
|
-
*
|
|
2119
|
-
*/
|
|
2120
|
-
ValidateTime?: string
|
|
2121
|
-
/**
|
|
2122
|
-
* 用户所属部门的ID,如1.2.3
|
|
2424
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
2123
2425
|
*/
|
|
2124
|
-
|
|
2426
|
+
RequestId?: string
|
|
2125
2427
|
}
|
|
2126
2428
|
|
|
2127
2429
|
/**
|
|
@@ -3038,29 +3340,13 @@ export interface ModifyAclResponse {
|
|
|
3038
3340
|
}
|
|
3039
3341
|
|
|
3040
3342
|
/**
|
|
3041
|
-
*
|
|
3343
|
+
* DeleteDeviceGroups返回参数结构体
|
|
3042
3344
|
*/
|
|
3043
|
-
export interface
|
|
3044
|
-
/**
|
|
3045
|
-
* 地域码, 如: ap-guangzhou
|
|
3046
|
-
*/
|
|
3047
|
-
ApCode?: string
|
|
3048
|
-
/**
|
|
3049
|
-
* 按照堡垒机开通的 VPC 实例ID查询
|
|
3050
|
-
*/
|
|
3051
|
-
VpcId?: string
|
|
3052
|
-
/**
|
|
3053
|
-
* 资源ID集合,当传入ID集合时忽略 ApCode 和 VpcId
|
|
3054
|
-
*/
|
|
3055
|
-
ResourceIds?: Array<string>
|
|
3056
|
-
/**
|
|
3057
|
-
* 每页条目数量
|
|
3058
|
-
*/
|
|
3059
|
-
Limit?: number
|
|
3345
|
+
export interface DeleteDeviceGroupsResponse {
|
|
3060
3346
|
/**
|
|
3061
|
-
*
|
|
3347
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
3062
3348
|
*/
|
|
3063
|
-
|
|
3349
|
+
RequestId?: string
|
|
3064
3350
|
}
|
|
3065
3351
|
|
|
3066
3352
|
/**
|
|
@@ -3429,6 +3715,10 @@ export interface Acl {
|
|
|
3429
3715
|
* 是否允许记录键盘
|
|
3430
3716
|
*/
|
|
3431
3717
|
AllowKeyboardLogger?: boolean
|
|
3718
|
+
/**
|
|
3719
|
+
* 关联的应用资产列表
|
|
3720
|
+
*/
|
|
3721
|
+
AppAssetSet?: Array<AppAsset>
|
|
3432
3722
|
}
|
|
3433
3723
|
|
|
3434
3724
|
/**
|
|
@@ -3813,6 +4103,10 @@ export interface DescribeDeviceGroupMembersRequest {
|
|
|
3813
4103
|
* 资产类型,1 - Linux,2 - Windows,3 - MySQL,4 - SQLServer
|
|
3814
4104
|
*/
|
|
3815
4105
|
Kind?: number
|
|
4106
|
+
/**
|
|
4107
|
+
* 资产类型集合,1 - Linux,2 - Windows,3 - MySQL,4 - SQLServer
|
|
4108
|
+
*/
|
|
4109
|
+
KindSet?: Array<number | bigint>
|
|
3816
4110
|
/**
|
|
3817
4111
|
* 所属部门ID
|
|
3818
4112
|
*/
|
|
@@ -3855,6 +4149,10 @@ export interface DescribeAclsRequest {
|
|
|
3855
4149
|
* 有访问权限的资产ID集合
|
|
3856
4150
|
*/
|
|
3857
4151
|
AuthorizedDeviceIdSet?: Array<number | bigint>
|
|
4152
|
+
/**
|
|
4153
|
+
* 有访问权限的应用资产ID集合
|
|
4154
|
+
*/
|
|
4155
|
+
AuthorizedAppAssetIdSet?: Array<number | bigint>
|
|
3858
4156
|
/**
|
|
3859
4157
|
* 访问权限状态,1 - 已生效,2 - 未生效,3 - 已过期
|
|
3860
4158
|
*/
|