tencentcloud-sdk-teo 3.0.912 → 3.0.913
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/v20220901/models.rb +39 -2
- 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: a157f0bfca10e192a50a5b583d7e277cfac7f975
|
4
|
+
data.tar.gz: 8cf60b8dd3a6c56ed824994c9eb61fc63f2e8cbb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 78857f416ed357035b334c346349d44dde81e0b762726757d0fd61106158f73d28ec6131b1a52dc819d0642c93014422bce1205503fd40bbab10977f9adf6b67
|
7
|
+
data.tar.gz: b114de0a32828d0bb93db1fbab516a449052a6dd88914310b39bbe68fc5d9d32205cf57e4469f124b6176f5180e7856ec91f6b061938c8a04a628ea142277783
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.913
|
data/lib/v20220901/models.rb
CHANGED
@@ -8446,6 +8446,34 @@ module TencentCloud
|
|
8446
8446
|
end
|
8447
8447
|
end
|
8448
8448
|
|
8449
|
+
# 四层远程鉴权信息
|
8450
|
+
class L4ProxyRemoteAuth < TencentCloud::Common::AbstractModel
|
8451
|
+
# @param Switch: 四层远程鉴权开关,取值有:
|
8452
|
+
# <li>on:表示开启;</li>
|
8453
|
+
# <li>off:表示关闭。</li>
|
8454
|
+
# @type Switch: String
|
8455
|
+
# @param Address: 远程鉴权服务地址,格式为: domain/ip:port。例:example.auth.com:8888
|
8456
|
+
# @type Address: String
|
8457
|
+
# @param ServerFaultyBehavior: 远程鉴权服务不可访问后,经过四层转发规则默认回源行为,取值有:
|
8458
|
+
# <li>reject:表示进行拦截,拒绝访问;</li>
|
8459
|
+
# <li>allow:表示允许通过。</li>
|
8460
|
+
# @type ServerFaultyBehavior: String
|
8461
|
+
|
8462
|
+
attr_accessor :Switch, :Address, :ServerFaultyBehavior
|
8463
|
+
|
8464
|
+
def initialize(switch=nil, address=nil, serverfaultybehavior=nil)
|
8465
|
+
@Switch = switch
|
8466
|
+
@Address = address
|
8467
|
+
@ServerFaultyBehavior = serverfaultybehavior
|
8468
|
+
end
|
8469
|
+
|
8470
|
+
def deserialize(params)
|
8471
|
+
@Switch = params['Switch']
|
8472
|
+
@Address = params['Address']
|
8473
|
+
@ServerFaultyBehavior = params['ServerFaultyBehavior']
|
8474
|
+
end
|
8475
|
+
end
|
8476
|
+
|
8449
8477
|
# 四层代理转发规则详情。
|
8450
8478
|
class L4ProxyRule < TencentCloud::Common::AbstractModel
|
8451
8479
|
# @param RuleId: 转发规则 ID。
|
@@ -8507,10 +8535,14 @@ module TencentCloud
|
|
8507
8535
|
# @type Status: String
|
8508
8536
|
# @param BuId: BuID。
|
8509
8537
|
# @type BuId: String
|
8538
|
+
# @param RemoteAuth: 远程鉴权信息。
|
8539
|
+
# 注意:RemoteAuth 在 CreateL4ProxyRules 或 ModifyL4ProxyRules 不可作为入参使用,如有传此参数,会忽略。在 DescribeL4ProxyRules 返回为空时,表示没有开启远程鉴权。
|
8540
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
8541
|
+
# @type RemoteAuth: :class:`Tencentcloud::Teo.v20220901.models.L4ProxyRemoteAuth`
|
8510
8542
|
|
8511
|
-
attr_accessor :RuleId, :Protocol, :PortRange, :OriginType, :OriginValue, :OriginPortRange, :ClientIPPassThroughMode, :SessionPersist, :SessionPersistTime, :RuleTag, :Status, :BuId
|
8543
|
+
attr_accessor :RuleId, :Protocol, :PortRange, :OriginType, :OriginValue, :OriginPortRange, :ClientIPPassThroughMode, :SessionPersist, :SessionPersistTime, :RuleTag, :Status, :BuId, :RemoteAuth
|
8512
8544
|
|
8513
|
-
def initialize(ruleid=nil, protocol=nil, portrange=nil, origintype=nil, originvalue=nil, originportrange=nil, clientippassthroughmode=nil, sessionpersist=nil, sessionpersisttime=nil, ruletag=nil, status=nil, buid=nil)
|
8545
|
+
def initialize(ruleid=nil, protocol=nil, portrange=nil, origintype=nil, originvalue=nil, originportrange=nil, clientippassthroughmode=nil, sessionpersist=nil, sessionpersisttime=nil, ruletag=nil, status=nil, buid=nil, remoteauth=nil)
|
8514
8546
|
@RuleId = ruleid
|
8515
8547
|
@Protocol = protocol
|
8516
8548
|
@PortRange = portrange
|
@@ -8523,6 +8555,7 @@ module TencentCloud
|
|
8523
8555
|
@RuleTag = ruletag
|
8524
8556
|
@Status = status
|
8525
8557
|
@BuId = buid
|
8558
|
+
@RemoteAuth = remoteauth
|
8526
8559
|
end
|
8527
8560
|
|
8528
8561
|
def deserialize(params)
|
@@ -8538,6 +8571,10 @@ module TencentCloud
|
|
8538
8571
|
@RuleTag = params['RuleTag']
|
8539
8572
|
@Status = params['Status']
|
8540
8573
|
@BuId = params['BuId']
|
8574
|
+
unless params['RemoteAuth'].nil?
|
8575
|
+
@RemoteAuth = L4ProxyRemoteAuth.new
|
8576
|
+
@RemoteAuth.deserialize(params['RemoteAuth'])
|
8577
|
+
end
|
8541
8578
|
end
|
8542
8579
|
end
|
8543
8580
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-teo
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.913
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-09-
|
11
|
+
date: 2024-09-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|