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
|
@@ -8,45 +8,29 @@ export interface ResetDeviceAccountPasswordResponse {
|
|
|
8
8
|
RequestId?: string;
|
|
9
9
|
}
|
|
10
10
|
/**
|
|
11
|
-
*
|
|
11
|
+
* 认证信息
|
|
12
12
|
*/
|
|
13
|
-
export interface
|
|
14
|
-
/**
|
|
15
|
-
* 用户名,如果不包含其他条件时对user_name or real_name两个字段模糊查询
|
|
16
|
-
*/
|
|
17
|
-
UserName?: string;
|
|
18
|
-
/**
|
|
19
|
-
* 姓名,模糊查询
|
|
20
|
-
*/
|
|
21
|
-
RealName?: string;
|
|
22
|
-
/**
|
|
23
|
-
* 查询时间范围,起始时间
|
|
24
|
-
*/
|
|
25
|
-
StartTime?: string;
|
|
26
|
-
/**
|
|
27
|
-
* 查询时间范围,结束时间
|
|
28
|
-
*/
|
|
29
|
-
EndTime?: string;
|
|
13
|
+
export interface AccessInfo {
|
|
30
14
|
/**
|
|
31
|
-
*
|
|
15
|
+
* 地址
|
|
32
16
|
*/
|
|
33
|
-
|
|
17
|
+
Ip?: string;
|
|
34
18
|
/**
|
|
35
|
-
*
|
|
19
|
+
* 端口
|
|
36
20
|
*/
|
|
37
|
-
|
|
21
|
+
Port?: number;
|
|
38
22
|
/**
|
|
39
|
-
*
|
|
23
|
+
* 账号
|
|
40
24
|
*/
|
|
41
|
-
|
|
25
|
+
User?: string;
|
|
42
26
|
/**
|
|
43
|
-
*
|
|
27
|
+
* 密码
|
|
44
28
|
*/
|
|
45
|
-
|
|
29
|
+
Password?: string;
|
|
46
30
|
/**
|
|
47
|
-
*
|
|
31
|
+
* 唤起链接|wss链接
|
|
48
32
|
*/
|
|
49
|
-
|
|
33
|
+
AccessURL?: string;
|
|
50
34
|
}
|
|
51
35
|
/**
|
|
52
36
|
* ModifyResource返回参数结构体
|
|
@@ -80,13 +64,73 @@ export interface DeleteAclsRequest {
|
|
|
80
64
|
IdSet: Array<number | bigint>;
|
|
81
65
|
}
|
|
82
66
|
/**
|
|
83
|
-
*
|
|
67
|
+
* SearchSession请求参数结构体
|
|
84
68
|
*/
|
|
85
|
-
export interface
|
|
69
|
+
export interface SearchSessionRequest {
|
|
86
70
|
/**
|
|
87
|
-
*
|
|
71
|
+
* 内部Ip
|
|
88
72
|
*/
|
|
89
|
-
|
|
73
|
+
PrivateIp?: string;
|
|
74
|
+
/**
|
|
75
|
+
* 外部Ip
|
|
76
|
+
*/
|
|
77
|
+
PublicIp?: string;
|
|
78
|
+
/**
|
|
79
|
+
* 用户名,长度不超过20
|
|
80
|
+
*/
|
|
81
|
+
UserName?: string;
|
|
82
|
+
/**
|
|
83
|
+
* 账号,长度不超过64
|
|
84
|
+
*/
|
|
85
|
+
Account?: string;
|
|
86
|
+
/**
|
|
87
|
+
* 来源Ip
|
|
88
|
+
*/
|
|
89
|
+
FromIp?: string;
|
|
90
|
+
/**
|
|
91
|
+
* 搜索区间的开始时间。若入参是Id,则非必传,否则为必传。
|
|
92
|
+
*/
|
|
93
|
+
StartTime?: string;
|
|
94
|
+
/**
|
|
95
|
+
* 搜索区间的结束时间
|
|
96
|
+
*/
|
|
97
|
+
EndTime?: string;
|
|
98
|
+
/**
|
|
99
|
+
* 会话协议类型,只能是1、2、3或4 对应关系为1-tui 2-gui 3-file 4-数据库。若入参是Id,则非必传,否则为必传。
|
|
100
|
+
*/
|
|
101
|
+
Kind?: number;
|
|
102
|
+
/**
|
|
103
|
+
* 偏移量
|
|
104
|
+
*/
|
|
105
|
+
Offset?: number;
|
|
106
|
+
/**
|
|
107
|
+
* 分页的页内记录数,默认为20,最大200
|
|
108
|
+
*/
|
|
109
|
+
Limit?: number;
|
|
110
|
+
/**
|
|
111
|
+
* 姓名,长度不超过20
|
|
112
|
+
*/
|
|
113
|
+
RealName?: string;
|
|
114
|
+
/**
|
|
115
|
+
* 主机名,长度不超过64
|
|
116
|
+
*/
|
|
117
|
+
DeviceName?: string;
|
|
118
|
+
/**
|
|
119
|
+
* 状态,1为活跃,2为结束,3为强制离线,4为其他错误
|
|
120
|
+
*/
|
|
121
|
+
Status?: number;
|
|
122
|
+
/**
|
|
123
|
+
* 若入参为Id,则其他入参字段不作为搜索依据,仅按照Id来搜索会话
|
|
124
|
+
*/
|
|
125
|
+
Id?: string;
|
|
126
|
+
/**
|
|
127
|
+
* 应用资产类型, 1-web
|
|
128
|
+
*/
|
|
129
|
+
AppAssetKindSet?: Array<number | bigint>;
|
|
130
|
+
/**
|
|
131
|
+
* 应用资产Url
|
|
132
|
+
*/
|
|
133
|
+
AppAssetUrl?: string;
|
|
90
134
|
}
|
|
91
135
|
/**
|
|
92
136
|
* DescribeDeviceGroups返回参数结构体
|
|
@@ -225,6 +269,47 @@ export interface CreateChangePwdTaskResponse {
|
|
|
225
269
|
*/
|
|
226
270
|
RequestId?: string;
|
|
227
271
|
}
|
|
272
|
+
/**
|
|
273
|
+
* DescribeLoginEvent请求参数结构体
|
|
274
|
+
*/
|
|
275
|
+
export interface DescribeLoginEventRequest {
|
|
276
|
+
/**
|
|
277
|
+
* 用户名,如果不包含其他条件时对user_name or real_name两个字段模糊查询
|
|
278
|
+
*/
|
|
279
|
+
UserName?: string;
|
|
280
|
+
/**
|
|
281
|
+
* 姓名,模糊查询
|
|
282
|
+
*/
|
|
283
|
+
RealName?: string;
|
|
284
|
+
/**
|
|
285
|
+
* 查询时间范围,起始时间
|
|
286
|
+
*/
|
|
287
|
+
StartTime?: string;
|
|
288
|
+
/**
|
|
289
|
+
* 查询时间范围,结束时间
|
|
290
|
+
*/
|
|
291
|
+
EndTime?: string;
|
|
292
|
+
/**
|
|
293
|
+
* 来源IP,模糊查询
|
|
294
|
+
*/
|
|
295
|
+
SourceIp?: string;
|
|
296
|
+
/**
|
|
297
|
+
* 登录入口:1-字符界面,2-图形界面,3-web页面, 4-API
|
|
298
|
+
*/
|
|
299
|
+
Entry?: number;
|
|
300
|
+
/**
|
|
301
|
+
* 操作结果,1-成功,2-失败
|
|
302
|
+
*/
|
|
303
|
+
Result?: number;
|
|
304
|
+
/**
|
|
305
|
+
* 分页偏移位置,默认值为0
|
|
306
|
+
*/
|
|
307
|
+
Offset?: number;
|
|
308
|
+
/**
|
|
309
|
+
* 分页每页记录数,默认20
|
|
310
|
+
*/
|
|
311
|
+
Limit?: number;
|
|
312
|
+
}
|
|
228
313
|
/**
|
|
229
314
|
* ModifyUserGroup返回参数结构体
|
|
230
315
|
*/
|
|
@@ -665,65 +750,29 @@ export interface ImportExternalDeviceRequest {
|
|
|
665
750
|
DeviceSet: Array<ExternalDevice>;
|
|
666
751
|
}
|
|
667
752
|
/**
|
|
668
|
-
*
|
|
753
|
+
* DescribeResources请求参数结构体
|
|
669
754
|
*/
|
|
670
|
-
export interface
|
|
671
|
-
/**
|
|
672
|
-
* 内部Ip
|
|
673
|
-
*/
|
|
674
|
-
PrivateIp?: string;
|
|
675
|
-
/**
|
|
676
|
-
* 外部Ip
|
|
677
|
-
*/
|
|
678
|
-
PublicIp?: string;
|
|
679
|
-
/**
|
|
680
|
-
* 用户名,长度不超过20
|
|
681
|
-
*/
|
|
682
|
-
UserName?: string;
|
|
683
|
-
/**
|
|
684
|
-
* 账号,长度不超过64
|
|
685
|
-
*/
|
|
686
|
-
Account?: string;
|
|
687
|
-
/**
|
|
688
|
-
* 来源Ip
|
|
689
|
-
*/
|
|
690
|
-
FromIp?: string;
|
|
691
|
-
/**
|
|
692
|
-
* 搜索区间的开始时间。若入参是Id,则非必传,否则为必传。
|
|
693
|
-
*/
|
|
694
|
-
StartTime?: string;
|
|
755
|
+
export interface DescribeResourcesRequest {
|
|
695
756
|
/**
|
|
696
|
-
*
|
|
757
|
+
* 地域码, 如: ap-guangzhou
|
|
697
758
|
*/
|
|
698
|
-
|
|
759
|
+
ApCode?: string;
|
|
699
760
|
/**
|
|
700
|
-
*
|
|
761
|
+
* 按照堡垒机开通的 VPC 实例ID查询
|
|
701
762
|
*/
|
|
702
|
-
|
|
763
|
+
VpcId?: string;
|
|
703
764
|
/**
|
|
704
|
-
*
|
|
765
|
+
* 资源ID集合,当传入ID集合时忽略 ApCode 和 VpcId
|
|
705
766
|
*/
|
|
706
|
-
|
|
767
|
+
ResourceIds?: Array<string>;
|
|
707
768
|
/**
|
|
708
|
-
*
|
|
769
|
+
* 每页条目数量
|
|
709
770
|
*/
|
|
710
771
|
Limit?: number;
|
|
711
772
|
/**
|
|
712
|
-
*
|
|
713
|
-
*/
|
|
714
|
-
RealName?: string;
|
|
715
|
-
/**
|
|
716
|
-
* 主机名,长度不超过64
|
|
717
|
-
*/
|
|
718
|
-
DeviceName?: string;
|
|
719
|
-
/**
|
|
720
|
-
* 状态,1为活跃,2为结束,3为强制离线,4为其他错误
|
|
721
|
-
*/
|
|
722
|
-
Status?: number;
|
|
723
|
-
/**
|
|
724
|
-
* 若入参为Id,则其他入参字段不作为搜索依据,仅按照Id来搜索会话
|
|
773
|
+
* 分页偏移位置
|
|
725
774
|
*/
|
|
726
|
-
|
|
775
|
+
Offset?: number;
|
|
727
776
|
}
|
|
728
777
|
/**
|
|
729
778
|
* BindDeviceResource返回参数结构体
|
|
@@ -1068,6 +1117,59 @@ export interface Department {
|
|
|
1068
1117
|
*/
|
|
1069
1118
|
ManagerUsers?: Array<DepartmentManagerUser>;
|
|
1070
1119
|
}
|
|
1120
|
+
/**
|
|
1121
|
+
* AccessDevices请求参数结构体
|
|
1122
|
+
*/
|
|
1123
|
+
export interface AccessDevicesRequest {
|
|
1124
|
+
/**
|
|
1125
|
+
* 资源id
|
|
1126
|
+
*/
|
|
1127
|
+
InstanceId: string;
|
|
1128
|
+
/**
|
|
1129
|
+
* 账号
|
|
1130
|
+
*/
|
|
1131
|
+
Account: string;
|
|
1132
|
+
/**
|
|
1133
|
+
* 运维端登录账号
|
|
1134
|
+
*/
|
|
1135
|
+
LoginAccount: string;
|
|
1136
|
+
/**
|
|
1137
|
+
* 运维端登录密码
|
|
1138
|
+
*/
|
|
1139
|
+
LoginPassword: string;
|
|
1140
|
+
/**
|
|
1141
|
+
* 密码
|
|
1142
|
+
*/
|
|
1143
|
+
Password?: string;
|
|
1144
|
+
/**
|
|
1145
|
+
* 私钥
|
|
1146
|
+
*/
|
|
1147
|
+
PrivateKey?: string;
|
|
1148
|
+
/**
|
|
1149
|
+
* 私钥密码
|
|
1150
|
+
*/
|
|
1151
|
+
PrivateKeyPassword?: string;
|
|
1152
|
+
/**
|
|
1153
|
+
* 客户端工具
|
|
1154
|
+
*/
|
|
1155
|
+
Exe?: string;
|
|
1156
|
+
/**
|
|
1157
|
+
* RDP挂载盘符驱动(mstsc支持)
|
|
1158
|
+
*/
|
|
1159
|
+
Drivers?: Array<string>;
|
|
1160
|
+
/**
|
|
1161
|
+
* 窗口宽度(RDP支持)
|
|
1162
|
+
*/
|
|
1163
|
+
Width?: number;
|
|
1164
|
+
/**
|
|
1165
|
+
* 窗口高度(RDP支持)
|
|
1166
|
+
*/
|
|
1167
|
+
Height?: number;
|
|
1168
|
+
/**
|
|
1169
|
+
* 是否内网访问(默认不是)
|
|
1170
|
+
*/
|
|
1171
|
+
IntranetAccess?: boolean;
|
|
1172
|
+
}
|
|
1071
1173
|
/**
|
|
1072
1174
|
* ModifyCmdTemplate请求参数结构体
|
|
1073
1175
|
*/
|
|
@@ -1094,6 +1196,91 @@ export interface ModifyCmdTemplateRequest {
|
|
|
1094
1196
|
*/
|
|
1095
1197
|
Type?: number;
|
|
1096
1198
|
}
|
|
1199
|
+
/**
|
|
1200
|
+
* 搜索字符或图形会话时返回的SessionResul结构体
|
|
1201
|
+
*/
|
|
1202
|
+
export interface SessionResult {
|
|
1203
|
+
/**
|
|
1204
|
+
* 用户名
|
|
1205
|
+
*/
|
|
1206
|
+
UserName?: string;
|
|
1207
|
+
/**
|
|
1208
|
+
* 姓名
|
|
1209
|
+
*/
|
|
1210
|
+
RealName?: string;
|
|
1211
|
+
/**
|
|
1212
|
+
* 主机账号
|
|
1213
|
+
*/
|
|
1214
|
+
Account?: string;
|
|
1215
|
+
/**
|
|
1216
|
+
* 开始时间
|
|
1217
|
+
*/
|
|
1218
|
+
StartTime?: string;
|
|
1219
|
+
/**
|
|
1220
|
+
* 结束时间
|
|
1221
|
+
*/
|
|
1222
|
+
EndTime?: string;
|
|
1223
|
+
/**
|
|
1224
|
+
* 会话大小
|
|
1225
|
+
*/
|
|
1226
|
+
Size?: number;
|
|
1227
|
+
/**
|
|
1228
|
+
* 设备ID
|
|
1229
|
+
*/
|
|
1230
|
+
InstanceId?: string;
|
|
1231
|
+
/**
|
|
1232
|
+
* 设备名
|
|
1233
|
+
*/
|
|
1234
|
+
DeviceName?: string;
|
|
1235
|
+
/**
|
|
1236
|
+
* 内部Ip
|
|
1237
|
+
*/
|
|
1238
|
+
PrivateIp?: string;
|
|
1239
|
+
/**
|
|
1240
|
+
* 外部Ip
|
|
1241
|
+
*/
|
|
1242
|
+
PublicIp?: string;
|
|
1243
|
+
/**
|
|
1244
|
+
* 来源Ip
|
|
1245
|
+
*/
|
|
1246
|
+
FromIp?: string;
|
|
1247
|
+
/**
|
|
1248
|
+
* 会话持续时长
|
|
1249
|
+
*/
|
|
1250
|
+
Duration?: number;
|
|
1251
|
+
/**
|
|
1252
|
+
* 该会话内命令数量 ,搜索图形会话时该字段无意义
|
|
1253
|
+
*/
|
|
1254
|
+
Count?: number;
|
|
1255
|
+
/**
|
|
1256
|
+
* 该会话内高危命令数,搜索图形时该字段无意义
|
|
1257
|
+
*/
|
|
1258
|
+
DangerCount?: number;
|
|
1259
|
+
/**
|
|
1260
|
+
* 会话状态,如1会话活跃 2会话结束 3强制离线 4其他错误
|
|
1261
|
+
*/
|
|
1262
|
+
Status?: number;
|
|
1263
|
+
/**
|
|
1264
|
+
* 会话Id
|
|
1265
|
+
*/
|
|
1266
|
+
Id?: string;
|
|
1267
|
+
/**
|
|
1268
|
+
* 设备所属的地域
|
|
1269
|
+
*/
|
|
1270
|
+
ApCode?: string;
|
|
1271
|
+
/**
|
|
1272
|
+
* 会话协议
|
|
1273
|
+
*/
|
|
1274
|
+
Protocol?: string;
|
|
1275
|
+
/**
|
|
1276
|
+
* 应用资产类型:1-web
|
|
1277
|
+
*/
|
|
1278
|
+
AppAssetKind?: number;
|
|
1279
|
+
/**
|
|
1280
|
+
* 应用资产url
|
|
1281
|
+
*/
|
|
1282
|
+
AppAssetUrl?: string;
|
|
1283
|
+
}
|
|
1097
1284
|
/**
|
|
1098
1285
|
* CreateUser返回参数结构体
|
|
1099
1286
|
*/
|
|
@@ -1107,6 +1294,87 @@ export interface CreateUserResponse {
|
|
|
1107
1294
|
*/
|
|
1108
1295
|
RequestId?: string;
|
|
1109
1296
|
}
|
|
1297
|
+
/**
|
|
1298
|
+
* 应用资产信息
|
|
1299
|
+
*/
|
|
1300
|
+
export interface AppAsset {
|
|
1301
|
+
/**
|
|
1302
|
+
* 应用资产id
|
|
1303
|
+
*/
|
|
1304
|
+
Id?: number;
|
|
1305
|
+
/**
|
|
1306
|
+
* 实例id
|
|
1307
|
+
*/
|
|
1308
|
+
InstanceId?: string;
|
|
1309
|
+
/**
|
|
1310
|
+
* 资产名称
|
|
1311
|
+
*/
|
|
1312
|
+
Name?: string;
|
|
1313
|
+
/**
|
|
1314
|
+
* 应用服务器id
|
|
1315
|
+
*/
|
|
1316
|
+
DeviceId?: number;
|
|
1317
|
+
/**
|
|
1318
|
+
* 应用服务器账号id
|
|
1319
|
+
*/
|
|
1320
|
+
DeviceAccountId?: number;
|
|
1321
|
+
/**
|
|
1322
|
+
* 应用资产类型。1-web应用
|
|
1323
|
+
*/
|
|
1324
|
+
Kind?: number;
|
|
1325
|
+
/**
|
|
1326
|
+
* 客户端工具路径
|
|
1327
|
+
*/
|
|
1328
|
+
ClientAppPath?: string;
|
|
1329
|
+
/**
|
|
1330
|
+
* 客户端工具类型
|
|
1331
|
+
*/
|
|
1332
|
+
ClientAppKind?: string;
|
|
1333
|
+
/**
|
|
1334
|
+
* 应用资产url
|
|
1335
|
+
*/
|
|
1336
|
+
Url?: string;
|
|
1337
|
+
/**
|
|
1338
|
+
* 托管状态。0-未托管,1-已托管
|
|
1339
|
+
*/
|
|
1340
|
+
BindStatus?: number;
|
|
1341
|
+
/**
|
|
1342
|
+
* 应用服务器实例id
|
|
1343
|
+
*/
|
|
1344
|
+
DeviceInstanceId?: string;
|
|
1345
|
+
/**
|
|
1346
|
+
* 应用服务器名称
|
|
1347
|
+
*/
|
|
1348
|
+
DeviceName?: string;
|
|
1349
|
+
/**
|
|
1350
|
+
* 应用服务器账号名称
|
|
1351
|
+
*/
|
|
1352
|
+
DeviceAccountName?: string;
|
|
1353
|
+
/**
|
|
1354
|
+
* 堡垒机实例id
|
|
1355
|
+
*/
|
|
1356
|
+
ResourceId?: string;
|
|
1357
|
+
/**
|
|
1358
|
+
* 堡垒机实例信息
|
|
1359
|
+
*/
|
|
1360
|
+
Resource?: Resource;
|
|
1361
|
+
/**
|
|
1362
|
+
* 网络域id
|
|
1363
|
+
*/
|
|
1364
|
+
DomainId?: string;
|
|
1365
|
+
/**
|
|
1366
|
+
* 网络域名称
|
|
1367
|
+
*/
|
|
1368
|
+
DomainName?: string;
|
|
1369
|
+
/**
|
|
1370
|
+
* 资产组信息
|
|
1371
|
+
*/
|
|
1372
|
+
GroupSet?: Array<Group>;
|
|
1373
|
+
/**
|
|
1374
|
+
* 资产所属部门
|
|
1375
|
+
*/
|
|
1376
|
+
Department?: Department;
|
|
1377
|
+
}
|
|
1110
1378
|
/**
|
|
1111
1379
|
* DescribeAssetSyncStatus返回参数结构体
|
|
1112
1380
|
*/
|
|
@@ -1214,6 +1482,10 @@ export interface CreateAclRequest {
|
|
|
1214
1482
|
* 关联的资产ID集合
|
|
1215
1483
|
*/
|
|
1216
1484
|
DeviceIdSet?: Array<number | bigint>;
|
|
1485
|
+
/**
|
|
1486
|
+
* 关联的应用资产ID集合
|
|
1487
|
+
*/
|
|
1488
|
+
AppAssetIdSet?: Array<number | bigint>;
|
|
1217
1489
|
/**
|
|
1218
1490
|
* 关联的资产组ID
|
|
1219
1491
|
*/
|
|
@@ -1393,6 +1665,53 @@ export interface DescribeAclsResponse {
|
|
|
1393
1665
|
*/
|
|
1394
1666
|
RequestId?: string;
|
|
1395
1667
|
}
|
|
1668
|
+
/**
|
|
1669
|
+
* ModifyUser请求参数结构体
|
|
1670
|
+
*/
|
|
1671
|
+
export interface ModifyUserRequest {
|
|
1672
|
+
/**
|
|
1673
|
+
* 用户ID
|
|
1674
|
+
*/
|
|
1675
|
+
Id: number;
|
|
1676
|
+
/**
|
|
1677
|
+
* 用户姓名,最大长度20个字符,不能包含空格
|
|
1678
|
+
*/
|
|
1679
|
+
RealName: string;
|
|
1680
|
+
/**
|
|
1681
|
+
* 按照"国家地区代码|手机号"的格式输入。如: "+86|xxxxxxxx"
|
|
1682
|
+
*/
|
|
1683
|
+
Phone?: string;
|
|
1684
|
+
/**
|
|
1685
|
+
* 电子邮件
|
|
1686
|
+
*/
|
|
1687
|
+
Email?: string;
|
|
1688
|
+
/**
|
|
1689
|
+
* 用户生效时间,如:"2021-09-22T00:00:00+00:00"
|
|
1690
|
+
生效、失效时间不填则用户长期有效
|
|
1691
|
+
*/
|
|
1692
|
+
ValidateFrom?: string;
|
|
1693
|
+
/**
|
|
1694
|
+
* 用户失效时间,如:"2021-09-23T00:00:00+00:00"
|
|
1695
|
+
生效、失效时间不填则用户长期有效
|
|
1696
|
+
*/
|
|
1697
|
+
ValidateTo?: string;
|
|
1698
|
+
/**
|
|
1699
|
+
* 所属用户组ID集合
|
|
1700
|
+
*/
|
|
1701
|
+
GroupIdSet?: Array<number | bigint>;
|
|
1702
|
+
/**
|
|
1703
|
+
* 认证方式,0 - 本地,1 - LDAP,2 - OAuth 不传则默认为0
|
|
1704
|
+
*/
|
|
1705
|
+
AuthType?: number;
|
|
1706
|
+
/**
|
|
1707
|
+
* 访问时间段限制, 由0、1组成的字符串,长度168(7 × 24),代表该用户在一周中允许访问的时间段。字符串中第N个字符代表在一周中的第N个小时, 0 - 代表不允许访问,1 - 代表允许访问
|
|
1708
|
+
*/
|
|
1709
|
+
ValidateTime?: string;
|
|
1710
|
+
/**
|
|
1711
|
+
* 用户所属部门的ID,如1.2.3
|
|
1712
|
+
*/
|
|
1713
|
+
DepartmentId?: string;
|
|
1714
|
+
}
|
|
1396
1715
|
/**
|
|
1397
1716
|
* CreateCmdTemplate返回参数结构体
|
|
1398
1717
|
*/
|
|
@@ -1470,6 +1789,10 @@ export interface ModifyAclRequest {
|
|
|
1470
1789
|
* 关联的资产ID
|
|
1471
1790
|
*/
|
|
1472
1791
|
DeviceIdSet?: Array<number | bigint>;
|
|
1792
|
+
/**
|
|
1793
|
+
* 关联的应用资产ID集合
|
|
1794
|
+
*/
|
|
1795
|
+
AppAssetIdSet?: Array<number | bigint>;
|
|
1473
1796
|
/**
|
|
1474
1797
|
* 关联的资产组ID
|
|
1475
1798
|
*/
|
|
@@ -1693,6 +2016,10 @@ export interface DescribeUsersRequest {
|
|
|
1693
2016
|
* 查询具有指定资产ID访问权限的用户
|
|
1694
2017
|
*/
|
|
1695
2018
|
AuthorizedDeviceIdSet?: Array<number | bigint>;
|
|
2019
|
+
/**
|
|
2020
|
+
* 查询具有指定应用资产ID访问权限的用户
|
|
2021
|
+
*/
|
|
2022
|
+
AuthorizedAppAssetIdSet?: Array<number | bigint>;
|
|
1696
2023
|
/**
|
|
1697
2024
|
* 认证方式,0 - 本地, 1 - LDAP, 2 - OAuth, 不传为全部
|
|
1698
2025
|
*/
|
|
@@ -1760,6 +2087,10 @@ export interface SearchSessionResponse {
|
|
|
1760
2087
|
* 记录数
|
|
1761
2088
|
*/
|
|
1762
2089
|
TotalCount?: number;
|
|
2090
|
+
/**
|
|
2091
|
+
* 会话信息列表
|
|
2092
|
+
*/
|
|
2093
|
+
SessionSet?: Array<SessionResult>;
|
|
1763
2094
|
/**
|
|
1764
2095
|
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
1765
2096
|
*/
|
|
@@ -1979,51 +2310,17 @@ export interface Clb {
|
|
|
1979
2310
|
ClbIp?: string;
|
|
1980
2311
|
}
|
|
1981
2312
|
/**
|
|
1982
|
-
*
|
|
2313
|
+
* AccessDevices返回参数结构体
|
|
1983
2314
|
*/
|
|
1984
|
-
export interface
|
|
2315
|
+
export interface AccessDevicesResponse {
|
|
1985
2316
|
/**
|
|
1986
|
-
*
|
|
2317
|
+
* 认证信息
|
|
1987
2318
|
*/
|
|
1988
|
-
|
|
2319
|
+
AccessInfo?: AccessInfo;
|
|
1989
2320
|
/**
|
|
1990
|
-
*
|
|
1991
|
-
*/
|
|
1992
|
-
RealName: string;
|
|
1993
|
-
/**
|
|
1994
|
-
* 按照"国家地区代码|手机号"的格式输入。如: "+86|xxxxxxxx"
|
|
1995
|
-
*/
|
|
1996
|
-
Phone?: string;
|
|
1997
|
-
/**
|
|
1998
|
-
* 电子邮件
|
|
1999
|
-
*/
|
|
2000
|
-
Email?: string;
|
|
2001
|
-
/**
|
|
2002
|
-
* 用户生效时间,如:"2021-09-22T00:00:00+00:00"
|
|
2003
|
-
生效、失效时间不填则用户长期有效
|
|
2004
|
-
*/
|
|
2005
|
-
ValidateFrom?: string;
|
|
2006
|
-
/**
|
|
2007
|
-
* 用户失效时间,如:"2021-09-23T00:00:00+00:00"
|
|
2008
|
-
生效、失效时间不填则用户长期有效
|
|
2009
|
-
*/
|
|
2010
|
-
ValidateTo?: string;
|
|
2011
|
-
/**
|
|
2012
|
-
* 所属用户组ID集合
|
|
2013
|
-
*/
|
|
2014
|
-
GroupIdSet?: Array<number | bigint>;
|
|
2015
|
-
/**
|
|
2016
|
-
* 认证方式,0 - 本地,1 - LDAP,2 - OAuth 不传则默认为0
|
|
2017
|
-
*/
|
|
2018
|
-
AuthType?: number;
|
|
2019
|
-
/**
|
|
2020
|
-
* 访问时间段限制, 由0、1组成的字符串,长度168(7 × 24),代表该用户在一周中允许访问的时间段。字符串中第N个字符代表在一周中的第N个小时, 0 - 代表不允许访问,1 - 代表允许访问
|
|
2021
|
-
*/
|
|
2022
|
-
ValidateTime?: string;
|
|
2023
|
-
/**
|
|
2024
|
-
* 用户所属部门的ID,如1.2.3
|
|
2321
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
2025
2322
|
*/
|
|
2026
|
-
|
|
2323
|
+
RequestId?: string;
|
|
2027
2324
|
}
|
|
2028
2325
|
/**
|
|
2029
2326
|
* DeleteUsers请求参数结构体
|
|
@@ -2896,29 +3193,13 @@ export interface ModifyAclResponse {
|
|
|
2896
3193
|
RequestId?: string;
|
|
2897
3194
|
}
|
|
2898
3195
|
/**
|
|
2899
|
-
*
|
|
3196
|
+
* DeleteDeviceGroups返回参数结构体
|
|
2900
3197
|
*/
|
|
2901
|
-
export interface
|
|
2902
|
-
/**
|
|
2903
|
-
* 地域码, 如: ap-guangzhou
|
|
2904
|
-
*/
|
|
2905
|
-
ApCode?: string;
|
|
2906
|
-
/**
|
|
2907
|
-
* 按照堡垒机开通的 VPC 实例ID查询
|
|
2908
|
-
*/
|
|
2909
|
-
VpcId?: string;
|
|
2910
|
-
/**
|
|
2911
|
-
* 资源ID集合,当传入ID集合时忽略 ApCode 和 VpcId
|
|
2912
|
-
*/
|
|
2913
|
-
ResourceIds?: Array<string>;
|
|
2914
|
-
/**
|
|
2915
|
-
* 每页条目数量
|
|
2916
|
-
*/
|
|
2917
|
-
Limit?: number;
|
|
3198
|
+
export interface DeleteDeviceGroupsResponse {
|
|
2918
3199
|
/**
|
|
2919
|
-
*
|
|
3200
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
2920
3201
|
*/
|
|
2921
|
-
|
|
3202
|
+
RequestId?: string;
|
|
2922
3203
|
}
|
|
2923
3204
|
/**
|
|
2924
3205
|
* DeleteDeviceGroups请求参数结构体
|
|
@@ -3280,6 +3561,10 @@ export interface Acl {
|
|
|
3280
3561
|
* 是否允许记录键盘
|
|
3281
3562
|
*/
|
|
3282
3563
|
AllowKeyboardLogger?: boolean;
|
|
3564
|
+
/**
|
|
3565
|
+
* 关联的应用资产列表
|
|
3566
|
+
*/
|
|
3567
|
+
AppAssetSet?: Array<AppAsset>;
|
|
3283
3568
|
}
|
|
3284
3569
|
/**
|
|
3285
3570
|
* 资产标签
|
|
@@ -3653,6 +3938,10 @@ export interface DescribeDeviceGroupMembersRequest {
|
|
|
3653
3938
|
* 资产类型,1 - Linux,2 - Windows,3 - MySQL,4 - SQLServer
|
|
3654
3939
|
*/
|
|
3655
3940
|
Kind?: number;
|
|
3941
|
+
/**
|
|
3942
|
+
* 资产类型集合,1 - Linux,2 - Windows,3 - MySQL,4 - SQLServer
|
|
3943
|
+
*/
|
|
3944
|
+
KindSet?: Array<number | bigint>;
|
|
3656
3945
|
/**
|
|
3657
3946
|
* 所属部门ID
|
|
3658
3947
|
*/
|
|
@@ -3694,6 +3983,10 @@ export interface DescribeAclsRequest {
|
|
|
3694
3983
|
* 有访问权限的资产ID集合
|
|
3695
3984
|
*/
|
|
3696
3985
|
AuthorizedDeviceIdSet?: Array<number | bigint>;
|
|
3986
|
+
/**
|
|
3987
|
+
* 有访问权限的应用资产ID集合
|
|
3988
|
+
*/
|
|
3989
|
+
AuthorizedAppAssetIdSet?: Array<number | bigint>;
|
|
3697
3990
|
/**
|
|
3698
3991
|
* 访问权限状态,1 - 已生效,2 - 未生效,3 - 已过期
|
|
3699
3992
|
*/
|