tencentcloud-sdk-bh 3.0.1190 → 3.0.1208
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/models.rb +291 -21
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: abe36ba3351b16550cd1008f404632a3eb02f67e
|
|
4
|
+
data.tar.gz: 592f9c4387075def2f8fab75cfb6dcd7a8b7f5bf
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: cc18eef1b103d7bc7c63cabca958c0e8f051b84c318962ff66064735e539d056f1b214088a4c7eca3089b7977a4df50defbc92d47cd6c0a9976edde2d2c6342b
|
|
7
|
+
data.tar.gz: 5c6a17ae1317135cc6f06bf0058db284c5ca8926d5f214d92ba24d69eb18becd40d3820f23a1b30c57499d445e877675063793fea6d84dc4ceb219fbdf0030d6
|
data/lib/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
3.0.
|
|
1
|
+
3.0.1208
|
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,
|
|
78
|
-
deprecate :LoginAccount=, :none,
|
|
79
|
-
deprecate :LoginPassword, :none,
|
|
80
|
-
deprecate :LoginPassword=, :none,
|
|
77
|
+
deprecate :LoginAccount, :none, 2026, 1
|
|
78
|
+
deprecate :LoginAccount=, :none, 2026, 1
|
|
79
|
+
deprecate :LoginPassword, :none, 2026, 1
|
|
80
|
+
deprecate :LoginPassword=, :none, 2026, 1
|
|
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
|
|
@@ -3206,6 +3206,8 @@ module TencentCloud
|
|
|
3206
3206
|
# @type IdSet: Array
|
|
3207
3207
|
# @param Name: 资产名或资产IP,模糊查询
|
|
3208
3208
|
# @type Name: String
|
|
3209
|
+
# @param ResourceIdSet: 主机绑定的堡垒机服务ID集合 未绑定的通过Filters进行传递
|
|
3210
|
+
# @type ResourceIdSet: Array
|
|
3209
3211
|
# @param Offset: 分页偏移位置,默认值为0
|
|
3210
3212
|
# @type Offset: Integer
|
|
3211
3213
|
# @param Limit: 每页条目数,默认20, 最大500
|
|
@@ -3216,21 +3218,25 @@ module TencentCloud
|
|
|
3216
3218
|
# @type KindSet: Array
|
|
3217
3219
|
# @param DepartmentId: 所属部门ID
|
|
3218
3220
|
# @type DepartmentId: String
|
|
3221
|
+
# @param Filters: 过滤条件,支持 BindingStatus|VpcId |InstanceId |DeviceAccount |ManageDimension|DomainId|Ip|Name
|
|
3222
|
+
# @type Filters: Array
|
|
3219
3223
|
# @param TagFilters: 过滤条件,可按照标签键、标签进行过滤。如果同时指定标签键和标签过滤条件,它们之间为“AND”的关系
|
|
3220
3224
|
# @type TagFilters: Array
|
|
3221
3225
|
|
|
3222
|
-
attr_accessor :Bound, :Id, :IdSet, :Name, :Offset, :Limit, :Kind, :KindSet, :DepartmentId, :TagFilters
|
|
3226
|
+
attr_accessor :Bound, :Id, :IdSet, :Name, :ResourceIdSet, :Offset, :Limit, :Kind, :KindSet, :DepartmentId, :Filters, :TagFilters
|
|
3223
3227
|
|
|
3224
|
-
def initialize(bound=nil, id=nil, idset=nil, name=nil, offset=nil, limit=nil, kind=nil, kindset=nil, departmentid=nil, tagfilters=nil)
|
|
3228
|
+
def initialize(bound=nil, id=nil, idset=nil, name=nil, resourceidset=nil, offset=nil, limit=nil, kind=nil, kindset=nil, departmentid=nil, filters=nil, tagfilters=nil)
|
|
3225
3229
|
@Bound = bound
|
|
3226
3230
|
@Id = id
|
|
3227
3231
|
@IdSet = idset
|
|
3228
3232
|
@Name = name
|
|
3233
|
+
@ResourceIdSet = resourceidset
|
|
3229
3234
|
@Offset = offset
|
|
3230
3235
|
@Limit = limit
|
|
3231
3236
|
@Kind = kind
|
|
3232
3237
|
@KindSet = kindset
|
|
3233
3238
|
@DepartmentId = departmentid
|
|
3239
|
+
@Filters = filters
|
|
3234
3240
|
@TagFilters = tagfilters
|
|
3235
3241
|
end
|
|
3236
3242
|
|
|
@@ -3239,11 +3245,20 @@ module TencentCloud
|
|
|
3239
3245
|
@Id = params['Id']
|
|
3240
3246
|
@IdSet = params['IdSet']
|
|
3241
3247
|
@Name = params['Name']
|
|
3248
|
+
@ResourceIdSet = params['ResourceIdSet']
|
|
3242
3249
|
@Offset = params['Offset']
|
|
3243
3250
|
@Limit = params['Limit']
|
|
3244
3251
|
@Kind = params['Kind']
|
|
3245
3252
|
@KindSet = params['KindSet']
|
|
3246
3253
|
@DepartmentId = params['DepartmentId']
|
|
3254
|
+
unless params['Filters'].nil?
|
|
3255
|
+
@Filters = []
|
|
3256
|
+
params['Filters'].each do |i|
|
|
3257
|
+
filter_tmp = Filter.new
|
|
3258
|
+
filter_tmp.deserialize(i)
|
|
3259
|
+
@Filters << filter_tmp
|
|
3260
|
+
end
|
|
3261
|
+
end
|
|
3247
3262
|
unless params['TagFilters'].nil?
|
|
3248
3263
|
@TagFilters = []
|
|
3249
3264
|
params['TagFilters'].each do |i|
|
|
@@ -4925,6 +4940,100 @@ module TencentCloud
|
|
|
4925
4940
|
end
|
|
4926
4941
|
end
|
|
4927
4942
|
|
|
4943
|
+
# LDAP配置信息
|
|
4944
|
+
class LDAPSetting < TencentCloud::Common::AbstractModel
|
|
4945
|
+
# @param Enable: 是否开启LDAP认证,false-不开启,true-开启
|
|
4946
|
+
# @type Enable: Boolean
|
|
4947
|
+
# @param Ip: 服务器地址
|
|
4948
|
+
# @type Ip: String
|
|
4949
|
+
# @param IpBackup: 备用服务器地址
|
|
4950
|
+
# @type IpBackup: String
|
|
4951
|
+
# @param Port: 服务端口
|
|
4952
|
+
# @type Port: Integer
|
|
4953
|
+
# @param EnableSSL: 是否开启SSL,false-不开启,true-开启
|
|
4954
|
+
# @type EnableSSL: Boolean
|
|
4955
|
+
# @param BaseDN: Base DN
|
|
4956
|
+
# @type BaseDN: String
|
|
4957
|
+
# @param AdminAccount: 管理员账号
|
|
4958
|
+
# @type AdminAccount: String
|
|
4959
|
+
# @param AttributeUser: 用户属性
|
|
4960
|
+
# @type AttributeUser: String
|
|
4961
|
+
# @param AttributeUserName: 用户名属性
|
|
4962
|
+
# @type AttributeUserName: String
|
|
4963
|
+
# @param AutoSync: 自动同步,false-不开启,true-开启
|
|
4964
|
+
# @type AutoSync: Boolean
|
|
4965
|
+
# @param Overwrite: 覆盖用户信息,false-不开启,true-开启
|
|
4966
|
+
# @type Overwrite: Boolean
|
|
4967
|
+
# @param SyncPeriod: 同步周期,30~60000之间的整数
|
|
4968
|
+
# @type SyncPeriod: Integer
|
|
4969
|
+
# @param SyncAll: 是否同步全部,false-不开启,true-开启
|
|
4970
|
+
# @type SyncAll: Boolean
|
|
4971
|
+
# @param SyncUnitSet: 同步OU列表
|
|
4972
|
+
# @type SyncUnitSet: Array
|
|
4973
|
+
# @param AttributeUnit: 组织单元属性
|
|
4974
|
+
# @type AttributeUnit: String
|
|
4975
|
+
# @param AttributeRealName: 用户姓名属性
|
|
4976
|
+
# @type AttributeRealName: String
|
|
4977
|
+
# @param AttributePhone: 手机号属性
|
|
4978
|
+
# @type AttributePhone: String
|
|
4979
|
+
# @param AttributeEmail: 邮箱属性
|
|
4980
|
+
# @type AttributeEmail: String
|
|
4981
|
+
# @param ResourceId: 请求LDAP服务的堡垒机实例
|
|
4982
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
4983
|
+
# @type ResourceId: String
|
|
4984
|
+
# @param DomainId: 网络域Id
|
|
4985
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
4986
|
+
# @type DomainId: String
|
|
4987
|
+
|
|
4988
|
+
attr_accessor :Enable, :Ip, :IpBackup, :Port, :EnableSSL, :BaseDN, :AdminAccount, :AttributeUser, :AttributeUserName, :AutoSync, :Overwrite, :SyncPeriod, :SyncAll, :SyncUnitSet, :AttributeUnit, :AttributeRealName, :AttributePhone, :AttributeEmail, :ResourceId, :DomainId
|
|
4989
|
+
|
|
4990
|
+
def initialize(enable=nil, ip=nil, ipbackup=nil, port=nil, enablessl=nil, basedn=nil, adminaccount=nil, attributeuser=nil, attributeusername=nil, autosync=nil, overwrite=nil, syncperiod=nil, syncall=nil, syncunitset=nil, attributeunit=nil, attributerealname=nil, attributephone=nil, attributeemail=nil, resourceid=nil, domainid=nil)
|
|
4991
|
+
@Enable = enable
|
|
4992
|
+
@Ip = ip
|
|
4993
|
+
@IpBackup = ipbackup
|
|
4994
|
+
@Port = port
|
|
4995
|
+
@EnableSSL = enablessl
|
|
4996
|
+
@BaseDN = basedn
|
|
4997
|
+
@AdminAccount = adminaccount
|
|
4998
|
+
@AttributeUser = attributeuser
|
|
4999
|
+
@AttributeUserName = attributeusername
|
|
5000
|
+
@AutoSync = autosync
|
|
5001
|
+
@Overwrite = overwrite
|
|
5002
|
+
@SyncPeriod = syncperiod
|
|
5003
|
+
@SyncAll = syncall
|
|
5004
|
+
@SyncUnitSet = syncunitset
|
|
5005
|
+
@AttributeUnit = attributeunit
|
|
5006
|
+
@AttributeRealName = attributerealname
|
|
5007
|
+
@AttributePhone = attributephone
|
|
5008
|
+
@AttributeEmail = attributeemail
|
|
5009
|
+
@ResourceId = resourceid
|
|
5010
|
+
@DomainId = domainid
|
|
5011
|
+
end
|
|
5012
|
+
|
|
5013
|
+
def deserialize(params)
|
|
5014
|
+
@Enable = params['Enable']
|
|
5015
|
+
@Ip = params['Ip']
|
|
5016
|
+
@IpBackup = params['IpBackup']
|
|
5017
|
+
@Port = params['Port']
|
|
5018
|
+
@EnableSSL = params['EnableSSL']
|
|
5019
|
+
@BaseDN = params['BaseDN']
|
|
5020
|
+
@AdminAccount = params['AdminAccount']
|
|
5021
|
+
@AttributeUser = params['AttributeUser']
|
|
5022
|
+
@AttributeUserName = params['AttributeUserName']
|
|
5023
|
+
@AutoSync = params['AutoSync']
|
|
5024
|
+
@Overwrite = params['Overwrite']
|
|
5025
|
+
@SyncPeriod = params['SyncPeriod']
|
|
5026
|
+
@SyncAll = params['SyncAll']
|
|
5027
|
+
@SyncUnitSet = params['SyncUnitSet']
|
|
5028
|
+
@AttributeUnit = params['AttributeUnit']
|
|
5029
|
+
@AttributeRealName = params['AttributeRealName']
|
|
5030
|
+
@AttributePhone = params['AttributePhone']
|
|
5031
|
+
@AttributeEmail = params['AttributeEmail']
|
|
5032
|
+
@ResourceId = params['ResourceId']
|
|
5033
|
+
@DomainId = params['DomainId']
|
|
5034
|
+
end
|
|
5035
|
+
end
|
|
5036
|
+
|
|
4928
5037
|
# 登录日志
|
|
4929
5038
|
class LoginEvent < TencentCloud::Common::AbstractModel
|
|
4930
5039
|
# @param UserName: 用户名
|
|
@@ -4961,6 +5070,34 @@ module TencentCloud
|
|
|
4961
5070
|
end
|
|
4962
5071
|
end
|
|
4963
5072
|
|
|
5073
|
+
# 登录安全设置
|
|
5074
|
+
class LoginSetting < TencentCloud::Common::AbstractModel
|
|
5075
|
+
# @param TimeOut: 登录会话超时,10分钟,20分钟,30分钟,默认20分钟
|
|
5076
|
+
# @type TimeOut: Integer
|
|
5077
|
+
# @param LockThreshold: 连续密码错误次数,超过锁定账号,3-5
|
|
5078
|
+
# @type LockThreshold: Integer
|
|
5079
|
+
# @param LockTime: 账号锁定时长,10分钟,20分钟,30分钟
|
|
5080
|
+
# @type LockTime: Integer
|
|
5081
|
+
# @param InactiveUserLock: 用户多少天不活跃,账号自动锁定
|
|
5082
|
+
# @type InactiveUserLock: Integer
|
|
5083
|
+
|
|
5084
|
+
attr_accessor :TimeOut, :LockThreshold, :LockTime, :InactiveUserLock
|
|
5085
|
+
|
|
5086
|
+
def initialize(timeout=nil, lockthreshold=nil, locktime=nil, inactiveuserlock=nil)
|
|
5087
|
+
@TimeOut = timeout
|
|
5088
|
+
@LockThreshold = lockthreshold
|
|
5089
|
+
@LockTime = locktime
|
|
5090
|
+
@InactiveUserLock = inactiveuserlock
|
|
5091
|
+
end
|
|
5092
|
+
|
|
5093
|
+
def deserialize(params)
|
|
5094
|
+
@TimeOut = params['TimeOut']
|
|
5095
|
+
@LockThreshold = params['LockThreshold']
|
|
5096
|
+
@LockTime = params['LockTime']
|
|
5097
|
+
@InactiveUserLock = params['InactiveUserLock']
|
|
5098
|
+
end
|
|
5099
|
+
end
|
|
5100
|
+
|
|
4964
5101
|
# ModifyAccessWhiteListAutoStatus请求参数结构体
|
|
4965
5102
|
class ModifyAccessWhiteListAutoStatusRequest < TencentCloud::Common::AbstractModel
|
|
4966
5103
|
# @param AllowAuto: true:放开自动添加IP;false:不放开自动添加IP
|
|
@@ -5249,20 +5386,26 @@ module TencentCloud
|
|
|
5249
5386
|
|
|
5250
5387
|
# ModifyAuthModeSetting请求参数结构体
|
|
5251
5388
|
class ModifyAuthModeSettingRequest < TencentCloud::Common::AbstractModel
|
|
5252
|
-
# @param AuthMode: 双因子认证,0
|
|
5389
|
+
# @param AuthMode: 双因子认证,0-不开启(暂停使用),1-OTP,2-短信,3-USB Key(只有ResourceType=1且AuthModeGM不传时有效,其他情况不能为3)
|
|
5390
|
+
# 备注:AuthMode和AuthModeGM至少有一个有效传参
|
|
5253
5391
|
# @type AuthMode: Integer
|
|
5254
|
-
# @param
|
|
5392
|
+
# @param AuthModeGM: 国密双因子认证,0-不开启(暂停使用),1-OTP,2-短信,3-USB Key
|
|
5393
|
+
# 备注:AuthMode和AuthModeGM至少有一个有效传参,AuthModeGM优先级高于ResourceType
|
|
5394
|
+
# @type AuthModeGM: Integer
|
|
5395
|
+
# @param ResourceType: 资源类型,0:普通(暂停使用,由AuthMode和AuthModeGM传参决定) 1:国密
|
|
5255
5396
|
# @type ResourceType: Integer
|
|
5256
5397
|
|
|
5257
|
-
attr_accessor :AuthMode, :ResourceType
|
|
5398
|
+
attr_accessor :AuthMode, :AuthModeGM, :ResourceType
|
|
5258
5399
|
|
|
5259
|
-
def initialize(authmode=nil, resourcetype=nil)
|
|
5400
|
+
def initialize(authmode=nil, authmodegm=nil, resourcetype=nil)
|
|
5260
5401
|
@AuthMode = authmode
|
|
5402
|
+
@AuthModeGM = authmodegm
|
|
5261
5403
|
@ResourceType = resourcetype
|
|
5262
5404
|
end
|
|
5263
5405
|
|
|
5264
5406
|
def deserialize(params)
|
|
5265
5407
|
@AuthMode = params['AuthMode']
|
|
5408
|
+
@AuthModeGM = params['AuthModeGM']
|
|
5266
5409
|
@ResourceType = params['ResourceType']
|
|
5267
5410
|
end
|
|
5268
5411
|
end
|
|
@@ -5825,8 +5968,8 @@ module TencentCloud
|
|
|
5825
5968
|
|
|
5826
5969
|
attr_accessor :ResourceId, :Status, :ResourceEdition, :ResourceNode, :AutoRenewFlag, :PackageBandwidth, :PackageNode, :LogDelivery
|
|
5827
5970
|
extend Gem::Deprecate
|
|
5828
|
-
deprecate :Status, :none,
|
|
5829
|
-
deprecate :Status=, :none,
|
|
5971
|
+
deprecate :Status, :none, 2026, 1
|
|
5972
|
+
deprecate :Status=, :none, 2026, 1
|
|
5830
5973
|
|
|
5831
5974
|
def initialize(resourceid=nil, status=nil, resourceedition=nil, resourcenode=nil, autorenewflag=nil, packagebandwidth=nil, packagenode=nil, logdelivery=nil)
|
|
5832
5975
|
@ResourceId = resourceid
|
|
@@ -6020,6 +6163,46 @@ module TencentCloud
|
|
|
6020
6163
|
end
|
|
6021
6164
|
end
|
|
6022
6165
|
|
|
6166
|
+
# OAuth认证配置
|
|
6167
|
+
class OAuthSetting < TencentCloud::Common::AbstractModel
|
|
6168
|
+
# @param Enable: 是否开启OAuth认证
|
|
6169
|
+
# @type Enable: Boolean
|
|
6170
|
+
# @param AuthMethod: OAuth认证方式。
|
|
6171
|
+
# @type AuthMethod: String
|
|
6172
|
+
# @param ClientId: OAuth认证客户端Id。
|
|
6173
|
+
# @type ClientId: String
|
|
6174
|
+
# @param CodeUrl: 获取OAuth认证授权码URL。
|
|
6175
|
+
# @type CodeUrl: String
|
|
6176
|
+
# @param TokenUrl: 获取OAuth令牌URL。
|
|
6177
|
+
# @type TokenUrl: String
|
|
6178
|
+
# @param UserInfoUrl: 获取OAuth用户信息URL。
|
|
6179
|
+
# @type UserInfoUrl: String
|
|
6180
|
+
# @param Scopes: 使用Okta认证时指定范围。
|
|
6181
|
+
# @type Scopes: Array
|
|
6182
|
+
|
|
6183
|
+
attr_accessor :Enable, :AuthMethod, :ClientId, :CodeUrl, :TokenUrl, :UserInfoUrl, :Scopes
|
|
6184
|
+
|
|
6185
|
+
def initialize(enable=nil, authmethod=nil, clientid=nil, codeurl=nil, tokenurl=nil, userinfourl=nil, scopes=nil)
|
|
6186
|
+
@Enable = enable
|
|
6187
|
+
@AuthMethod = authmethod
|
|
6188
|
+
@ClientId = clientid
|
|
6189
|
+
@CodeUrl = codeurl
|
|
6190
|
+
@TokenUrl = tokenurl
|
|
6191
|
+
@UserInfoUrl = userinfourl
|
|
6192
|
+
@Scopes = scopes
|
|
6193
|
+
end
|
|
6194
|
+
|
|
6195
|
+
def deserialize(params)
|
|
6196
|
+
@Enable = params['Enable']
|
|
6197
|
+
@AuthMethod = params['AuthMethod']
|
|
6198
|
+
@ClientId = params['ClientId']
|
|
6199
|
+
@CodeUrl = params['CodeUrl']
|
|
6200
|
+
@TokenUrl = params['TokenUrl']
|
|
6201
|
+
@UserInfoUrl = params['UserInfoUrl']
|
|
6202
|
+
@Scopes = params['Scopes']
|
|
6203
|
+
end
|
|
6204
|
+
end
|
|
6205
|
+
|
|
6023
6206
|
# 操作日志
|
|
6024
6207
|
class OperationEvent < TencentCloud::Common::AbstractModel
|
|
6025
6208
|
# @param UserName: 用户名
|
|
@@ -6112,6 +6295,34 @@ module TencentCloud
|
|
|
6112
6295
|
end
|
|
6113
6296
|
end
|
|
6114
6297
|
|
|
6298
|
+
# 密码要求设置。
|
|
6299
|
+
class PasswordSetting < TencentCloud::Common::AbstractModel
|
|
6300
|
+
# @param MinLength: 密码最小长度,8-20,默认8。
|
|
6301
|
+
# @type MinLength: Integer
|
|
6302
|
+
# @param Complexity: 密码复杂度,0不限制,1包含字母和数字,2至少包括大写字母、小写字母、数字、特殊符号,默认2。
|
|
6303
|
+
# @type Complexity: Integer
|
|
6304
|
+
# @param ValidTerm: 密码有效期,0不限制,30天,90天,180天。
|
|
6305
|
+
# @type ValidTerm: Integer
|
|
6306
|
+
# @param CheckHistory: 检查最近n次密码设置是否存在相同密码,2-10,默认5。
|
|
6307
|
+
# @type CheckHistory: Integer
|
|
6308
|
+
|
|
6309
|
+
attr_accessor :MinLength, :Complexity, :ValidTerm, :CheckHistory
|
|
6310
|
+
|
|
6311
|
+
def initialize(minlength=nil, complexity=nil, validterm=nil, checkhistory=nil)
|
|
6312
|
+
@MinLength = minlength
|
|
6313
|
+
@Complexity = complexity
|
|
6314
|
+
@ValidTerm = validterm
|
|
6315
|
+
@CheckHistory = checkhistory
|
|
6316
|
+
end
|
|
6317
|
+
|
|
6318
|
+
def deserialize(params)
|
|
6319
|
+
@MinLength = params['MinLength']
|
|
6320
|
+
@Complexity = params['Complexity']
|
|
6321
|
+
@ValidTerm = params['ValidTerm']
|
|
6322
|
+
@CheckHistory = params['CheckHistory']
|
|
6323
|
+
end
|
|
6324
|
+
end
|
|
6325
|
+
|
|
6115
6326
|
# 运维资产重连次数
|
|
6116
6327
|
class ReconnectionSetting < TencentCloud::Common::AbstractModel
|
|
6117
6328
|
# @param ReconnectionMaxCount: 重连次数
|
|
@@ -6635,16 +6846,22 @@ module TencentCloud
|
|
|
6635
6846
|
# @type StartTime: String
|
|
6636
6847
|
# @param EndTime: 结束时间
|
|
6637
6848
|
# @type EndTime: String
|
|
6849
|
+
# @param OperationSet: 操作类型
|
|
6850
|
+
# @type OperationSet: Array
|
|
6851
|
+
# @param ProtocolSet: 会话类型
|
|
6852
|
+
# @type ProtocolSet: Array
|
|
6638
6853
|
# @param Offset: 偏移量
|
|
6639
6854
|
# @type Offset: Integer
|
|
6640
6855
|
# @param Limit: 每页容量,默认为20,最大200
|
|
6641
6856
|
# @type Limit: Integer
|
|
6642
6857
|
|
|
6643
|
-
attr_accessor :StartTime, :EndTime, :Offset, :Limit
|
|
6858
|
+
attr_accessor :StartTime, :EndTime, :OperationSet, :ProtocolSet, :Offset, :Limit
|
|
6644
6859
|
|
|
6645
|
-
def initialize(starttime=nil, endtime=nil, offset=nil, limit=nil)
|
|
6860
|
+
def initialize(starttime=nil, endtime=nil, operationset=nil, protocolset=nil, offset=nil, limit=nil)
|
|
6646
6861
|
@StartTime = starttime
|
|
6647
6862
|
@EndTime = endtime
|
|
6863
|
+
@OperationSet = operationset
|
|
6864
|
+
@ProtocolSet = protocolset
|
|
6648
6865
|
@Offset = offset
|
|
6649
6866
|
@Limit = limit
|
|
6650
6867
|
end
|
|
@@ -6652,6 +6869,8 @@ module TencentCloud
|
|
|
6652
6869
|
def deserialize(params)
|
|
6653
6870
|
@StartTime = params['StartTime']
|
|
6654
6871
|
@EndTime = params['EndTime']
|
|
6872
|
+
@OperationSet = params['OperationSet']
|
|
6873
|
+
@ProtocolSet = params['ProtocolSet']
|
|
6655
6874
|
@Offset = params['Offset']
|
|
6656
6875
|
@Limit = params['Limit']
|
|
6657
6876
|
end
|
|
@@ -7409,7 +7628,7 @@ module TencentCloud
|
|
|
7409
7628
|
# @type RealName: String
|
|
7410
7629
|
# @param DeviceName: 主机名,长度不超过64
|
|
7411
7630
|
# @type DeviceName: String
|
|
7412
|
-
# @param Status: 状态,1为活跃,2为结束,3为强制离线,4
|
|
7631
|
+
# @param Status: 状态,1为活跃,2为结束,3为强制离线,4为其他错误,5暂停会话
|
|
7413
7632
|
# @type Status: Integer
|
|
7414
7633
|
# @param StatusSet: 状态,1为活跃,2为结束,3为强制离线
|
|
7415
7634
|
# @type StatusSet: Array
|
|
@@ -7638,6 +7857,16 @@ module TencentCloud
|
|
|
7638
7857
|
|
|
7639
7858
|
# 系统安全设置
|
|
7640
7859
|
class SecuritySetting < TencentCloud::Common::AbstractModel
|
|
7860
|
+
# @param AuthMode: 认证方式设置
|
|
7861
|
+
# @type AuthMode: :class:`Tencentcloud::Bh.v20230418.models.AuthModeSetting`
|
|
7862
|
+
# @param Password: 密码安全设置
|
|
7863
|
+
# @type Password: :class:`Tencentcloud::Bh.v20230418.models.PasswordSetting`
|
|
7864
|
+
# @param Login: 登录安全设置
|
|
7865
|
+
# @type Login: :class:`Tencentcloud::Bh.v20230418.models.LoginSetting`
|
|
7866
|
+
# @param LDAP: LDAP配置信息
|
|
7867
|
+
# @type LDAP: :class:`Tencentcloud::Bh.v20230418.models.LDAPSetting`
|
|
7868
|
+
# @param OAuth: OAuth配置信息
|
|
7869
|
+
# @type OAuth: :class:`Tencentcloud::Bh.v20230418.models.OAuthSetting`
|
|
7641
7870
|
# @param AuthModeGM: 国密认证方式设置
|
|
7642
7871
|
# @type AuthModeGM: :class:`Tencentcloud::Bh.v20230418.models.AuthModeSetting`
|
|
7643
7872
|
# @param Reconnection: 资产重连次数
|
|
@@ -7645,15 +7874,40 @@ module TencentCloud
|
|
|
7645
7874
|
# @param EnvInternetAccess: 大区环境网络设置
|
|
7646
7875
|
# @type EnvInternetAccess: :class:`Tencentcloud::Bh.v20230418.models.EnvInternetAccessSetting`
|
|
7647
7876
|
|
|
7648
|
-
attr_accessor :AuthModeGM, :Reconnection, :EnvInternetAccess
|
|
7877
|
+
attr_accessor :AuthMode, :Password, :Login, :LDAP, :OAuth, :AuthModeGM, :Reconnection, :EnvInternetAccess
|
|
7649
7878
|
|
|
7650
|
-
def initialize(authmodegm=nil, reconnection=nil, envinternetaccess=nil)
|
|
7879
|
+
def initialize(authmode=nil, password=nil, login=nil, ldap=nil, oauth=nil, authmodegm=nil, reconnection=nil, envinternetaccess=nil)
|
|
7880
|
+
@AuthMode = authmode
|
|
7881
|
+
@Password = password
|
|
7882
|
+
@Login = login
|
|
7883
|
+
@LDAP = ldap
|
|
7884
|
+
@OAuth = oauth
|
|
7651
7885
|
@AuthModeGM = authmodegm
|
|
7652
7886
|
@Reconnection = reconnection
|
|
7653
7887
|
@EnvInternetAccess = envinternetaccess
|
|
7654
7888
|
end
|
|
7655
7889
|
|
|
7656
7890
|
def deserialize(params)
|
|
7891
|
+
unless params['AuthMode'].nil?
|
|
7892
|
+
@AuthMode = AuthModeSetting.new
|
|
7893
|
+
@AuthMode.deserialize(params['AuthMode'])
|
|
7894
|
+
end
|
|
7895
|
+
unless params['Password'].nil?
|
|
7896
|
+
@Password = PasswordSetting.new
|
|
7897
|
+
@Password.deserialize(params['Password'])
|
|
7898
|
+
end
|
|
7899
|
+
unless params['Login'].nil?
|
|
7900
|
+
@Login = LoginSetting.new
|
|
7901
|
+
@Login.deserialize(params['Login'])
|
|
7902
|
+
end
|
|
7903
|
+
unless params['LDAP'].nil?
|
|
7904
|
+
@LDAP = LDAPSetting.new
|
|
7905
|
+
@LDAP.deserialize(params['LDAP'])
|
|
7906
|
+
end
|
|
7907
|
+
unless params['OAuth'].nil?
|
|
7908
|
+
@OAuth = OAuthSetting.new
|
|
7909
|
+
@OAuth.deserialize(params['OAuth'])
|
|
7910
|
+
end
|
|
7657
7911
|
unless params['AuthModeGM'].nil?
|
|
7658
7912
|
@AuthModeGM = AuthModeSetting.new
|
|
7659
7913
|
@AuthModeGM.deserialize(params['AuthModeGM'])
|
|
@@ -7721,10 +7975,18 @@ module TencentCloud
|
|
|
7721
7975
|
# @type Workload: String
|
|
7722
7976
|
# @param PodName: K8S集群容器名称
|
|
7723
7977
|
# @type PodName: String
|
|
7724
|
-
|
|
7725
|
-
|
|
7726
|
-
|
|
7727
|
-
|
|
7978
|
+
# @param Mode: 访问方式 1-直链 2-客户端 3-web 大部分情况下是2
|
|
7979
|
+
# @type Mode: Integer
|
|
7980
|
+
# @param DisableMonitor: 是否禁用会话监控。0-不禁用;1-禁用会话,仅展示中断;2-禁用会话,不展示中断
|
|
7981
|
+
# @type DisableMonitor: Integer
|
|
7982
|
+
# @param RealTimeBandwidthIn: 实时入带宽,单位Mbps
|
|
7983
|
+
# @type RealTimeBandwidthIn: Float
|
|
7984
|
+
# @param RealTimeBandwidthOut: 实时出带宽,单位Mbps
|
|
7985
|
+
# @type RealTimeBandwidthOut: Float
|
|
7986
|
+
|
|
7987
|
+
attr_accessor :UserName, :RealName, :Account, :StartTime, :EndTime, :Size, :InstanceId, :DeviceName, :PrivateIp, :PublicIp, :FromIp, :Duration, :Count, :DangerCount, :Status, :Id, :ApCode, :Protocol, :AppAssetKind, :AppAssetUrl, :ReplayType, :DeviceKind, :Namespace, :Workload, :PodName, :Mode, :DisableMonitor, :RealTimeBandwidthIn, :RealTimeBandwidthOut
|
|
7988
|
+
|
|
7989
|
+
def initialize(username=nil, realname=nil, account=nil, starttime=nil, endtime=nil, size=nil, instanceid=nil, devicename=nil, privateip=nil, publicip=nil, fromip=nil, duration=nil, count=nil, dangercount=nil, status=nil, id=nil, apcode=nil, protocol=nil, appassetkind=nil, appasseturl=nil, replaytype=nil, devicekind=nil, namespace=nil, workload=nil, podname=nil, mode=nil, disablemonitor=nil, realtimebandwidthin=nil, realtimebandwidthout=nil)
|
|
7728
7990
|
@UserName = username
|
|
7729
7991
|
@RealName = realname
|
|
7730
7992
|
@Account = account
|
|
@@ -7750,6 +8012,10 @@ module TencentCloud
|
|
|
7750
8012
|
@Namespace = namespace
|
|
7751
8013
|
@Workload = workload
|
|
7752
8014
|
@PodName = podname
|
|
8015
|
+
@Mode = mode
|
|
8016
|
+
@DisableMonitor = disablemonitor
|
|
8017
|
+
@RealTimeBandwidthIn = realtimebandwidthin
|
|
8018
|
+
@RealTimeBandwidthOut = realtimebandwidthout
|
|
7753
8019
|
end
|
|
7754
8020
|
|
|
7755
8021
|
def deserialize(params)
|
|
@@ -7778,6 +8044,10 @@ module TencentCloud
|
|
|
7778
8044
|
@Namespace = params['Namespace']
|
|
7779
8045
|
@Workload = params['Workload']
|
|
7780
8046
|
@PodName = params['PodName']
|
|
8047
|
+
@Mode = params['Mode']
|
|
8048
|
+
@DisableMonitor = params['DisableMonitor']
|
|
8049
|
+
@RealTimeBandwidthIn = params['RealTimeBandwidthIn']
|
|
8050
|
+
@RealTimeBandwidthOut = params['RealTimeBandwidthOut']
|
|
7781
8051
|
end
|
|
7782
8052
|
end
|
|
7783
8053
|
|
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.1208
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Tencent Cloud
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2026-01-26 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: tencentcloud-sdk-common
|
|
@@ -33,9 +33,9 @@ executables: []
|
|
|
33
33
|
extensions: []
|
|
34
34
|
extra_rdoc_files: []
|
|
35
35
|
files:
|
|
36
|
-
- lib/tencentcloud-sdk-bh.rb
|
|
37
36
|
- lib/v20230418/client.rb
|
|
38
37
|
- lib/v20230418/models.rb
|
|
38
|
+
- lib/tencentcloud-sdk-bh.rb
|
|
39
39
|
- lib/VERSION
|
|
40
40
|
homepage: https://github.com/TencentCloud/tencentcloud-sdk-ruby
|
|
41
41
|
licenses:
|