tencentcloud-sdk-bh 3.0.1088 → 3.0.1092

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 1b49c147bcb41f88238a58efd3a504fe3032a1a7
4
- data.tar.gz: a82dece082e019107089e70945e5b9e52e5c5db9
3
+ metadata.gz: 8d257e254bb549329ac527f53aa491649cd8091b
4
+ data.tar.gz: ee9e6011e64d164924c00905d5c44d78526858c1
5
5
  SHA512:
6
- metadata.gz: 8a6dc2e5fdac671d7b14032cb8d8419647b80889c9b2eb22753e63c8d011169ea02b26ffc90b6f066239843afab9e5766382bf54cf301b50297b57bf67b6e191
7
- data.tar.gz: c06ccb7bbb01d138a48814c0f8e9f403e2908eca1606d1ad49d2dcb5c40dd8ef8ae23d288beb419fa6c99e3bac5199192752488dcf0bb3db7563dcd4ef07100a
6
+ metadata.gz: cc0a237c787cdb90c229471e788d476ef1e6a1c7d380a7493f8b2c1c6b91a1976d5faf5b02722c982501c756e6701b4cc015d459845e6422eaa7453893ebcd4d
7
+ data.tar.gz: 066cb2e9512a2b689be54f3a3573d323297faf6a40a319e1a0a42352e9d957931bfc74cec39f4f1ca40c676f44abe681fe60516522d0b269647da6bb5be473e1
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.1088
1
+ 3.0.1092
@@ -173,6 +173,30 @@ module TencentCloud
173
173
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
174
174
  end
175
175
 
176
+ # 测试LDAP连接
177
+
178
+ # @param request: Request instance for CheckLDAPConnection.
179
+ # @type request: :class:`Tencentcloud::bh::V20230418::CheckLDAPConnectionRequest`
180
+ # @rtype: :class:`Tencentcloud::bh::V20230418::CheckLDAPConnectionResponse`
181
+ def CheckLDAPConnection(request)
182
+ body = send_request('CheckLDAPConnection', request.serialize)
183
+ response = JSON.parse(body)
184
+ if response['Response'].key?('Error') == false
185
+ model = CheckLDAPConnectionResponse.new
186
+ model.deserialize(response['Response'])
187
+ model
188
+ else
189
+ code = response['Response']['Error']['Code']
190
+ message = response['Response']['Error']['Message']
191
+ reqid = response['Response']['RequestId']
192
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
193
+ end
194
+ rescue TencentCloud::Common::TencentCloudSDKException => e
195
+ raise e
196
+ rescue StandardError => e
197
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
198
+ end
199
+
176
200
  # 添加访问白名单规则
177
201
 
178
202
  # @param request: Request instance for CreateAccessWhiteListRule.
@@ -1013,6 +1037,30 @@ module TencentCloud
1013
1037
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1014
1038
  end
1015
1039
 
1040
+ # 获取LDAP ou 列表
1041
+
1042
+ # @param request: Request instance for DescribeLDAPUnitSet.
1043
+ # @type request: :class:`Tencentcloud::bh::V20230418::DescribeLDAPUnitSetRequest`
1044
+ # @rtype: :class:`Tencentcloud::bh::V20230418::DescribeLDAPUnitSetResponse`
1045
+ def DescribeLDAPUnitSet(request)
1046
+ body = send_request('DescribeLDAPUnitSet', request.serialize)
1047
+ response = JSON.parse(body)
1048
+ if response['Response'].key?('Error') == false
1049
+ model = DescribeLDAPUnitSetResponse.new
1050
+ model.deserialize(response['Response'])
1051
+ model
1052
+ else
1053
+ code = response['Response']['Error']['Code']
1054
+ message = response['Response']['Error']['Message']
1055
+ reqid = response['Response']['RequestId']
1056
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1057
+ end
1058
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1059
+ raise e
1060
+ rescue StandardError => e
1061
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1062
+ end
1063
+
1016
1064
  # 查询登录日志
1017
1065
 
1018
1066
  # @param request: Request instance for DescribeLoginEvent.
@@ -1325,6 +1373,30 @@ module TencentCloud
1325
1373
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1326
1374
  end
1327
1375
 
1376
+ # 修改LDAP配置信息
1377
+
1378
+ # @param request: Request instance for ModifyLDAPSetting.
1379
+ # @type request: :class:`Tencentcloud::bh::V20230418::ModifyLDAPSettingRequest`
1380
+ # @rtype: :class:`Tencentcloud::bh::V20230418::ModifyLDAPSettingResponse`
1381
+ def ModifyLDAPSetting(request)
1382
+ body = send_request('ModifyLDAPSetting', request.serialize)
1383
+ response = JSON.parse(body)
1384
+ if response['Response'].key?('Error') == false
1385
+ model = ModifyLDAPSettingResponse.new
1386
+ model.deserialize(response['Response'])
1387
+ model
1388
+ else
1389
+ code = response['Response']['Error']['Code']
1390
+ message = response['Response']['Error']['Message']
1391
+ reqid = response['Response']['RequestId']
1392
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1393
+ end
1394
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1395
+ raise e
1396
+ rescue StandardError => e
1397
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1398
+ end
1399
+
1328
1400
  # 设置OAuth认证参数
1329
1401
 
1330
1402
  # @param request: Request instance for ModifyOAuthSetting.
@@ -1445,6 +1517,30 @@ module TencentCloud
1445
1517
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1446
1518
  end
1447
1519
 
1520
+ # 会话回放
1521
+
1522
+ # @param request: Request instance for ReplaySession.
1523
+ # @type request: :class:`Tencentcloud::bh::V20230418::ReplaySessionRequest`
1524
+ # @rtype: :class:`Tencentcloud::bh::V20230418::ReplaySessionResponse`
1525
+ def ReplaySession(request)
1526
+ body = send_request('ReplaySession', request.serialize)
1527
+ response = JSON.parse(body)
1528
+ if response['Response'].key?('Error') == false
1529
+ model = ReplaySessionResponse.new
1530
+ model.deserialize(response['Response'])
1531
+ model
1532
+ else
1533
+ code = response['Response']['Error']['Code']
1534
+ message = response['Response']['Error']['Message']
1535
+ reqid = response['Response']['RequestId']
1536
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1537
+ end
1538
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1539
+ raise e
1540
+ rescue StandardError => e
1541
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1542
+ end
1543
+
1448
1544
  # 清除设备账号绑定密码
1449
1545
 
1450
1546
  # @param request: Request instance for ResetDeviceAccountPassword.
@@ -1781,6 +1877,54 @@ module TencentCloud
1781
1877
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1782
1878
  end
1783
1879
 
1880
+ # 设置LDAP 立即同步标记
1881
+
1882
+ # @param request: Request instance for SetLDAPSyncFlag.
1883
+ # @type request: :class:`Tencentcloud::bh::V20230418::SetLDAPSyncFlagRequest`
1884
+ # @rtype: :class:`Tencentcloud::bh::V20230418::SetLDAPSyncFlagResponse`
1885
+ def SetLDAPSyncFlag(request)
1886
+ body = send_request('SetLDAPSyncFlag', request.serialize)
1887
+ response = JSON.parse(body)
1888
+ if response['Response'].key?('Error') == false
1889
+ model = SetLDAPSyncFlagResponse.new
1890
+ model.deserialize(response['Response'])
1891
+ model
1892
+ else
1893
+ code = response['Response']['Error']['Code']
1894
+ message = response['Response']['Error']['Message']
1895
+ reqid = response['Response']['RequestId']
1896
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1897
+ end
1898
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1899
+ raise e
1900
+ rescue StandardError => e
1901
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1902
+ end
1903
+
1904
+ # 解锁用户
1905
+
1906
+ # @param request: Request instance for UnlockUser.
1907
+ # @type request: :class:`Tencentcloud::bh::V20230418::UnlockUserRequest`
1908
+ # @rtype: :class:`Tencentcloud::bh::V20230418::UnlockUserResponse`
1909
+ def UnlockUser(request)
1910
+ body = send_request('UnlockUser', request.serialize)
1911
+ response = JSON.parse(body)
1912
+ if response['Response'].key?('Error') == false
1913
+ model = UnlockUserResponse.new
1914
+ model.deserialize(response['Response'])
1915
+ model
1916
+ else
1917
+ code = response['Response']['Error']['Code']
1918
+ message = response['Response']['Error']['Message']
1919
+ reqid = response['Response']['RequestId']
1920
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1921
+ end
1922
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1923
+ raise e
1924
+ rescue StandardError => e
1925
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1926
+ end
1927
+
1784
1928
 
1785
1929
  end
1786
1930
  end
@@ -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, 6
78
- deprecate :LoginAccount=, :none, 2025, 6
79
- deprecate :LoginPassword, :none, 2025, 6
80
- deprecate :LoginPassword=, :none, 2025, 6
77
+ deprecate :LoginAccount, :none, 2025, 7
78
+ deprecate :LoginAccount=, :none, 2025, 7
79
+ deprecate :LoginPassword, :none, 2025, 7
80
+ deprecate :LoginPassword=, :none, 2025, 7
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
@@ -869,6 +869,70 @@ module TencentCloud
869
869
  end
870
870
  end
871
871
 
872
+ # CheckLDAPConnection请求参数结构体
873
+ class CheckLDAPConnectionRequest < TencentCloud::Common::AbstractModel
874
+ # @param Enable: 是否开启LDAP认证,必须为true
875
+ # @type Enable: Boolean
876
+ # @param Ip: 服务器地址
877
+ # @type Ip: String
878
+ # @param Port: 服务端口
879
+ # @type Port: Integer
880
+ # @param EnableSSL: 是否开启SSL,false-不开启,true-开启
881
+ # @type EnableSSL: Boolean
882
+ # @param BaseDN: Base DN
883
+ # @type BaseDN: String
884
+ # @param AdminAccount: 管理员账号
885
+ # @type AdminAccount: String
886
+ # @param AdminPassword: 管理员密码
887
+ # @type AdminPassword: String
888
+ # @param IpBackup: 备用服务器地址
889
+ # @type IpBackup: String
890
+ # @param DomainId: 网络域id
891
+ # @type DomainId: String
892
+
893
+ attr_accessor :Enable, :Ip, :Port, :EnableSSL, :BaseDN, :AdminAccount, :AdminPassword, :IpBackup, :DomainId
894
+
895
+ def initialize(enable=nil, ip=nil, port=nil, enablessl=nil, basedn=nil, adminaccount=nil, adminpassword=nil, ipbackup=nil, domainid=nil)
896
+ @Enable = enable
897
+ @Ip = ip
898
+ @Port = port
899
+ @EnableSSL = enablessl
900
+ @BaseDN = basedn
901
+ @AdminAccount = adminaccount
902
+ @AdminPassword = adminpassword
903
+ @IpBackup = ipbackup
904
+ @DomainId = domainid
905
+ end
906
+
907
+ def deserialize(params)
908
+ @Enable = params['Enable']
909
+ @Ip = params['Ip']
910
+ @Port = params['Port']
911
+ @EnableSSL = params['EnableSSL']
912
+ @BaseDN = params['BaseDN']
913
+ @AdminAccount = params['AdminAccount']
914
+ @AdminPassword = params['AdminPassword']
915
+ @IpBackup = params['IpBackup']
916
+ @DomainId = params['DomainId']
917
+ end
918
+ end
919
+
920
+ # CheckLDAPConnection返回参数结构体
921
+ class CheckLDAPConnectionResponse < TencentCloud::Common::AbstractModel
922
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
923
+ # @type RequestId: String
924
+
925
+ attr_accessor :RequestId
926
+
927
+ def initialize(requestid=nil)
928
+ @RequestId = requestid
929
+ end
930
+
931
+ def deserialize(params)
932
+ @RequestId = params['RequestId']
933
+ end
934
+ end
935
+
872
936
  # 负载均衡
873
937
  class Clb < TencentCloud::Common::AbstractModel
874
938
  # @param ClbIp: 负载均衡IP
@@ -913,6 +977,94 @@ module TencentCloud
913
977
  end
914
978
  end
915
979
 
980
+ # 命令集合
981
+ class Command < TencentCloud::Common::AbstractModel
982
+ # @param Cmd: 命令
983
+ # @type Cmd: String
984
+ # @param Time: 命令输入的时间
985
+ # @type Time: String
986
+ # @param TimeOffset: 命令执行时间相对于所属会话开始时间的偏移量,单位ms
987
+ # @type TimeOffset: Integer
988
+ # @param Action: 命令执行情况,1--允许,2--拒绝,3--确认
989
+ # @type Action: Integer
990
+ # @param Sid: 会话id
991
+ # @type Sid: String
992
+ # @param UserName: 用户名
993
+ # @type UserName: String
994
+ # @param Account: 设备account
995
+ # @type Account: String
996
+ # @param InstanceId: 设备ip
997
+ # @type InstanceId: String
998
+ # @param FromIp: source ip
999
+ # @type FromIp: String
1000
+ # @param SessTime: 该命令所属会话的会话开始时间
1001
+ # @type SessTime: String
1002
+ # @param SessionTime: 该命令所属会话的会话开始时间
1003
+ # @type SessionTime: String
1004
+ # @param ConfirmTime: 复核时间
1005
+ # @type ConfirmTime: String
1006
+ # @param UserDepartmentId: 用户部门id
1007
+ # @type UserDepartmentId: String
1008
+ # @param UserDepartmentName: 用户部门name
1009
+ # @type UserDepartmentName: String
1010
+ # @param DeviceDepartmentId: 设备部门id
1011
+ # @type DeviceDepartmentId: String
1012
+ # @param DeviceDepartmentName: 设备部门name
1013
+ # @type DeviceDepartmentName: String
1014
+ # @param Size: 会话大小
1015
+ # @type Size: Integer
1016
+ # @param SignValue: 签名值
1017
+ # @type SignValue: String
1018
+ # @param DeviceKind: 资产类型
1019
+ # @type DeviceKind: String
1020
+
1021
+ attr_accessor :Cmd, :Time, :TimeOffset, :Action, :Sid, :UserName, :Account, :InstanceId, :FromIp, :SessTime, :SessionTime, :ConfirmTime, :UserDepartmentId, :UserDepartmentName, :DeviceDepartmentId, :DeviceDepartmentName, :Size, :SignValue, :DeviceKind
1022
+
1023
+ def initialize(cmd=nil, time=nil, timeoffset=nil, action=nil, sid=nil, username=nil, account=nil, instanceid=nil, fromip=nil, sesstime=nil, sessiontime=nil, confirmtime=nil, userdepartmentid=nil, userdepartmentname=nil, devicedepartmentid=nil, devicedepartmentname=nil, size=nil, signvalue=nil, devicekind=nil)
1024
+ @Cmd = cmd
1025
+ @Time = time
1026
+ @TimeOffset = timeoffset
1027
+ @Action = action
1028
+ @Sid = sid
1029
+ @UserName = username
1030
+ @Account = account
1031
+ @InstanceId = instanceid
1032
+ @FromIp = fromip
1033
+ @SessTime = sesstime
1034
+ @SessionTime = sessiontime
1035
+ @ConfirmTime = confirmtime
1036
+ @UserDepartmentId = userdepartmentid
1037
+ @UserDepartmentName = userdepartmentname
1038
+ @DeviceDepartmentId = devicedepartmentid
1039
+ @DeviceDepartmentName = devicedepartmentname
1040
+ @Size = size
1041
+ @SignValue = signvalue
1042
+ @DeviceKind = devicekind
1043
+ end
1044
+
1045
+ def deserialize(params)
1046
+ @Cmd = params['Cmd']
1047
+ @Time = params['Time']
1048
+ @TimeOffset = params['TimeOffset']
1049
+ @Action = params['Action']
1050
+ @Sid = params['Sid']
1051
+ @UserName = params['UserName']
1052
+ @Account = params['Account']
1053
+ @InstanceId = params['InstanceId']
1054
+ @FromIp = params['FromIp']
1055
+ @SessTime = params['SessTime']
1056
+ @SessionTime = params['SessionTime']
1057
+ @ConfirmTime = params['ConfirmTime']
1058
+ @UserDepartmentId = params['UserDepartmentId']
1059
+ @UserDepartmentName = params['UserDepartmentName']
1060
+ @DeviceDepartmentId = params['DeviceDepartmentId']
1061
+ @DeviceDepartmentName = params['DeviceDepartmentName']
1062
+ @Size = params['Size']
1063
+ @SignValue = params['SignValue']
1064
+ @DeviceKind = params['DeviceKind']
1065
+ end
1066
+ end
1067
+
916
1068
  # CreateAccessWhiteListRule请求参数结构体
917
1069
  class CreateAccessWhiteListRuleRequest < TencentCloud::Common::AbstractModel
918
1070
  # @param Source: ip 10.10.10.1或者网段10.10.10.0/24,最小长度4字节,最大长度40字节。
@@ -2960,6 +3112,82 @@ module TencentCloud
2960
3112
  end
2961
3113
  end
2962
3114
 
3115
+ # DescribeLDAPUnitSet请求参数结构体
3116
+ class DescribeLDAPUnitSetRequest < TencentCloud::Common::AbstractModel
3117
+ # @param Enable: 是否开启LDAP认证,true-开启
3118
+ # @type Enable: Boolean
3119
+ # @param Ip: 服务器地址
3120
+ # @type Ip: String
3121
+ # @param Port: 服务端口
3122
+ # @type Port: Integer
3123
+ # @param EnableSSL: 是否开启SSL,false-不开启,true-开启
3124
+ # @type EnableSSL: Boolean
3125
+ # @param BaseDN: Base DN
3126
+ # @type BaseDN: String
3127
+ # @param AdminAccount: 管理员账号
3128
+ # @type AdminAccount: String
3129
+ # @param AdminPassword: 管理员密码
3130
+ # @type AdminPassword: String
3131
+ # @param AttributeUserName: 用户名映射属性
3132
+ # @type AttributeUserName: String
3133
+ # @param AttributeUnit: 部门过滤
3134
+ # @type AttributeUnit: String
3135
+ # @param IpBackup: 备用服务器地址
3136
+ # @type IpBackup: String
3137
+ # @param DomainId: 网络域Id
3138
+ # @type DomainId: String
3139
+
3140
+ attr_accessor :Enable, :Ip, :Port, :EnableSSL, :BaseDN, :AdminAccount, :AdminPassword, :AttributeUserName, :AttributeUnit, :IpBackup, :DomainId
3141
+
3142
+ def initialize(enable=nil, ip=nil, port=nil, enablessl=nil, basedn=nil, adminaccount=nil, adminpassword=nil, attributeusername=nil, attributeunit=nil, ipbackup=nil, domainid=nil)
3143
+ @Enable = enable
3144
+ @Ip = ip
3145
+ @Port = port
3146
+ @EnableSSL = enablessl
3147
+ @BaseDN = basedn
3148
+ @AdminAccount = adminaccount
3149
+ @AdminPassword = adminpassword
3150
+ @AttributeUserName = attributeusername
3151
+ @AttributeUnit = attributeunit
3152
+ @IpBackup = ipbackup
3153
+ @DomainId = domainid
3154
+ end
3155
+
3156
+ def deserialize(params)
3157
+ @Enable = params['Enable']
3158
+ @Ip = params['Ip']
3159
+ @Port = params['Port']
3160
+ @EnableSSL = params['EnableSSL']
3161
+ @BaseDN = params['BaseDN']
3162
+ @AdminAccount = params['AdminAccount']
3163
+ @AdminPassword = params['AdminPassword']
3164
+ @AttributeUserName = params['AttributeUserName']
3165
+ @AttributeUnit = params['AttributeUnit']
3166
+ @IpBackup = params['IpBackup']
3167
+ @DomainId = params['DomainId']
3168
+ end
3169
+ end
3170
+
3171
+ # DescribeLDAPUnitSet返回参数结构体
3172
+ class DescribeLDAPUnitSetResponse < TencentCloud::Common::AbstractModel
3173
+ # @param UnitSet: ou 列表
3174
+ # @type UnitSet: Array
3175
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
3176
+ # @type RequestId: String
3177
+
3178
+ attr_accessor :UnitSet, :RequestId
3179
+
3180
+ def initialize(unitset=nil, requestid=nil)
3181
+ @UnitSet = unitset
3182
+ @RequestId = requestid
3183
+ end
3184
+
3185
+ def deserialize(params)
3186
+ @UnitSet = params['UnitSet']
3187
+ @RequestId = params['RequestId']
3188
+ end
3189
+ end
3190
+
2963
3191
  # DescribeLoginEvent请求参数结构体
2964
3192
  class DescribeLoginEventRequest < TencentCloud::Common::AbstractModel
2965
3193
  # @param UserName: 用户名,如果不包含其他条件时对user_name or real_name两个字段模糊查询
@@ -4309,6 +4537,114 @@ module TencentCloud
4309
4537
  end
4310
4538
  end
4311
4539
 
4540
+ # ModifyLDAPSetting请求参数结构体
4541
+ class ModifyLDAPSettingRequest < TencentCloud::Common::AbstractModel
4542
+ # @param Enable: 是否开启LDAP认证,false-不开启,true-开启
4543
+ # @type Enable: Boolean
4544
+ # @param Ip: 服务器地址
4545
+ # @type Ip: String
4546
+ # @param IpBackup: 备用服务器地址
4547
+ # @type IpBackup: String
4548
+ # @param Port: 服务端口
4549
+ # @type Port: Integer
4550
+ # @param EnableSSL: 是否开启SSL,false-不开启,true-开启
4551
+ # @type EnableSSL: Boolean
4552
+ # @param BaseDN: Base DN
4553
+ # @type BaseDN: String
4554
+ # @param AdminAccount: 管理员账号
4555
+ # @type AdminAccount: String
4556
+ # @param AdminPassword: 管理员密码
4557
+ # @type AdminPassword: String
4558
+ # @param AttributeUser: 用户属性
4559
+ # @type AttributeUser: String
4560
+ # @param AttributeUserName: 用户名属性
4561
+ # @type AttributeUserName: String
4562
+ # @param AutoSync: 自动同步,false-不开启,true-开启
4563
+ # @type AutoSync: Boolean
4564
+ # @param Overwrite: 覆盖用户信息,false-不开启,true-开启
4565
+ # @type Overwrite: Boolean
4566
+ # @param SyncPeriod: 同步周期,30~60000之间的整数
4567
+ # @type SyncPeriod: Integer
4568
+ # @param SyncAll: 是否同步全部,false-不开启,true-开启
4569
+ # @type SyncAll: Boolean
4570
+ # @param SyncUnitSet: 同步OU列表,SyncAll为false时必传
4571
+ # @type SyncUnitSet: Array
4572
+ # @param AttributeUnit: 组织单元属性
4573
+ # @type AttributeUnit: String
4574
+ # @param AttributeRealName: 用户姓名属性
4575
+ # @type AttributeRealName: String
4576
+ # @param AttributePhone: 手机号属性
4577
+ # @type AttributePhone: String
4578
+ # @param AttributeEmail: 邮箱属性
4579
+ # @type AttributeEmail: String
4580
+ # @param DomainId: 网络域Id
4581
+ # @type DomainId: String
4582
+
4583
+ attr_accessor :Enable, :Ip, :IpBackup, :Port, :EnableSSL, :BaseDN, :AdminAccount, :AdminPassword, :AttributeUser, :AttributeUserName, :AutoSync, :Overwrite, :SyncPeriod, :SyncAll, :SyncUnitSet, :AttributeUnit, :AttributeRealName, :AttributePhone, :AttributeEmail, :DomainId
4584
+
4585
+ def initialize(enable=nil, ip=nil, ipbackup=nil, port=nil, enablessl=nil, basedn=nil, adminaccount=nil, adminpassword=nil, attributeuser=nil, attributeusername=nil, autosync=nil, overwrite=nil, syncperiod=nil, syncall=nil, syncunitset=nil, attributeunit=nil, attributerealname=nil, attributephone=nil, attributeemail=nil, domainid=nil)
4586
+ @Enable = enable
4587
+ @Ip = ip
4588
+ @IpBackup = ipbackup
4589
+ @Port = port
4590
+ @EnableSSL = enablessl
4591
+ @BaseDN = basedn
4592
+ @AdminAccount = adminaccount
4593
+ @AdminPassword = adminpassword
4594
+ @AttributeUser = attributeuser
4595
+ @AttributeUserName = attributeusername
4596
+ @AutoSync = autosync
4597
+ @Overwrite = overwrite
4598
+ @SyncPeriod = syncperiod
4599
+ @SyncAll = syncall
4600
+ @SyncUnitSet = syncunitset
4601
+ @AttributeUnit = attributeunit
4602
+ @AttributeRealName = attributerealname
4603
+ @AttributePhone = attributephone
4604
+ @AttributeEmail = attributeemail
4605
+ @DomainId = domainid
4606
+ end
4607
+
4608
+ def deserialize(params)
4609
+ @Enable = params['Enable']
4610
+ @Ip = params['Ip']
4611
+ @IpBackup = params['IpBackup']
4612
+ @Port = params['Port']
4613
+ @EnableSSL = params['EnableSSL']
4614
+ @BaseDN = params['BaseDN']
4615
+ @AdminAccount = params['AdminAccount']
4616
+ @AdminPassword = params['AdminPassword']
4617
+ @AttributeUser = params['AttributeUser']
4618
+ @AttributeUserName = params['AttributeUserName']
4619
+ @AutoSync = params['AutoSync']
4620
+ @Overwrite = params['Overwrite']
4621
+ @SyncPeriod = params['SyncPeriod']
4622
+ @SyncAll = params['SyncAll']
4623
+ @SyncUnitSet = params['SyncUnitSet']
4624
+ @AttributeUnit = params['AttributeUnit']
4625
+ @AttributeRealName = params['AttributeRealName']
4626
+ @AttributePhone = params['AttributePhone']
4627
+ @AttributeEmail = params['AttributeEmail']
4628
+ @DomainId = params['DomainId']
4629
+ end
4630
+ end
4631
+
4632
+ # ModifyLDAPSetting返回参数结构体
4633
+ class ModifyLDAPSettingResponse < TencentCloud::Common::AbstractModel
4634
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
4635
+ # @type RequestId: String
4636
+
4637
+ attr_accessor :RequestId
4638
+
4639
+ def initialize(requestid=nil)
4640
+ @RequestId = requestid
4641
+ end
4642
+
4643
+ def deserialize(params)
4644
+ @RequestId = params['RequestId']
4645
+ end
4646
+ end
4647
+
4312
4648
  # ModifyOAuthSetting请求参数结构体
4313
4649
  class ModifyOAuthSettingRequest < TencentCloud::Common::AbstractModel
4314
4650
  # @param Enable: 是否开启OAuth认证,false-不开启,true-开启。
@@ -4458,8 +4794,8 @@ module TencentCloud
4458
4794
 
4459
4795
  attr_accessor :ResourceId, :Status, :ResourceEdition, :ResourceNode, :AutoRenewFlag, :PackageBandwidth, :PackageNode, :LogDelivery
4460
4796
  extend Gem::Deprecate
4461
- deprecate :Status, :none, 2025, 6
4462
- deprecate :Status=, :none, 2025, 6
4797
+ deprecate :Status, :none, 2025, 7
4798
+ deprecate :Status=, :none, 2025, 7
4463
4799
 
4464
4800
  def initialize(resourceid=nil, status=nil, resourceedition=nil, resourcenode=nil, autorenewflag=nil, packagebandwidth=nil, packagenode=nil, logdelivery=nil)
4465
4801
  @ResourceId = resourceid
@@ -4702,6 +5038,73 @@ module TencentCloud
4702
5038
  end
4703
5039
  end
4704
5040
 
5041
+ # 回放所需字段信息
5042
+ class ReplayInformation < TencentCloud::Common::AbstractModel
5043
+ # @param Token: 令牌
5044
+ # @type Token: String
5045
+ # @param StartTime: 会话开始时间
5046
+ # @type StartTime: String
5047
+ # @param Address: 回放链接
5048
+ # @type Address: String
5049
+ # @param ReplayType: 回放类型 ,默认0, 1-rfb 2-mp4 3-ssh
5050
+ # @type ReplayType: Integer
5051
+
5052
+ attr_accessor :Token, :StartTime, :Address, :ReplayType
5053
+
5054
+ def initialize(token=nil, starttime=nil, address=nil, replaytype=nil)
5055
+ @Token = token
5056
+ @StartTime = starttime
5057
+ @Address = address
5058
+ @ReplayType = replaytype
5059
+ end
5060
+
5061
+ def deserialize(params)
5062
+ @Token = params['Token']
5063
+ @StartTime = params['StartTime']
5064
+ @Address = params['Address']
5065
+ @ReplayType = params['ReplayType']
5066
+ end
5067
+ end
5068
+
5069
+ # ReplaySession请求参数结构体
5070
+ class ReplaySessionRequest < TencentCloud::Common::AbstractModel
5071
+ # @param Sid: 会话Sid
5072
+ # @type Sid: String
5073
+
5074
+ attr_accessor :Sid
5075
+
5076
+ def initialize(sid=nil)
5077
+ @Sid = sid
5078
+ end
5079
+
5080
+ def deserialize(params)
5081
+ @Sid = params['Sid']
5082
+ end
5083
+ end
5084
+
5085
+ # ReplaySession返回参数结构体
5086
+ class ReplaySessionResponse < TencentCloud::Common::AbstractModel
5087
+ # @param ReplayInfo: 回放所需信息
5088
+ # @type ReplayInfo: :class:`Tencentcloud::Bh.v20230418.models.ReplayInformation`
5089
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
5090
+ # @type RequestId: String
5091
+
5092
+ attr_accessor :ReplayInfo, :RequestId
5093
+
5094
+ def initialize(replayinfo=nil, requestid=nil)
5095
+ @ReplayInfo = replayinfo
5096
+ @RequestId = requestid
5097
+ end
5098
+
5099
+ def deserialize(params)
5100
+ unless params['ReplayInfo'].nil?
5101
+ @ReplayInfo = ReplayInformation.new
5102
+ @ReplayInfo.deserialize(params['ReplayInfo'])
5103
+ end
5104
+ @RequestId = params['RequestId']
5105
+ end
5106
+ end
5107
+
4705
5108
  # ResetDeviceAccountPassword请求参数结构体
4706
5109
  class ResetDeviceAccountPasswordRequest < TencentCloud::Common::AbstractModel
4707
5110
  # @param IdSet: ID集合
@@ -5213,18 +5616,29 @@ module TencentCloud
5213
5616
  class SearchCommandBySidResponse < TencentCloud::Common::AbstractModel
5214
5617
  # @param TotalCount: 总记录数
5215
5618
  # @type TotalCount: Integer
5619
+ # @param CommandSet: 命令列表
5620
+ # @type CommandSet: Array
5216
5621
  # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
5217
5622
  # @type RequestId: String
5218
5623
 
5219
- attr_accessor :TotalCount, :RequestId
5624
+ attr_accessor :TotalCount, :CommandSet, :RequestId
5220
5625
 
5221
- def initialize(totalcount=nil, requestid=nil)
5626
+ def initialize(totalcount=nil, commandset=nil, requestid=nil)
5222
5627
  @TotalCount = totalcount
5628
+ @CommandSet = commandset
5223
5629
  @RequestId = requestid
5224
5630
  end
5225
5631
 
5226
5632
  def deserialize(params)
5227
5633
  @TotalCount = params['TotalCount']
5634
+ unless params['CommandSet'].nil?
5635
+ @CommandSet = []
5636
+ params['CommandSet'].each do |i|
5637
+ command_tmp = Command.new
5638
+ command_tmp.deserialize(i)
5639
+ @CommandSet << command_tmp
5640
+ end
5641
+ end
5228
5642
  @RequestId = params['RequestId']
5229
5643
  end
5230
5644
  end
@@ -6220,6 +6634,33 @@ module TencentCloud
6220
6634
  end
6221
6635
  end
6222
6636
 
6637
+ # SetLDAPSyncFlag请求参数结构体
6638
+ class SetLDAPSyncFlagRequest < TencentCloud::Common::AbstractModel
6639
+
6640
+
6641
+ def initialize()
6642
+ end
6643
+
6644
+ def deserialize(params)
6645
+ end
6646
+ end
6647
+
6648
+ # SetLDAPSyncFlag返回参数结构体
6649
+ class SetLDAPSyncFlagResponse < TencentCloud::Common::AbstractModel
6650
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
6651
+ # @type RequestId: String
6652
+
6653
+ attr_accessor :RequestId
6654
+
6655
+ def initialize(requestid=nil)
6656
+ @RequestId = requestid
6657
+ end
6658
+
6659
+ def deserialize(params)
6660
+ @RequestId = params['RequestId']
6661
+ end
6662
+ end
6663
+
6223
6664
  # 资产标签
6224
6665
  class TagFilter < TencentCloud::Common::AbstractModel
6225
6666
  # @param TagKey: 标签键
@@ -6288,6 +6729,38 @@ module TencentCloud
6288
6729
  end
6289
6730
  end
6290
6731
 
6732
+ # UnlockUser请求参数结构体
6733
+ class UnlockUserRequest < TencentCloud::Common::AbstractModel
6734
+ # @param IdSet: 用户id
6735
+ # @type IdSet: Array
6736
+
6737
+ attr_accessor :IdSet
6738
+
6739
+ def initialize(idset=nil)
6740
+ @IdSet = idset
6741
+ end
6742
+
6743
+ def deserialize(params)
6744
+ @IdSet = params['IdSet']
6745
+ end
6746
+ end
6747
+
6748
+ # UnlockUser返回参数结构体
6749
+ class UnlockUserResponse < TencentCloud::Common::AbstractModel
6750
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
6751
+ # @type RequestId: String
6752
+
6753
+ attr_accessor :RequestId
6754
+
6755
+ def initialize(requestid=nil)
6756
+ @RequestId = requestid
6757
+ end
6758
+
6759
+ def deserialize(params)
6760
+ @RequestId = params['RequestId']
6761
+ end
6762
+ end
6763
+
6291
6764
  # 用户信息
6292
6765
  class User < TencentCloud::Common::AbstractModel
6293
6766
  # @param UserName: 用户名, 3-20个字符 必须以英文字母开头,且不能包含字母、数字、.、_、-以外的字符
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.1088
4
+ version: 3.0.1092
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-06-24 00:00:00.000000000 Z
11
+ date: 2025-07-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common