tencentcloud-sdk-bh 3.0.994 → 3.0.995

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/VERSION +1 -1
  3. data/lib/v20230418/models.rb +259 -16
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6b47ddb20fde0aeba67dda74ef60fc3ad309e7dd
4
- data.tar.gz: 23a0b77fc3b589c989a6d63f7f9717d77cdf3ad9
3
+ metadata.gz: 931c45995e6c4bb3dfd01effa06f391aeb226a8b
4
+ data.tar.gz: fedca227c97ed350851d8a606e0c17625327bce0
5
5
  SHA512:
6
- metadata.gz: ab63a2f413ff8d15137cc31cb9d3a13712e8584909707eef9651db3ad08bbccc6c7369ee5ca578ee8507dac0e0fedc771b683d3c40d2f90385612932635a74ab
7
- data.tar.gz: dd598198f3fd0bac83e032a2c2a78a17185198fd1f16bf5f9fae9da52694efce7aa19a7ad1f033e6ccbda6dc26ba9497d39dad624fb00547e7bf9df546c84891
6
+ metadata.gz: 565d95dea48ff904fadb5b258b9eb53046629a0a54ccdfe58892da0cee426bfbb7c86adbbcf4d5072768177fee906080ce5f670f0b59c78d68a9912b748dddd8
7
+ data.tar.gz: 3dbe5de96610629e42cb77a923b0a92b1bdfcee3575f46caacf077ead23e95f4800db662408eb5a4cb2f315c744a6aff016e2a20b92132067ad95c00078bc757
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.994
1
+ 3.0.995
@@ -107,10 +107,12 @@ module TencentCloud
107
107
  # @type WhiteCmds: Array
108
108
  # @param AllowKeyboardLogger: 是否允许记录键盘
109
109
  # @type AllowKeyboardLogger: Boolean
110
+ # @param AppAssetSet: 关联的应用资产列表
111
+ # @type AppAssetSet: Array
110
112
 
111
- 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, :Department, :AllowAccessCredential, :ACTemplateSet, :WhiteCmds, :AllowKeyboardLogger
113
+ 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, :Department, :AllowAccessCredential, :ACTemplateSet, :WhiteCmds, :AllowKeyboardLogger, :AppAssetSet
112
114
 
113
- def initialize(id=nil, name=nil, allowdiskredirect=nil, allowclipfileup=nil, allowclipfiledown=nil, allowcliptextup=nil, allowcliptextdown=nil, allowfileup=nil, maxfileupsize=nil, allowfiledown=nil, maxfiledownsize=nil, allowanyaccount=nil, userset=nil, usergroupset=nil, deviceset=nil, devicegroupset=nil, accountset=nil, cmdtemplateset=nil, allowdiskfileup=nil, allowdiskfiledown=nil, allowshellfileup=nil, allowshellfiledown=nil, allowfiledel=nil, validatefrom=nil, validateto=nil, status=nil, department=nil, allowaccesscredential=nil, actemplateset=nil, whitecmds=nil, allowkeyboardlogger=nil)
115
+ def initialize(id=nil, name=nil, allowdiskredirect=nil, allowclipfileup=nil, allowclipfiledown=nil, allowcliptextup=nil, allowcliptextdown=nil, allowfileup=nil, maxfileupsize=nil, allowfiledown=nil, maxfiledownsize=nil, allowanyaccount=nil, userset=nil, usergroupset=nil, deviceset=nil, devicegroupset=nil, accountset=nil, cmdtemplateset=nil, allowdiskfileup=nil, allowdiskfiledown=nil, allowshellfileup=nil, allowshellfiledown=nil, allowfiledel=nil, validatefrom=nil, validateto=nil, status=nil, department=nil, allowaccesscredential=nil, actemplateset=nil, whitecmds=nil, allowkeyboardlogger=nil, appassetset=nil)
114
116
  @Id = id
115
117
  @Name = name
116
118
  @AllowDiskRedirect = allowdiskredirect
@@ -142,6 +144,7 @@ module TencentCloud
142
144
  @ACTemplateSet = actemplateset
143
145
  @WhiteCmds = whitecmds
144
146
  @AllowKeyboardLogger = allowkeyboardlogger
147
+ @AppAssetSet = appassetset
145
148
  end
146
149
 
147
150
  def deserialize(params)
@@ -221,6 +224,14 @@ module TencentCloud
221
224
  end
222
225
  @WhiteCmds = params['WhiteCmds']
223
226
  @AllowKeyboardLogger = params['AllowKeyboardLogger']
227
+ unless params['AppAssetSet'].nil?
228
+ @AppAssetSet = []
229
+ params['AppAssetSet'].each do |i|
230
+ appasset_tmp = AppAsset.new
231
+ appasset_tmp.deserialize(i)
232
+ @AppAssetSet << appasset_tmp
233
+ end
234
+ end
224
235
  end
225
236
  end
226
237
 
@@ -296,6 +307,107 @@ module TencentCloud
296
307
  end
297
308
  end
298
309
 
310
+ # 应用资产信息
311
+ class AppAsset < TencentCloud::Common::AbstractModel
312
+ # @param Id: 应用资产id
313
+ # @type Id: Integer
314
+ # @param InstanceId: 实例id
315
+ # @type InstanceId: String
316
+ # @param Name: 资产名称
317
+ # @type Name: String
318
+ # @param DeviceId: 应用服务器id
319
+ # @type DeviceId: Integer
320
+ # @param DeviceAccountId: 应用服务器账号id
321
+ # @type DeviceAccountId: Integer
322
+ # @param Kind: 应用资产类型。1-web应用
323
+ # @type Kind: Integer
324
+ # @param ClientAppPath: 客户端工具路径
325
+ # @type ClientAppPath: String
326
+ # @param ClientAppKind: 客户端工具类型
327
+ # @type ClientAppKind: String
328
+ # @param Url: 应用资产url
329
+ # @type Url: String
330
+ # @param BindStatus: 托管状态。0-未托管,1-已托管
331
+ # @type BindStatus: Integer
332
+ # @param DeviceInstanceId: 应用服务器实例id
333
+ # @type DeviceInstanceId: String
334
+ # @param DeviceName: 应用服务器名称
335
+ # @type DeviceName: String
336
+ # @param DeviceAccountName: 应用服务器账号名称
337
+ # @type DeviceAccountName: String
338
+ # @param ResourceId: 堡垒机实例id
339
+ # @type ResourceId: String
340
+ # @param Resource: 堡垒机实例信息
341
+ # @type Resource: :class:`Tencentcloud::Bh.v20230418.models.Resource`
342
+ # @param DomainId: 网络域id
343
+ # @type DomainId: String
344
+ # @param DomainName: 网络域名称
345
+ # @type DomainName: String
346
+ # @param GroupSet: 资产组信息
347
+ # @type GroupSet: Array
348
+ # @param Department: 资产所属部门
349
+ # @type Department: :class:`Tencentcloud::Bh.v20230418.models.Department`
350
+
351
+ attr_accessor :Id, :InstanceId, :Name, :DeviceId, :DeviceAccountId, :Kind, :ClientAppPath, :ClientAppKind, :Url, :BindStatus, :DeviceInstanceId, :DeviceName, :DeviceAccountName, :ResourceId, :Resource, :DomainId, :DomainName, :GroupSet, :Department
352
+
353
+ def initialize(id=nil, instanceid=nil, name=nil, deviceid=nil, deviceaccountid=nil, kind=nil, clientapppath=nil, clientappkind=nil, url=nil, bindstatus=nil, deviceinstanceid=nil, devicename=nil, deviceaccountname=nil, resourceid=nil, resource=nil, domainid=nil, domainname=nil, groupset=nil, department=nil)
354
+ @Id = id
355
+ @InstanceId = instanceid
356
+ @Name = name
357
+ @DeviceId = deviceid
358
+ @DeviceAccountId = deviceaccountid
359
+ @Kind = kind
360
+ @ClientAppPath = clientapppath
361
+ @ClientAppKind = clientappkind
362
+ @Url = url
363
+ @BindStatus = bindstatus
364
+ @DeviceInstanceId = deviceinstanceid
365
+ @DeviceName = devicename
366
+ @DeviceAccountName = deviceaccountname
367
+ @ResourceId = resourceid
368
+ @Resource = resource
369
+ @DomainId = domainid
370
+ @DomainName = domainname
371
+ @GroupSet = groupset
372
+ @Department = department
373
+ end
374
+
375
+ def deserialize(params)
376
+ @Id = params['Id']
377
+ @InstanceId = params['InstanceId']
378
+ @Name = params['Name']
379
+ @DeviceId = params['DeviceId']
380
+ @DeviceAccountId = params['DeviceAccountId']
381
+ @Kind = params['Kind']
382
+ @ClientAppPath = params['ClientAppPath']
383
+ @ClientAppKind = params['ClientAppKind']
384
+ @Url = params['Url']
385
+ @BindStatus = params['BindStatus']
386
+ @DeviceInstanceId = params['DeviceInstanceId']
387
+ @DeviceName = params['DeviceName']
388
+ @DeviceAccountName = params['DeviceAccountName']
389
+ @ResourceId = params['ResourceId']
390
+ unless params['Resource'].nil?
391
+ @Resource = Resource.new
392
+ @Resource.deserialize(params['Resource'])
393
+ end
394
+ @DomainId = params['DomainId']
395
+ @DomainName = params['DomainName']
396
+ unless params['GroupSet'].nil?
397
+ @GroupSet = []
398
+ params['GroupSet'].each do |i|
399
+ group_tmp = Group.new
400
+ group_tmp.deserialize(i)
401
+ @GroupSet << group_tmp
402
+ end
403
+ end
404
+ unless params['Department'].nil?
405
+ @Department = Department.new
406
+ @Department.deserialize(params['Department'])
407
+ end
408
+ end
409
+ end
410
+
299
411
  # 资产同步状态
300
412
  class AssetSyncStatus < TencentCloud::Common::AbstractModel
301
413
  # @param LastTime: 上一次同步完成的时间
@@ -643,6 +755,8 @@ module TencentCloud
643
755
  # @type UserGroupIdSet: Array
644
756
  # @param DeviceIdSet: 关联的资产ID集合
645
757
  # @type DeviceIdSet: Array
758
+ # @param AppAssetIdSet: 关联的应用资产ID集合
759
+ # @type AppAssetIdSet: Array
646
760
  # @param DeviceGroupIdSet: 关联的资产组ID
647
761
  # @type DeviceGroupIdSet: Array
648
762
  # @param AccountSet: 关联的账号
@@ -674,9 +788,9 @@ module TencentCloud
674
788
  # @param AllowKeyboardLogger: 是否允许键盘记录
675
789
  # @type AllowKeyboardLogger: Boolean
676
790
 
677
- attr_accessor :Name, :AllowDiskRedirect, :AllowAnyAccount, :AllowClipFileUp, :AllowClipFileDown, :AllowClipTextUp, :AllowClipTextDown, :AllowFileUp, :MaxFileUpSize, :AllowFileDown, :MaxFileDownSize, :UserIdSet, :UserGroupIdSet, :DeviceIdSet, :DeviceGroupIdSet, :AccountSet, :CmdTemplateIdSet, :ACTemplateIdSet, :AllowDiskFileUp, :AllowDiskFileDown, :AllowShellFileUp, :AllowShellFileDown, :AllowFileDel, :ValidateFrom, :ValidateTo, :DepartmentId, :AllowAccessCredential, :AllowKeyboardLogger
791
+ attr_accessor :Name, :AllowDiskRedirect, :AllowAnyAccount, :AllowClipFileUp, :AllowClipFileDown, :AllowClipTextUp, :AllowClipTextDown, :AllowFileUp, :MaxFileUpSize, :AllowFileDown, :MaxFileDownSize, :UserIdSet, :UserGroupIdSet, :DeviceIdSet, :AppAssetIdSet, :DeviceGroupIdSet, :AccountSet, :CmdTemplateIdSet, :ACTemplateIdSet, :AllowDiskFileUp, :AllowDiskFileDown, :AllowShellFileUp, :AllowShellFileDown, :AllowFileDel, :ValidateFrom, :ValidateTo, :DepartmentId, :AllowAccessCredential, :AllowKeyboardLogger
678
792
 
679
- def initialize(name=nil, allowdiskredirect=nil, allowanyaccount=nil, allowclipfileup=nil, allowclipfiledown=nil, allowcliptextup=nil, allowcliptextdown=nil, allowfileup=nil, maxfileupsize=nil, allowfiledown=nil, maxfiledownsize=nil, useridset=nil, usergroupidset=nil, deviceidset=nil, devicegroupidset=nil, accountset=nil, cmdtemplateidset=nil, actemplateidset=nil, allowdiskfileup=nil, allowdiskfiledown=nil, allowshellfileup=nil, allowshellfiledown=nil, allowfiledel=nil, validatefrom=nil, validateto=nil, departmentid=nil, allowaccesscredential=nil, allowkeyboardlogger=nil)
793
+ def initialize(name=nil, allowdiskredirect=nil, allowanyaccount=nil, allowclipfileup=nil, allowclipfiledown=nil, allowcliptextup=nil, allowcliptextdown=nil, allowfileup=nil, maxfileupsize=nil, allowfiledown=nil, maxfiledownsize=nil, useridset=nil, usergroupidset=nil, deviceidset=nil, appassetidset=nil, devicegroupidset=nil, accountset=nil, cmdtemplateidset=nil, actemplateidset=nil, allowdiskfileup=nil, allowdiskfiledown=nil, allowshellfileup=nil, allowshellfiledown=nil, allowfiledel=nil, validatefrom=nil, validateto=nil, departmentid=nil, allowaccesscredential=nil, allowkeyboardlogger=nil)
680
794
  @Name = name
681
795
  @AllowDiskRedirect = allowdiskredirect
682
796
  @AllowAnyAccount = allowanyaccount
@@ -691,6 +805,7 @@ module TencentCloud
691
805
  @UserIdSet = useridset
692
806
  @UserGroupIdSet = usergroupidset
693
807
  @DeviceIdSet = deviceidset
808
+ @AppAssetIdSet = appassetidset
694
809
  @DeviceGroupIdSet = devicegroupidset
695
810
  @AccountSet = accountset
696
811
  @CmdTemplateIdSet = cmdtemplateidset
@@ -722,6 +837,7 @@ module TencentCloud
722
837
  @UserIdSet = params['UserIdSet']
723
838
  @UserGroupIdSet = params['UserGroupIdSet']
724
839
  @DeviceIdSet = params['DeviceIdSet']
840
+ @AppAssetIdSet = params['AppAssetIdSet']
725
841
  @DeviceGroupIdSet = params['DeviceGroupIdSet']
726
842
  @AccountSet = params['AccountSet']
727
843
  @CmdTemplateIdSet = params['CmdTemplateIdSet']
@@ -1683,6 +1799,8 @@ module TencentCloud
1683
1799
  # @type AuthorizedUserIdSet: Array
1684
1800
  # @param AuthorizedDeviceIdSet: 有访问权限的资产ID集合
1685
1801
  # @type AuthorizedDeviceIdSet: Array
1802
+ # @param AuthorizedAppAssetIdSet: 有访问权限的应用资产ID集合
1803
+ # @type AuthorizedAppAssetIdSet: Array
1686
1804
  # @param Status: 访问权限状态,1 - 已生效,2 - 未生效,3 - 已过期
1687
1805
  # @type Status: Integer
1688
1806
  # @param DepartmentId: 部门ID,用于过滤属于某个部门的访问权限
@@ -1692,9 +1810,9 @@ module TencentCloud
1692
1810
  # @param Filters: 过滤数组
1693
1811
  # @type Filters: Array
1694
1812
 
1695
- attr_accessor :IdSet, :Name, :Offset, :Limit, :Exact, :AuthorizedUserIdSet, :AuthorizedDeviceIdSet, :Status, :DepartmentId, :ExactAccount, :Filters
1813
+ attr_accessor :IdSet, :Name, :Offset, :Limit, :Exact, :AuthorizedUserIdSet, :AuthorizedDeviceIdSet, :AuthorizedAppAssetIdSet, :Status, :DepartmentId, :ExactAccount, :Filters
1696
1814
 
1697
- def initialize(idset=nil, name=nil, offset=nil, limit=nil, exact=nil, authorizeduseridset=nil, authorizeddeviceidset=nil, status=nil, departmentid=nil, exactaccount=nil, filters=nil)
1815
+ def initialize(idset=nil, name=nil, offset=nil, limit=nil, exact=nil, authorizeduseridset=nil, authorizeddeviceidset=nil, authorizedappassetidset=nil, status=nil, departmentid=nil, exactaccount=nil, filters=nil)
1698
1816
  @IdSet = idset
1699
1817
  @Name = name
1700
1818
  @Offset = offset
@@ -1702,6 +1820,7 @@ module TencentCloud
1702
1820
  @Exact = exact
1703
1821
  @AuthorizedUserIdSet = authorizeduseridset
1704
1822
  @AuthorizedDeviceIdSet = authorizeddeviceidset
1823
+ @AuthorizedAppAssetIdSet = authorizedappassetidset
1705
1824
  @Status = status
1706
1825
  @DepartmentId = departmentid
1707
1826
  @ExactAccount = exactaccount
@@ -1716,6 +1835,7 @@ module TencentCloud
1716
1835
  @Exact = params['Exact']
1717
1836
  @AuthorizedUserIdSet = params['AuthorizedUserIdSet']
1718
1837
  @AuthorizedDeviceIdSet = params['AuthorizedDeviceIdSet']
1838
+ @AuthorizedAppAssetIdSet = params['AuthorizedAppAssetIdSet']
1719
1839
  @Status = params['Status']
1720
1840
  @DepartmentId = params['DepartmentId']
1721
1841
  @ExactAccount = params['ExactAccount']
@@ -2067,14 +2187,16 @@ module TencentCloud
2067
2187
  # @type Limit: Integer
2068
2188
  # @param Kind: 资产类型,1 - Linux,2 - Windows,3 - MySQL,4 - SQLServer
2069
2189
  # @type Kind: Integer
2190
+ # @param KindSet: 资产类型集合,1 - Linux,2 - Windows,3 - MySQL,4 - SQLServer
2191
+ # @type KindSet: Array
2070
2192
  # @param DepartmentId: 所属部门ID
2071
2193
  # @type DepartmentId: String
2072
2194
  # @param TagFilters: 过滤条件,可按照标签键、标签进行过滤。如果同时指定标签键和标签过滤条件,它们之间为“AND”的关系
2073
2195
  # @type TagFilters: Array
2074
2196
 
2075
- attr_accessor :Bound, :Id, :IdSet, :Name, :Offset, :Limit, :Kind, :DepartmentId, :TagFilters
2197
+ attr_accessor :Bound, :Id, :IdSet, :Name, :Offset, :Limit, :Kind, :KindSet, :DepartmentId, :TagFilters
2076
2198
 
2077
- def initialize(bound=nil, id=nil, idset=nil, name=nil, offset=nil, limit=nil, kind=nil, departmentid=nil, tagfilters=nil)
2199
+ def initialize(bound=nil, id=nil, idset=nil, name=nil, offset=nil, limit=nil, kind=nil, kindset=nil, departmentid=nil, tagfilters=nil)
2078
2200
  @Bound = bound
2079
2201
  @Id = id
2080
2202
  @IdSet = idset
@@ -2082,6 +2204,7 @@ module TencentCloud
2082
2204
  @Offset = offset
2083
2205
  @Limit = limit
2084
2206
  @Kind = kind
2207
+ @KindSet = kindset
2085
2208
  @DepartmentId = departmentid
2086
2209
  @TagFilters = tagfilters
2087
2210
  end
@@ -2094,6 +2217,7 @@ module TencentCloud
2094
2217
  @Offset = params['Offset']
2095
2218
  @Limit = params['Limit']
2096
2219
  @Kind = params['Kind']
2220
+ @KindSet = params['KindSet']
2097
2221
  @DepartmentId = params['DepartmentId']
2098
2222
  unless params['TagFilters'].nil?
2099
2223
  @TagFilters = []
@@ -2746,6 +2870,8 @@ module TencentCloud
2746
2870
  # @type Email: String
2747
2871
  # @param AuthorizedDeviceIdSet: 查询具有指定资产ID访问权限的用户
2748
2872
  # @type AuthorizedDeviceIdSet: Array
2873
+ # @param AuthorizedAppAssetIdSet: 查询具有指定应用资产ID访问权限的用户
2874
+ # @type AuthorizedAppAssetIdSet: Array
2749
2875
  # @param AuthTypeSet: 认证方式,0 - 本地, 1 - LDAP, 2 - OAuth, 不传为全部
2750
2876
  # @type AuthTypeSet: Array
2751
2877
  # @param DepartmentId: 部门ID,用于过滤属于某个部门的用户
@@ -2753,9 +2879,9 @@ module TencentCloud
2753
2879
  # @param Filters: 参数过滤数组
2754
2880
  # @type Filters: Array
2755
2881
 
2756
- attr_accessor :IdSet, :Name, :Offset, :Limit, :UserName, :Phone, :Email, :AuthorizedDeviceIdSet, :AuthTypeSet, :DepartmentId, :Filters
2882
+ attr_accessor :IdSet, :Name, :Offset, :Limit, :UserName, :Phone, :Email, :AuthorizedDeviceIdSet, :AuthorizedAppAssetIdSet, :AuthTypeSet, :DepartmentId, :Filters
2757
2883
 
2758
- def initialize(idset=nil, name=nil, offset=nil, limit=nil, username=nil, phone=nil, email=nil, authorizeddeviceidset=nil, authtypeset=nil, departmentid=nil, filters=nil)
2884
+ def initialize(idset=nil, name=nil, offset=nil, limit=nil, username=nil, phone=nil, email=nil, authorizeddeviceidset=nil, authorizedappassetidset=nil, authtypeset=nil, departmentid=nil, filters=nil)
2759
2885
  @IdSet = idset
2760
2886
  @Name = name
2761
2887
  @Offset = offset
@@ -2764,6 +2890,7 @@ module TencentCloud
2764
2890
  @Phone = phone
2765
2891
  @Email = email
2766
2892
  @AuthorizedDeviceIdSet = authorizeddeviceidset
2893
+ @AuthorizedAppAssetIdSet = authorizedappassetidset
2767
2894
  @AuthTypeSet = authtypeset
2768
2895
  @DepartmentId = departmentid
2769
2896
  @Filters = filters
@@ -2778,6 +2905,7 @@ module TencentCloud
2778
2905
  @Phone = params['Phone']
2779
2906
  @Email = params['Email']
2780
2907
  @AuthorizedDeviceIdSet = params['AuthorizedDeviceIdSet']
2908
+ @AuthorizedAppAssetIdSet = params['AuthorizedAppAssetIdSet']
2781
2909
  @AuthTypeSet = params['AuthTypeSet']
2782
2910
  @DepartmentId = params['DepartmentId']
2783
2911
  unless params['Filters'].nil?
@@ -3187,6 +3315,8 @@ module TencentCloud
3187
3315
  # @type UserGroupIdSet: Array
3188
3316
  # @param DeviceIdSet: 关联的资产ID
3189
3317
  # @type DeviceIdSet: Array
3318
+ # @param AppAssetIdSet: 关联的应用资产ID集合
3319
+ # @type AppAssetIdSet: Array
3190
3320
  # @param DeviceGroupIdSet: 关联的资产组ID
3191
3321
  # @type DeviceGroupIdSet: Array
3192
3322
  # @param AccountSet: 关联的账号
@@ -3218,9 +3348,9 @@ module TencentCloud
3218
3348
  # @param AllowKeyboardLogger: 是否允许键盘记录
3219
3349
  # @type AllowKeyboardLogger: Boolean
3220
3350
 
3221
- attr_accessor :Name, :AllowDiskRedirect, :AllowAnyAccount, :Id, :AllowClipFileUp, :AllowClipFileDown, :AllowClipTextUp, :AllowClipTextDown, :AllowFileUp, :MaxFileUpSize, :AllowFileDown, :MaxFileDownSize, :UserIdSet, :UserGroupIdSet, :DeviceIdSet, :DeviceGroupIdSet, :AccountSet, :CmdTemplateIdSet, :ACTemplateIdSet, :AllowDiskFileUp, :AllowDiskFileDown, :AllowShellFileUp, :AllowShellFileDown, :AllowFileDel, :ValidateFrom, :ValidateTo, :DepartmentId, :AllowAccessCredential, :AllowKeyboardLogger
3351
+ attr_accessor :Name, :AllowDiskRedirect, :AllowAnyAccount, :Id, :AllowClipFileUp, :AllowClipFileDown, :AllowClipTextUp, :AllowClipTextDown, :AllowFileUp, :MaxFileUpSize, :AllowFileDown, :MaxFileDownSize, :UserIdSet, :UserGroupIdSet, :DeviceIdSet, :AppAssetIdSet, :DeviceGroupIdSet, :AccountSet, :CmdTemplateIdSet, :ACTemplateIdSet, :AllowDiskFileUp, :AllowDiskFileDown, :AllowShellFileUp, :AllowShellFileDown, :AllowFileDel, :ValidateFrom, :ValidateTo, :DepartmentId, :AllowAccessCredential, :AllowKeyboardLogger
3222
3352
 
3223
- def initialize(name=nil, allowdiskredirect=nil, allowanyaccount=nil, id=nil, allowclipfileup=nil, allowclipfiledown=nil, allowcliptextup=nil, allowcliptextdown=nil, allowfileup=nil, maxfileupsize=nil, allowfiledown=nil, maxfiledownsize=nil, useridset=nil, usergroupidset=nil, deviceidset=nil, devicegroupidset=nil, accountset=nil, cmdtemplateidset=nil, actemplateidset=nil, allowdiskfileup=nil, allowdiskfiledown=nil, allowshellfileup=nil, allowshellfiledown=nil, allowfiledel=nil, validatefrom=nil, validateto=nil, departmentid=nil, allowaccesscredential=nil, allowkeyboardlogger=nil)
3353
+ def initialize(name=nil, allowdiskredirect=nil, allowanyaccount=nil, id=nil, allowclipfileup=nil, allowclipfiledown=nil, allowcliptextup=nil, allowcliptextdown=nil, allowfileup=nil, maxfileupsize=nil, allowfiledown=nil, maxfiledownsize=nil, useridset=nil, usergroupidset=nil, deviceidset=nil, appassetidset=nil, devicegroupidset=nil, accountset=nil, cmdtemplateidset=nil, actemplateidset=nil, allowdiskfileup=nil, allowdiskfiledown=nil, allowshellfileup=nil, allowshellfiledown=nil, allowfiledel=nil, validatefrom=nil, validateto=nil, departmentid=nil, allowaccesscredential=nil, allowkeyboardlogger=nil)
3224
3354
  @Name = name
3225
3355
  @AllowDiskRedirect = allowdiskredirect
3226
3356
  @AllowAnyAccount = allowanyaccount
@@ -3236,6 +3366,7 @@ module TencentCloud
3236
3366
  @UserIdSet = useridset
3237
3367
  @UserGroupIdSet = usergroupidset
3238
3368
  @DeviceIdSet = deviceidset
3369
+ @AppAssetIdSet = appassetidset
3239
3370
  @DeviceGroupIdSet = devicegroupidset
3240
3371
  @AccountSet = accountset
3241
3372
  @CmdTemplateIdSet = cmdtemplateidset
@@ -3268,6 +3399,7 @@ module TencentCloud
3268
3399
  @UserIdSet = params['UserIdSet']
3269
3400
  @UserGroupIdSet = params['UserGroupIdSet']
3270
3401
  @DeviceIdSet = params['DeviceIdSet']
3402
+ @AppAssetIdSet = params['AppAssetIdSet']
3271
3403
  @DeviceGroupIdSet = params['DeviceGroupIdSet']
3272
3404
  @AccountSet = params['AccountSet']
3273
3405
  @CmdTemplateIdSet = params['CmdTemplateIdSet']
@@ -4931,10 +5063,14 @@ module TencentCloud
4931
5063
  # @type Status: Integer
4932
5064
  # @param Id: 若入参为Id,则其他入参字段不作为搜索依据,仅按照Id来搜索会话
4933
5065
  # @type Id: String
5066
+ # @param AppAssetKindSet: 应用资产类型, 1-web
5067
+ # @type AppAssetKindSet: Array
5068
+ # @param AppAssetUrl: 应用资产Url
5069
+ # @type AppAssetUrl: String
4934
5070
 
4935
- attr_accessor :PrivateIp, :PublicIp, :UserName, :Account, :FromIp, :StartTime, :EndTime, :Kind, :Offset, :Limit, :RealName, :DeviceName, :Status, :Id
5071
+ attr_accessor :PrivateIp, :PublicIp, :UserName, :Account, :FromIp, :StartTime, :EndTime, :Kind, :Offset, :Limit, :RealName, :DeviceName, :Status, :Id, :AppAssetKindSet, :AppAssetUrl
4936
5072
 
4937
- def initialize(privateip=nil, publicip=nil, username=nil, account=nil, fromip=nil, starttime=nil, endtime=nil, kind=nil, offset=nil, limit=nil, realname=nil, devicename=nil, status=nil, id=nil)
5073
+ def initialize(privateip=nil, publicip=nil, username=nil, account=nil, fromip=nil, starttime=nil, endtime=nil, kind=nil, offset=nil, limit=nil, realname=nil, devicename=nil, status=nil, id=nil, appassetkindset=nil, appasseturl=nil)
4938
5074
  @PrivateIp = privateip
4939
5075
  @PublicIp = publicip
4940
5076
  @UserName = username
@@ -4949,6 +5085,8 @@ module TencentCloud
4949
5085
  @DeviceName = devicename
4950
5086
  @Status = status
4951
5087
  @Id = id
5088
+ @AppAssetKindSet = appassetkindset
5089
+ @AppAssetUrl = appasseturl
4952
5090
  end
4953
5091
 
4954
5092
  def deserialize(params)
@@ -4966,6 +5104,8 @@ module TencentCloud
4966
5104
  @DeviceName = params['DeviceName']
4967
5105
  @Status = params['Status']
4968
5106
  @Id = params['Id']
5107
+ @AppAssetKindSet = params['AppAssetKindSet']
5108
+ @AppAssetUrl = params['AppAssetUrl']
4969
5109
  end
4970
5110
  end
4971
5111
 
@@ -4973,22 +5113,125 @@ module TencentCloud
4973
5113
  class SearchSessionResponse < TencentCloud::Common::AbstractModel
4974
5114
  # @param TotalCount: 记录数
4975
5115
  # @type TotalCount: Integer
5116
+ # @param SessionSet: 会话信息列表
5117
+ # @type SessionSet: Array
4976
5118
  # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
4977
5119
  # @type RequestId: String
4978
5120
 
4979
- attr_accessor :TotalCount, :RequestId
5121
+ attr_accessor :TotalCount, :SessionSet, :RequestId
4980
5122
 
4981
- def initialize(totalcount=nil, requestid=nil)
5123
+ def initialize(totalcount=nil, sessionset=nil, requestid=nil)
4982
5124
  @TotalCount = totalcount
5125
+ @SessionSet = sessionset
4983
5126
  @RequestId = requestid
4984
5127
  end
4985
5128
 
4986
5129
  def deserialize(params)
4987
5130
  @TotalCount = params['TotalCount']
5131
+ unless params['SessionSet'].nil?
5132
+ @SessionSet = []
5133
+ params['SessionSet'].each do |i|
5134
+ sessionresult_tmp = SessionResult.new
5135
+ sessionresult_tmp.deserialize(i)
5136
+ @SessionSet << sessionresult_tmp
5137
+ end
5138
+ end
4988
5139
  @RequestId = params['RequestId']
4989
5140
  end
4990
5141
  end
4991
5142
 
5143
+ # 搜索字符或图形会话时返回的SessionResul结构体
5144
+ class SessionResult < TencentCloud::Common::AbstractModel
5145
+ # @param UserName: 用户名
5146
+ # @type UserName: String
5147
+ # @param RealName: 姓名
5148
+ # @type RealName: String
5149
+ # @param Account: 主机账号
5150
+ # @type Account: String
5151
+ # @param StartTime: 开始时间
5152
+ # @type StartTime: String
5153
+ # @param EndTime: 结束时间
5154
+ # @type EndTime: String
5155
+ # @param Size: 会话大小
5156
+ # @type Size: Integer
5157
+ # @param InstanceId: 设备ID
5158
+ # @type InstanceId: String
5159
+ # @param DeviceName: 设备名
5160
+ # @type DeviceName: String
5161
+ # @param PrivateIp: 内部Ip
5162
+ # @type PrivateIp: String
5163
+ # @param PublicIp: 外部Ip
5164
+ # @type PublicIp: String
5165
+ # @param FromIp: 来源Ip
5166
+ # @type FromIp: String
5167
+ # @param Duration: 会话持续时长
5168
+ # @type Duration: Float
5169
+ # @param Count: 该会话内命令数量 ,搜索图形会话时该字段无意义
5170
+ # @type Count: Integer
5171
+ # @param DangerCount: 该会话内高危命令数,搜索图形时该字段无意义
5172
+ # @type DangerCount: Integer
5173
+ # @param Status: 会话状态,如1会话活跃 2会话结束 3强制离线 4其他错误
5174
+ # @type Status: Integer
5175
+ # @param Id: 会话Id
5176
+ # @type Id: String
5177
+ # @param ApCode: 设备所属的地域
5178
+ # @type ApCode: String
5179
+ # @param Protocol: 会话协议
5180
+ # @type Protocol: String
5181
+ # @param AppAssetKind: 应用资产类型:1-web
5182
+ # @type AppAssetKind: Integer
5183
+ # @param AppAssetUrl: 应用资产url
5184
+ # @type AppAssetUrl: String
5185
+
5186
+ attr_accessor :UserName, :RealName, :Account, :StartTime, :EndTime, :Size, :InstanceId, :DeviceName, :PrivateIp, :PublicIp, :FromIp, :Duration, :Count, :DangerCount, :Status, :Id, :ApCode, :Protocol, :AppAssetKind, :AppAssetUrl
5187
+
5188
+ def initialize(username=nil, realname=nil, account=nil, starttime=nil, endtime=nil, size=nil, instanceid=nil, devicename=nil, privateip=nil, publicip=nil, fromip=nil, duration=nil, count=nil, dangercount=nil, status=nil, id=nil, apcode=nil, protocol=nil, appassetkind=nil, appasseturl=nil)
5189
+ @UserName = username
5190
+ @RealName = realname
5191
+ @Account = account
5192
+ @StartTime = starttime
5193
+ @EndTime = endtime
5194
+ @Size = size
5195
+ @InstanceId = instanceid
5196
+ @DeviceName = devicename
5197
+ @PrivateIp = privateip
5198
+ @PublicIp = publicip
5199
+ @FromIp = fromip
5200
+ @Duration = duration
5201
+ @Count = count
5202
+ @DangerCount = dangercount
5203
+ @Status = status
5204
+ @Id = id
5205
+ @ApCode = apcode
5206
+ @Protocol = protocol
5207
+ @AppAssetKind = appassetkind
5208
+ @AppAssetUrl = appasseturl
5209
+ end
5210
+
5211
+ def deserialize(params)
5212
+ @UserName = params['UserName']
5213
+ @RealName = params['RealName']
5214
+ @Account = params['Account']
5215
+ @StartTime = params['StartTime']
5216
+ @EndTime = params['EndTime']
5217
+ @Size = params['Size']
5218
+ @InstanceId = params['InstanceId']
5219
+ @DeviceName = params['DeviceName']
5220
+ @PrivateIp = params['PrivateIp']
5221
+ @PublicIp = params['PublicIp']
5222
+ @FromIp = params['FromIp']
5223
+ @Duration = params['Duration']
5224
+ @Count = params['Count']
5225
+ @DangerCount = params['DangerCount']
5226
+ @Status = params['Status']
5227
+ @Id = params['Id']
5228
+ @ApCode = params['ApCode']
5229
+ @Protocol = params['Protocol']
5230
+ @AppAssetKind = params['AppAssetKind']
5231
+ @AppAssetUrl = params['AppAssetUrl']
5232
+ end
5233
+ end
5234
+
4992
5235
  # 资产标签
4993
5236
  class TagFilter < TencentCloud::Common::AbstractModel
4994
5237
  # @param TagKey: 标签键
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-bh
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.994
4
+ version: 3.0.995
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-02-09 00:00:00.000000000 Z
11
+ date: 2025-02-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common