tencentcloud-sdk-bh 3.0.1088 → 3.0.1089
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 +144 -0
- data/lib/v20230418/models.rb +339 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bfa72db7bf005aa2dc4c47943ed55f7adf306b2d
|
4
|
+
data.tar.gz: a639f54d9ca1aef0231bcce6ec656dbc0a48ac81
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 326a905d2762dda62d8c17fa5957bda10c66943f1a3706e01b2e239f61d439c7780b4b1e473ac81014441eb82608c9354bc018240a8c87eeeee0e564b1ddd6dd
|
7
|
+
data.tar.gz: a158eeea39a4e96128107e1c4671a3b02609b9a35025360a3659f6f76feb577a0e5655a7bf1726272b3a482a91fd9e830ab9f1bb2ba4c6472452b813db79c9ca
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.1089
|
data/lib/v20230418/client.rb
CHANGED
@@ -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
|
data/lib/v20230418/models.rb
CHANGED
@@ -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
|
@@ -2960,6 +3024,82 @@ module TencentCloud
|
|
2960
3024
|
end
|
2961
3025
|
end
|
2962
3026
|
|
3027
|
+
# DescribeLDAPUnitSet请求参数结构体
|
3028
|
+
class DescribeLDAPUnitSetRequest < TencentCloud::Common::AbstractModel
|
3029
|
+
# @param Enable: 是否开启LDAP认证,true-开启
|
3030
|
+
# @type Enable: Boolean
|
3031
|
+
# @param Ip: 服务器地址
|
3032
|
+
# @type Ip: String
|
3033
|
+
# @param Port: 服务端口
|
3034
|
+
# @type Port: Integer
|
3035
|
+
# @param EnableSSL: 是否开启SSL,false-不开启,true-开启
|
3036
|
+
# @type EnableSSL: Boolean
|
3037
|
+
# @param BaseDN: Base DN
|
3038
|
+
# @type BaseDN: String
|
3039
|
+
# @param AdminAccount: 管理员账号
|
3040
|
+
# @type AdminAccount: String
|
3041
|
+
# @param AdminPassword: 管理员密码
|
3042
|
+
# @type AdminPassword: String
|
3043
|
+
# @param AttributeUserName: 用户名映射属性
|
3044
|
+
# @type AttributeUserName: String
|
3045
|
+
# @param AttributeUnit: 部门过滤
|
3046
|
+
# @type AttributeUnit: String
|
3047
|
+
# @param IpBackup: 备用服务器地址
|
3048
|
+
# @type IpBackup: String
|
3049
|
+
# @param DomainId: 网络域Id
|
3050
|
+
# @type DomainId: String
|
3051
|
+
|
3052
|
+
attr_accessor :Enable, :Ip, :Port, :EnableSSL, :BaseDN, :AdminAccount, :AdminPassword, :AttributeUserName, :AttributeUnit, :IpBackup, :DomainId
|
3053
|
+
|
3054
|
+
def initialize(enable=nil, ip=nil, port=nil, enablessl=nil, basedn=nil, adminaccount=nil, adminpassword=nil, attributeusername=nil, attributeunit=nil, ipbackup=nil, domainid=nil)
|
3055
|
+
@Enable = enable
|
3056
|
+
@Ip = ip
|
3057
|
+
@Port = port
|
3058
|
+
@EnableSSL = enablessl
|
3059
|
+
@BaseDN = basedn
|
3060
|
+
@AdminAccount = adminaccount
|
3061
|
+
@AdminPassword = adminpassword
|
3062
|
+
@AttributeUserName = attributeusername
|
3063
|
+
@AttributeUnit = attributeunit
|
3064
|
+
@IpBackup = ipbackup
|
3065
|
+
@DomainId = domainid
|
3066
|
+
end
|
3067
|
+
|
3068
|
+
def deserialize(params)
|
3069
|
+
@Enable = params['Enable']
|
3070
|
+
@Ip = params['Ip']
|
3071
|
+
@Port = params['Port']
|
3072
|
+
@EnableSSL = params['EnableSSL']
|
3073
|
+
@BaseDN = params['BaseDN']
|
3074
|
+
@AdminAccount = params['AdminAccount']
|
3075
|
+
@AdminPassword = params['AdminPassword']
|
3076
|
+
@AttributeUserName = params['AttributeUserName']
|
3077
|
+
@AttributeUnit = params['AttributeUnit']
|
3078
|
+
@IpBackup = params['IpBackup']
|
3079
|
+
@DomainId = params['DomainId']
|
3080
|
+
end
|
3081
|
+
end
|
3082
|
+
|
3083
|
+
# DescribeLDAPUnitSet返回参数结构体
|
3084
|
+
class DescribeLDAPUnitSetResponse < TencentCloud::Common::AbstractModel
|
3085
|
+
# @param UnitSet: ou 列表
|
3086
|
+
# @type UnitSet: Array
|
3087
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
3088
|
+
# @type RequestId: String
|
3089
|
+
|
3090
|
+
attr_accessor :UnitSet, :RequestId
|
3091
|
+
|
3092
|
+
def initialize(unitset=nil, requestid=nil)
|
3093
|
+
@UnitSet = unitset
|
3094
|
+
@RequestId = requestid
|
3095
|
+
end
|
3096
|
+
|
3097
|
+
def deserialize(params)
|
3098
|
+
@UnitSet = params['UnitSet']
|
3099
|
+
@RequestId = params['RequestId']
|
3100
|
+
end
|
3101
|
+
end
|
3102
|
+
|
2963
3103
|
# DescribeLoginEvent请求参数结构体
|
2964
3104
|
class DescribeLoginEventRequest < TencentCloud::Common::AbstractModel
|
2965
3105
|
# @param UserName: 用户名,如果不包含其他条件时对user_name or real_name两个字段模糊查询
|
@@ -4309,6 +4449,114 @@ module TencentCloud
|
|
4309
4449
|
end
|
4310
4450
|
end
|
4311
4451
|
|
4452
|
+
# ModifyLDAPSetting请求参数结构体
|
4453
|
+
class ModifyLDAPSettingRequest < TencentCloud::Common::AbstractModel
|
4454
|
+
# @param Enable: 是否开启LDAP认证,false-不开启,true-开启
|
4455
|
+
# @type Enable: Boolean
|
4456
|
+
# @param Ip: 服务器地址
|
4457
|
+
# @type Ip: String
|
4458
|
+
# @param IpBackup: 备用服务器地址
|
4459
|
+
# @type IpBackup: String
|
4460
|
+
# @param Port: 服务端口
|
4461
|
+
# @type Port: Integer
|
4462
|
+
# @param EnableSSL: 是否开启SSL,false-不开启,true-开启
|
4463
|
+
# @type EnableSSL: Boolean
|
4464
|
+
# @param BaseDN: Base DN
|
4465
|
+
# @type BaseDN: String
|
4466
|
+
# @param AdminAccount: 管理员账号
|
4467
|
+
# @type AdminAccount: String
|
4468
|
+
# @param AdminPassword: 管理员密码
|
4469
|
+
# @type AdminPassword: String
|
4470
|
+
# @param AttributeUser: 用户属性
|
4471
|
+
# @type AttributeUser: String
|
4472
|
+
# @param AttributeUserName: 用户名属性
|
4473
|
+
# @type AttributeUserName: String
|
4474
|
+
# @param AutoSync: 自动同步,false-不开启,true-开启
|
4475
|
+
# @type AutoSync: Boolean
|
4476
|
+
# @param Overwrite: 覆盖用户信息,false-不开启,true-开启
|
4477
|
+
# @type Overwrite: Boolean
|
4478
|
+
# @param SyncPeriod: 同步周期,30~60000之间的整数
|
4479
|
+
# @type SyncPeriod: Integer
|
4480
|
+
# @param SyncAll: 是否同步全部,false-不开启,true-开启
|
4481
|
+
# @type SyncAll: Boolean
|
4482
|
+
# @param SyncUnitSet: 同步OU列表,SyncAll为false时必传
|
4483
|
+
# @type SyncUnitSet: Array
|
4484
|
+
# @param AttributeUnit: 组织单元属性
|
4485
|
+
# @type AttributeUnit: String
|
4486
|
+
# @param AttributeRealName: 用户姓名属性
|
4487
|
+
# @type AttributeRealName: String
|
4488
|
+
# @param AttributePhone: 手机号属性
|
4489
|
+
# @type AttributePhone: String
|
4490
|
+
# @param AttributeEmail: 邮箱属性
|
4491
|
+
# @type AttributeEmail: String
|
4492
|
+
# @param DomainId: 网络域Id
|
4493
|
+
# @type DomainId: String
|
4494
|
+
|
4495
|
+
attr_accessor :Enable, :Ip, :IpBackup, :Port, :EnableSSL, :BaseDN, :AdminAccount, :AdminPassword, :AttributeUser, :AttributeUserName, :AutoSync, :Overwrite, :SyncPeriod, :SyncAll, :SyncUnitSet, :AttributeUnit, :AttributeRealName, :AttributePhone, :AttributeEmail, :DomainId
|
4496
|
+
|
4497
|
+
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)
|
4498
|
+
@Enable = enable
|
4499
|
+
@Ip = ip
|
4500
|
+
@IpBackup = ipbackup
|
4501
|
+
@Port = port
|
4502
|
+
@EnableSSL = enablessl
|
4503
|
+
@BaseDN = basedn
|
4504
|
+
@AdminAccount = adminaccount
|
4505
|
+
@AdminPassword = adminpassword
|
4506
|
+
@AttributeUser = attributeuser
|
4507
|
+
@AttributeUserName = attributeusername
|
4508
|
+
@AutoSync = autosync
|
4509
|
+
@Overwrite = overwrite
|
4510
|
+
@SyncPeriod = syncperiod
|
4511
|
+
@SyncAll = syncall
|
4512
|
+
@SyncUnitSet = syncunitset
|
4513
|
+
@AttributeUnit = attributeunit
|
4514
|
+
@AttributeRealName = attributerealname
|
4515
|
+
@AttributePhone = attributephone
|
4516
|
+
@AttributeEmail = attributeemail
|
4517
|
+
@DomainId = domainid
|
4518
|
+
end
|
4519
|
+
|
4520
|
+
def deserialize(params)
|
4521
|
+
@Enable = params['Enable']
|
4522
|
+
@Ip = params['Ip']
|
4523
|
+
@IpBackup = params['IpBackup']
|
4524
|
+
@Port = params['Port']
|
4525
|
+
@EnableSSL = params['EnableSSL']
|
4526
|
+
@BaseDN = params['BaseDN']
|
4527
|
+
@AdminAccount = params['AdminAccount']
|
4528
|
+
@AdminPassword = params['AdminPassword']
|
4529
|
+
@AttributeUser = params['AttributeUser']
|
4530
|
+
@AttributeUserName = params['AttributeUserName']
|
4531
|
+
@AutoSync = params['AutoSync']
|
4532
|
+
@Overwrite = params['Overwrite']
|
4533
|
+
@SyncPeriod = params['SyncPeriod']
|
4534
|
+
@SyncAll = params['SyncAll']
|
4535
|
+
@SyncUnitSet = params['SyncUnitSet']
|
4536
|
+
@AttributeUnit = params['AttributeUnit']
|
4537
|
+
@AttributeRealName = params['AttributeRealName']
|
4538
|
+
@AttributePhone = params['AttributePhone']
|
4539
|
+
@AttributeEmail = params['AttributeEmail']
|
4540
|
+
@DomainId = params['DomainId']
|
4541
|
+
end
|
4542
|
+
end
|
4543
|
+
|
4544
|
+
# ModifyLDAPSetting返回参数结构体
|
4545
|
+
class ModifyLDAPSettingResponse < TencentCloud::Common::AbstractModel
|
4546
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
4547
|
+
# @type RequestId: String
|
4548
|
+
|
4549
|
+
attr_accessor :RequestId
|
4550
|
+
|
4551
|
+
def initialize(requestid=nil)
|
4552
|
+
@RequestId = requestid
|
4553
|
+
end
|
4554
|
+
|
4555
|
+
def deserialize(params)
|
4556
|
+
@RequestId = params['RequestId']
|
4557
|
+
end
|
4558
|
+
end
|
4559
|
+
|
4312
4560
|
# ModifyOAuthSetting请求参数结构体
|
4313
4561
|
class ModifyOAuthSettingRequest < TencentCloud::Common::AbstractModel
|
4314
4562
|
# @param Enable: 是否开启OAuth认证,false-不开启,true-开启。
|
@@ -4702,6 +4950,38 @@ module TencentCloud
|
|
4702
4950
|
end
|
4703
4951
|
end
|
4704
4952
|
|
4953
|
+
# ReplaySession请求参数结构体
|
4954
|
+
class ReplaySessionRequest < TencentCloud::Common::AbstractModel
|
4955
|
+
# @param Sid: 会话Sid
|
4956
|
+
# @type Sid: String
|
4957
|
+
|
4958
|
+
attr_accessor :Sid
|
4959
|
+
|
4960
|
+
def initialize(sid=nil)
|
4961
|
+
@Sid = sid
|
4962
|
+
end
|
4963
|
+
|
4964
|
+
def deserialize(params)
|
4965
|
+
@Sid = params['Sid']
|
4966
|
+
end
|
4967
|
+
end
|
4968
|
+
|
4969
|
+
# ReplaySession返回参数结构体
|
4970
|
+
class ReplaySessionResponse < TencentCloud::Common::AbstractModel
|
4971
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
4972
|
+
# @type RequestId: String
|
4973
|
+
|
4974
|
+
attr_accessor :RequestId
|
4975
|
+
|
4976
|
+
def initialize(requestid=nil)
|
4977
|
+
@RequestId = requestid
|
4978
|
+
end
|
4979
|
+
|
4980
|
+
def deserialize(params)
|
4981
|
+
@RequestId = params['RequestId']
|
4982
|
+
end
|
4983
|
+
end
|
4984
|
+
|
4705
4985
|
# ResetDeviceAccountPassword请求参数结构体
|
4706
4986
|
class ResetDeviceAccountPasswordRequest < TencentCloud::Common::AbstractModel
|
4707
4987
|
# @param IdSet: ID集合
|
@@ -6220,6 +6500,33 @@ module TencentCloud
|
|
6220
6500
|
end
|
6221
6501
|
end
|
6222
6502
|
|
6503
|
+
# SetLDAPSyncFlag请求参数结构体
|
6504
|
+
class SetLDAPSyncFlagRequest < TencentCloud::Common::AbstractModel
|
6505
|
+
|
6506
|
+
|
6507
|
+
def initialize()
|
6508
|
+
end
|
6509
|
+
|
6510
|
+
def deserialize(params)
|
6511
|
+
end
|
6512
|
+
end
|
6513
|
+
|
6514
|
+
# SetLDAPSyncFlag返回参数结构体
|
6515
|
+
class SetLDAPSyncFlagResponse < TencentCloud::Common::AbstractModel
|
6516
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
6517
|
+
# @type RequestId: String
|
6518
|
+
|
6519
|
+
attr_accessor :RequestId
|
6520
|
+
|
6521
|
+
def initialize(requestid=nil)
|
6522
|
+
@RequestId = requestid
|
6523
|
+
end
|
6524
|
+
|
6525
|
+
def deserialize(params)
|
6526
|
+
@RequestId = params['RequestId']
|
6527
|
+
end
|
6528
|
+
end
|
6529
|
+
|
6223
6530
|
# 资产标签
|
6224
6531
|
class TagFilter < TencentCloud::Common::AbstractModel
|
6225
6532
|
# @param TagKey: 标签键
|
@@ -6288,6 +6595,38 @@ module TencentCloud
|
|
6288
6595
|
end
|
6289
6596
|
end
|
6290
6597
|
|
6598
|
+
# UnlockUser请求参数结构体
|
6599
|
+
class UnlockUserRequest < TencentCloud::Common::AbstractModel
|
6600
|
+
# @param IdSet: 用户id
|
6601
|
+
# @type IdSet: Array
|
6602
|
+
|
6603
|
+
attr_accessor :IdSet
|
6604
|
+
|
6605
|
+
def initialize(idset=nil)
|
6606
|
+
@IdSet = idset
|
6607
|
+
end
|
6608
|
+
|
6609
|
+
def deserialize(params)
|
6610
|
+
@IdSet = params['IdSet']
|
6611
|
+
end
|
6612
|
+
end
|
6613
|
+
|
6614
|
+
# UnlockUser返回参数结构体
|
6615
|
+
class UnlockUserResponse < TencentCloud::Common::AbstractModel
|
6616
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
6617
|
+
# @type RequestId: String
|
6618
|
+
|
6619
|
+
attr_accessor :RequestId
|
6620
|
+
|
6621
|
+
def initialize(requestid=nil)
|
6622
|
+
@RequestId = requestid
|
6623
|
+
end
|
6624
|
+
|
6625
|
+
def deserialize(params)
|
6626
|
+
@RequestId = params['RequestId']
|
6627
|
+
end
|
6628
|
+
end
|
6629
|
+
|
6291
6630
|
# 用户信息
|
6292
6631
|
class User < TencentCloud::Common::AbstractModel
|
6293
6632
|
# @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.
|
4
|
+
version: 3.0.1089
|
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-
|
11
|
+
date: 2025-06-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|