tencentcloud-sdk-dasb 1.0.324 → 1.0.327
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.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20191018/client.rb +336 -0
- data/lib/v20191018/models.rb +740 -112
- metadata +2 -2
data/lib/v20191018/models.rb
CHANGED
@@ -21,7 +21,7 @@ module TencentCloud
|
|
21
21
|
class Acl < TencentCloud::Common::AbstractModel
|
22
22
|
# @param Id: 访问权限ID
|
23
23
|
# @type Id: Integer
|
24
|
-
# @param Name:
|
24
|
+
# @param Name: 访问权限名称
|
25
25
|
# @type Name: String
|
26
26
|
# @param AllowDiskRedirect: 是否开启磁盘映射
|
27
27
|
# @type AllowDiskRedirect: Boolean
|
@@ -29,47 +29,49 @@ module TencentCloud
|
|
29
29
|
# @type AllowClipFileUp: Boolean
|
30
30
|
# @param AllowClipFileDown: 是否开启剪贴板文件下行
|
31
31
|
# @type AllowClipFileDown: Boolean
|
32
|
-
# @param AllowClipTextUp:
|
32
|
+
# @param AllowClipTextUp: 是否开启剪贴板文本(目前含图片)上行
|
33
33
|
# @type AllowClipTextUp: Boolean
|
34
|
-
# @param AllowClipTextDown:
|
34
|
+
# @param AllowClipTextDown: 是否开启剪贴板文本(目前含图片)下行
|
35
35
|
# @type AllowClipTextDown: Boolean
|
36
36
|
# @param AllowFileUp: 是否开启文件传输上传
|
37
37
|
# @type AllowFileUp: Boolean
|
38
|
-
# @param MaxFileUpSize:
|
38
|
+
# @param MaxFileUpSize: 文件传输上传大小限制(预留参数,暂未启用)
|
39
39
|
# @type MaxFileUpSize: Integer
|
40
40
|
# @param AllowFileDown: 是否开启文件传输下载
|
41
41
|
# @type AllowFileDown: Boolean
|
42
|
-
# @param MaxFileDownSize:
|
42
|
+
# @param MaxFileDownSize: 文件传输下载大小限制(预留参数,暂未启用)
|
43
43
|
# @type MaxFileDownSize: Integer
|
44
|
-
# @param AllowAnyAccount:
|
44
|
+
# @param AllowAnyAccount: 是否允许任意账号登录
|
45
45
|
# @type AllowAnyAccount: Boolean
|
46
46
|
# @param UserSet: 关联的用户列表
|
47
47
|
# @type UserSet: Array
|
48
48
|
# @param UserGroupSet: 关联的用户组列表
|
49
49
|
# @type UserGroupSet: Array
|
50
|
-
# @param DeviceSet:
|
50
|
+
# @param DeviceSet: 关联的资产列表
|
51
51
|
# @type DeviceSet: Array
|
52
|
-
# @param DeviceGroupSet:
|
52
|
+
# @param DeviceGroupSet: 关联的资产组列表
|
53
53
|
# @type DeviceGroupSet: Array
|
54
54
|
# @param AccountSet: 关联的账号列表
|
55
55
|
# @type AccountSet: Array
|
56
56
|
# @param CmdTemplateSet: 关联的高危命令模板列表
|
57
57
|
# @type CmdTemplateSet: Array
|
58
|
-
# @param AllowDiskFileUp: 是否开启
|
58
|
+
# @param AllowDiskFileUp: 是否开启 RDP 磁盘映射文件上传
|
59
59
|
# @type AllowDiskFileUp: Boolean
|
60
|
-
# @param AllowDiskFileDown: 是否开启
|
60
|
+
# @param AllowDiskFileDown: 是否开启 RDP 磁盘映射文件下载
|
61
61
|
# @type AllowDiskFileDown: Boolean
|
62
|
-
# @param AllowShellFileUp: 是否开启rz sz文件上传
|
62
|
+
# @param AllowShellFileUp: 是否开启 rz sz 文件上传
|
63
63
|
# @type AllowShellFileUp: Boolean
|
64
|
-
# @param AllowShellFileDown: 是否开启rz sz文件下载
|
64
|
+
# @param AllowShellFileDown: 是否开启 rz sz 文件下载
|
65
65
|
# @type AllowShellFileDown: Boolean
|
66
|
-
# @param AllowFileDel: 是否开启SFTP文件删除
|
66
|
+
# @param AllowFileDel: 是否开启 SFTP 文件删除
|
67
67
|
# @type AllowFileDel: Boolean
|
68
|
-
# @param ValidateFrom:
|
68
|
+
# @param ValidateFrom: 访问权限生效时间,如:"2021-09-22T00:00:00+00:00"
|
69
|
+
# 生效、失效时间不填则访问权限长期有效
|
69
70
|
# @type ValidateFrom: String
|
70
|
-
# @param ValidateTo:
|
71
|
+
# @param ValidateTo: 访问权限失效时间,如:"2021-09-23T00:00:00+00:00"
|
72
|
+
# 生效、失效时间不填则访问权限长期有效
|
71
73
|
# @type ValidateTo: String
|
72
|
-
# @param Status:
|
74
|
+
# @param Status: 访问权限状态,1 - 已生效,2 - 未生效,3 - 已过期
|
73
75
|
# @type Status: Integer
|
74
76
|
|
75
77
|
attr_accessor :Id, :Name, :AllowDiskRedirect, :AllowClipFileUp, :AllowClipFileDown, :AllowClipTextUp, :AllowClipTextDown, :AllowFileUp, :MaxFileUpSize, :AllowFileDown, :MaxFileDownSize, :AllowAnyAccount, :UserSet, :UserGroupSet, :DeviceSet, :DeviceGroupSet, :AccountSet, :CmdTemplateSet, :AllowDiskFileUp, :AllowDiskFileDown, :AllowShellFileUp, :AllowShellFileDown, :AllowFileDel, :ValidateFrom, :ValidateTo, :Status
|
@@ -168,13 +170,121 @@ module TencentCloud
|
|
168
170
|
end
|
169
171
|
end
|
170
172
|
|
171
|
-
#
|
173
|
+
# AddDeviceGroupMembers请求参数结构体
|
174
|
+
class AddDeviceGroupMembersRequest < TencentCloud::Common::AbstractModel
|
175
|
+
# @param Id: 资产组ID
|
176
|
+
# @type Id: Integer
|
177
|
+
# @param MemberIdSet: 需要添加到资产组的资产ID集合
|
178
|
+
# @type MemberIdSet: Array
|
179
|
+
|
180
|
+
attr_accessor :Id, :MemberIdSet
|
181
|
+
|
182
|
+
def initialize(id=nil, memberidset=nil)
|
183
|
+
@Id = id
|
184
|
+
@MemberIdSet = memberidset
|
185
|
+
end
|
186
|
+
|
187
|
+
def deserialize(params)
|
188
|
+
@Id = params['Id']
|
189
|
+
@MemberIdSet = params['MemberIdSet']
|
190
|
+
end
|
191
|
+
end
|
192
|
+
|
193
|
+
# AddDeviceGroupMembers返回参数结构体
|
194
|
+
class AddDeviceGroupMembersResponse < TencentCloud::Common::AbstractModel
|
195
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
196
|
+
# @type RequestId: String
|
197
|
+
|
198
|
+
attr_accessor :RequestId
|
199
|
+
|
200
|
+
def initialize(requestid=nil)
|
201
|
+
@RequestId = requestid
|
202
|
+
end
|
203
|
+
|
204
|
+
def deserialize(params)
|
205
|
+
@RequestId = params['RequestId']
|
206
|
+
end
|
207
|
+
end
|
208
|
+
|
209
|
+
# AddUserGroupMembers请求参数结构体
|
210
|
+
class AddUserGroupMembersRequest < TencentCloud::Common::AbstractModel
|
211
|
+
# @param Id: 用户组ID
|
212
|
+
# @type Id: Integer
|
213
|
+
# @param MemberIdSet: 成员用户ID集合
|
214
|
+
# @type MemberIdSet: Array
|
215
|
+
|
216
|
+
attr_accessor :Id, :MemberIdSet
|
217
|
+
|
218
|
+
def initialize(id=nil, memberidset=nil)
|
219
|
+
@Id = id
|
220
|
+
@MemberIdSet = memberidset
|
221
|
+
end
|
222
|
+
|
223
|
+
def deserialize(params)
|
224
|
+
@Id = params['Id']
|
225
|
+
@MemberIdSet = params['MemberIdSet']
|
226
|
+
end
|
227
|
+
end
|
228
|
+
|
229
|
+
# AddUserGroupMembers返回参数结构体
|
230
|
+
class AddUserGroupMembersResponse < TencentCloud::Common::AbstractModel
|
231
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
232
|
+
# @type RequestId: String
|
233
|
+
|
234
|
+
attr_accessor :RequestId
|
235
|
+
|
236
|
+
def initialize(requestid=nil)
|
237
|
+
@RequestId = requestid
|
238
|
+
end
|
239
|
+
|
240
|
+
def deserialize(params)
|
241
|
+
@RequestId = params['RequestId']
|
242
|
+
end
|
243
|
+
end
|
244
|
+
|
245
|
+
# BindDeviceResource请求参数结构体
|
246
|
+
class BindDeviceResourceRequest < TencentCloud::Common::AbstractModel
|
247
|
+
# @param DeviceIdSet: 资产ID集合
|
248
|
+
# @type DeviceIdSet: Array
|
249
|
+
# @param ResourceId: 堡垒机服务ID
|
250
|
+
# @type ResourceId: String
|
251
|
+
|
252
|
+
attr_accessor :DeviceIdSet, :ResourceId
|
253
|
+
|
254
|
+
def initialize(deviceidset=nil, resourceid=nil)
|
255
|
+
@DeviceIdSet = deviceidset
|
256
|
+
@ResourceId = resourceid
|
257
|
+
end
|
258
|
+
|
259
|
+
def deserialize(params)
|
260
|
+
@DeviceIdSet = params['DeviceIdSet']
|
261
|
+
@ResourceId = params['ResourceId']
|
262
|
+
end
|
263
|
+
end
|
264
|
+
|
265
|
+
# BindDeviceResource返回参数结构体
|
266
|
+
class BindDeviceResourceResponse < TencentCloud::Common::AbstractModel
|
267
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
268
|
+
# @type RequestId: String
|
269
|
+
|
270
|
+
attr_accessor :RequestId
|
271
|
+
|
272
|
+
def initialize(requestid=nil)
|
273
|
+
@RequestId = requestid
|
274
|
+
end
|
275
|
+
|
276
|
+
def deserialize(params)
|
277
|
+
@RequestId = params['RequestId']
|
278
|
+
end
|
279
|
+
end
|
280
|
+
|
281
|
+
# 高危命令模板
|
172
282
|
class CmdTemplate < TencentCloud::Common::AbstractModel
|
173
|
-
# @param Id:
|
283
|
+
# @param Id: 高危命令模板ID
|
174
284
|
# @type Id: Integer
|
175
|
-
# @param Name:
|
285
|
+
# @param Name: 高危命令模板名称
|
176
286
|
# @type Name: String
|
177
|
-
# @param CmdList:
|
287
|
+
# @param CmdList: 命令列表,命令之间用换行符("\n")分隔
|
178
288
|
# @type CmdList: String
|
179
289
|
|
180
290
|
attr_accessor :Id, :Name, :CmdList
|
@@ -194,37 +304,37 @@ module TencentCloud
|
|
194
304
|
|
195
305
|
# CreateAcl请求参数结构体
|
196
306
|
class CreateAclRequest < TencentCloud::Common::AbstractModel
|
197
|
-
# @param Name: 权限名称,最大32
|
307
|
+
# @param Name: 权限名称,最大32字符,不能包含空白字符
|
198
308
|
# @type Name: String
|
199
309
|
# @param AllowDiskRedirect: 是否开启磁盘映射
|
200
310
|
# @type AllowDiskRedirect: Boolean
|
201
|
-
# @param AllowAnyAccount:
|
311
|
+
# @param AllowAnyAccount: 是否允许任意账号登录
|
202
312
|
# @type AllowAnyAccount: Boolean
|
203
313
|
# @param AllowClipFileUp: 是否开启剪贴板文件上行
|
204
314
|
# @type AllowClipFileUp: Boolean
|
205
315
|
# @param AllowClipFileDown: 是否开启剪贴板文件下行
|
206
316
|
# @type AllowClipFileDown: Boolean
|
207
|
-
# @param AllowClipTextUp:
|
317
|
+
# @param AllowClipTextUp: 是否开启剪贴板文本(含图片)上行
|
208
318
|
# @type AllowClipTextUp: Boolean
|
209
|
-
# @param AllowClipTextDown:
|
319
|
+
# @param AllowClipTextDown: 是否开启剪贴板文本(含图片)下行
|
210
320
|
# @type AllowClipTextDown: Boolean
|
211
|
-
# @param AllowFileUp: 是否开启SFTP文件上传
|
321
|
+
# @param AllowFileUp: 是否开启 SFTP 文件上传
|
212
322
|
# @type AllowFileUp: Boolean
|
213
|
-
# @param MaxFileUpSize:
|
323
|
+
# @param MaxFileUpSize: 文件传输上传大小限制(预留参数,目前暂未使用)
|
214
324
|
# @type MaxFileUpSize: Integer
|
215
|
-
# @param AllowFileDown: 是否开启SFTP文件下载
|
325
|
+
# @param AllowFileDown: 是否开启 SFTP 文件下载
|
216
326
|
# @type AllowFileDown: Boolean
|
217
|
-
# @param MaxFileDownSize:
|
327
|
+
# @param MaxFileDownSize: 文件传输下载大小限制(预留参数,目前暂未使用)
|
218
328
|
# @type MaxFileDownSize: Integer
|
219
|
-
# @param UserIdSet: 关联的用户ID
|
329
|
+
# @param UserIdSet: 关联的用户ID集合
|
220
330
|
# @type UserIdSet: Array
|
221
331
|
# @param UserGroupIdSet: 关联的用户组ID
|
222
332
|
# @type UserGroupIdSet: Array
|
223
|
-
# @param DeviceIdSet:
|
333
|
+
# @param DeviceIdSet: 关联的资产ID集合
|
224
334
|
# @type DeviceIdSet: Array
|
225
|
-
# @param DeviceGroupIdSet:
|
335
|
+
# @param DeviceGroupIdSet: 关联的资产组ID
|
226
336
|
# @type DeviceGroupIdSet: Array
|
227
|
-
# @param AccountSet:
|
337
|
+
# @param AccountSet: 关联的账号
|
228
338
|
# @type AccountSet: Array
|
229
339
|
# @param CmdTemplateIdSet: 关联的高危命令模板ID
|
230
340
|
# @type CmdTemplateIdSet: Array
|
@@ -236,11 +346,13 @@ module TencentCloud
|
|
236
346
|
# @type AllowShellFileUp: Boolean
|
237
347
|
# @param AllowShellFileDown: 是否开启rz sz文件下载
|
238
348
|
# @type AllowShellFileDown: Boolean
|
239
|
-
# @param AllowFileDel: 是否开启SFTP文件删除
|
349
|
+
# @param AllowFileDel: 是否开启 SFTP 文件删除
|
240
350
|
# @type AllowFileDel: Boolean
|
241
|
-
# @param ValidateFrom:
|
351
|
+
# @param ValidateFrom: 访问权限生效时间,如:"2021-09-22T00:00:00+00:00"
|
352
|
+
# 生效、失效时间不填则访问权限长期有效
|
242
353
|
# @type ValidateFrom: String
|
243
|
-
# @param ValidateTo:
|
354
|
+
# @param ValidateTo: 访问权限失效时间,如:"2021-09-23T00:00:00+00:00"
|
355
|
+
# 生效、失效时间不填则访问权限长期有效
|
244
356
|
# @type ValidateTo: String
|
245
357
|
|
246
358
|
attr_accessor :Name, :AllowDiskRedirect, :AllowAnyAccount, :AllowClipFileUp, :AllowClipFileDown, :AllowClipTextUp, :AllowClipTextDown, :AllowFileUp, :MaxFileUpSize, :AllowFileDown, :MaxFileDownSize, :UserIdSet, :UserGroupIdSet, :DeviceIdSet, :DeviceGroupIdSet, :AccountSet, :CmdTemplateIdSet, :AllowDiskFileUp, :AllowDiskFileDown, :AllowShellFileUp, :AllowShellFileDown, :AllowFileDel, :ValidateFrom, :ValidateTo
|
@@ -302,7 +414,79 @@ module TencentCloud
|
|
302
414
|
|
303
415
|
# CreateAcl返回参数结构体
|
304
416
|
class CreateAclResponse < TencentCloud::Common::AbstractModel
|
305
|
-
# @param Id:
|
417
|
+
# @param Id: 新建成功的访问权限ID
|
418
|
+
# @type Id: Integer
|
419
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
420
|
+
# @type RequestId: String
|
421
|
+
|
422
|
+
attr_accessor :Id, :RequestId
|
423
|
+
|
424
|
+
def initialize(id=nil, requestid=nil)
|
425
|
+
@Id = id
|
426
|
+
@RequestId = requestid
|
427
|
+
end
|
428
|
+
|
429
|
+
def deserialize(params)
|
430
|
+
@Id = params['Id']
|
431
|
+
@RequestId = params['RequestId']
|
432
|
+
end
|
433
|
+
end
|
434
|
+
|
435
|
+
# CreateDeviceGroup请求参数结构体
|
436
|
+
class CreateDeviceGroupRequest < TencentCloud::Common::AbstractModel
|
437
|
+
# @param Name: 资产组名,最大长度32字符
|
438
|
+
# @type Name: String
|
439
|
+
|
440
|
+
attr_accessor :Name
|
441
|
+
|
442
|
+
def initialize(name=nil)
|
443
|
+
@Name = name
|
444
|
+
end
|
445
|
+
|
446
|
+
def deserialize(params)
|
447
|
+
@Name = params['Name']
|
448
|
+
end
|
449
|
+
end
|
450
|
+
|
451
|
+
# CreateDeviceGroup返回参数结构体
|
452
|
+
class CreateDeviceGroupResponse < TencentCloud::Common::AbstractModel
|
453
|
+
# @param Id: 新建成功的资产组ID
|
454
|
+
# @type Id: Integer
|
455
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
456
|
+
# @type RequestId: String
|
457
|
+
|
458
|
+
attr_accessor :Id, :RequestId
|
459
|
+
|
460
|
+
def initialize(id=nil, requestid=nil)
|
461
|
+
@Id = id
|
462
|
+
@RequestId = requestid
|
463
|
+
end
|
464
|
+
|
465
|
+
def deserialize(params)
|
466
|
+
@Id = params['Id']
|
467
|
+
@RequestId = params['RequestId']
|
468
|
+
end
|
469
|
+
end
|
470
|
+
|
471
|
+
# CreateUserGroup请求参数结构体
|
472
|
+
class CreateUserGroupRequest < TencentCloud::Common::AbstractModel
|
473
|
+
# @param Name: 用户组名,最大长度32字符
|
474
|
+
# @type Name: String
|
475
|
+
|
476
|
+
attr_accessor :Name
|
477
|
+
|
478
|
+
def initialize(name=nil)
|
479
|
+
@Name = name
|
480
|
+
end
|
481
|
+
|
482
|
+
def deserialize(params)
|
483
|
+
@Name = params['Name']
|
484
|
+
end
|
485
|
+
end
|
486
|
+
|
487
|
+
# CreateUserGroup返回参数结构体
|
488
|
+
class CreateUserGroupResponse < TencentCloud::Common::AbstractModel
|
489
|
+
# @param Id: 新建成功的用户组ID
|
306
490
|
# @type Id: Integer
|
307
491
|
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
308
492
|
# @type RequestId: String
|
@@ -322,23 +506,25 @@ module TencentCloud
|
|
322
506
|
|
323
507
|
# CreateUser请求参数结构体
|
324
508
|
class CreateUserRequest < TencentCloud::Common::AbstractModel
|
325
|
-
# @param UserName:
|
509
|
+
# @param UserName: 用户名, 3-20个字符, 必须以英文字母开头,且不能包含字母、数字、.、_、-以外的字符
|
326
510
|
# @type UserName: String
|
327
|
-
# @param RealName: 用户姓名,最大长度
|
511
|
+
# @param RealName: 用户姓名,最大长度20个字符,不能包含空白字符
|
328
512
|
# @type RealName: String
|
329
|
-
# @param Phone:
|
513
|
+
# @param Phone: 大陆手机号直接填写,如果是其他国家、地区号码, 按照"国家地区代码|手机号"的格式输入。如: "+852|xxxxxxxx"
|
330
514
|
# @type Phone: String
|
331
515
|
# @param Email: 电子邮件
|
332
516
|
# @type Email: String
|
333
|
-
# @param ValidateFrom:
|
517
|
+
# @param ValidateFrom: 用户生效时间,如:"2021-09-22T00:00:00+00:00"
|
518
|
+
# 生效、失效时间不填则用户长期有效
|
334
519
|
# @type ValidateFrom: String
|
335
|
-
# @param ValidateTo:
|
520
|
+
# @param ValidateTo: 用户失效时间,如:"2021-09-23T00:00:00+00:00"
|
521
|
+
# 生效、失效时间不填则用户长期有效
|
336
522
|
# @type ValidateTo: String
|
337
523
|
# @param GroupIdSet: 所属用户组ID集合
|
338
524
|
# @type GroupIdSet: Array
|
339
|
-
# @param AuthType: 认证方式,0
|
525
|
+
# @param AuthType: 认证方式,0 - 本地, 1 - LDAP, 2 - OAuth 不传则默认为0
|
340
526
|
# @type AuthType: Integer
|
341
|
-
# @param ValidateTime:
|
527
|
+
# @param ValidateTime: 访问时间段限制, 由0、1组成的字符串,长度168(7 × 24),代表该用户在一周中允许访问的时间段。字符串中第N个字符代表在一周中的第N个小时, 0 - 代表不允许访问,1 - 代表允许访问
|
342
528
|
# @type ValidateTime: String
|
343
529
|
|
344
530
|
attr_accessor :UserName, :RealName, :Phone, :Email, :ValidateFrom, :ValidateTo, :GroupIdSet, :AuthType, :ValidateTime
|
@@ -370,7 +556,7 @@ module TencentCloud
|
|
370
556
|
|
371
557
|
# CreateUser返回参数结构体
|
372
558
|
class CreateUserResponse < TencentCloud::Common::AbstractModel
|
373
|
-
# @param Id:
|
559
|
+
# @param Id: 新建用户的ID
|
374
560
|
# @type Id: Integer
|
375
561
|
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
376
562
|
# @type RequestId: String
|
@@ -420,6 +606,142 @@ module TencentCloud
|
|
420
606
|
end
|
421
607
|
end
|
422
608
|
|
609
|
+
# DeleteDeviceGroupMembers请求参数结构体
|
610
|
+
class DeleteDeviceGroupMembersRequest < TencentCloud::Common::AbstractModel
|
611
|
+
# @param Id: 资产组ID
|
612
|
+
# @type Id: Integer
|
613
|
+
# @param MemberIdSet: 需要删除的资产ID集合
|
614
|
+
# @type MemberIdSet: Array
|
615
|
+
|
616
|
+
attr_accessor :Id, :MemberIdSet
|
617
|
+
|
618
|
+
def initialize(id=nil, memberidset=nil)
|
619
|
+
@Id = id
|
620
|
+
@MemberIdSet = memberidset
|
621
|
+
end
|
622
|
+
|
623
|
+
def deserialize(params)
|
624
|
+
@Id = params['Id']
|
625
|
+
@MemberIdSet = params['MemberIdSet']
|
626
|
+
end
|
627
|
+
end
|
628
|
+
|
629
|
+
# DeleteDeviceGroupMembers返回参数结构体
|
630
|
+
class DeleteDeviceGroupMembersResponse < TencentCloud::Common::AbstractModel
|
631
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
632
|
+
# @type RequestId: String
|
633
|
+
|
634
|
+
attr_accessor :RequestId
|
635
|
+
|
636
|
+
def initialize(requestid=nil)
|
637
|
+
@RequestId = requestid
|
638
|
+
end
|
639
|
+
|
640
|
+
def deserialize(params)
|
641
|
+
@RequestId = params['RequestId']
|
642
|
+
end
|
643
|
+
end
|
644
|
+
|
645
|
+
# DeleteDeviceGroups请求参数结构体
|
646
|
+
class DeleteDeviceGroupsRequest < TencentCloud::Common::AbstractModel
|
647
|
+
# @param IdSet: 待删除的资产组ID集合
|
648
|
+
# @type IdSet: Array
|
649
|
+
|
650
|
+
attr_accessor :IdSet
|
651
|
+
|
652
|
+
def initialize(idset=nil)
|
653
|
+
@IdSet = idset
|
654
|
+
end
|
655
|
+
|
656
|
+
def deserialize(params)
|
657
|
+
@IdSet = params['IdSet']
|
658
|
+
end
|
659
|
+
end
|
660
|
+
|
661
|
+
# DeleteDeviceGroups返回参数结构体
|
662
|
+
class DeleteDeviceGroupsResponse < TencentCloud::Common::AbstractModel
|
663
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
664
|
+
# @type RequestId: String
|
665
|
+
|
666
|
+
attr_accessor :RequestId
|
667
|
+
|
668
|
+
def initialize(requestid=nil)
|
669
|
+
@RequestId = requestid
|
670
|
+
end
|
671
|
+
|
672
|
+
def deserialize(params)
|
673
|
+
@RequestId = params['RequestId']
|
674
|
+
end
|
675
|
+
end
|
676
|
+
|
677
|
+
# DeleteUserGroupMembers请求参数结构体
|
678
|
+
class DeleteUserGroupMembersRequest < TencentCloud::Common::AbstractModel
|
679
|
+
# @param Id: 用户组ID
|
680
|
+
# @type Id: Integer
|
681
|
+
# @param MemberIdSet: 需删除的成员用户ID集合
|
682
|
+
# @type MemberIdSet: Array
|
683
|
+
|
684
|
+
attr_accessor :Id, :MemberIdSet
|
685
|
+
|
686
|
+
def initialize(id=nil, memberidset=nil)
|
687
|
+
@Id = id
|
688
|
+
@MemberIdSet = memberidset
|
689
|
+
end
|
690
|
+
|
691
|
+
def deserialize(params)
|
692
|
+
@Id = params['Id']
|
693
|
+
@MemberIdSet = params['MemberIdSet']
|
694
|
+
end
|
695
|
+
end
|
696
|
+
|
697
|
+
# DeleteUserGroupMembers返回参数结构体
|
698
|
+
class DeleteUserGroupMembersResponse < TencentCloud::Common::AbstractModel
|
699
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
700
|
+
# @type RequestId: String
|
701
|
+
|
702
|
+
attr_accessor :RequestId
|
703
|
+
|
704
|
+
def initialize(requestid=nil)
|
705
|
+
@RequestId = requestid
|
706
|
+
end
|
707
|
+
|
708
|
+
def deserialize(params)
|
709
|
+
@RequestId = params['RequestId']
|
710
|
+
end
|
711
|
+
end
|
712
|
+
|
713
|
+
# DeleteUserGroups请求参数结构体
|
714
|
+
class DeleteUserGroupsRequest < TencentCloud::Common::AbstractModel
|
715
|
+
# @param IdSet: 待删除的用户组ID集合
|
716
|
+
# @type IdSet: Array
|
717
|
+
|
718
|
+
attr_accessor :IdSet
|
719
|
+
|
720
|
+
def initialize(idset=nil)
|
721
|
+
@IdSet = idset
|
722
|
+
end
|
723
|
+
|
724
|
+
def deserialize(params)
|
725
|
+
@IdSet = params['IdSet']
|
726
|
+
end
|
727
|
+
end
|
728
|
+
|
729
|
+
# DeleteUserGroups返回参数结构体
|
730
|
+
class DeleteUserGroupsResponse < TencentCloud::Common::AbstractModel
|
731
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
732
|
+
# @type RequestId: String
|
733
|
+
|
734
|
+
attr_accessor :RequestId
|
735
|
+
|
736
|
+
def initialize(requestid=nil)
|
737
|
+
@RequestId = requestid
|
738
|
+
end
|
739
|
+
|
740
|
+
def deserialize(params)
|
741
|
+
@RequestId = params['RequestId']
|
742
|
+
end
|
743
|
+
end
|
744
|
+
|
423
745
|
# DeleteUsers请求参数结构体
|
424
746
|
class DeleteUsersRequest < TencentCloud::Common::AbstractModel
|
425
747
|
# @param IdSet: 待删除的用户ID集合
|
@@ -454,21 +776,21 @@ module TencentCloud
|
|
454
776
|
|
455
777
|
# DescribeAcls请求参数结构体
|
456
778
|
class DescribeAclsRequest < TencentCloud::Common::AbstractModel
|
457
|
-
# @param IdSet: 访问权限ID
|
779
|
+
# @param IdSet: 访问权限ID集合
|
458
780
|
# @type IdSet: Array
|
459
781
|
# @param Name: 访问权限名称,模糊查询,最长64字符
|
460
782
|
# @type Name: String
|
461
|
-
# @param Offset:
|
783
|
+
# @param Offset: 分页偏移位置
|
462
784
|
# @type Offset: Integer
|
463
|
-
# @param Limit: 每页条目数量,默认20
|
785
|
+
# @param Limit: 每页条目数量,默认20,最大500
|
464
786
|
# @type Limit: Integer
|
465
|
-
# @param Exact: 是否根据Name
|
787
|
+
# @param Exact: 是否根据Name进行精确查询,默认值false
|
466
788
|
# @type Exact: Boolean
|
467
|
-
# @param AuthorizedUserIdSet:
|
789
|
+
# @param AuthorizedUserIdSet: 有访问权限的用户ID集合
|
468
790
|
# @type AuthorizedUserIdSet: Array
|
469
|
-
# @param AuthorizedDeviceIdSet:
|
791
|
+
# @param AuthorizedDeviceIdSet: 有访问权限的资产ID集合
|
470
792
|
# @type AuthorizedDeviceIdSet: Array
|
471
|
-
# @param Status:
|
793
|
+
# @param Status: 访问权限状态,1 - 已生效,2 - 未生效,3 - 已过期
|
472
794
|
# @type Status: Integer
|
473
795
|
|
474
796
|
attr_accessor :IdSet, :Name, :Offset, :Limit, :Exact, :AuthorizedUserIdSet, :AuthorizedDeviceIdSet, :Status
|
@@ -498,9 +820,9 @@ module TencentCloud
|
|
498
820
|
|
499
821
|
# DescribeAcls返回参数结构体
|
500
822
|
class DescribeAclsResponse < TencentCloud::Common::AbstractModel
|
501
|
-
# @param TotalCount:
|
823
|
+
# @param TotalCount: 访问权限总数
|
502
824
|
# @type TotalCount: Integer
|
503
|
-
# @param AclSet:
|
825
|
+
# @param AclSet: 访问权限列表
|
504
826
|
# @type AclSet: Array
|
505
827
|
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
506
828
|
# @type RequestId: String
|
@@ -562,27 +884,153 @@ module TencentCloud
|
|
562
884
|
end
|
563
885
|
end
|
564
886
|
|
887
|
+
# DescribeDeviceGroupMembers请求参数结构体
|
888
|
+
class DescribeDeviceGroupMembersRequest < TencentCloud::Common::AbstractModel
|
889
|
+
# @param Id: 资产组ID
|
890
|
+
# @type Id: Integer
|
891
|
+
# @param Bound: true - 查询已在该资产组的资产,false - 查询未在该资产组的资产
|
892
|
+
# @type Bound: Boolean
|
893
|
+
# @param Name: 资产名或资产IP,模糊查询
|
894
|
+
# @type Name: String
|
895
|
+
# @param Offset: 分页偏移位置
|
896
|
+
# @type Offset: Integer
|
897
|
+
# @param Limit: 每页条目数,默认20, 最大500
|
898
|
+
# @type Limit: Integer
|
899
|
+
# @param Kind: 资产类型,1 - Linux,2 - Windows,3 - MySQL,4 - SQLServer
|
900
|
+
# @type Kind: Integer
|
901
|
+
|
902
|
+
attr_accessor :Id, :Bound, :Name, :Offset, :Limit, :Kind
|
903
|
+
|
904
|
+
def initialize(id=nil, bound=nil, name=nil, offset=nil, limit=nil, kind=nil)
|
905
|
+
@Id = id
|
906
|
+
@Bound = bound
|
907
|
+
@Name = name
|
908
|
+
@Offset = offset
|
909
|
+
@Limit = limit
|
910
|
+
@Kind = kind
|
911
|
+
end
|
912
|
+
|
913
|
+
def deserialize(params)
|
914
|
+
@Id = params['Id']
|
915
|
+
@Bound = params['Bound']
|
916
|
+
@Name = params['Name']
|
917
|
+
@Offset = params['Offset']
|
918
|
+
@Limit = params['Limit']
|
919
|
+
@Kind = params['Kind']
|
920
|
+
end
|
921
|
+
end
|
922
|
+
|
923
|
+
# DescribeDeviceGroupMembers返回参数结构体
|
924
|
+
class DescribeDeviceGroupMembersResponse < TencentCloud::Common::AbstractModel
|
925
|
+
# @param TotalCount: 资产组成员总数
|
926
|
+
# @type TotalCount: Integer
|
927
|
+
# @param DeviceSet: 资产组成员列表
|
928
|
+
# @type DeviceSet: Array
|
929
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
930
|
+
# @type RequestId: String
|
931
|
+
|
932
|
+
attr_accessor :TotalCount, :DeviceSet, :RequestId
|
933
|
+
|
934
|
+
def initialize(totalcount=nil, deviceset=nil, requestid=nil)
|
935
|
+
@TotalCount = totalcount
|
936
|
+
@DeviceSet = deviceset
|
937
|
+
@RequestId = requestid
|
938
|
+
end
|
939
|
+
|
940
|
+
def deserialize(params)
|
941
|
+
@TotalCount = params['TotalCount']
|
942
|
+
unless params['DeviceSet'].nil?
|
943
|
+
@DeviceSet = []
|
944
|
+
params['DeviceSet'].each do |i|
|
945
|
+
device_tmp = Device.new
|
946
|
+
device_tmp.deserialize(i)
|
947
|
+
@DeviceSet << device_tmp
|
948
|
+
end
|
949
|
+
end
|
950
|
+
@RequestId = params['RequestId']
|
951
|
+
end
|
952
|
+
end
|
953
|
+
|
954
|
+
# DescribeDeviceGroups请求参数结构体
|
955
|
+
class DescribeDeviceGroupsRequest < TencentCloud::Common::AbstractModel
|
956
|
+
# @param IdSet: 资产组ID集合
|
957
|
+
# @type IdSet: Array
|
958
|
+
# @param Name: 资产组名,最长64个字符,模糊查询
|
959
|
+
# @type Name: String
|
960
|
+
# @param Offset: 分页偏移位置
|
961
|
+
# @type Offset: Integer
|
962
|
+
# @param Limit: 每页条目数量,缺省20,最大500
|
963
|
+
# @type Limit: Integer
|
964
|
+
|
965
|
+
attr_accessor :IdSet, :Name, :Offset, :Limit
|
966
|
+
|
967
|
+
def initialize(idset=nil, name=nil, offset=nil, limit=nil)
|
968
|
+
@IdSet = idset
|
969
|
+
@Name = name
|
970
|
+
@Offset = offset
|
971
|
+
@Limit = limit
|
972
|
+
end
|
973
|
+
|
974
|
+
def deserialize(params)
|
975
|
+
@IdSet = params['IdSet']
|
976
|
+
@Name = params['Name']
|
977
|
+
@Offset = params['Offset']
|
978
|
+
@Limit = params['Limit']
|
979
|
+
end
|
980
|
+
end
|
981
|
+
|
982
|
+
# DescribeDeviceGroups返回参数结构体
|
983
|
+
class DescribeDeviceGroupsResponse < TencentCloud::Common::AbstractModel
|
984
|
+
# @param TotalCount: 资产组总数
|
985
|
+
# @type TotalCount: Integer
|
986
|
+
# @param GroupSet: 资产组列表
|
987
|
+
# @type GroupSet: Array
|
988
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
989
|
+
# @type RequestId: String
|
990
|
+
|
991
|
+
attr_accessor :TotalCount, :GroupSet, :RequestId
|
992
|
+
|
993
|
+
def initialize(totalcount=nil, groupset=nil, requestid=nil)
|
994
|
+
@TotalCount = totalcount
|
995
|
+
@GroupSet = groupset
|
996
|
+
@RequestId = requestid
|
997
|
+
end
|
998
|
+
|
999
|
+
def deserialize(params)
|
1000
|
+
@TotalCount = params['TotalCount']
|
1001
|
+
unless params['GroupSet'].nil?
|
1002
|
+
@GroupSet = []
|
1003
|
+
params['GroupSet'].each do |i|
|
1004
|
+
group_tmp = Group.new
|
1005
|
+
group_tmp.deserialize(i)
|
1006
|
+
@GroupSet << group_tmp
|
1007
|
+
end
|
1008
|
+
end
|
1009
|
+
@RequestId = params['RequestId']
|
1010
|
+
end
|
1011
|
+
end
|
1012
|
+
|
565
1013
|
# DescribeDevices请求参数结构体
|
566
1014
|
class DescribeDevicesRequest < TencentCloud::Common::AbstractModel
|
567
|
-
# @param IdSet:
|
1015
|
+
# @param IdSet: 资产ID集合
|
568
1016
|
# @type IdSet: Array
|
569
|
-
# @param Name:
|
1017
|
+
# @param Name: 资产名或资产IP,模糊查询
|
570
1018
|
# @type Name: String
|
571
1019
|
# @param Ip: 暂未使用
|
572
1020
|
# @type Ip: String
|
573
1021
|
# @param ApCodeSet: 地域码集合
|
574
1022
|
# @type ApCodeSet: Array
|
575
|
-
# @param Kind:
|
1023
|
+
# @param Kind: 操作系统类型, 1 - Linux, 2 - Windows, 3 - MySQL, 4 - SQLServer
|
576
1024
|
# @type Kind: Integer
|
577
1025
|
# @param Offset: 分页,偏移位置
|
578
1026
|
# @type Offset: Integer
|
579
1027
|
# @param Limit: 每页条目数量,默认20
|
580
1028
|
# @type Limit: Integer
|
581
|
-
# @param AuthorizedUserIdSet:
|
1029
|
+
# @param AuthorizedUserIdSet: 有该资产访问权限的用户ID集合
|
582
1030
|
# @type AuthorizedUserIdSet: Array
|
583
|
-
# @param ResourceIdSet:
|
1031
|
+
# @param ResourceIdSet: 过滤条件,资产绑定的堡垒机服务ID集合
|
584
1032
|
# @type ResourceIdSet: Array
|
585
|
-
# @param KindSet: 可提供按照多种类型过滤, 1-Linux, 2-Windows, 3-MySQL
|
1033
|
+
# @param KindSet: 可提供按照多种类型过滤, 1 - Linux, 2 - Windows, 3 - MySQL, 4 - SQLServer
|
586
1034
|
# @type KindSet: Array
|
587
1035
|
|
588
1036
|
attr_accessor :IdSet, :Name, :Ip, :ApCodeSet, :Kind, :Offset, :Limit, :AuthorizedUserIdSet, :ResourceIdSet, :KindSet
|
@@ -616,9 +1064,9 @@ module TencentCloud
|
|
616
1064
|
|
617
1065
|
# DescribeDevices返回参数结构体
|
618
1066
|
class DescribeDevicesResponse < TencentCloud::Common::AbstractModel
|
619
|
-
# @param TotalCount:
|
1067
|
+
# @param TotalCount: 资产总数
|
620
1068
|
# @type TotalCount: Integer
|
621
|
-
# @param DeviceSet:
|
1069
|
+
# @param DeviceSet: 资产信息列表
|
622
1070
|
# @type DeviceSet: Array
|
623
1071
|
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
624
1072
|
# @type RequestId: String
|
@@ -645,6 +1093,179 @@ module TencentCloud
|
|
645
1093
|
end
|
646
1094
|
end
|
647
1095
|
|
1096
|
+
# DescribeResources请求参数结构体
|
1097
|
+
class DescribeResourcesRequest < TencentCloud::Common::AbstractModel
|
1098
|
+
# @param ApCode: 地域码, 如: ap-guangzhou
|
1099
|
+
# @type ApCode: String
|
1100
|
+
# @param VpcId: 按照堡垒机开通的 VPC 实例ID查询
|
1101
|
+
# @type VpcId: String
|
1102
|
+
# @param ResourceIds: 资源ID集合,当传入ID集合时忽略 ApCode 和 VpcId
|
1103
|
+
# @type ResourceIds: Array
|
1104
|
+
|
1105
|
+
attr_accessor :ApCode, :VpcId, :ResourceIds
|
1106
|
+
|
1107
|
+
def initialize(apcode=nil, vpcid=nil, resourceids=nil)
|
1108
|
+
@ApCode = apcode
|
1109
|
+
@VpcId = vpcid
|
1110
|
+
@ResourceIds = resourceids
|
1111
|
+
end
|
1112
|
+
|
1113
|
+
def deserialize(params)
|
1114
|
+
@ApCode = params['ApCode']
|
1115
|
+
@VpcId = params['VpcId']
|
1116
|
+
@ResourceIds = params['ResourceIds']
|
1117
|
+
end
|
1118
|
+
end
|
1119
|
+
|
1120
|
+
# DescribeResources返回参数结构体
|
1121
|
+
class DescribeResourcesResponse < TencentCloud::Common::AbstractModel
|
1122
|
+
# @param ResourceSet: 堡垒机资源列表
|
1123
|
+
# @type ResourceSet: Array
|
1124
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1125
|
+
# @type RequestId: String
|
1126
|
+
|
1127
|
+
attr_accessor :ResourceSet, :RequestId
|
1128
|
+
|
1129
|
+
def initialize(resourceset=nil, requestid=nil)
|
1130
|
+
@ResourceSet = resourceset
|
1131
|
+
@RequestId = requestid
|
1132
|
+
end
|
1133
|
+
|
1134
|
+
def deserialize(params)
|
1135
|
+
unless params['ResourceSet'].nil?
|
1136
|
+
@ResourceSet = []
|
1137
|
+
params['ResourceSet'].each do |i|
|
1138
|
+
resource_tmp = Resource.new
|
1139
|
+
resource_tmp.deserialize(i)
|
1140
|
+
@ResourceSet << resource_tmp
|
1141
|
+
end
|
1142
|
+
end
|
1143
|
+
@RequestId = params['RequestId']
|
1144
|
+
end
|
1145
|
+
end
|
1146
|
+
|
1147
|
+
# DescribeUserGroupMembers请求参数结构体
|
1148
|
+
class DescribeUserGroupMembersRequest < TencentCloud::Common::AbstractModel
|
1149
|
+
# @param Id: 用户组ID
|
1150
|
+
# @type Id: Integer
|
1151
|
+
# @param Bound: true - 查询已添加到该用户组的用户,false - 查询未添加到该用户组的用户
|
1152
|
+
# @type Bound: Boolean
|
1153
|
+
# @param Name: 用户名或用户姓名,最长64个字符,模糊查询
|
1154
|
+
# @type Name: String
|
1155
|
+
# @param Offset: 分页偏移位置
|
1156
|
+
# @type Offset: Integer
|
1157
|
+
# @param Limit: 每页条目数量,默认20, 最大500
|
1158
|
+
# @type Limit: Integer
|
1159
|
+
|
1160
|
+
attr_accessor :Id, :Bound, :Name, :Offset, :Limit
|
1161
|
+
|
1162
|
+
def initialize(id=nil, bound=nil, name=nil, offset=nil, limit=nil)
|
1163
|
+
@Id = id
|
1164
|
+
@Bound = bound
|
1165
|
+
@Name = name
|
1166
|
+
@Offset = offset
|
1167
|
+
@Limit = limit
|
1168
|
+
end
|
1169
|
+
|
1170
|
+
def deserialize(params)
|
1171
|
+
@Id = params['Id']
|
1172
|
+
@Bound = params['Bound']
|
1173
|
+
@Name = params['Name']
|
1174
|
+
@Offset = params['Offset']
|
1175
|
+
@Limit = params['Limit']
|
1176
|
+
end
|
1177
|
+
end
|
1178
|
+
|
1179
|
+
# DescribeUserGroupMembers返回参数结构体
|
1180
|
+
class DescribeUserGroupMembersResponse < TencentCloud::Common::AbstractModel
|
1181
|
+
# @param TotalCount: 用户组成员总数
|
1182
|
+
# @type TotalCount: Integer
|
1183
|
+
# @param UserSet: 用户组成员列表
|
1184
|
+
# @type UserSet: Array
|
1185
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1186
|
+
# @type RequestId: String
|
1187
|
+
|
1188
|
+
attr_accessor :TotalCount, :UserSet, :RequestId
|
1189
|
+
|
1190
|
+
def initialize(totalcount=nil, userset=nil, requestid=nil)
|
1191
|
+
@TotalCount = totalcount
|
1192
|
+
@UserSet = userset
|
1193
|
+
@RequestId = requestid
|
1194
|
+
end
|
1195
|
+
|
1196
|
+
def deserialize(params)
|
1197
|
+
@TotalCount = params['TotalCount']
|
1198
|
+
unless params['UserSet'].nil?
|
1199
|
+
@UserSet = []
|
1200
|
+
params['UserSet'].each do |i|
|
1201
|
+
user_tmp = User.new
|
1202
|
+
user_tmp.deserialize(i)
|
1203
|
+
@UserSet << user_tmp
|
1204
|
+
end
|
1205
|
+
end
|
1206
|
+
@RequestId = params['RequestId']
|
1207
|
+
end
|
1208
|
+
end
|
1209
|
+
|
1210
|
+
# DescribeUserGroups请求参数结构体
|
1211
|
+
class DescribeUserGroupsRequest < TencentCloud::Common::AbstractModel
|
1212
|
+
# @param IdSet: 用户组ID集合
|
1213
|
+
# @type IdSet: Array
|
1214
|
+
# @param Name: 用户组名,模糊查询,长度:0-64字符
|
1215
|
+
# @type Name: String
|
1216
|
+
# @param Offset: 分页偏移位置
|
1217
|
+
# @type Offset: Integer
|
1218
|
+
# @param Limit: 每页条目数量,缺省20,最大500
|
1219
|
+
# @type Limit: Integer
|
1220
|
+
|
1221
|
+
attr_accessor :IdSet, :Name, :Offset, :Limit
|
1222
|
+
|
1223
|
+
def initialize(idset=nil, name=nil, offset=nil, limit=nil)
|
1224
|
+
@IdSet = idset
|
1225
|
+
@Name = name
|
1226
|
+
@Offset = offset
|
1227
|
+
@Limit = limit
|
1228
|
+
end
|
1229
|
+
|
1230
|
+
def deserialize(params)
|
1231
|
+
@IdSet = params['IdSet']
|
1232
|
+
@Name = params['Name']
|
1233
|
+
@Offset = params['Offset']
|
1234
|
+
@Limit = params['Limit']
|
1235
|
+
end
|
1236
|
+
end
|
1237
|
+
|
1238
|
+
# DescribeUserGroups返回参数结构体
|
1239
|
+
class DescribeUserGroupsResponse < TencentCloud::Common::AbstractModel
|
1240
|
+
# @param TotalCount: 用户组总数
|
1241
|
+
# @type TotalCount: Integer
|
1242
|
+
# @param GroupSet: 用户组列表
|
1243
|
+
# @type GroupSet: Array
|
1244
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1245
|
+
# @type RequestId: String
|
1246
|
+
|
1247
|
+
attr_accessor :TotalCount, :GroupSet, :RequestId
|
1248
|
+
|
1249
|
+
def initialize(totalcount=nil, groupset=nil, requestid=nil)
|
1250
|
+
@TotalCount = totalcount
|
1251
|
+
@GroupSet = groupset
|
1252
|
+
@RequestId = requestid
|
1253
|
+
end
|
1254
|
+
|
1255
|
+
def deserialize(params)
|
1256
|
+
@TotalCount = params['TotalCount']
|
1257
|
+
unless params['GroupSet'].nil?
|
1258
|
+
@GroupSet = []
|
1259
|
+
params['GroupSet'].each do |i|
|
1260
|
+
group_tmp = Group.new
|
1261
|
+
group_tmp.deserialize(i)
|
1262
|
+
@GroupSet << group_tmp
|
1263
|
+
end
|
1264
|
+
end
|
1265
|
+
@RequestId = params['RequestId']
|
1266
|
+
end
|
1267
|
+
end
|
1268
|
+
|
648
1269
|
# DescribeUsers请求参数结构体
|
649
1270
|
class DescribeUsersRequest < TencentCloud::Common::AbstractModel
|
650
1271
|
# @param IdSet: 如果IdSet不为空,则忽略其他参数
|
@@ -653,15 +1274,16 @@ module TencentCloud
|
|
653
1274
|
# @type Name: String
|
654
1275
|
# @param Offset: 分页,偏移位置
|
655
1276
|
# @type Offset: Integer
|
656
|
-
# @param Limit: 每页条目数量,默认20
|
1277
|
+
# @param Limit: 每页条目数量,默认20, 最大500
|
657
1278
|
# @type Limit: Integer
|
658
1279
|
# @param UserName: 精确查询,IdSet为空时才生效
|
659
1280
|
# @type UserName: String
|
660
|
-
# @param Phone: 精确查询,IdSet、UserName
|
1281
|
+
# @param Phone: 精确查询,IdSet、UserName为空时才生效。
|
1282
|
+
# 大陆手机号直接填写,如果是其他国家、地区号码,按照"国家地区代码|手机号"的格式输入。如: "+852|xxxxxxxx"
|
661
1283
|
# @type Phone: String
|
662
|
-
# @param AuthorizedDeviceIdSet:
|
1284
|
+
# @param AuthorizedDeviceIdSet: 查询具有指定资产ID访问权限的用户
|
663
1285
|
# @type AuthorizedDeviceIdSet: Array
|
664
|
-
# @param AuthTypeSet: 认证方式,0
|
1286
|
+
# @param AuthTypeSet: 认证方式,0 - 本地, 1 - LDAP, 2 - OAuth, 不传为全部
|
665
1287
|
# @type AuthTypeSet: Array
|
666
1288
|
|
667
1289
|
attr_accessor :IdSet, :Name, :Offset, :Limit, :UserName, :Phone, :AuthorizedDeviceIdSet, :AuthTypeSet
|
@@ -691,9 +1313,9 @@ module TencentCloud
|
|
691
1313
|
|
692
1314
|
# DescribeUsers返回参数结构体
|
693
1315
|
class DescribeUsersResponse < TencentCloud::Common::AbstractModel
|
694
|
-
# @param TotalCount:
|
1316
|
+
# @param TotalCount: 用户总数
|
695
1317
|
# @type TotalCount: Integer
|
696
|
-
# @param UserSet:
|
1318
|
+
# @param UserSet: 用户列表
|
697
1319
|
# @type UserSet: Array
|
698
1320
|
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
699
1321
|
# @type RequestId: String
|
@@ -720,13 +1342,13 @@ module TencentCloud
|
|
720
1342
|
end
|
721
1343
|
end
|
722
1344
|
|
723
|
-
#
|
1345
|
+
# 资产信息
|
724
1346
|
class Device < TencentCloud::Common::AbstractModel
|
725
|
-
# @param Id:
|
1347
|
+
# @param Id: 资产ID
|
726
1348
|
# @type Id: Integer
|
727
|
-
# @param InstanceId:
|
1349
|
+
# @param InstanceId: 实例ID,对应CVM、CDB等实例ID
|
728
1350
|
# @type InstanceId: String
|
729
|
-
# @param Name:
|
1351
|
+
# @param Name: 资产名
|
730
1352
|
# @type Name: String
|
731
1353
|
# @param PublicIp: 公网IP
|
732
1354
|
# @type PublicIp: String
|
@@ -736,13 +1358,13 @@ module TencentCloud
|
|
736
1358
|
# @type ApCode: String
|
737
1359
|
# @param OsName: 操作系统名称
|
738
1360
|
# @type OsName: String
|
739
|
-
# @param Kind:
|
1361
|
+
# @param Kind: 资产类型 1 - Linux, 2 - Windows, 3 - MySQL, 4 - SQLServer
|
740
1362
|
# @type Kind: Integer
|
741
1363
|
# @param Port: 管理端口
|
742
1364
|
# @type Port: Integer
|
743
|
-
# @param GroupSet:
|
1365
|
+
# @param GroupSet: 所属资产组列表
|
744
1366
|
# @type GroupSet: Array
|
745
|
-
# @param AccountCount:
|
1367
|
+
# @param AccountCount: 资产绑定的账号数
|
746
1368
|
# @type AccountCount: Integer
|
747
1369
|
# @param VpcId: VPC ID
|
748
1370
|
# @type VpcId: String
|
@@ -821,11 +1443,11 @@ module TencentCloud
|
|
821
1443
|
|
822
1444
|
# ModifyAcl请求参数结构体
|
823
1445
|
class ModifyAclRequest < TencentCloud::Common::AbstractModel
|
824
|
-
# @param Name:
|
1446
|
+
# @param Name: 访问权限名称,最大32字符,不能包含空白字符
|
825
1447
|
# @type Name: String
|
826
1448
|
# @param AllowDiskRedirect: 是否开启磁盘映射
|
827
1449
|
# @type AllowDiskRedirect: Boolean
|
828
|
-
# @param AllowAnyAccount:
|
1450
|
+
# @param AllowAnyAccount: 是否允许任意账号登录
|
829
1451
|
# @type AllowAnyAccount: Boolean
|
830
1452
|
# @param Id: 访问权限ID
|
831
1453
|
# @type Id: Integer
|
@@ -833,43 +1455,45 @@ module TencentCloud
|
|
833
1455
|
# @type AllowClipFileUp: Boolean
|
834
1456
|
# @param AllowClipFileDown: 是否开启剪贴板文件下行
|
835
1457
|
# @type AllowClipFileDown: Boolean
|
836
|
-
# @param AllowClipTextUp:
|
1458
|
+
# @param AllowClipTextUp: 是否开启剪贴板文本(含图片)上行
|
837
1459
|
# @type AllowClipTextUp: Boolean
|
838
|
-
# @param AllowClipTextDown:
|
1460
|
+
# @param AllowClipTextDown: 是否开启剪贴板文本(含图片)下行
|
839
1461
|
# @type AllowClipTextDown: Boolean
|
840
1462
|
# @param AllowFileUp: 是否开启文件传输上传
|
841
1463
|
# @type AllowFileUp: Boolean
|
842
|
-
# @param MaxFileUpSize:
|
1464
|
+
# @param MaxFileUpSize: 文件传输上传大小限制(预留参数,目前暂未使用)
|
843
1465
|
# @type MaxFileUpSize: Integer
|
844
1466
|
# @param AllowFileDown: 是否开启文件传输下载
|
845
1467
|
# @type AllowFileDown: Boolean
|
846
|
-
# @param MaxFileDownSize:
|
1468
|
+
# @param MaxFileDownSize: 文件传输下载大小限制(预留参数,目前暂未使用)
|
847
1469
|
# @type MaxFileDownSize: Integer
|
848
1470
|
# @param UserIdSet: 关联的用户ID
|
849
1471
|
# @type UserIdSet: Array
|
850
1472
|
# @param UserGroupIdSet: 关联的用户组ID
|
851
1473
|
# @type UserGroupIdSet: Array
|
852
|
-
# @param DeviceIdSet:
|
1474
|
+
# @param DeviceIdSet: 关联的资产ID
|
853
1475
|
# @type DeviceIdSet: Array
|
854
|
-
# @param DeviceGroupIdSet:
|
1476
|
+
# @param DeviceGroupIdSet: 关联的资产组ID
|
855
1477
|
# @type DeviceGroupIdSet: Array
|
856
|
-
# @param AccountSet:
|
1478
|
+
# @param AccountSet: 关联的账号
|
857
1479
|
# @type AccountSet: Array
|
858
1480
|
# @param CmdTemplateIdSet: 关联的高危命令模板ID
|
859
1481
|
# @type CmdTemplateIdSet: Array
|
860
|
-
# @param AllowDiskFileUp: 是否开启
|
1482
|
+
# @param AllowDiskFileUp: 是否开启 RDP 磁盘映射文件上传
|
861
1483
|
# @type AllowDiskFileUp: Boolean
|
862
|
-
# @param AllowDiskFileDown: 是否开启
|
1484
|
+
# @param AllowDiskFileDown: 是否开启 RDP 磁盘映射文件下载
|
863
1485
|
# @type AllowDiskFileDown: Boolean
|
864
1486
|
# @param AllowShellFileUp: 是否开启rz sz文件上传
|
865
1487
|
# @type AllowShellFileUp: Boolean
|
866
1488
|
# @param AllowShellFileDown: 是否开启rz sz文件下载
|
867
1489
|
# @type AllowShellFileDown: Boolean
|
868
|
-
# @param AllowFileDel: 是否开启SFTP文件删除
|
1490
|
+
# @param AllowFileDel: 是否开启 SFTP 文件删除
|
869
1491
|
# @type AllowFileDel: Boolean
|
870
|
-
# @param ValidateFrom:
|
1492
|
+
# @param ValidateFrom: 访问权限生效时间,如:"2021-09-22T00:00:00+00:00"
|
1493
|
+
# 生效、失效时间不填则访问权限长期有效
|
871
1494
|
# @type ValidateFrom: String
|
872
|
-
# @param ValidateTo:
|
1495
|
+
# @param ValidateTo: 访问权限失效时间,如:"2021-09-23T00:00:00+00:00"
|
1496
|
+
# 生效、失效时间不填则访问权限长期有效
|
873
1497
|
# @type ValidateTo: String
|
874
1498
|
|
875
1499
|
attr_accessor :Name, :AllowDiskRedirect, :AllowAnyAccount, :Id, :AllowClipFileUp, :AllowClipFileDown, :AllowClipTextUp, :AllowClipTextDown, :AllowFileUp, :MaxFileUpSize, :AllowFileDown, :MaxFileDownSize, :UserIdSet, :UserGroupIdSet, :DeviceIdSet, :DeviceGroupIdSet, :AccountSet, :CmdTemplateIdSet, :AllowDiskFileUp, :AllowDiskFileDown, :AllowShellFileUp, :AllowShellFileDown, :AllowFileDel, :ValidateFrom, :ValidateTo
|
@@ -951,21 +1575,23 @@ module TencentCloud
|
|
951
1575
|
class ModifyUserRequest < TencentCloud::Common::AbstractModel
|
952
1576
|
# @param Id: 用户ID
|
953
1577
|
# @type Id: Integer
|
954
|
-
# @param RealName: 用户姓名,最大长度
|
1578
|
+
# @param RealName: 用户姓名,最大长度20个字符,不能包含空格
|
955
1579
|
# @type RealName: String
|
956
|
-
# @param Phone:
|
1580
|
+
# @param Phone: 大陆手机号直接填写,如果是其他国家、地区号码,按照"国家地区代码|手机号"的格式输入。如: "+852|xxxxxxxx"
|
957
1581
|
# @type Phone: String
|
958
1582
|
# @param Email: 电子邮件
|
959
1583
|
# @type Email: String
|
960
|
-
# @param ValidateFrom:
|
1584
|
+
# @param ValidateFrom: 用户生效时间,如:"2021-09-22T00:00:00+00:00"
|
1585
|
+
# 生效、失效时间不填则用户长期有效
|
961
1586
|
# @type ValidateFrom: String
|
962
|
-
# @param ValidateTo:
|
1587
|
+
# @param ValidateTo: 用户失效时间,如:"2021-09-23T00:00:00+00:00"
|
1588
|
+
# 生效、失效时间不填则用户长期有效
|
963
1589
|
# @type ValidateTo: String
|
964
1590
|
# @param GroupIdSet: 所属用户组ID集合
|
965
1591
|
# @type GroupIdSet: Array
|
966
|
-
# @param AuthType: 认证方式,0
|
1592
|
+
# @param AuthType: 认证方式,0 - 本地,1 - LDAP,2 - OAuth 不传则默认为0
|
967
1593
|
# @type AuthType: Integer
|
968
|
-
# @param ValidateTime:
|
1594
|
+
# @param ValidateTime: 访问时间段限制, 由0、1组成的字符串,长度168(7 × 24),代表该用户在一周中允许访问的时间段。字符串中第N个字符代表在一周中的第N个小时, 0 - 代表不允许访问,1 - 代表允许访问
|
969
1595
|
# @type ValidateTime: String
|
970
1596
|
|
971
1597
|
attr_accessor :Id, :RealName, :Phone, :Email, :ValidateFrom, :ValidateTo, :GroupIdSet, :AuthType, :ValidateTime
|
@@ -1011,25 +1637,25 @@ module TencentCloud
|
|
1011
1637
|
end
|
1012
1638
|
end
|
1013
1639
|
|
1014
|
-
#
|
1640
|
+
# 堡垒机服务信息
|
1015
1641
|
class Resource < TencentCloud::Common::AbstractModel
|
1016
|
-
# @param ResourceId:
|
1642
|
+
# @param ResourceId: 服务实例ID,如bh-saas-s3ed4r5e
|
1017
1643
|
# @type ResourceId: String
|
1018
1644
|
# @param ApCode: 地域编码
|
1019
1645
|
# @type ApCode: String
|
1020
|
-
# @param SvArgs:
|
1646
|
+
# @param SvArgs: 服务实例规格信息
|
1021
1647
|
# @type SvArgs: String
|
1022
|
-
# @param VpcId:
|
1648
|
+
# @param VpcId: VPC ID
|
1023
1649
|
# @type VpcId: String
|
1024
|
-
# @param Nodes:
|
1650
|
+
# @param Nodes: 服务规格对应的资产数
|
1025
1651
|
# @type Nodes: Integer
|
1026
|
-
# @param RenewFlag: 自动续费标记,0表示默认状态,1表示自动续费,2表示明确不自动续费
|
1652
|
+
# @param RenewFlag: 自动续费标记,0 - 表示默认状态,1 - 表示自动续费,2 - 表示明确不自动续费
|
1027
1653
|
# @type RenewFlag: Integer
|
1028
1654
|
# @param ExpireTime: 过期时间
|
1029
1655
|
# @type ExpireTime: String
|
1030
|
-
# @param Status: 资源状态,0未初始化,1正常,2隔离,3销毁,4初始化失败,5初始化中
|
1656
|
+
# @param Status: 资源状态,0 - 未初始化,1 - 正常,2 - 隔离,3 - 销毁,4 - 初始化失败,5 - 初始化中
|
1031
1657
|
# @type Status: Integer
|
1032
|
-
# @param ResourceName:
|
1658
|
+
# @param ResourceName: 服务实例名,如T-Sec-堡垒机(SaaS型)
|
1033
1659
|
# @type ResourceName: String
|
1034
1660
|
# @param Pid: 定价模型ID
|
1035
1661
|
# @type Pid: Integer
|
@@ -1045,9 +1671,9 @@ module TencentCloud
|
|
1045
1671
|
# @type Expired: Boolean
|
1046
1672
|
# @param Deployed: 是否开通,true-开通,false-未开通
|
1047
1673
|
# @type Deployed: Boolean
|
1048
|
-
# @param VpcName: 开通服务的VPC名称
|
1674
|
+
# @param VpcName: 开通服务的 VPC 名称
|
1049
1675
|
# @type VpcName: String
|
1050
|
-
# @param VpcCidrBlock: 开通服务的VPC对应的网段
|
1676
|
+
# @param VpcCidrBlock: 开通服务的 VPC 对应的网段
|
1051
1677
|
# @type VpcCidrBlock: String
|
1052
1678
|
# @param SubnetId: 开通服务的子网ID
|
1053
1679
|
# @type SubnetId: String
|
@@ -1059,7 +1685,7 @@ module TencentCloud
|
|
1059
1685
|
# @type PublicIpSet: Array
|
1060
1686
|
# @param PrivateIpSet: 内部IP
|
1061
1687
|
# @type PrivateIpSet: Array
|
1062
|
-
# @param ModuleSet:
|
1688
|
+
# @param ModuleSet: 服务开通的高级功能列表,如:[DB]
|
1063
1689
|
# @type ModuleSet: Array
|
1064
1690
|
# @param UsedNodes: 已使用的授权点数
|
1065
1691
|
# @type UsedNodes: Integer
|
@@ -1137,25 +1763,27 @@ module TencentCloud
|
|
1137
1763
|
|
1138
1764
|
# 用户信息
|
1139
1765
|
class User < TencentCloud::Common::AbstractModel
|
1140
|
-
# @param UserName:
|
1766
|
+
# @param UserName: 用户名, 3-20个字符 必须以英文字母开头,且不能包含字母、数字、.、_、-以外的字符
|
1141
1767
|
# @type UserName: String
|
1142
|
-
# @param RealName:
|
1768
|
+
# @param RealName: 用户姓名, 最大20个字符,不能包含空白字符
|
1143
1769
|
# @type RealName: String
|
1144
|
-
# @param Phone:
|
1770
|
+
# @param Phone: 手机号码, 大陆手机号直接填写,如果是其他国家、地区号码,按照"国家地区代码|手机号"的格式输入。如: "+852|xxxxxxxx"
|
1145
1771
|
# @type Phone: String
|
1146
1772
|
# @param Id: 用户ID
|
1147
1773
|
# @type Id: Integer
|
1148
1774
|
# @param Email: 电子邮件
|
1149
1775
|
# @type Email: String
|
1150
|
-
# @param ValidateFrom:
|
1776
|
+
# @param ValidateFrom: 用户生效时间,如:"2021-09-22T00:00:00+00:00"
|
1777
|
+
# 生效、失效时间不填则用户长期有效
|
1151
1778
|
# @type ValidateFrom: String
|
1152
|
-
# @param ValidateTo:
|
1779
|
+
# @param ValidateTo: 用户失效时间,如:"2021-09-22T00:00:00+00:00"
|
1780
|
+
# 生效、失效时间不填则用户长期有效
|
1153
1781
|
# @type ValidateTo: String
|
1154
1782
|
# @param GroupSet: 所属用户组列表
|
1155
1783
|
# @type GroupSet: Array
|
1156
|
-
# @param AuthType: 认证方式,0
|
1784
|
+
# @param AuthType: 认证方式,0 - 本地,1 - LDAP,2 - OAuth
|
1157
1785
|
# @type AuthType: Integer
|
1158
|
-
# @param ValidateTime:
|
1786
|
+
# @param ValidateTime: 访问时间段限制, 由0、1组成的字符串,长度168(7 × 24),代表该用户在一周中允许访问的时间段。字符串中第N个字符代表在一周中的第N个小时, 0 - 代表不允许访问,1 - 代表允许访问
|
1159
1787
|
# @type ValidateTime: String
|
1160
1788
|
|
1161
1789
|
attr_accessor :UserName, :RealName, :Phone, :Id, :Email, :ValidateFrom, :ValidateTo, :GroupSet, :AuthType, :ValidateTime
|