tencentcloud-sdk-bh 3.0.1138 → 3.0.1171
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/v20230418/client.rb +528 -0
- data/lib/v20230418/models.rb +1195 -42
- metadata +3 -3
data/lib/v20230418/models.rb
CHANGED
|
@@ -74,10 +74,10 @@ module TencentCloud
|
|
|
74
74
|
|
|
75
75
|
attr_accessor :Account, :LoginAccount, :LoginPassword, :DeviceId, :InstanceId, :Password, :PrivateKey, :PrivateKeyPassword, :Exe, :Drivers, :Width, :Height, :IntranetAccess, :AutoManageAccessCredential
|
|
76
76
|
extend Gem::Deprecate
|
|
77
|
-
deprecate :LoginAccount, :none, 2025,
|
|
78
|
-
deprecate :LoginAccount=, :none, 2025,
|
|
79
|
-
deprecate :LoginPassword, :none, 2025,
|
|
80
|
-
deprecate :LoginPassword=, :none, 2025,
|
|
77
|
+
deprecate :LoginAccount, :none, 2025, 11
|
|
78
|
+
deprecate :LoginAccount=, :none, 2025, 11
|
|
79
|
+
deprecate :LoginPassword, :none, 2025, 11
|
|
80
|
+
deprecate :LoginPassword=, :none, 2025, 11
|
|
81
81
|
|
|
82
82
|
def initialize(account=nil, loginaccount=nil, loginpassword=nil, deviceid=nil, instanceid=nil, password=nil, privatekey=nil, privatekeypassword=nil, exe=nil, drivers=nil, width=nil, height=nil, intranetaccess=nil, automanageaccesscredential=nil)
|
|
83
83
|
@Account = account
|
|
@@ -197,6 +197,70 @@ module TencentCloud
|
|
|
197
197
|
end
|
|
198
198
|
end
|
|
199
199
|
|
|
200
|
+
# ioa账号组
|
|
201
|
+
class AccountGroup < TencentCloud::Common::AbstractModel
|
|
202
|
+
# @param Id: 账号组id
|
|
203
|
+
# @type Id: Integer
|
|
204
|
+
# @param Name: 账号组名称
|
|
205
|
+
# @type Name: String
|
|
206
|
+
# @param IdPath: 账号组id路径
|
|
207
|
+
# @type IdPath: String
|
|
208
|
+
# @param NamePath: 账号组名称路径
|
|
209
|
+
# @type NamePath: String
|
|
210
|
+
# @param ParentId: 父账号组id
|
|
211
|
+
# @type ParentId: Integer
|
|
212
|
+
# @param Source: 账号组来源
|
|
213
|
+
# @type Source: Integer
|
|
214
|
+
# @param UserTotal: 账号组下用户总数
|
|
215
|
+
# @type UserTotal: Integer
|
|
216
|
+
# @param IsLeaf: 是否叶子节点
|
|
217
|
+
# @type IsLeaf: Boolean
|
|
218
|
+
# @param ImportType: 账号组导入类型
|
|
219
|
+
# @type ImportType: String
|
|
220
|
+
# @param Description: 账号组描述
|
|
221
|
+
# @type Description: String
|
|
222
|
+
# @param ParentOrgId: 父源账号组织ID。使用第三方导入用户源时,记录该分组在源组织架构下的分组ID
|
|
223
|
+
# @type ParentOrgId: String
|
|
224
|
+
# @param OrgId: 源账号组织ID。使用第三方导入用户源时,记录该分组在源组织架构下的分组ID
|
|
225
|
+
# @type OrgId: String
|
|
226
|
+
# @param Status: 账号组是否已经接入,0表示未接入,1表示接入
|
|
227
|
+
# @type Status: Integer
|
|
228
|
+
|
|
229
|
+
attr_accessor :Id, :Name, :IdPath, :NamePath, :ParentId, :Source, :UserTotal, :IsLeaf, :ImportType, :Description, :ParentOrgId, :OrgId, :Status
|
|
230
|
+
|
|
231
|
+
def initialize(id=nil, name=nil, idpath=nil, namepath=nil, parentid=nil, source=nil, usertotal=nil, isleaf=nil, importtype=nil, description=nil, parentorgid=nil, orgid=nil, status=nil)
|
|
232
|
+
@Id = id
|
|
233
|
+
@Name = name
|
|
234
|
+
@IdPath = idpath
|
|
235
|
+
@NamePath = namepath
|
|
236
|
+
@ParentId = parentid
|
|
237
|
+
@Source = source
|
|
238
|
+
@UserTotal = usertotal
|
|
239
|
+
@IsLeaf = isleaf
|
|
240
|
+
@ImportType = importtype
|
|
241
|
+
@Description = description
|
|
242
|
+
@ParentOrgId = parentorgid
|
|
243
|
+
@OrgId = orgid
|
|
244
|
+
@Status = status
|
|
245
|
+
end
|
|
246
|
+
|
|
247
|
+
def deserialize(params)
|
|
248
|
+
@Id = params['Id']
|
|
249
|
+
@Name = params['Name']
|
|
250
|
+
@IdPath = params['IdPath']
|
|
251
|
+
@NamePath = params['NamePath']
|
|
252
|
+
@ParentId = params['ParentId']
|
|
253
|
+
@Source = params['Source']
|
|
254
|
+
@UserTotal = params['UserTotal']
|
|
255
|
+
@IsLeaf = params['IsLeaf']
|
|
256
|
+
@ImportType = params['ImportType']
|
|
257
|
+
@Description = params['Description']
|
|
258
|
+
@ParentOrgId = params['ParentOrgId']
|
|
259
|
+
@OrgId = params['OrgId']
|
|
260
|
+
@Status = params['Status']
|
|
261
|
+
end
|
|
262
|
+
end
|
|
263
|
+
|
|
200
264
|
# 访问权限
|
|
201
265
|
class Acl < TencentCloud::Common::AbstractModel
|
|
202
266
|
# @param Id: 访问权限ID
|
|
@@ -265,10 +329,16 @@ module TencentCloud
|
|
|
265
329
|
# @type AllowKeyboardLogger: Boolean
|
|
266
330
|
# @param AppAssetSet: 关联的应用资产列表
|
|
267
331
|
# @type AppAssetSet: Array
|
|
332
|
+
# @param AclType: 权限类型 0-默认普通权限 1-工单权限,2-权限工单权限
|
|
333
|
+
# @type AclType: Integer
|
|
334
|
+
# @param TicketId: 权限所属工单id
|
|
335
|
+
# @type TicketId: String
|
|
336
|
+
# @param TicketName: 权限所属工单名称
|
|
337
|
+
# @type TicketName: String
|
|
268
338
|
|
|
269
|
-
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
|
|
339
|
+
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, :AclType, :TicketId, :TicketName
|
|
270
340
|
|
|
271
|
-
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)
|
|
341
|
+
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, acltype=nil, ticketid=nil, ticketname=nil)
|
|
272
342
|
@Id = id
|
|
273
343
|
@Name = name
|
|
274
344
|
@AllowDiskRedirect = allowdiskredirect
|
|
@@ -301,6 +371,9 @@ module TencentCloud
|
|
|
301
371
|
@WhiteCmds = whitecmds
|
|
302
372
|
@AllowKeyboardLogger = allowkeyboardlogger
|
|
303
373
|
@AppAssetSet = appassetset
|
|
374
|
+
@AclType = acltype
|
|
375
|
+
@TicketId = ticketid
|
|
376
|
+
@TicketName = ticketname
|
|
304
377
|
end
|
|
305
378
|
|
|
306
379
|
def deserialize(params)
|
|
@@ -388,6 +461,9 @@ module TencentCloud
|
|
|
388
461
|
@AppAssetSet << appasset_tmp
|
|
389
462
|
end
|
|
390
463
|
end
|
|
464
|
+
@AclType = params['AclType']
|
|
465
|
+
@TicketId = params['TicketId']
|
|
466
|
+
@TicketName = params['TicketName']
|
|
391
467
|
end
|
|
392
468
|
end
|
|
393
469
|
|
|
@@ -564,6 +640,26 @@ module TencentCloud
|
|
|
564
640
|
end
|
|
565
641
|
end
|
|
566
642
|
|
|
643
|
+
# 资产同步标志
|
|
644
|
+
class AssetSyncFlags < TencentCloud::Common::AbstractModel
|
|
645
|
+
# @param RoleGranted: 是否已完成角色授权
|
|
646
|
+
# @type RoleGranted: Boolean
|
|
647
|
+
# @param AutoSync: 是否已开启自动资产同步
|
|
648
|
+
# @type AutoSync: Boolean
|
|
649
|
+
|
|
650
|
+
attr_accessor :RoleGranted, :AutoSync
|
|
651
|
+
|
|
652
|
+
def initialize(rolegranted=nil, autosync=nil)
|
|
653
|
+
@RoleGranted = rolegranted
|
|
654
|
+
@AutoSync = autosync
|
|
655
|
+
end
|
|
656
|
+
|
|
657
|
+
def deserialize(params)
|
|
658
|
+
@RoleGranted = params['RoleGranted']
|
|
659
|
+
@AutoSync = params['AutoSync']
|
|
660
|
+
end
|
|
661
|
+
end
|
|
662
|
+
|
|
567
663
|
# 资产同步状态
|
|
568
664
|
class AssetSyncStatus < TencentCloud::Common::AbstractModel
|
|
569
665
|
# @param LastTime: 上一次同步完成的时间
|
|
@@ -1672,6 +1768,101 @@ module TencentCloud
|
|
|
1672
1768
|
end
|
|
1673
1769
|
end
|
|
1674
1770
|
|
|
1771
|
+
# CreateSyncUserTask请求参数结构体
|
|
1772
|
+
class CreateSyncUserTaskRequest < TencentCloud::Common::AbstractModel
|
|
1773
|
+
# @param UserKind: 同步用户类型, 1-同步ioa用户
|
|
1774
|
+
# @type UserKind: Integer
|
|
1775
|
+
|
|
1776
|
+
attr_accessor :UserKind
|
|
1777
|
+
|
|
1778
|
+
def initialize(userkind=nil)
|
|
1779
|
+
@UserKind = userkind
|
|
1780
|
+
end
|
|
1781
|
+
|
|
1782
|
+
def deserialize(params)
|
|
1783
|
+
@UserKind = params['UserKind']
|
|
1784
|
+
end
|
|
1785
|
+
end
|
|
1786
|
+
|
|
1787
|
+
# CreateSyncUserTask返回参数结构体
|
|
1788
|
+
class CreateSyncUserTaskResponse < TencentCloud::Common::AbstractModel
|
|
1789
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
1790
|
+
# @type RequestId: String
|
|
1791
|
+
|
|
1792
|
+
attr_accessor :RequestId
|
|
1793
|
+
|
|
1794
|
+
def initialize(requestid=nil)
|
|
1795
|
+
@RequestId = requestid
|
|
1796
|
+
end
|
|
1797
|
+
|
|
1798
|
+
def deserialize(params)
|
|
1799
|
+
@RequestId = params['RequestId']
|
|
1800
|
+
end
|
|
1801
|
+
end
|
|
1802
|
+
|
|
1803
|
+
# CreateUserDirectory请求参数结构体
|
|
1804
|
+
class CreateUserDirectoryRequest < TencentCloud::Common::AbstractModel
|
|
1805
|
+
# @param DirId: 目录id
|
|
1806
|
+
# @type DirId: Integer
|
|
1807
|
+
# @param DirName: 目录名称
|
|
1808
|
+
# @type DirName: String
|
|
1809
|
+
# @param UserOrgSet: ioa分组信息
|
|
1810
|
+
# @type UserOrgSet: Array
|
|
1811
|
+
# @param Source: ioa关联用户源类型
|
|
1812
|
+
# @type Source: Integer
|
|
1813
|
+
# @param SourceName: ioa关联用户源名称
|
|
1814
|
+
# @type SourceName: String
|
|
1815
|
+
# @param UserCount: 目录包含用户数
|
|
1816
|
+
# @type UserCount: Integer
|
|
1817
|
+
|
|
1818
|
+
attr_accessor :DirId, :DirName, :UserOrgSet, :Source, :SourceName, :UserCount
|
|
1819
|
+
|
|
1820
|
+
def initialize(dirid=nil, dirname=nil, userorgset=nil, source=nil, sourcename=nil, usercount=nil)
|
|
1821
|
+
@DirId = dirid
|
|
1822
|
+
@DirName = dirname
|
|
1823
|
+
@UserOrgSet = userorgset
|
|
1824
|
+
@Source = source
|
|
1825
|
+
@SourceName = sourcename
|
|
1826
|
+
@UserCount = usercount
|
|
1827
|
+
end
|
|
1828
|
+
|
|
1829
|
+
def deserialize(params)
|
|
1830
|
+
@DirId = params['DirId']
|
|
1831
|
+
@DirName = params['DirName']
|
|
1832
|
+
unless params['UserOrgSet'].nil?
|
|
1833
|
+
@UserOrgSet = []
|
|
1834
|
+
params['UserOrgSet'].each do |i|
|
|
1835
|
+
userorg_tmp = UserOrg.new
|
|
1836
|
+
userorg_tmp.deserialize(i)
|
|
1837
|
+
@UserOrgSet << userorg_tmp
|
|
1838
|
+
end
|
|
1839
|
+
end
|
|
1840
|
+
@Source = params['Source']
|
|
1841
|
+
@SourceName = params['SourceName']
|
|
1842
|
+
@UserCount = params['UserCount']
|
|
1843
|
+
end
|
|
1844
|
+
end
|
|
1845
|
+
|
|
1846
|
+
# CreateUserDirectory返回参数结构体
|
|
1847
|
+
class CreateUserDirectoryResponse < TencentCloud::Common::AbstractModel
|
|
1848
|
+
# @param Id: 目录Id
|
|
1849
|
+
# @type Id: Integer
|
|
1850
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
1851
|
+
# @type RequestId: String
|
|
1852
|
+
|
|
1853
|
+
attr_accessor :Id, :RequestId
|
|
1854
|
+
|
|
1855
|
+
def initialize(id=nil, requestid=nil)
|
|
1856
|
+
@Id = id
|
|
1857
|
+
@RequestId = requestid
|
|
1858
|
+
end
|
|
1859
|
+
|
|
1860
|
+
def deserialize(params)
|
|
1861
|
+
@Id = params['Id']
|
|
1862
|
+
@RequestId = params['RequestId']
|
|
1863
|
+
end
|
|
1864
|
+
end
|
|
1865
|
+
|
|
1675
1866
|
# CreateUserGroup请求参数结构体
|
|
1676
1867
|
class CreateUserGroupRequest < TencentCloud::Common::AbstractModel
|
|
1677
1868
|
# @param Name: 用户组名,最大长度32字符
|
|
@@ -2078,6 +2269,38 @@ module TencentCloud
|
|
|
2078
2269
|
end
|
|
2079
2270
|
end
|
|
2080
2271
|
|
|
2272
|
+
# DeleteUserDirectory请求参数结构体
|
|
2273
|
+
class DeleteUserDirectoryRequest < TencentCloud::Common::AbstractModel
|
|
2274
|
+
# @param IdSet: 目录id集合
|
|
2275
|
+
# @type IdSet: Array
|
|
2276
|
+
|
|
2277
|
+
attr_accessor :IdSet
|
|
2278
|
+
|
|
2279
|
+
def initialize(idset=nil)
|
|
2280
|
+
@IdSet = idset
|
|
2281
|
+
end
|
|
2282
|
+
|
|
2283
|
+
def deserialize(params)
|
|
2284
|
+
@IdSet = params['IdSet']
|
|
2285
|
+
end
|
|
2286
|
+
end
|
|
2287
|
+
|
|
2288
|
+
# DeleteUserDirectory返回参数结构体
|
|
2289
|
+
class DeleteUserDirectoryResponse < TencentCloud::Common::AbstractModel
|
|
2290
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
2291
|
+
# @type RequestId: String
|
|
2292
|
+
|
|
2293
|
+
attr_accessor :RequestId
|
|
2294
|
+
|
|
2295
|
+
def initialize(requestid=nil)
|
|
2296
|
+
@RequestId = requestid
|
|
2297
|
+
end
|
|
2298
|
+
|
|
2299
|
+
def deserialize(params)
|
|
2300
|
+
@RequestId = params['RequestId']
|
|
2301
|
+
end
|
|
2302
|
+
end
|
|
2303
|
+
|
|
2081
2304
|
# DeleteUserGroupMembers请求参数结构体
|
|
2082
2305
|
class DeleteUserGroupMembersRequest < TencentCloud::Common::AbstractModel
|
|
2083
2306
|
# @param Id: 用户组ID
|
|
@@ -2388,6 +2611,69 @@ module TencentCloud
|
|
|
2388
2611
|
end
|
|
2389
2612
|
end
|
|
2390
2613
|
|
|
2614
|
+
# DescribeAccountGroups请求参数结构体
|
|
2615
|
+
class DescribeAccountGroupsRequest < TencentCloud::Common::AbstractModel
|
|
2616
|
+
# @param DeepIn: 是否递归查询,0为不递归,1为递归
|
|
2617
|
+
# @type DeepIn: Integer
|
|
2618
|
+
# @param ParentId: 父账号组ID, 默认0,查询根账号组下所有分组
|
|
2619
|
+
# @type ParentId: Integer
|
|
2620
|
+
# @param GroupName: 账号组名称,模糊查询
|
|
2621
|
+
# @type GroupName: String
|
|
2622
|
+
# @param PageSize: 分页查询,每页条数
|
|
2623
|
+
# @type PageSize: Integer
|
|
2624
|
+
# @param PageNum: 获取第几页的数据
|
|
2625
|
+
# @type PageNum: Integer
|
|
2626
|
+
|
|
2627
|
+
attr_accessor :DeepIn, :ParentId, :GroupName, :PageSize, :PageNum
|
|
2628
|
+
|
|
2629
|
+
def initialize(deepin=nil, parentid=nil, groupname=nil, pagesize=nil, pagenum=nil)
|
|
2630
|
+
@DeepIn = deepin
|
|
2631
|
+
@ParentId = parentid
|
|
2632
|
+
@GroupName = groupname
|
|
2633
|
+
@PageSize = pagesize
|
|
2634
|
+
@PageNum = pagenum
|
|
2635
|
+
end
|
|
2636
|
+
|
|
2637
|
+
def deserialize(params)
|
|
2638
|
+
@DeepIn = params['DeepIn']
|
|
2639
|
+
@ParentId = params['ParentId']
|
|
2640
|
+
@GroupName = params['GroupName']
|
|
2641
|
+
@PageSize = params['PageSize']
|
|
2642
|
+
@PageNum = params['PageNum']
|
|
2643
|
+
end
|
|
2644
|
+
end
|
|
2645
|
+
|
|
2646
|
+
# DescribeAccountGroups返回参数结构体
|
|
2647
|
+
class DescribeAccountGroupsResponse < TencentCloud::Common::AbstractModel
|
|
2648
|
+
# @param TotalCount: 账号组总数
|
|
2649
|
+
# @type TotalCount: Integer
|
|
2650
|
+
# @param AccountGroupSet: 账号组信息
|
|
2651
|
+
# @type AccountGroupSet: Array
|
|
2652
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
2653
|
+
# @type RequestId: String
|
|
2654
|
+
|
|
2655
|
+
attr_accessor :TotalCount, :AccountGroupSet, :RequestId
|
|
2656
|
+
|
|
2657
|
+
def initialize(totalcount=nil, accountgroupset=nil, requestid=nil)
|
|
2658
|
+
@TotalCount = totalcount
|
|
2659
|
+
@AccountGroupSet = accountgroupset
|
|
2660
|
+
@RequestId = requestid
|
|
2661
|
+
end
|
|
2662
|
+
|
|
2663
|
+
def deserialize(params)
|
|
2664
|
+
@TotalCount = params['TotalCount']
|
|
2665
|
+
unless params['AccountGroupSet'].nil?
|
|
2666
|
+
@AccountGroupSet = []
|
|
2667
|
+
params['AccountGroupSet'].each do |i|
|
|
2668
|
+
accountgroup_tmp = AccountGroup.new
|
|
2669
|
+
accountgroup_tmp.deserialize(i)
|
|
2670
|
+
@AccountGroupSet << accountgroup_tmp
|
|
2671
|
+
end
|
|
2672
|
+
end
|
|
2673
|
+
@RequestId = params['RequestId']
|
|
2674
|
+
end
|
|
2675
|
+
end
|
|
2676
|
+
|
|
2391
2677
|
# DescribeAcls请求参数结构体
|
|
2392
2678
|
class DescribeAclsRequest < TencentCloud::Common::AbstractModel
|
|
2393
2679
|
# @param IdSet: 访问权限ID集合
|
|
@@ -2408,6 +2694,8 @@ module TencentCloud
|
|
|
2408
2694
|
# @type AuthorizedAppAssetIdSet: Array
|
|
2409
2695
|
# @param Status: 访问权限状态,1 - 已生效,2 - 未生效,3 - 已过期
|
|
2410
2696
|
# @type Status: Integer
|
|
2697
|
+
# @param StatusSet: 访问权限状态,1 - 已生效,2 - 未生效,3 - 已过期
|
|
2698
|
+
# @type StatusSet: Array
|
|
2411
2699
|
# @param DepartmentId: 部门ID,用于过滤属于某个部门的访问权限
|
|
2412
2700
|
# @type DepartmentId: String
|
|
2413
2701
|
# @param ExactAccount: 是否根据AuthorizedDeviceIdSet,对资产账号进行精确匹配,默认false, 设置true时,确保AuthorizedDeviceIdSet只有一个元素
|
|
@@ -2415,9 +2703,9 @@ module TencentCloud
|
|
|
2415
2703
|
# @param Filters: 过滤数组
|
|
2416
2704
|
# @type Filters: Array
|
|
2417
2705
|
|
|
2418
|
-
attr_accessor :IdSet, :Name, :Offset, :Limit, :Exact, :AuthorizedUserIdSet, :AuthorizedDeviceIdSet, :AuthorizedAppAssetIdSet, :Status, :DepartmentId, :ExactAccount, :Filters
|
|
2706
|
+
attr_accessor :IdSet, :Name, :Offset, :Limit, :Exact, :AuthorizedUserIdSet, :AuthorizedDeviceIdSet, :AuthorizedAppAssetIdSet, :Status, :StatusSet, :DepartmentId, :ExactAccount, :Filters
|
|
2419
2707
|
|
|
2420
|
-
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)
|
|
2708
|
+
def initialize(idset=nil, name=nil, offset=nil, limit=nil, exact=nil, authorizeduseridset=nil, authorizeddeviceidset=nil, authorizedappassetidset=nil, status=nil, statusset=nil, departmentid=nil, exactaccount=nil, filters=nil)
|
|
2421
2709
|
@IdSet = idset
|
|
2422
2710
|
@Name = name
|
|
2423
2711
|
@Offset = offset
|
|
@@ -2427,6 +2715,7 @@ module TencentCloud
|
|
|
2427
2715
|
@AuthorizedDeviceIdSet = authorizeddeviceidset
|
|
2428
2716
|
@AuthorizedAppAssetIdSet = authorizedappassetidset
|
|
2429
2717
|
@Status = status
|
|
2718
|
+
@StatusSet = statusset
|
|
2430
2719
|
@DepartmentId = departmentid
|
|
2431
2720
|
@ExactAccount = exactaccount
|
|
2432
2721
|
@Filters = filters
|
|
@@ -2442,6 +2731,7 @@ module TencentCloud
|
|
|
2442
2731
|
@AuthorizedDeviceIdSet = params['AuthorizedDeviceIdSet']
|
|
2443
2732
|
@AuthorizedAppAssetIdSet = params['AuthorizedAppAssetIdSet']
|
|
2444
2733
|
@Status = params['Status']
|
|
2734
|
+
@StatusSet = params['StatusSet']
|
|
2445
2735
|
@DepartmentId = params['DepartmentId']
|
|
2446
2736
|
@ExactAccount = params['ExactAccount']
|
|
2447
2737
|
unless params['Filters'].nil?
|
|
@@ -2486,6 +2776,40 @@ module TencentCloud
|
|
|
2486
2776
|
end
|
|
2487
2777
|
end
|
|
2488
2778
|
|
|
2779
|
+
# DescribeAssetSyncFlag请求参数结构体
|
|
2780
|
+
class DescribeAssetSyncFlagRequest < TencentCloud::Common::AbstractModel
|
|
2781
|
+
|
|
2782
|
+
|
|
2783
|
+
def initialize()
|
|
2784
|
+
end
|
|
2785
|
+
|
|
2786
|
+
def deserialize(params)
|
|
2787
|
+
end
|
|
2788
|
+
end
|
|
2789
|
+
|
|
2790
|
+
# DescribeAssetSyncFlag返回参数结构体
|
|
2791
|
+
class DescribeAssetSyncFlagResponse < TencentCloud::Common::AbstractModel
|
|
2792
|
+
# @param AssetSyncFlags: 资产同步标志
|
|
2793
|
+
# @type AssetSyncFlags: :class:`Tencentcloud::Bh.v20230418.models.AssetSyncFlags`
|
|
2794
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
2795
|
+
# @type RequestId: String
|
|
2796
|
+
|
|
2797
|
+
attr_accessor :AssetSyncFlags, :RequestId
|
|
2798
|
+
|
|
2799
|
+
def initialize(assetsyncflags=nil, requestid=nil)
|
|
2800
|
+
@AssetSyncFlags = assetsyncflags
|
|
2801
|
+
@RequestId = requestid
|
|
2802
|
+
end
|
|
2803
|
+
|
|
2804
|
+
def deserialize(params)
|
|
2805
|
+
unless params['AssetSyncFlags'].nil?
|
|
2806
|
+
@AssetSyncFlags = AssetSyncFlags.new
|
|
2807
|
+
@AssetSyncFlags.deserialize(params['AssetSyncFlags'])
|
|
2808
|
+
end
|
|
2809
|
+
@RequestId = params['RequestId']
|
|
2810
|
+
end
|
|
2811
|
+
end
|
|
2812
|
+
|
|
2489
2813
|
# DescribeAssetSyncStatus请求参数结构体
|
|
2490
2814
|
class DescribeAssetSyncStatusRequest < TencentCloud::Common::AbstractModel
|
|
2491
2815
|
# @param Category: 查询的资产同步类型。1 -主机资产, 2 - 数据库资产
|
|
@@ -2669,17 +2993,20 @@ module TencentCloud
|
|
|
2669
2993
|
# @type Name: String
|
|
2670
2994
|
# @param Type: 命令模板类型 1-内置模板 2-自定义模板
|
|
2671
2995
|
# @type Type: Integer
|
|
2996
|
+
# @param TypeSet: 命令模板类型 1-内置模板 2-自定义模板
|
|
2997
|
+
# @type TypeSet: Array
|
|
2672
2998
|
# @param Offset: 分页偏移位置,默认值为0
|
|
2673
2999
|
# @type Offset: Integer
|
|
2674
3000
|
# @param Limit: 每页条目数量,默认20
|
|
2675
3001
|
# @type Limit: Integer
|
|
2676
3002
|
|
|
2677
|
-
attr_accessor :IdSet, :Name, :Type, :Offset, :Limit
|
|
3003
|
+
attr_accessor :IdSet, :Name, :Type, :TypeSet, :Offset, :Limit
|
|
2678
3004
|
|
|
2679
|
-
def initialize(idset=nil, name=nil, type=nil, offset=nil, limit=nil)
|
|
3005
|
+
def initialize(idset=nil, name=nil, type=nil, typeset=nil, offset=nil, limit=nil)
|
|
2680
3006
|
@IdSet = idset
|
|
2681
3007
|
@Name = name
|
|
2682
3008
|
@Type = type
|
|
3009
|
+
@TypeSet = typeset
|
|
2683
3010
|
@Offset = offset
|
|
2684
3011
|
@Limit = limit
|
|
2685
3012
|
end
|
|
@@ -2688,6 +3015,7 @@ module TencentCloud
|
|
|
2688
3015
|
@IdSet = params['IdSet']
|
|
2689
3016
|
@Name = params['Name']
|
|
2690
3017
|
@Type = params['Type']
|
|
3018
|
+
@TypeSet = params['TypeSet']
|
|
2691
3019
|
@Offset = params['Offset']
|
|
2692
3020
|
@Limit = params['Limit']
|
|
2693
3021
|
end
|
|
@@ -2966,15 +3294,21 @@ module TencentCloud
|
|
|
2966
3294
|
# @type ManagedAccount: String
|
|
2967
3295
|
# @param DepartmentId: 过滤条件,可按照部门ID进行过滤
|
|
2968
3296
|
# @type DepartmentId: String
|
|
3297
|
+
# @param AccountIdSet: 资产所属云账号id
|
|
3298
|
+
# @type AccountIdSet: Array
|
|
3299
|
+
# @param ProviderTypeSet: 云厂商类型,1-腾讯云,2-阿里云
|
|
3300
|
+
# @type ProviderTypeSet: Array
|
|
3301
|
+
# @param CloudDeviceStatusSet: 同步的云资产状态,标记同步的资产的状态情况,0-已删除,1-正常,2-已隔离,3-已过期
|
|
3302
|
+
# @type CloudDeviceStatusSet: Array
|
|
2969
3303
|
# @param TagFilters: 过滤条件,可按照标签键、标签进行过滤。如果同时指定标签键和标签过滤条件,它们之间为“AND”的关系
|
|
2970
3304
|
# @type TagFilters: Array
|
|
2971
3305
|
# @param Filters: 过滤数组。支持的Name:
|
|
2972
3306
|
# BindingStatus 绑定状态
|
|
2973
3307
|
# @type Filters: Array
|
|
2974
3308
|
|
|
2975
|
-
attr_accessor :IdSet, :Name, :Ip, :ApCodeSet, :Kind, :Offset, :Limit, :AuthorizedUserIdSet, :ResourceIdSet, :KindSet, :ManagedAccount, :DepartmentId, :TagFilters, :Filters
|
|
3309
|
+
attr_accessor :IdSet, :Name, :Ip, :ApCodeSet, :Kind, :Offset, :Limit, :AuthorizedUserIdSet, :ResourceIdSet, :KindSet, :ManagedAccount, :DepartmentId, :AccountIdSet, :ProviderTypeSet, :CloudDeviceStatusSet, :TagFilters, :Filters
|
|
2976
3310
|
|
|
2977
|
-
def initialize(idset=nil, name=nil, ip=nil, apcodeset=nil, kind=nil, offset=nil, limit=nil, authorizeduseridset=nil, resourceidset=nil, kindset=nil, managedaccount=nil, departmentid=nil, tagfilters=nil, filters=nil)
|
|
3311
|
+
def initialize(idset=nil, name=nil, ip=nil, apcodeset=nil, kind=nil, offset=nil, limit=nil, authorizeduseridset=nil, resourceidset=nil, kindset=nil, managedaccount=nil, departmentid=nil, accountidset=nil, providertypeset=nil, clouddevicestatusset=nil, tagfilters=nil, filters=nil)
|
|
2978
3312
|
@IdSet = idset
|
|
2979
3313
|
@Name = name
|
|
2980
3314
|
@Ip = ip
|
|
@@ -2987,6 +3321,9 @@ module TencentCloud
|
|
|
2987
3321
|
@KindSet = kindset
|
|
2988
3322
|
@ManagedAccount = managedaccount
|
|
2989
3323
|
@DepartmentId = departmentid
|
|
3324
|
+
@AccountIdSet = accountidset
|
|
3325
|
+
@ProviderTypeSet = providertypeset
|
|
3326
|
+
@CloudDeviceStatusSet = clouddevicestatusset
|
|
2990
3327
|
@TagFilters = tagfilters
|
|
2991
3328
|
@Filters = filters
|
|
2992
3329
|
end
|
|
@@ -3004,6 +3341,9 @@ module TencentCloud
|
|
|
3004
3341
|
@KindSet = params['KindSet']
|
|
3005
3342
|
@ManagedAccount = params['ManagedAccount']
|
|
3006
3343
|
@DepartmentId = params['DepartmentId']
|
|
3344
|
+
@AccountIdSet = params['AccountIdSet']
|
|
3345
|
+
@ProviderTypeSet = params['ProviderTypeSet']
|
|
3346
|
+
@CloudDeviceStatusSet = params['CloudDeviceStatusSet']
|
|
3007
3347
|
unless params['TagFilters'].nil?
|
|
3008
3348
|
@TagFilters = []
|
|
3009
3349
|
params['TagFilters'].each do |i|
|
|
@@ -3206,23 +3546,29 @@ module TencentCloud
|
|
|
3206
3546
|
# @type SourceIp: String
|
|
3207
3547
|
# @param Entry: 登录入口:1-字符界面,2-图形界面,3-web页面, 4-API
|
|
3208
3548
|
# @type Entry: Integer
|
|
3549
|
+
# @param EntrySet: 登录入口:1-字符界面,2-图形界面,3-web页面, 4-API
|
|
3550
|
+
# @type EntrySet: Array
|
|
3209
3551
|
# @param Result: 操作结果,1-成功,2-失败
|
|
3210
3552
|
# @type Result: Integer
|
|
3553
|
+
# @param ResultSet: 操作结果,1-成功,2-失败
|
|
3554
|
+
# @type ResultSet: Array
|
|
3211
3555
|
# @param Offset: 分页偏移位置,默认值为0
|
|
3212
3556
|
# @type Offset: Integer
|
|
3213
3557
|
# @param Limit: 分页每页记录数,默认20
|
|
3214
3558
|
# @type Limit: Integer
|
|
3215
3559
|
|
|
3216
|
-
attr_accessor :UserName, :RealName, :StartTime, :EndTime, :SourceIp, :Entry, :Result, :Offset, :Limit
|
|
3560
|
+
attr_accessor :UserName, :RealName, :StartTime, :EndTime, :SourceIp, :Entry, :EntrySet, :Result, :ResultSet, :Offset, :Limit
|
|
3217
3561
|
|
|
3218
|
-
def initialize(username=nil, realname=nil, starttime=nil, endtime=nil, sourceip=nil, entry=nil, result=nil, offset=nil, limit=nil)
|
|
3562
|
+
def initialize(username=nil, realname=nil, starttime=nil, endtime=nil, sourceip=nil, entry=nil, entryset=nil, result=nil, resultset=nil, offset=nil, limit=nil)
|
|
3219
3563
|
@UserName = username
|
|
3220
3564
|
@RealName = realname
|
|
3221
3565
|
@StartTime = starttime
|
|
3222
3566
|
@EndTime = endtime
|
|
3223
3567
|
@SourceIp = sourceip
|
|
3224
3568
|
@Entry = entry
|
|
3569
|
+
@EntrySet = entryset
|
|
3225
3570
|
@Result = result
|
|
3571
|
+
@ResultSet = resultset
|
|
3226
3572
|
@Offset = offset
|
|
3227
3573
|
@Limit = limit
|
|
3228
3574
|
end
|
|
@@ -3234,7 +3580,9 @@ module TencentCloud
|
|
|
3234
3580
|
@EndTime = params['EndTime']
|
|
3235
3581
|
@SourceIp = params['SourceIp']
|
|
3236
3582
|
@Entry = params['Entry']
|
|
3583
|
+
@EntrySet = params['EntrySet']
|
|
3237
3584
|
@Result = params['Result']
|
|
3585
|
+
@ResultSet = params['ResultSet']
|
|
3238
3586
|
@Offset = params['Offset']
|
|
3239
3587
|
@Limit = params['Limit']
|
|
3240
3588
|
end
|
|
@@ -3285,23 +3633,29 @@ module TencentCloud
|
|
|
3285
3633
|
# @type SourceIp: String
|
|
3286
3634
|
# @param Kind: 操作类型,参考DescribeOperationType返回结果
|
|
3287
3635
|
# @type Kind: Integer
|
|
3636
|
+
# @param KindSet: 操作类型,参考DescribeOperationType返回结果
|
|
3637
|
+
# @type KindSet: Array
|
|
3288
3638
|
# @param Result: 操作结果,1-成功,2-失败
|
|
3289
3639
|
# @type Result: Integer
|
|
3640
|
+
# @param ResultSet: 操作结果,1-成功,2-失败
|
|
3641
|
+
# @type ResultSet: Array
|
|
3290
3642
|
# @param Offset: 分页偏移位置,默认值为0
|
|
3291
3643
|
# @type Offset: Integer
|
|
3292
3644
|
# @param Limit: 分页每页记录数,默认20
|
|
3293
3645
|
# @type Limit: Integer
|
|
3294
3646
|
|
|
3295
|
-
attr_accessor :UserName, :RealName, :StartTime, :EndTime, :SourceIp, :Kind, :Result, :Offset, :Limit
|
|
3647
|
+
attr_accessor :UserName, :RealName, :StartTime, :EndTime, :SourceIp, :Kind, :KindSet, :Result, :ResultSet, :Offset, :Limit
|
|
3296
3648
|
|
|
3297
|
-
def initialize(username=nil, realname=nil, starttime=nil, endtime=nil, sourceip=nil, kind=nil, result=nil, offset=nil, limit=nil)
|
|
3649
|
+
def initialize(username=nil, realname=nil, starttime=nil, endtime=nil, sourceip=nil, kind=nil, kindset=nil, result=nil, resultset=nil, offset=nil, limit=nil)
|
|
3298
3650
|
@UserName = username
|
|
3299
3651
|
@RealName = realname
|
|
3300
3652
|
@StartTime = starttime
|
|
3301
3653
|
@EndTime = endtime
|
|
3302
3654
|
@SourceIp = sourceip
|
|
3303
3655
|
@Kind = kind
|
|
3656
|
+
@KindSet = kindset
|
|
3304
3657
|
@Result = result
|
|
3658
|
+
@ResultSet = resultset
|
|
3305
3659
|
@Offset = offset
|
|
3306
3660
|
@Limit = limit
|
|
3307
3661
|
end
|
|
@@ -3313,7 +3667,9 @@ module TencentCloud
|
|
|
3313
3667
|
@EndTime = params['EndTime']
|
|
3314
3668
|
@SourceIp = params['SourceIp']
|
|
3315
3669
|
@Kind = params['Kind']
|
|
3670
|
+
@KindSet = params['KindSet']
|
|
3316
3671
|
@Result = params['Result']
|
|
3672
|
+
@ResultSet = params['ResultSet']
|
|
3317
3673
|
@Offset = params['Offset']
|
|
3318
3674
|
@Limit = params['Limit']
|
|
3319
3675
|
end
|
|
@@ -3472,6 +3828,126 @@ module TencentCloud
|
|
|
3472
3828
|
end
|
|
3473
3829
|
end
|
|
3474
3830
|
|
|
3831
|
+
# DescribeSecuritySetting请求参数结构体
|
|
3832
|
+
class DescribeSecuritySettingRequest < TencentCloud::Common::AbstractModel
|
|
3833
|
+
|
|
3834
|
+
|
|
3835
|
+
def initialize()
|
|
3836
|
+
end
|
|
3837
|
+
|
|
3838
|
+
def deserialize(params)
|
|
3839
|
+
end
|
|
3840
|
+
end
|
|
3841
|
+
|
|
3842
|
+
# DescribeSecuritySetting返回参数结构体
|
|
3843
|
+
class DescribeSecuritySettingResponse < TencentCloud::Common::AbstractModel
|
|
3844
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
3845
|
+
# @type RequestId: String
|
|
3846
|
+
|
|
3847
|
+
attr_accessor :RequestId
|
|
3848
|
+
|
|
3849
|
+
def initialize(requestid=nil)
|
|
3850
|
+
@RequestId = requestid
|
|
3851
|
+
end
|
|
3852
|
+
|
|
3853
|
+
def deserialize(params)
|
|
3854
|
+
@RequestId = params['RequestId']
|
|
3855
|
+
end
|
|
3856
|
+
end
|
|
3857
|
+
|
|
3858
|
+
# DescribeSourceTypes请求参数结构体
|
|
3859
|
+
class DescribeSourceTypesRequest < TencentCloud::Common::AbstractModel
|
|
3860
|
+
|
|
3861
|
+
|
|
3862
|
+
def initialize()
|
|
3863
|
+
end
|
|
3864
|
+
|
|
3865
|
+
def deserialize(params)
|
|
3866
|
+
end
|
|
3867
|
+
end
|
|
3868
|
+
|
|
3869
|
+
# DescribeSourceTypes返回参数结构体
|
|
3870
|
+
class DescribeSourceTypesResponse < TencentCloud::Common::AbstractModel
|
|
3871
|
+
# @param TotalCount: 认证源总数
|
|
3872
|
+
# @type TotalCount: Integer
|
|
3873
|
+
# @param SourceTypeSet: 认证源信息
|
|
3874
|
+
# @type SourceTypeSet: Array
|
|
3875
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
3876
|
+
# @type RequestId: String
|
|
3877
|
+
|
|
3878
|
+
attr_accessor :TotalCount, :SourceTypeSet, :RequestId
|
|
3879
|
+
|
|
3880
|
+
def initialize(totalcount=nil, sourcetypeset=nil, requestid=nil)
|
|
3881
|
+
@TotalCount = totalcount
|
|
3882
|
+
@SourceTypeSet = sourcetypeset
|
|
3883
|
+
@RequestId = requestid
|
|
3884
|
+
end
|
|
3885
|
+
|
|
3886
|
+
def deserialize(params)
|
|
3887
|
+
@TotalCount = params['TotalCount']
|
|
3888
|
+
unless params['SourceTypeSet'].nil?
|
|
3889
|
+
@SourceTypeSet = []
|
|
3890
|
+
params['SourceTypeSet'].each do |i|
|
|
3891
|
+
sourcetype_tmp = SourceType.new
|
|
3892
|
+
sourcetype_tmp.deserialize(i)
|
|
3893
|
+
@SourceTypeSet << sourcetype_tmp
|
|
3894
|
+
end
|
|
3895
|
+
end
|
|
3896
|
+
@RequestId = params['RequestId']
|
|
3897
|
+
end
|
|
3898
|
+
end
|
|
3899
|
+
|
|
3900
|
+
# DescribeUserDirectory请求参数结构体
|
|
3901
|
+
class DescribeUserDirectoryRequest < TencentCloud::Common::AbstractModel
|
|
3902
|
+
# @param Limit: 分页大小
|
|
3903
|
+
# @type Limit: Integer
|
|
3904
|
+
# @param Offset: 分页偏移
|
|
3905
|
+
# @type Offset: Integer
|
|
3906
|
+
|
|
3907
|
+
attr_accessor :Limit, :Offset
|
|
3908
|
+
|
|
3909
|
+
def initialize(limit=nil, offset=nil)
|
|
3910
|
+
@Limit = limit
|
|
3911
|
+
@Offset = offset
|
|
3912
|
+
end
|
|
3913
|
+
|
|
3914
|
+
def deserialize(params)
|
|
3915
|
+
@Limit = params['Limit']
|
|
3916
|
+
@Offset = params['Offset']
|
|
3917
|
+
end
|
|
3918
|
+
end
|
|
3919
|
+
|
|
3920
|
+
# DescribeUserDirectory返回参数结构体
|
|
3921
|
+
class DescribeUserDirectoryResponse < TencentCloud::Common::AbstractModel
|
|
3922
|
+
# @param UserDirSet: 用户目录集
|
|
3923
|
+
# @type UserDirSet: Array
|
|
3924
|
+
# @param TotalCount: 用户目录集总数
|
|
3925
|
+
# @type TotalCount: Integer
|
|
3926
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
3927
|
+
# @type RequestId: String
|
|
3928
|
+
|
|
3929
|
+
attr_accessor :UserDirSet, :TotalCount, :RequestId
|
|
3930
|
+
|
|
3931
|
+
def initialize(userdirset=nil, totalcount=nil, requestid=nil)
|
|
3932
|
+
@UserDirSet = userdirset
|
|
3933
|
+
@TotalCount = totalcount
|
|
3934
|
+
@RequestId = requestid
|
|
3935
|
+
end
|
|
3936
|
+
|
|
3937
|
+
def deserialize(params)
|
|
3938
|
+
unless params['UserDirSet'].nil?
|
|
3939
|
+
@UserDirSet = []
|
|
3940
|
+
params['UserDirSet'].each do |i|
|
|
3941
|
+
userdirectory_tmp = UserDirectory.new
|
|
3942
|
+
userdirectory_tmp.deserialize(i)
|
|
3943
|
+
@UserDirSet << userdirectory_tmp
|
|
3944
|
+
end
|
|
3945
|
+
end
|
|
3946
|
+
@TotalCount = params['TotalCount']
|
|
3947
|
+
@RequestId = params['RequestId']
|
|
3948
|
+
end
|
|
3949
|
+
end
|
|
3950
|
+
|
|
3475
3951
|
# DescribeUserGroupMembers请求参数结构体
|
|
3476
3952
|
class DescribeUserGroupMembersRequest < TencentCloud::Common::AbstractModel
|
|
3477
3953
|
# @param Id: 用户组ID
|
|
@@ -3602,16 +4078,55 @@ module TencentCloud
|
|
|
3602
4078
|
end
|
|
3603
4079
|
end
|
|
3604
4080
|
|
|
3605
|
-
#
|
|
3606
|
-
class
|
|
3607
|
-
# @param
|
|
3608
|
-
# @type
|
|
3609
|
-
|
|
3610
|
-
|
|
3611
|
-
|
|
3612
|
-
|
|
3613
|
-
|
|
3614
|
-
|
|
4081
|
+
# DescribeUserSyncStatus请求参数结构体
|
|
4082
|
+
class DescribeUserSyncStatusRequest < TencentCloud::Common::AbstractModel
|
|
4083
|
+
# @param UserKind: 获取用户同步状态, 1-获取ioa用户同步状态
|
|
4084
|
+
# @type UserKind: Integer
|
|
4085
|
+
|
|
4086
|
+
attr_accessor :UserKind
|
|
4087
|
+
|
|
4088
|
+
def initialize(userkind=nil)
|
|
4089
|
+
@UserKind = userkind
|
|
4090
|
+
end
|
|
4091
|
+
|
|
4092
|
+
def deserialize(params)
|
|
4093
|
+
@UserKind = params['UserKind']
|
|
4094
|
+
end
|
|
4095
|
+
end
|
|
4096
|
+
|
|
4097
|
+
# DescribeUserSyncStatus返回参数结构体
|
|
4098
|
+
class DescribeUserSyncStatusResponse < TencentCloud::Common::AbstractModel
|
|
4099
|
+
# @param Status: 用户同步状态
|
|
4100
|
+
# @type Status: :class:`Tencentcloud::Bh.v20230418.models.AssetSyncStatus`
|
|
4101
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
4102
|
+
# @type RequestId: String
|
|
4103
|
+
|
|
4104
|
+
attr_accessor :Status, :RequestId
|
|
4105
|
+
|
|
4106
|
+
def initialize(status=nil, requestid=nil)
|
|
4107
|
+
@Status = status
|
|
4108
|
+
@RequestId = requestid
|
|
4109
|
+
end
|
|
4110
|
+
|
|
4111
|
+
def deserialize(params)
|
|
4112
|
+
unless params['Status'].nil?
|
|
4113
|
+
@Status = AssetSyncStatus.new
|
|
4114
|
+
@Status.deserialize(params['Status'])
|
|
4115
|
+
end
|
|
4116
|
+
@RequestId = params['RequestId']
|
|
4117
|
+
end
|
|
4118
|
+
end
|
|
4119
|
+
|
|
4120
|
+
# DescribeUsers请求参数结构体
|
|
4121
|
+
class DescribeUsersRequest < TencentCloud::Common::AbstractModel
|
|
4122
|
+
# @param IdSet: 如果IdSet不为空,则忽略其他参数
|
|
4123
|
+
# @type IdSet: Array
|
|
4124
|
+
# @param Name: 模糊查询,IdSet、UserName、Phone为空时才生效,对用户名和姓名进行模糊查询
|
|
4125
|
+
# @type Name: String
|
|
4126
|
+
# @param Offset: 分页偏移位置,默认值为0
|
|
4127
|
+
# @type Offset: Integer
|
|
4128
|
+
# @param Limit: 每页条目数量,默认20, 最大500
|
|
4129
|
+
# @type Limit: Integer
|
|
3615
4130
|
# @param UserName: 精确查询,IdSet为空时才生效
|
|
3616
4131
|
# @type UserName: String
|
|
3617
4132
|
# @param Phone: 精确查询,IdSet、UserName为空时才生效。
|
|
@@ -3723,6 +4238,8 @@ module TencentCloud
|
|
|
3723
4238
|
# @type PrivateIp: String
|
|
3724
4239
|
# @param ApCode: 地域编码
|
|
3725
4240
|
# @type ApCode: String
|
|
4241
|
+
# @param ApName: 地域名称
|
|
4242
|
+
# @type ApName: String
|
|
3726
4243
|
# @param OsName: 操作系统名称
|
|
3727
4244
|
# @type OsName: String
|
|
3728
4245
|
# @param Kind: 资产类型 1 - Linux, 2 - Windows, 3 - MySQL, 4 - SQLServer
|
|
@@ -3765,16 +4282,27 @@ module TencentCloud
|
|
|
3765
4282
|
# @type SyncPodCount: Integer
|
|
3766
4283
|
# @param TotalPodCount: K8S集群pod总数量
|
|
3767
4284
|
# @type TotalPodCount: Integer
|
|
3768
|
-
|
|
3769
|
-
|
|
3770
|
-
|
|
3771
|
-
|
|
4285
|
+
# @param CloudAccountId: 云账号id
|
|
4286
|
+
# @type CloudAccountId: Integer
|
|
4287
|
+
# @param CloudAccountName: 云账号名称
|
|
4288
|
+
# @type CloudAccountName: String
|
|
4289
|
+
# @param ProviderType: 云厂商类型1-腾讯云,2-阿里云
|
|
4290
|
+
# @type ProviderType: Integer
|
|
4291
|
+
# @param ProviderName: 云厂商名称
|
|
4292
|
+
# @type ProviderName: String
|
|
4293
|
+
# @param SyncCloudDeviceStatus: 同步的云资产状态,标记同步的资产的状态情况,0-已删除,1-正常,2-已隔离,3-已过期
|
|
4294
|
+
# @type SyncCloudDeviceStatus: Integer
|
|
4295
|
+
|
|
4296
|
+
attr_accessor :Id, :InstanceId, :Name, :PublicIp, :PrivateIp, :ApCode, :ApName, :OsName, :Kind, :Port, :GroupSet, :AccountCount, :VpcId, :SubnetId, :Resource, :Department, :IpPortSet, :DomainId, :DomainName, :EnableSSL, :SSLCertName, :IOAId, :ManageDimension, :ManageAccountId, :Namespace, :Workload, :SyncPodCount, :TotalPodCount, :CloudAccountId, :CloudAccountName, :ProviderType, :ProviderName, :SyncCloudDeviceStatus
|
|
4297
|
+
|
|
4298
|
+
def initialize(id=nil, instanceid=nil, name=nil, publicip=nil, privateip=nil, apcode=nil, apname=nil, osname=nil, kind=nil, port=nil, groupset=nil, accountcount=nil, vpcid=nil, subnetid=nil, resource=nil, department=nil, ipportset=nil, domainid=nil, domainname=nil, enablessl=nil, sslcertname=nil, ioaid=nil, managedimension=nil, manageaccountid=nil, namespace=nil, workload=nil, syncpodcount=nil, totalpodcount=nil, cloudaccountid=nil, cloudaccountname=nil, providertype=nil, providername=nil, syncclouddevicestatus=nil)
|
|
3772
4299
|
@Id = id
|
|
3773
4300
|
@InstanceId = instanceid
|
|
3774
4301
|
@Name = name
|
|
3775
4302
|
@PublicIp = publicip
|
|
3776
4303
|
@PrivateIp = privateip
|
|
3777
4304
|
@ApCode = apcode
|
|
4305
|
+
@ApName = apname
|
|
3778
4306
|
@OsName = osname
|
|
3779
4307
|
@Kind = kind
|
|
3780
4308
|
@Port = port
|
|
@@ -3796,6 +4324,11 @@ module TencentCloud
|
|
|
3796
4324
|
@Workload = workload
|
|
3797
4325
|
@SyncPodCount = syncpodcount
|
|
3798
4326
|
@TotalPodCount = totalpodcount
|
|
4327
|
+
@CloudAccountId = cloudaccountid
|
|
4328
|
+
@CloudAccountName = cloudaccountname
|
|
4329
|
+
@ProviderType = providertype
|
|
4330
|
+
@ProviderName = providername
|
|
4331
|
+
@SyncCloudDeviceStatus = syncclouddevicestatus
|
|
3799
4332
|
end
|
|
3800
4333
|
|
|
3801
4334
|
def deserialize(params)
|
|
@@ -3805,6 +4338,7 @@ module TencentCloud
|
|
|
3805
4338
|
@PublicIp = params['PublicIp']
|
|
3806
4339
|
@PrivateIp = params['PrivateIp']
|
|
3807
4340
|
@ApCode = params['ApCode']
|
|
4341
|
+
@ApName = params['ApName']
|
|
3808
4342
|
@OsName = params['OsName']
|
|
3809
4343
|
@Kind = params['Kind']
|
|
3810
4344
|
@Port = params['Port']
|
|
@@ -3839,6 +4373,11 @@ module TencentCloud
|
|
|
3839
4373
|
@Workload = params['Workload']
|
|
3840
4374
|
@SyncPodCount = params['SyncPodCount']
|
|
3841
4375
|
@TotalPodCount = params['TotalPodCount']
|
|
4376
|
+
@CloudAccountId = params['CloudAccountId']
|
|
4377
|
+
@CloudAccountName = params['CloudAccountName']
|
|
4378
|
+
@ProviderType = params['ProviderType']
|
|
4379
|
+
@ProviderName = params['ProviderName']
|
|
4380
|
+
@SyncCloudDeviceStatus = params['SyncCloudDeviceStatus']
|
|
3842
4381
|
end
|
|
3843
4382
|
end
|
|
3844
4383
|
|
|
@@ -3882,6 +4421,70 @@ module TencentCloud
|
|
|
3882
4421
|
end
|
|
3883
4422
|
end
|
|
3884
4423
|
|
|
4424
|
+
# DisableExternalAccess请求参数结构体
|
|
4425
|
+
class DisableExternalAccessRequest < TencentCloud::Common::AbstractModel
|
|
4426
|
+
# @param ResourceId: 堡垒机id
|
|
4427
|
+
# @type ResourceId: String
|
|
4428
|
+
|
|
4429
|
+
attr_accessor :ResourceId
|
|
4430
|
+
|
|
4431
|
+
def initialize(resourceid=nil)
|
|
4432
|
+
@ResourceId = resourceid
|
|
4433
|
+
end
|
|
4434
|
+
|
|
4435
|
+
def deserialize(params)
|
|
4436
|
+
@ResourceId = params['ResourceId']
|
|
4437
|
+
end
|
|
4438
|
+
end
|
|
4439
|
+
|
|
4440
|
+
# DisableExternalAccess返回参数结构体
|
|
4441
|
+
class DisableExternalAccessResponse < TencentCloud::Common::AbstractModel
|
|
4442
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
4443
|
+
# @type RequestId: String
|
|
4444
|
+
|
|
4445
|
+
attr_accessor :RequestId
|
|
4446
|
+
|
|
4447
|
+
def initialize(requestid=nil)
|
|
4448
|
+
@RequestId = requestid
|
|
4449
|
+
end
|
|
4450
|
+
|
|
4451
|
+
def deserialize(params)
|
|
4452
|
+
@RequestId = params['RequestId']
|
|
4453
|
+
end
|
|
4454
|
+
end
|
|
4455
|
+
|
|
4456
|
+
# DisableIntranetAccess请求参数结构体
|
|
4457
|
+
class DisableIntranetAccessRequest < TencentCloud::Common::AbstractModel
|
|
4458
|
+
# @param ResourceId: 堡垒机id
|
|
4459
|
+
# @type ResourceId: String
|
|
4460
|
+
|
|
4461
|
+
attr_accessor :ResourceId
|
|
4462
|
+
|
|
4463
|
+
def initialize(resourceid=nil)
|
|
4464
|
+
@ResourceId = resourceid
|
|
4465
|
+
end
|
|
4466
|
+
|
|
4467
|
+
def deserialize(params)
|
|
4468
|
+
@ResourceId = params['ResourceId']
|
|
4469
|
+
end
|
|
4470
|
+
end
|
|
4471
|
+
|
|
4472
|
+
# DisableIntranetAccess返回参数结构体
|
|
4473
|
+
class DisableIntranetAccessResponse < TencentCloud::Common::AbstractModel
|
|
4474
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
4475
|
+
# @type RequestId: String
|
|
4476
|
+
|
|
4477
|
+
attr_accessor :RequestId
|
|
4478
|
+
|
|
4479
|
+
def initialize(requestid=nil)
|
|
4480
|
+
@RequestId = requestid
|
|
4481
|
+
end
|
|
4482
|
+
|
|
4483
|
+
def deserialize(params)
|
|
4484
|
+
@RequestId = params['RequestId']
|
|
4485
|
+
end
|
|
4486
|
+
end
|
|
4487
|
+
|
|
3885
4488
|
# 网络域
|
|
3886
4489
|
class Domain < TencentCloud::Common::AbstractModel
|
|
3887
4490
|
# @param Id: 自增id
|
|
@@ -3930,6 +4533,86 @@ module TencentCloud
|
|
|
3930
4533
|
end
|
|
3931
4534
|
end
|
|
3932
4535
|
|
|
4536
|
+
# EnableExternalAccess请求参数结构体
|
|
4537
|
+
class EnableExternalAccessRequest < TencentCloud::Common::AbstractModel
|
|
4538
|
+
# @param ResourceId: 堡垒机id
|
|
4539
|
+
# @type ResourceId: String
|
|
4540
|
+
|
|
4541
|
+
attr_accessor :ResourceId
|
|
4542
|
+
|
|
4543
|
+
def initialize(resourceid=nil)
|
|
4544
|
+
@ResourceId = resourceid
|
|
4545
|
+
end
|
|
4546
|
+
|
|
4547
|
+
def deserialize(params)
|
|
4548
|
+
@ResourceId = params['ResourceId']
|
|
4549
|
+
end
|
|
4550
|
+
end
|
|
4551
|
+
|
|
4552
|
+
# EnableExternalAccess返回参数结构体
|
|
4553
|
+
class EnableExternalAccessResponse < TencentCloud::Common::AbstractModel
|
|
4554
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
4555
|
+
# @type RequestId: String
|
|
4556
|
+
|
|
4557
|
+
attr_accessor :RequestId
|
|
4558
|
+
|
|
4559
|
+
def initialize(requestid=nil)
|
|
4560
|
+
@RequestId = requestid
|
|
4561
|
+
end
|
|
4562
|
+
|
|
4563
|
+
def deserialize(params)
|
|
4564
|
+
@RequestId = params['RequestId']
|
|
4565
|
+
end
|
|
4566
|
+
end
|
|
4567
|
+
|
|
4568
|
+
# EnableIntranetAccess请求参数结构体
|
|
4569
|
+
class EnableIntranetAccessRequest < TencentCloud::Common::AbstractModel
|
|
4570
|
+
# @param ResourceId: 堡垒机实例id
|
|
4571
|
+
# @type ResourceId: String
|
|
4572
|
+
# @param VpcId: 开通内网访问的vpc id
|
|
4573
|
+
# @type VpcId: String
|
|
4574
|
+
# @param VpcCidrBlock: vpc的网段
|
|
4575
|
+
# @type VpcCidrBlock: String
|
|
4576
|
+
# @param SubnetId: 开通内网访问的subnet id
|
|
4577
|
+
# @type SubnetId: String
|
|
4578
|
+
# @param DomainName: 内网ip的自定义域名,可为空
|
|
4579
|
+
# @type DomainName: String
|
|
4580
|
+
|
|
4581
|
+
attr_accessor :ResourceId, :VpcId, :VpcCidrBlock, :SubnetId, :DomainName
|
|
4582
|
+
|
|
4583
|
+
def initialize(resourceid=nil, vpcid=nil, vpccidrblock=nil, subnetid=nil, domainname=nil)
|
|
4584
|
+
@ResourceId = resourceid
|
|
4585
|
+
@VpcId = vpcid
|
|
4586
|
+
@VpcCidrBlock = vpccidrblock
|
|
4587
|
+
@SubnetId = subnetid
|
|
4588
|
+
@DomainName = domainname
|
|
4589
|
+
end
|
|
4590
|
+
|
|
4591
|
+
def deserialize(params)
|
|
4592
|
+
@ResourceId = params['ResourceId']
|
|
4593
|
+
@VpcId = params['VpcId']
|
|
4594
|
+
@VpcCidrBlock = params['VpcCidrBlock']
|
|
4595
|
+
@SubnetId = params['SubnetId']
|
|
4596
|
+
@DomainName = params['DomainName']
|
|
4597
|
+
end
|
|
4598
|
+
end
|
|
4599
|
+
|
|
4600
|
+
# EnableIntranetAccess返回参数结构体
|
|
4601
|
+
class EnableIntranetAccessResponse < TencentCloud::Common::AbstractModel
|
|
4602
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
4603
|
+
# @type RequestId: String
|
|
4604
|
+
|
|
4605
|
+
attr_accessor :RequestId
|
|
4606
|
+
|
|
4607
|
+
def initialize(requestid=nil)
|
|
4608
|
+
@RequestId = requestid
|
|
4609
|
+
end
|
|
4610
|
+
|
|
4611
|
+
def deserialize(params)
|
|
4612
|
+
@RequestId = params['RequestId']
|
|
4613
|
+
end
|
|
4614
|
+
end
|
|
4615
|
+
|
|
3933
4616
|
# 主机参数,导入外部主机时使用
|
|
3934
4617
|
class ExternalDevice < TencentCloud::Common::AbstractModel
|
|
3935
4618
|
# @param OsName: 操作系统名称,只能是Linux、Windows或MySQL
|
|
@@ -3950,10 +4633,22 @@ module TencentCloud
|
|
|
3950
4633
|
# @type SSLCert: String
|
|
3951
4634
|
# @param SSLCertName: SSL证书名称,EnableSSL时必填
|
|
3952
4635
|
# @type SSLCertName: String
|
|
4636
|
+
# @param InstanceId: 资产实例id
|
|
4637
|
+
# @type InstanceId: String
|
|
4638
|
+
# @param ApCode: 资产所属地域
|
|
4639
|
+
# @type ApCode: String
|
|
4640
|
+
# @param ApName: 地域名称
|
|
4641
|
+
# @type ApName: String
|
|
4642
|
+
# @param VpcId: 资产所属VPC
|
|
4643
|
+
# @type VpcId: String
|
|
4644
|
+
# @param SubnetId: 资产所属子网
|
|
4645
|
+
# @type SubnetId: String
|
|
4646
|
+
# @param PublicIp: 公网IP
|
|
4647
|
+
# @type PublicIp: String
|
|
3953
4648
|
|
|
3954
|
-
attr_accessor :OsName, :Ip, :Port, :Name, :DepartmentId, :IpPortSet, :EnableSSL, :SSLCert, :SSLCertName
|
|
4649
|
+
attr_accessor :OsName, :Ip, :Port, :Name, :DepartmentId, :IpPortSet, :EnableSSL, :SSLCert, :SSLCertName, :InstanceId, :ApCode, :ApName, :VpcId, :SubnetId, :PublicIp
|
|
3955
4650
|
|
|
3956
|
-
def initialize(osname=nil, ip=nil, port=nil, name=nil, departmentid=nil, ipportset=nil, enablessl=nil, sslcert=nil, sslcertname=nil)
|
|
4651
|
+
def initialize(osname=nil, ip=nil, port=nil, name=nil, departmentid=nil, ipportset=nil, enablessl=nil, sslcert=nil, sslcertname=nil, instanceid=nil, apcode=nil, apname=nil, vpcid=nil, subnetid=nil, publicip=nil)
|
|
3957
4652
|
@OsName = osname
|
|
3958
4653
|
@Ip = ip
|
|
3959
4654
|
@Port = port
|
|
@@ -3963,6 +4658,12 @@ module TencentCloud
|
|
|
3963
4658
|
@EnableSSL = enablessl
|
|
3964
4659
|
@SSLCert = sslcert
|
|
3965
4660
|
@SSLCertName = sslcertname
|
|
4661
|
+
@InstanceId = instanceid
|
|
4662
|
+
@ApCode = apcode
|
|
4663
|
+
@ApName = apname
|
|
4664
|
+
@VpcId = vpcid
|
|
4665
|
+
@SubnetId = subnetid
|
|
4666
|
+
@PublicIp = publicip
|
|
3966
4667
|
end
|
|
3967
4668
|
|
|
3968
4669
|
def deserialize(params)
|
|
@@ -3975,6 +4676,12 @@ module TencentCloud
|
|
|
3975
4676
|
@EnableSSL = params['EnableSSL']
|
|
3976
4677
|
@SSLCert = params['SSLCert']
|
|
3977
4678
|
@SSLCertName = params['SSLCertName']
|
|
4679
|
+
@InstanceId = params['InstanceId']
|
|
4680
|
+
@ApCode = params['ApCode']
|
|
4681
|
+
@ApName = params['ApName']
|
|
4682
|
+
@VpcId = params['VpcId']
|
|
4683
|
+
@SubnetId = params['SubnetId']
|
|
4684
|
+
@PublicIp = params['PublicIp']
|
|
3978
4685
|
end
|
|
3979
4686
|
end
|
|
3980
4687
|
|
|
@@ -4067,11 +4774,14 @@ module TencentCloud
|
|
|
4067
4774
|
class ImportExternalDeviceRequest < TencentCloud::Common::AbstractModel
|
|
4068
4775
|
# @param DeviceSet: 资产参数列表
|
|
4069
4776
|
# @type DeviceSet: Array
|
|
4777
|
+
# @param AccountId: 资产所属云账号id
|
|
4778
|
+
# @type AccountId: Integer
|
|
4070
4779
|
|
|
4071
|
-
attr_accessor :DeviceSet
|
|
4780
|
+
attr_accessor :DeviceSet, :AccountId
|
|
4072
4781
|
|
|
4073
|
-
def initialize(deviceset=nil)
|
|
4782
|
+
def initialize(deviceset=nil, accountid=nil)
|
|
4074
4783
|
@DeviceSet = deviceset
|
|
4784
|
+
@AccountId = accountid
|
|
4075
4785
|
end
|
|
4076
4786
|
|
|
4077
4787
|
def deserialize(params)
|
|
@@ -4083,6 +4793,7 @@ module TencentCloud
|
|
|
4083
4793
|
@DeviceSet << externaldevice_tmp
|
|
4084
4794
|
end
|
|
4085
4795
|
end
|
|
4796
|
+
@AccountId = params['AccountId']
|
|
4086
4797
|
end
|
|
4087
4798
|
end
|
|
4088
4799
|
|
|
@@ -4142,6 +4853,110 @@ module TencentCloud
|
|
|
4142
4853
|
end
|
|
4143
4854
|
end
|
|
4144
4855
|
|
|
4856
|
+
# ModifyAccessWhiteListAutoStatus请求参数结构体
|
|
4857
|
+
class ModifyAccessWhiteListAutoStatusRequest < TencentCloud::Common::AbstractModel
|
|
4858
|
+
# @param AllowAuto: true:放开自动添加IP;false:不放开自动添加IP
|
|
4859
|
+
# @type AllowAuto: Boolean
|
|
4860
|
+
|
|
4861
|
+
attr_accessor :AllowAuto
|
|
4862
|
+
|
|
4863
|
+
def initialize(allowauto=nil)
|
|
4864
|
+
@AllowAuto = allowauto
|
|
4865
|
+
end
|
|
4866
|
+
|
|
4867
|
+
def deserialize(params)
|
|
4868
|
+
@AllowAuto = params['AllowAuto']
|
|
4869
|
+
end
|
|
4870
|
+
end
|
|
4871
|
+
|
|
4872
|
+
# ModifyAccessWhiteListAutoStatus返回参数结构体
|
|
4873
|
+
class ModifyAccessWhiteListAutoStatusResponse < TencentCloud::Common::AbstractModel
|
|
4874
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
4875
|
+
# @type RequestId: String
|
|
4876
|
+
|
|
4877
|
+
attr_accessor :RequestId
|
|
4878
|
+
|
|
4879
|
+
def initialize(requestid=nil)
|
|
4880
|
+
@RequestId = requestid
|
|
4881
|
+
end
|
|
4882
|
+
|
|
4883
|
+
def deserialize(params)
|
|
4884
|
+
@RequestId = params['RequestId']
|
|
4885
|
+
end
|
|
4886
|
+
end
|
|
4887
|
+
|
|
4888
|
+
# ModifyAccessWhiteListRule请求参数结构体
|
|
4889
|
+
class ModifyAccessWhiteListRuleRequest < TencentCloud::Common::AbstractModel
|
|
4890
|
+
# @param Id: 白名单规则ID
|
|
4891
|
+
# @type Id: Integer
|
|
4892
|
+
# @param Source: ip或网段信息,如10.10.10.1或10.10.10.0/24,最大长度40字节
|
|
4893
|
+
# @type Source: String
|
|
4894
|
+
# @param Remark: 备注信息,最大长度64字符。
|
|
4895
|
+
# @type Remark: String
|
|
4896
|
+
|
|
4897
|
+
attr_accessor :Id, :Source, :Remark
|
|
4898
|
+
|
|
4899
|
+
def initialize(id=nil, source=nil, remark=nil)
|
|
4900
|
+
@Id = id
|
|
4901
|
+
@Source = source
|
|
4902
|
+
@Remark = remark
|
|
4903
|
+
end
|
|
4904
|
+
|
|
4905
|
+
def deserialize(params)
|
|
4906
|
+
@Id = params['Id']
|
|
4907
|
+
@Source = params['Source']
|
|
4908
|
+
@Remark = params['Remark']
|
|
4909
|
+
end
|
|
4910
|
+
end
|
|
4911
|
+
|
|
4912
|
+
# ModifyAccessWhiteListRule返回参数结构体
|
|
4913
|
+
class ModifyAccessWhiteListRuleResponse < TencentCloud::Common::AbstractModel
|
|
4914
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
4915
|
+
# @type RequestId: String
|
|
4916
|
+
|
|
4917
|
+
attr_accessor :RequestId
|
|
4918
|
+
|
|
4919
|
+
def initialize(requestid=nil)
|
|
4920
|
+
@RequestId = requestid
|
|
4921
|
+
end
|
|
4922
|
+
|
|
4923
|
+
def deserialize(params)
|
|
4924
|
+
@RequestId = params['RequestId']
|
|
4925
|
+
end
|
|
4926
|
+
end
|
|
4927
|
+
|
|
4928
|
+
# ModifyAccessWhiteListStatus请求参数结构体
|
|
4929
|
+
class ModifyAccessWhiteListStatusRequest < TencentCloud::Common::AbstractModel
|
|
4930
|
+
# @param AllowAny: true:放开全部来源IP;false:不放开全部来源IP
|
|
4931
|
+
# @type AllowAny: Boolean
|
|
4932
|
+
|
|
4933
|
+
attr_accessor :AllowAny
|
|
4934
|
+
|
|
4935
|
+
def initialize(allowany=nil)
|
|
4936
|
+
@AllowAny = allowany
|
|
4937
|
+
end
|
|
4938
|
+
|
|
4939
|
+
def deserialize(params)
|
|
4940
|
+
@AllowAny = params['AllowAny']
|
|
4941
|
+
end
|
|
4942
|
+
end
|
|
4943
|
+
|
|
4944
|
+
# ModifyAccessWhiteListStatus返回参数结构体
|
|
4945
|
+
class ModifyAccessWhiteListStatusResponse < TencentCloud::Common::AbstractModel
|
|
4946
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
4947
|
+
# @type RequestId: String
|
|
4948
|
+
|
|
4949
|
+
attr_accessor :RequestId
|
|
4950
|
+
|
|
4951
|
+
def initialize(requestid=nil)
|
|
4952
|
+
@RequestId = requestid
|
|
4953
|
+
end
|
|
4954
|
+
|
|
4955
|
+
def deserialize(params)
|
|
4956
|
+
@RequestId = params['RequestId']
|
|
4957
|
+
end
|
|
4958
|
+
end
|
|
4959
|
+
|
|
4145
4960
|
# ModifyAcl请求参数结构体
|
|
4146
4961
|
class ModifyAclRequest < TencentCloud::Common::AbstractModel
|
|
4147
4962
|
# @param Name: 访问权限名称,最大32字符,不能包含空白字符
|
|
@@ -4292,6 +5107,74 @@ module TencentCloud
|
|
|
4292
5107
|
end
|
|
4293
5108
|
end
|
|
4294
5109
|
|
|
5110
|
+
# ModifyAssetSyncFlag请求参数结构体
|
|
5111
|
+
class ModifyAssetSyncFlagRequest < TencentCloud::Common::AbstractModel
|
|
5112
|
+
# @param AutoSync: 是否开启资产自动同步,false-不开启,true-开启
|
|
5113
|
+
# @type AutoSync: Boolean
|
|
5114
|
+
|
|
5115
|
+
attr_accessor :AutoSync
|
|
5116
|
+
|
|
5117
|
+
def initialize(autosync=nil)
|
|
5118
|
+
@AutoSync = autosync
|
|
5119
|
+
end
|
|
5120
|
+
|
|
5121
|
+
def deserialize(params)
|
|
5122
|
+
@AutoSync = params['AutoSync']
|
|
5123
|
+
end
|
|
5124
|
+
end
|
|
5125
|
+
|
|
5126
|
+
# ModifyAssetSyncFlag返回参数结构体
|
|
5127
|
+
class ModifyAssetSyncFlagResponse < TencentCloud::Common::AbstractModel
|
|
5128
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
5129
|
+
# @type RequestId: String
|
|
5130
|
+
|
|
5131
|
+
attr_accessor :RequestId
|
|
5132
|
+
|
|
5133
|
+
def initialize(requestid=nil)
|
|
5134
|
+
@RequestId = requestid
|
|
5135
|
+
end
|
|
5136
|
+
|
|
5137
|
+
def deserialize(params)
|
|
5138
|
+
@RequestId = params['RequestId']
|
|
5139
|
+
end
|
|
5140
|
+
end
|
|
5141
|
+
|
|
5142
|
+
# ModifyAuthModeSetting请求参数结构体
|
|
5143
|
+
class ModifyAuthModeSettingRequest < TencentCloud::Common::AbstractModel
|
|
5144
|
+
# @param AuthMode: 双因子认证,0-不开启,1-OTP,2-短信,3-USB Key
|
|
5145
|
+
# @type AuthMode: Integer
|
|
5146
|
+
# @param ResourceType: 资源类型,0:普通 1:国密
|
|
5147
|
+
# @type ResourceType: Integer
|
|
5148
|
+
|
|
5149
|
+
attr_accessor :AuthMode, :ResourceType
|
|
5150
|
+
|
|
5151
|
+
def initialize(authmode=nil, resourcetype=nil)
|
|
5152
|
+
@AuthMode = authmode
|
|
5153
|
+
@ResourceType = resourcetype
|
|
5154
|
+
end
|
|
5155
|
+
|
|
5156
|
+
def deserialize(params)
|
|
5157
|
+
@AuthMode = params['AuthMode']
|
|
5158
|
+
@ResourceType = params['ResourceType']
|
|
5159
|
+
end
|
|
5160
|
+
end
|
|
5161
|
+
|
|
5162
|
+
# ModifyAuthModeSetting返回参数结构体
|
|
5163
|
+
class ModifyAuthModeSettingResponse < TencentCloud::Common::AbstractModel
|
|
5164
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
5165
|
+
# @type RequestId: String
|
|
5166
|
+
|
|
5167
|
+
attr_accessor :RequestId
|
|
5168
|
+
|
|
5169
|
+
def initialize(requestid=nil)
|
|
5170
|
+
@RequestId = requestid
|
|
5171
|
+
end
|
|
5172
|
+
|
|
5173
|
+
def deserialize(params)
|
|
5174
|
+
@RequestId = params['RequestId']
|
|
5175
|
+
end
|
|
5176
|
+
end
|
|
5177
|
+
|
|
4295
5178
|
# ModifyChangePwdTask请求参数结构体
|
|
4296
5179
|
class ModifyChangePwdTaskRequest < TencentCloud::Common::AbstractModel
|
|
4297
5180
|
# @param OperationId: 改密任务id
|
|
@@ -4777,6 +5660,42 @@ module TencentCloud
|
|
|
4777
5660
|
end
|
|
4778
5661
|
end
|
|
4779
5662
|
|
|
5663
|
+
# ModifyReconnectionSetting请求参数结构体
|
|
5664
|
+
class ModifyReconnectionSettingRequest < TencentCloud::Common::AbstractModel
|
|
5665
|
+
# @param ReconnectionMaxCount: 重试次数,取值范围:0-20
|
|
5666
|
+
# @type ReconnectionMaxCount: Integer
|
|
5667
|
+
# @param Enable: true:限制重连次数,false:不限制重连次数
|
|
5668
|
+
# @type Enable: Boolean
|
|
5669
|
+
|
|
5670
|
+
attr_accessor :ReconnectionMaxCount, :Enable
|
|
5671
|
+
|
|
5672
|
+
def initialize(reconnectionmaxcount=nil, enable=nil)
|
|
5673
|
+
@ReconnectionMaxCount = reconnectionmaxcount
|
|
5674
|
+
@Enable = enable
|
|
5675
|
+
end
|
|
5676
|
+
|
|
5677
|
+
def deserialize(params)
|
|
5678
|
+
@ReconnectionMaxCount = params['ReconnectionMaxCount']
|
|
5679
|
+
@Enable = params['Enable']
|
|
5680
|
+
end
|
|
5681
|
+
end
|
|
5682
|
+
|
|
5683
|
+
# ModifyReconnectionSetting返回参数结构体
|
|
5684
|
+
class ModifyReconnectionSettingResponse < TencentCloud::Common::AbstractModel
|
|
5685
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
5686
|
+
# @type RequestId: String
|
|
5687
|
+
|
|
5688
|
+
attr_accessor :RequestId
|
|
5689
|
+
|
|
5690
|
+
def initialize(requestid=nil)
|
|
5691
|
+
@RequestId = requestid
|
|
5692
|
+
end
|
|
5693
|
+
|
|
5694
|
+
def deserialize(params)
|
|
5695
|
+
@RequestId = params['RequestId']
|
|
5696
|
+
end
|
|
5697
|
+
end
|
|
5698
|
+
|
|
4780
5699
|
# ModifyResource请求参数结构体
|
|
4781
5700
|
class ModifyResourceRequest < TencentCloud::Common::AbstractModel
|
|
4782
5701
|
# @param ResourceId: 需要开通服务的资源ID
|
|
@@ -4798,8 +5717,8 @@ module TencentCloud
|
|
|
4798
5717
|
|
|
4799
5718
|
attr_accessor :ResourceId, :Status, :ResourceEdition, :ResourceNode, :AutoRenewFlag, :PackageBandwidth, :PackageNode, :LogDelivery
|
|
4800
5719
|
extend Gem::Deprecate
|
|
4801
|
-
deprecate :Status, :none, 2025,
|
|
4802
|
-
deprecate :Status=, :none, 2025,
|
|
5720
|
+
deprecate :Status, :none, 2025, 11
|
|
5721
|
+
deprecate :Status=, :none, 2025, 11
|
|
4803
5722
|
|
|
4804
5723
|
def initialize(resourceid=nil, status=nil, resourceedition=nil, resourcenode=nil, autorenewflag=nil, packagebandwidth=nil, packagenode=nil, logdelivery=nil)
|
|
4805
5724
|
@ResourceId = resourceid
|
|
@@ -4840,6 +5759,49 @@ module TencentCloud
|
|
|
4840
5759
|
end
|
|
4841
5760
|
end
|
|
4842
5761
|
|
|
5762
|
+
# ModifyUserDirectory请求参数结构体
|
|
5763
|
+
class ModifyUserDirectoryRequest < TencentCloud::Common::AbstractModel
|
|
5764
|
+
# @param Id: 目录id
|
|
5765
|
+
# @type Id: Integer
|
|
5766
|
+
# @param UserOrgSet: ioa分组信息
|
|
5767
|
+
# @type UserOrgSet: Array
|
|
5768
|
+
|
|
5769
|
+
attr_accessor :Id, :UserOrgSet
|
|
5770
|
+
|
|
5771
|
+
def initialize(id=nil, userorgset=nil)
|
|
5772
|
+
@Id = id
|
|
5773
|
+
@UserOrgSet = userorgset
|
|
5774
|
+
end
|
|
5775
|
+
|
|
5776
|
+
def deserialize(params)
|
|
5777
|
+
@Id = params['Id']
|
|
5778
|
+
unless params['UserOrgSet'].nil?
|
|
5779
|
+
@UserOrgSet = []
|
|
5780
|
+
params['UserOrgSet'].each do |i|
|
|
5781
|
+
userorg_tmp = UserOrg.new
|
|
5782
|
+
userorg_tmp.deserialize(i)
|
|
5783
|
+
@UserOrgSet << userorg_tmp
|
|
5784
|
+
end
|
|
5785
|
+
end
|
|
5786
|
+
end
|
|
5787
|
+
end
|
|
5788
|
+
|
|
5789
|
+
# ModifyUserDirectory返回参数结构体
|
|
5790
|
+
class ModifyUserDirectoryResponse < TencentCloud::Common::AbstractModel
|
|
5791
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
5792
|
+
# @type RequestId: String
|
|
5793
|
+
|
|
5794
|
+
attr_accessor :RequestId
|
|
5795
|
+
|
|
5796
|
+
def initialize(requestid=nil)
|
|
5797
|
+
@RequestId = requestid
|
|
5798
|
+
end
|
|
5799
|
+
|
|
5800
|
+
def deserialize(params)
|
|
5801
|
+
@RequestId = params['RequestId']
|
|
5802
|
+
end
|
|
5803
|
+
end
|
|
5804
|
+
|
|
4843
5805
|
# ModifyUserGroup请求参数结构体
|
|
4844
5806
|
class ModifyUserGroupRequest < TencentCloud::Common::AbstractModel
|
|
4845
5807
|
# @param Id: 用户组ID
|
|
@@ -5287,6 +6249,8 @@ module TencentCloud
|
|
|
5287
6249
|
# @type IntranetVpcId: String
|
|
5288
6250
|
# @param IntranetVpcCidr: 开通内网访问vpc的网段
|
|
5289
6251
|
# @type IntranetVpcCidr: String
|
|
6252
|
+
# @param DomainName: 堡垒机内网ip自定义域名
|
|
6253
|
+
# @type DomainName: String
|
|
5290
6254
|
# @param ShareClb: 是否共享clb,true-共享clb,false-独享clb
|
|
5291
6255
|
# @type ShareClb: Boolean
|
|
5292
6256
|
# @param OpenClbId: 共享clb id
|
|
@@ -5312,9 +6276,9 @@ module TencentCloud
|
|
|
5312
6276
|
# @param IOAResourceId: 堡垒机实例对应的零信任实例id
|
|
5313
6277
|
# @type IOAResourceId: String
|
|
5314
6278
|
|
|
5315
|
-
attr_accessor :ResourceId, :ApCode, :SvArgs, :VpcId, :Nodes, :RenewFlag, :ExpireTime, :Status, :ResourceName, :Pid, :CreateTime, :ProductCode, :SubProductCode, :Zone, :Expired, :Deployed, :VpcName, :VpcCidrBlock, :SubnetId, :SubnetName, :CidrBlock, :PublicIpSet, :PrivateIpSet, :ModuleSet, :UsedNodes, :ExtendPoints, :PackageBandwidth, :PackageNode, :LogDeliveryArgs, :ClbSet, :DomainCount, :UsedDomainCount, :Trial, :LogDelivery, :CdcClusterId, :DeployModel, :IntranetAccess, :IntranetPrivateIpSet, :IntranetVpcId, :IntranetVpcCidr, :ShareClb, :OpenClbId, :LbVipIsp, :TUICmdPort, :TUIDirectPort, :WebAccess, :ClientAccess, :ExternalAccess, :IOAResource, :PackageIOAUserCount, :PackageIOABandwidth, :IOAResourceId
|
|
6279
|
+
attr_accessor :ResourceId, :ApCode, :SvArgs, :VpcId, :Nodes, :RenewFlag, :ExpireTime, :Status, :ResourceName, :Pid, :CreateTime, :ProductCode, :SubProductCode, :Zone, :Expired, :Deployed, :VpcName, :VpcCidrBlock, :SubnetId, :SubnetName, :CidrBlock, :PublicIpSet, :PrivateIpSet, :ModuleSet, :UsedNodes, :ExtendPoints, :PackageBandwidth, :PackageNode, :LogDeliveryArgs, :ClbSet, :DomainCount, :UsedDomainCount, :Trial, :LogDelivery, :CdcClusterId, :DeployModel, :IntranetAccess, :IntranetPrivateIpSet, :IntranetVpcId, :IntranetVpcCidr, :DomainName, :ShareClb, :OpenClbId, :LbVipIsp, :TUICmdPort, :TUIDirectPort, :WebAccess, :ClientAccess, :ExternalAccess, :IOAResource, :PackageIOAUserCount, :PackageIOABandwidth, :IOAResourceId
|
|
5316
6280
|
|
|
5317
|
-
def initialize(resourceid=nil, apcode=nil, svargs=nil, vpcid=nil, nodes=nil, renewflag=nil, expiretime=nil, status=nil, resourcename=nil, pid=nil, createtime=nil, productcode=nil, subproductcode=nil, zone=nil, expired=nil, deployed=nil, vpcname=nil, vpccidrblock=nil, subnetid=nil, subnetname=nil, cidrblock=nil, publicipset=nil, privateipset=nil, moduleset=nil, usednodes=nil, extendpoints=nil, packagebandwidth=nil, packagenode=nil, logdeliveryargs=nil, clbset=nil, domaincount=nil, useddomaincount=nil, trial=nil, logdelivery=nil, cdcclusterid=nil, deploymodel=nil, intranetaccess=nil, intranetprivateipset=nil, intranetvpcid=nil, intranetvpccidr=nil, shareclb=nil, openclbid=nil, lbvipisp=nil, tuicmdport=nil, tuidirectport=nil, webaccess=nil, clientaccess=nil, externalaccess=nil, ioaresource=nil, packageioausercount=nil, packageioabandwidth=nil, ioaresourceid=nil)
|
|
6281
|
+
def initialize(resourceid=nil, apcode=nil, svargs=nil, vpcid=nil, nodes=nil, renewflag=nil, expiretime=nil, status=nil, resourcename=nil, pid=nil, createtime=nil, productcode=nil, subproductcode=nil, zone=nil, expired=nil, deployed=nil, vpcname=nil, vpccidrblock=nil, subnetid=nil, subnetname=nil, cidrblock=nil, publicipset=nil, privateipset=nil, moduleset=nil, usednodes=nil, extendpoints=nil, packagebandwidth=nil, packagenode=nil, logdeliveryargs=nil, clbset=nil, domaincount=nil, useddomaincount=nil, trial=nil, logdelivery=nil, cdcclusterid=nil, deploymodel=nil, intranetaccess=nil, intranetprivateipset=nil, intranetvpcid=nil, intranetvpccidr=nil, domainname=nil, shareclb=nil, openclbid=nil, lbvipisp=nil, tuicmdport=nil, tuidirectport=nil, webaccess=nil, clientaccess=nil, externalaccess=nil, ioaresource=nil, packageioausercount=nil, packageioabandwidth=nil, ioaresourceid=nil)
|
|
5318
6282
|
@ResourceId = resourceid
|
|
5319
6283
|
@ApCode = apcode
|
|
5320
6284
|
@SvArgs = svargs
|
|
@@ -5355,6 +6319,7 @@ module TencentCloud
|
|
|
5355
6319
|
@IntranetPrivateIpSet = intranetprivateipset
|
|
5356
6320
|
@IntranetVpcId = intranetvpcid
|
|
5357
6321
|
@IntranetVpcCidr = intranetvpccidr
|
|
6322
|
+
@DomainName = domainname
|
|
5358
6323
|
@ShareClb = shareclb
|
|
5359
6324
|
@OpenClbId = openclbid
|
|
5360
6325
|
@LbVipIsp = lbvipisp
|
|
@@ -5417,6 +6382,7 @@ module TencentCloud
|
|
|
5417
6382
|
@IntranetPrivateIpSet = params['IntranetPrivateIpSet']
|
|
5418
6383
|
@IntranetVpcId = params['IntranetVpcId']
|
|
5419
6384
|
@IntranetVpcCidr = params['IntranetVpcCidr']
|
|
6385
|
+
@DomainName = params['DomainName']
|
|
5420
6386
|
@ShareClb = params['ShareClb']
|
|
5421
6387
|
@OpenClbId = params['OpenClbId']
|
|
5422
6388
|
@LbVipIsp = params['LbVipIsp']
|
|
@@ -5861,18 +6827,21 @@ module TencentCloud
|
|
|
5861
6827
|
# @type Offset: Integer
|
|
5862
6828
|
# @param AuditAction: 1-已执行, 2-被阻断
|
|
5863
6829
|
# @type AuditAction: Integer
|
|
6830
|
+
# @param AuditActionSet: 1-已执行, 2-被阻断
|
|
6831
|
+
# @type AuditActionSet: Array
|
|
5864
6832
|
# @param TypeFilters: 以Protocol和Method为条件查询
|
|
5865
6833
|
# @type TypeFilters: Array
|
|
5866
6834
|
|
|
5867
|
-
attr_accessor :Sid, :AuditLog, :Limit, :FileName, :Offset, :AuditAction, :TypeFilters
|
|
6835
|
+
attr_accessor :Sid, :AuditLog, :Limit, :FileName, :Offset, :AuditAction, :AuditActionSet, :TypeFilters
|
|
5868
6836
|
|
|
5869
|
-
def initialize(sid=nil, auditlog=nil, limit=nil, filename=nil, offset=nil, auditaction=nil, typefilters=nil)
|
|
6837
|
+
def initialize(sid=nil, auditlog=nil, limit=nil, filename=nil, offset=nil, auditaction=nil, auditactionset=nil, typefilters=nil)
|
|
5870
6838
|
@Sid = sid
|
|
5871
6839
|
@AuditLog = auditlog
|
|
5872
6840
|
@Limit = limit
|
|
5873
6841
|
@FileName = filename
|
|
5874
6842
|
@Offset = offset
|
|
5875
6843
|
@AuditAction = auditaction
|
|
6844
|
+
@AuditActionSet = auditactionset
|
|
5876
6845
|
@TypeFilters = typefilters
|
|
5877
6846
|
end
|
|
5878
6847
|
|
|
@@ -5883,6 +6852,7 @@ module TencentCloud
|
|
|
5883
6852
|
@FileName = params['FileName']
|
|
5884
6853
|
@Offset = params['Offset']
|
|
5885
6854
|
@AuditAction = params['AuditAction']
|
|
6855
|
+
@AuditActionSet = params['AuditActionSet']
|
|
5886
6856
|
unless params['TypeFilters'].nil?
|
|
5887
6857
|
@TypeFilters = []
|
|
5888
6858
|
params['TypeFilters'].each do |i|
|
|
@@ -6309,6 +7279,8 @@ module TencentCloud
|
|
|
6309
7279
|
# @type DeviceName: String
|
|
6310
7280
|
# @param Status: 状态,1为活跃,2为结束,3为强制离线,4为其他错误
|
|
6311
7281
|
# @type Status: Integer
|
|
7282
|
+
# @param StatusSet: 状态,1为活跃,2为结束,3为强制离线
|
|
7283
|
+
# @type StatusSet: Array
|
|
6312
7284
|
# @param Id: 若入参为Id,则其他入参字段不作为搜索依据,仅按照Id来搜索会话
|
|
6313
7285
|
# @type Id: String
|
|
6314
7286
|
# @param AppAssetKindSet: 应用资产类型, 1-web
|
|
@@ -6317,10 +7289,12 @@ module TencentCloud
|
|
|
6317
7289
|
# @type AppAssetUrl: String
|
|
6318
7290
|
# @param DeviceKind: 资产类型
|
|
6319
7291
|
# @type DeviceKind: String
|
|
7292
|
+
# @param DeviceKindSet: 资产类型 Linux, EKS,TKE
|
|
7293
|
+
# @type DeviceKindSet: Array
|
|
6320
7294
|
|
|
6321
|
-
attr_accessor :PrivateIp, :PublicIp, :UserName, :Account, :FromIp, :StartTime, :EndTime, :Kind, :Offset, :Limit, :RealName, :DeviceName, :Status, :Id, :AppAssetKindSet, :AppAssetUrl, :DeviceKind
|
|
7295
|
+
attr_accessor :PrivateIp, :PublicIp, :UserName, :Account, :FromIp, :StartTime, :EndTime, :Kind, :Offset, :Limit, :RealName, :DeviceName, :Status, :StatusSet, :Id, :AppAssetKindSet, :AppAssetUrl, :DeviceKind, :DeviceKindSet
|
|
6322
7296
|
|
|
6323
|
-
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, devicekind=nil)
|
|
7297
|
+
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, statusset=nil, id=nil, appassetkindset=nil, appasseturl=nil, devicekind=nil, devicekindset=nil)
|
|
6324
7298
|
@PrivateIp = privateip
|
|
6325
7299
|
@PublicIp = publicip
|
|
6326
7300
|
@UserName = username
|
|
@@ -6334,10 +7308,12 @@ module TencentCloud
|
|
|
6334
7308
|
@RealName = realname
|
|
6335
7309
|
@DeviceName = devicename
|
|
6336
7310
|
@Status = status
|
|
7311
|
+
@StatusSet = statusset
|
|
6337
7312
|
@Id = id
|
|
6338
7313
|
@AppAssetKindSet = appassetkindset
|
|
6339
7314
|
@AppAssetUrl = appasseturl
|
|
6340
7315
|
@DeviceKind = devicekind
|
|
7316
|
+
@DeviceKindSet = devicekindset
|
|
6341
7317
|
end
|
|
6342
7318
|
|
|
6343
7319
|
def deserialize(params)
|
|
@@ -6354,10 +7330,12 @@ module TencentCloud
|
|
|
6354
7330
|
@RealName = params['RealName']
|
|
6355
7331
|
@DeviceName = params['DeviceName']
|
|
6356
7332
|
@Status = params['Status']
|
|
7333
|
+
@StatusSet = params['StatusSet']
|
|
6357
7334
|
@Id = params['Id']
|
|
6358
7335
|
@AppAssetKindSet = params['AppAssetKindSet']
|
|
6359
7336
|
@AppAssetUrl = params['AppAssetUrl']
|
|
6360
7337
|
@DeviceKind = params['DeviceKind']
|
|
7338
|
+
@DeviceKindSet = params['DeviceKindSet']
|
|
6361
7339
|
end
|
|
6362
7340
|
end
|
|
6363
7341
|
|
|
@@ -6665,6 +7643,98 @@ module TencentCloud
|
|
|
6665
7643
|
end
|
|
6666
7644
|
end
|
|
6667
7645
|
|
|
7646
|
+
# ioa用户源信息
|
|
7647
|
+
class SourceType < TencentCloud::Common::AbstractModel
|
|
7648
|
+
# @param Source: 账号组来源
|
|
7649
|
+
# @type Source: Integer
|
|
7650
|
+
# @param Type: 账号组来源类型
|
|
7651
|
+
# @type Type: String
|
|
7652
|
+
# @param Name: 账号组来源名称
|
|
7653
|
+
# @type Name: String
|
|
7654
|
+
# @param Target: 区分ioa原来和iam-mini
|
|
7655
|
+
# @type Target: String
|
|
7656
|
+
|
|
7657
|
+
attr_accessor :Source, :Type, :Name, :Target
|
|
7658
|
+
|
|
7659
|
+
def initialize(source=nil, type=nil, name=nil, target=nil)
|
|
7660
|
+
@Source = source
|
|
7661
|
+
@Type = type
|
|
7662
|
+
@Name = name
|
|
7663
|
+
@Target = target
|
|
7664
|
+
end
|
|
7665
|
+
|
|
7666
|
+
def deserialize(params)
|
|
7667
|
+
@Source = params['Source']
|
|
7668
|
+
@Type = params['Type']
|
|
7669
|
+
@Name = params['Name']
|
|
7670
|
+
@Target = params['Target']
|
|
7671
|
+
end
|
|
7672
|
+
end
|
|
7673
|
+
|
|
7674
|
+
# SyncDevicesToIOA请求参数结构体
|
|
7675
|
+
class SyncDevicesToIOARequest < TencentCloud::Common::AbstractModel
|
|
7676
|
+
# @param DeviceIdSet: 资产ID集合。资产必须已绑定支持IOA功能的堡垒机实例。每次最多同步200个资产。
|
|
7677
|
+
# @type DeviceIdSet: Array
|
|
7678
|
+
|
|
7679
|
+
attr_accessor :DeviceIdSet
|
|
7680
|
+
|
|
7681
|
+
def initialize(deviceidset=nil)
|
|
7682
|
+
@DeviceIdSet = deviceidset
|
|
7683
|
+
end
|
|
7684
|
+
|
|
7685
|
+
def deserialize(params)
|
|
7686
|
+
@DeviceIdSet = params['DeviceIdSet']
|
|
7687
|
+
end
|
|
7688
|
+
end
|
|
7689
|
+
|
|
7690
|
+
# SyncDevicesToIOA返回参数结构体
|
|
7691
|
+
class SyncDevicesToIOAResponse < TencentCloud::Common::AbstractModel
|
|
7692
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
7693
|
+
# @type RequestId: String
|
|
7694
|
+
|
|
7695
|
+
attr_accessor :RequestId
|
|
7696
|
+
|
|
7697
|
+
def initialize(requestid=nil)
|
|
7698
|
+
@RequestId = requestid
|
|
7699
|
+
end
|
|
7700
|
+
|
|
7701
|
+
def deserialize(params)
|
|
7702
|
+
@RequestId = params['RequestId']
|
|
7703
|
+
end
|
|
7704
|
+
end
|
|
7705
|
+
|
|
7706
|
+
# SyncUserToIOA请求参数结构体
|
|
7707
|
+
class SyncUserToIOARequest < TencentCloud::Common::AbstractModel
|
|
7708
|
+
# @param UserIdSet: 需要同步到ioa的本地用户的id集合
|
|
7709
|
+
# @type UserIdSet: Array
|
|
7710
|
+
|
|
7711
|
+
attr_accessor :UserIdSet
|
|
7712
|
+
|
|
7713
|
+
def initialize(useridset=nil)
|
|
7714
|
+
@UserIdSet = useridset
|
|
7715
|
+
end
|
|
7716
|
+
|
|
7717
|
+
def deserialize(params)
|
|
7718
|
+
@UserIdSet = params['UserIdSet']
|
|
7719
|
+
end
|
|
7720
|
+
end
|
|
7721
|
+
|
|
7722
|
+
# SyncUserToIOA返回参数结构体
|
|
7723
|
+
class SyncUserToIOAResponse < TencentCloud::Common::AbstractModel
|
|
7724
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
7725
|
+
# @type RequestId: String
|
|
7726
|
+
|
|
7727
|
+
attr_accessor :RequestId
|
|
7728
|
+
|
|
7729
|
+
def initialize(requestid=nil)
|
|
7730
|
+
@RequestId = requestid
|
|
7731
|
+
end
|
|
7732
|
+
|
|
7733
|
+
def deserialize(params)
|
|
7734
|
+
@RequestId = params['RequestId']
|
|
7735
|
+
end
|
|
7736
|
+
end
|
|
7737
|
+
|
|
6668
7738
|
# 资产标签
|
|
6669
7739
|
class TagFilter < TencentCloud::Common::AbstractModel
|
|
6670
7740
|
# @param TagKey: 标签键
|
|
@@ -6868,6 +7938,89 @@ module TencentCloud
|
|
|
6868
7938
|
end
|
|
6869
7939
|
end
|
|
6870
7940
|
|
|
7941
|
+
# 用户目录信息
|
|
7942
|
+
class UserDirectory < TencentCloud::Common::AbstractModel
|
|
7943
|
+
# @param Id: 目录id
|
|
7944
|
+
# @type Id: Integer
|
|
7945
|
+
# @param DirId: ioa目录id
|
|
7946
|
+
# @type DirId: Integer
|
|
7947
|
+
# @param DirName: ioa目录名称
|
|
7948
|
+
# @type DirName: String
|
|
7949
|
+
# @param Source: ioa关联用户源类型
|
|
7950
|
+
# @type Source: Integer
|
|
7951
|
+
# @param SourceName: ioa关联用户源名称
|
|
7952
|
+
# @type SourceName: String
|
|
7953
|
+
# @param UserTotal: 目录包含用户数
|
|
7954
|
+
# @type UserTotal: Integer
|
|
7955
|
+
# @param CreateTime: 目录接入时间
|
|
7956
|
+
# @type CreateTime: String
|
|
7957
|
+
# @param UserOrgSet: 目录下的组织细节信息
|
|
7958
|
+
# @type UserOrgSet: Array
|
|
7959
|
+
|
|
7960
|
+
attr_accessor :Id, :DirId, :DirName, :Source, :SourceName, :UserTotal, :CreateTime, :UserOrgSet
|
|
7961
|
+
|
|
7962
|
+
def initialize(id=nil, dirid=nil, dirname=nil, source=nil, sourcename=nil, usertotal=nil, createtime=nil, userorgset=nil)
|
|
7963
|
+
@Id = id
|
|
7964
|
+
@DirId = dirid
|
|
7965
|
+
@DirName = dirname
|
|
7966
|
+
@Source = source
|
|
7967
|
+
@SourceName = sourcename
|
|
7968
|
+
@UserTotal = usertotal
|
|
7969
|
+
@CreateTime = createtime
|
|
7970
|
+
@UserOrgSet = userorgset
|
|
7971
|
+
end
|
|
7972
|
+
|
|
7973
|
+
def deserialize(params)
|
|
7974
|
+
@Id = params['Id']
|
|
7975
|
+
@DirId = params['DirId']
|
|
7976
|
+
@DirName = params['DirName']
|
|
7977
|
+
@Source = params['Source']
|
|
7978
|
+
@SourceName = params['SourceName']
|
|
7979
|
+
@UserTotal = params['UserTotal']
|
|
7980
|
+
@CreateTime = params['CreateTime']
|
|
7981
|
+
unless params['UserOrgSet'].nil?
|
|
7982
|
+
@UserOrgSet = []
|
|
7983
|
+
params['UserOrgSet'].each do |i|
|
|
7984
|
+
userorg_tmp = UserOrg.new
|
|
7985
|
+
userorg_tmp.deserialize(i)
|
|
7986
|
+
@UserOrgSet << userorg_tmp
|
|
7987
|
+
end
|
|
7988
|
+
end
|
|
7989
|
+
end
|
|
7990
|
+
end
|
|
7991
|
+
|
|
7992
|
+
# 同步的ioa用户组织信息
|
|
7993
|
+
class UserOrg < TencentCloud::Common::AbstractModel
|
|
7994
|
+
# @param OrgId: ioa用户组织id
|
|
7995
|
+
# @type OrgId: Integer
|
|
7996
|
+
# @param OrgName: ioa用户组织名称
|
|
7997
|
+
# @type OrgName: String
|
|
7998
|
+
# @param OrgIdPath: ioa用户组织id路径
|
|
7999
|
+
# @type OrgIdPath: String
|
|
8000
|
+
# @param OrgNamePath: ioa用户组织名称路径
|
|
8001
|
+
# @type OrgNamePath: String
|
|
8002
|
+
# @param UserTotal: ioa用户组织id下的用户数
|
|
8003
|
+
# @type UserTotal: Integer
|
|
8004
|
+
|
|
8005
|
+
attr_accessor :OrgId, :OrgName, :OrgIdPath, :OrgNamePath, :UserTotal
|
|
8006
|
+
|
|
8007
|
+
def initialize(orgid=nil, orgname=nil, orgidpath=nil, orgnamepath=nil, usertotal=nil)
|
|
8008
|
+
@OrgId = orgid
|
|
8009
|
+
@OrgName = orgname
|
|
8010
|
+
@OrgIdPath = orgidpath
|
|
8011
|
+
@OrgNamePath = orgnamepath
|
|
8012
|
+
@UserTotal = usertotal
|
|
8013
|
+
end
|
|
8014
|
+
|
|
8015
|
+
def deserialize(params)
|
|
8016
|
+
@OrgId = params['OrgId']
|
|
8017
|
+
@OrgName = params['OrgName']
|
|
8018
|
+
@OrgIdPath = params['OrgIdPath']
|
|
8019
|
+
@OrgNamePath = params['OrgNamePath']
|
|
8020
|
+
@UserTotal = params['UserTotal']
|
|
8021
|
+
end
|
|
8022
|
+
end
|
|
8023
|
+
|
|
6871
8024
|
end
|
|
6872
8025
|
end
|
|
6873
8026
|
end
|