tencentcloud-sdk-teo 3.0.855 → 3.0.856

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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/VERSION +1 -1
  3. data/lib/v20220901/models.rb +70 -24
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 57f99e2282f6cb3d33e4e662032e6bea5edf4aa5
4
- data.tar.gz: 1d0b50db7d72ada40e3c7de6b2582d725b37d2bc
3
+ metadata.gz: 3e55d385e3268a4bc4f0c29f8abf63a4e045cf57
4
+ data.tar.gz: c208bbd9d9bd4a5945ea2801f37eae37a006d229
5
5
  SHA512:
6
- metadata.gz: 3827de059c3eecef4f9f54fe72991779cb71e5a297dccb228a64b698190f2dfef4617f5dfce6667fa701379ebffb442f4a9ac130f69e1665bf28a5edcc871c64
7
- data.tar.gz: 92673cd0b4fed92407dac4fed7f1cc990e6539b44a91056a24df25a31d43b84ad2302ae469631ef6c46395254a9e211052f4a4eee2d3a0262d44af454cb2b6f0
6
+ metadata.gz: cd107dcbedd43eacc9a8676f88f29e5ddbf43d8292ec69f0b3304765d4bd4f480f85d4fc62e591fde3b790b9e33b268959baebf3fd2320bfe518d8655ec94d49
7
+ data.tar.gz: 5b7ffb9f4e62b2d0d20df3b9259a09708c3f51ea256c823b38d281aeff846369938a3427d671fb976515d94321be46864af3ed87f9c329377805ac8e8b2e0701
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.855
1
+ 3.0.856
@@ -153,15 +153,18 @@ module TencentCloud
153
153
  class AccelerationDomainCertificate < TencentCloud::Common::AbstractModel
154
154
  # @param Mode: 配置证书的模式,取值有: <li>disable:不配置证书;</li> <li>eofreecert:配置 EdgeOne 免费证书;</li> <li>sslcert:配置 SSL 证书。</li>
155
155
  # @type Mode: String
156
- # @param List: 证书列表。
156
+ # @param List: 服务端证书列表。
157
157
  # 注意:此字段可能返回 null,表示取不到有效值。
158
158
  # @type List: Array
159
+ # @param ClientCertInfo: 边缘双向认证配置。
160
+ # @type ClientCertInfo: :class:`Tencentcloud::Teo.v20220901.models.MutualTLS`
159
161
 
160
- attr_accessor :Mode, :List
162
+ attr_accessor :Mode, :List, :ClientCertInfo
161
163
 
162
- def initialize(mode=nil, list=nil)
164
+ def initialize(mode=nil, list=nil, clientcertinfo=nil)
163
165
  @Mode = mode
164
166
  @List = list
167
+ @ClientCertInfo = clientcertinfo
165
168
  end
166
169
 
167
170
  def deserialize(params)
@@ -174,6 +177,10 @@ module TencentCloud
174
177
  @List << certificateinfo_tmp
175
178
  end
176
179
  end
180
+ unless params['ClientCertInfo'].nil?
181
+ @ClientCertInfo = MutualTLS.new
182
+ @ClientCertInfo.deserialize(params['ClientCertInfo'])
183
+ end
177
184
  end
178
185
  end
179
186
 
@@ -1506,8 +1513,8 @@ module TencentCloud
1506
1513
 
1507
1514
  attr_accessor :Switch, :CacheTime, :IgnoreCacheControl
1508
1515
  extend Gem::Deprecate
1509
- deprecate :IgnoreCacheControl, :none, 2024, 6
1510
- deprecate :IgnoreCacheControl=, :none, 2024, 6
1516
+ deprecate :IgnoreCacheControl, :none, 2024, 7
1517
+ deprecate :IgnoreCacheControl=, :none, 2024, 7
1511
1518
 
1512
1519
  def initialize(switch=nil, cachetime=nil, ignorecachecontrol=nil)
1513
1520
  @Switch = switch
@@ -1631,9 +1638,9 @@ module TencentCloud
1631
1638
  end
1632
1639
  end
1633
1640
 
1634
- # https 服务端证书配置
1641
+ # https 证书配置。
1635
1642
  class CertificateInfo < TencentCloud::Common::AbstractModel
1636
- # @param CertId: 服务器证书 ID。
1643
+ # @param CertId: 证书 ID。
1637
1644
  # @type CertId: String
1638
1645
  # @param Alias: 证书备注名。
1639
1646
  # @type Alias: String
@@ -2737,8 +2744,8 @@ module TencentCloud
2737
2744
 
2738
2745
  attr_accessor :ZoneId, :Type, :Method, :Targets, :EncodeUrl, :CacheTag
2739
2746
  extend Gem::Deprecate
2740
- deprecate :EncodeUrl, :none, 2024, 6
2741
- deprecate :EncodeUrl=, :none, 2024, 6
2747
+ deprecate :EncodeUrl, :none, 2024, 7
2748
+ deprecate :EncodeUrl=, :none, 2024, 7
2742
2749
 
2743
2750
  def initialize(zoneid=nil, type=nil, method=nil, targets=nil, encodeurl=nil, cachetag=nil)
2744
2751
  @ZoneId = zoneid
@@ -3104,10 +3111,10 @@ module TencentCloud
3104
3111
 
3105
3112
  attr_accessor :Type, :ZoneName, :Area, :PlanId, :AliasZoneName, :Tags, :AllowDuplicates, :JumpStart
3106
3113
  extend Gem::Deprecate
3107
- deprecate :AllowDuplicates, :none, 2024, 6
3108
- deprecate :AllowDuplicates=, :none, 2024, 6
3109
- deprecate :JumpStart, :none, 2024, 6
3110
- deprecate :JumpStart=, :none, 2024, 6
3114
+ deprecate :AllowDuplicates, :none, 2024, 7
3115
+ deprecate :AllowDuplicates=, :none, 2024, 7
3116
+ deprecate :JumpStart, :none, 2024, 7
3117
+ deprecate :JumpStart=, :none, 2024, 7
3111
3118
 
3112
3119
  def initialize(type=nil, zonename=nil, area=nil, planid=nil, aliaszonename=nil, tags=nil, allowduplicates=nil, jumpstart=nil)
3113
3120
  @Type = type
@@ -9152,30 +9159,35 @@ module TencentCloud
9152
9159
  # @type ZoneId: String
9153
9160
  # @param Hosts: 需要修改证书配置的加速域名。
9154
9161
  # @type Hosts: Array
9155
- # @param Mode: 配置证书的模式,取值有:
9156
- # <li>disable:不配置证书;</li>
9157
- # <li>eofreecert:配置 EdgeOne 免费证书;</li>
9158
- # <li>sslcert:配置 SSL 证书。</li>不填时默认取值为 disable。
9162
+ # @param Mode: 配置服务端证书的模式,取值有:
9163
+ # <li>disable:不配置服务端证书;</li>
9164
+ # <li>eofreecert:配置 EdgeOne 免费服务端证书;</li>
9165
+ # <li>sslcert:配置 SSL 托管服务端证书;</li>
9166
+ # 不填写表示服务端证书保持原有配置。
9159
9167
  # @type Mode: String
9160
- # @param ServerCertInfo: SSL 证书配置,本参数仅在 mode = sslcert 时生效,传入对应证书的 CertId 即可。您可以前往 [SSL 证书列表](https://console.cloud.tencent.com/certoverview) 查看 CertId。
9168
+ # @param ServerCertInfo: SSL 证书配置,本参数仅在 mode sslcert 时生效,传入对应证书的 CertId 即可。您可以前往 [SSL 证书列表](https://console.cloud.tencent.com/certoverview) 查看 CertId。
9161
9169
  # @type ServerCertInfo: Array
9162
9170
  # @param ApplyType: 托管类型,取值有:
9163
9171
  # <li>none:不托管EO;</li>
9164
9172
  # <li>apply:托管EO</li>
9165
9173
  # 不填,默认取值为none。
9166
9174
  # @type ApplyType: String
9175
+ # @param ClientCertInfo: 边缘双向认证配置。
9176
+ # 不填写表示边缘双向认证保持原有配置。
9177
+ # @type ClientCertInfo: :class:`Tencentcloud::Teo.v20220901.models.MutualTLS`
9167
9178
 
9168
- attr_accessor :ZoneId, :Hosts, :Mode, :ServerCertInfo, :ApplyType
9179
+ attr_accessor :ZoneId, :Hosts, :Mode, :ServerCertInfo, :ApplyType, :ClientCertInfo
9169
9180
  extend Gem::Deprecate
9170
- deprecate :ApplyType, :none, 2024, 6
9171
- deprecate :ApplyType=, :none, 2024, 6
9181
+ deprecate :ApplyType, :none, 2024, 7
9182
+ deprecate :ApplyType=, :none, 2024, 7
9172
9183
 
9173
- def initialize(zoneid=nil, hosts=nil, mode=nil, servercertinfo=nil, applytype=nil)
9184
+ def initialize(zoneid=nil, hosts=nil, mode=nil, servercertinfo=nil, applytype=nil, clientcertinfo=nil)
9174
9185
  @ZoneId = zoneid
9175
9186
  @Hosts = hosts
9176
9187
  @Mode = mode
9177
9188
  @ServerCertInfo = servercertinfo
9178
9189
  @ApplyType = applytype
9190
+ @ClientCertInfo = clientcertinfo
9179
9191
  end
9180
9192
 
9181
9193
  def deserialize(params)
@@ -9191,6 +9203,10 @@ module TencentCloud
9191
9203
  end
9192
9204
  end
9193
9205
  @ApplyType = params['ApplyType']
9206
+ unless params['ClientCertInfo'].nil?
9207
+ @ClientCertInfo = MutualTLS.new
9208
+ @ClientCertInfo.deserialize(params['ClientCertInfo'])
9209
+ end
9194
9210
  end
9195
9211
  end
9196
9212
 
@@ -10051,6 +10067,36 @@ module TencentCloud
10051
10067
  end
10052
10068
  end
10053
10069
 
10070
+ # HTTPS 双向认证。
10071
+ class MutualTLS < TencentCloud::Common::AbstractModel
10072
+ # @param Switch: 双向认证配置开关,取值有:
10073
+ # <li>on:开启;</li>
10074
+ # <li>off:关闭。</li>
10075
+ # @type Switch: String
10076
+ # @param CertInfos: 双向认证证书列表。
10077
+ # 注意:MutualTLS 在 ModifyHostsCertificate 作为入参使用时,该参数传入对应证书的 CertId 即可。您可以前往 [SSL 证书列表](https://console.cloud.tencent.com/certoverview) 查看 CertId。
10078
+ # @type CertInfos: Array
10079
+
10080
+ attr_accessor :Switch, :CertInfos
10081
+
10082
+ def initialize(switch=nil, certinfos=nil)
10083
+ @Switch = switch
10084
+ @CertInfos = certinfos
10085
+ end
10086
+
10087
+ def deserialize(params)
10088
+ @Switch = params['Switch']
10089
+ unless params['CertInfos'].nil?
10090
+ @CertInfos = []
10091
+ params['CertInfos'].each do |i|
10092
+ certificateinfo_tmp = CertificateInfo.new
10093
+ certificateinfo_tmp.deserialize(i)
10094
+ @CertInfos << certificateinfo_tmp
10095
+ end
10096
+ end
10097
+ end
10098
+ end
10099
+
10054
10100
  # 不缓存配置
10055
10101
  class NoCache < TencentCloud::Common::AbstractModel
10056
10102
  # @param Switch: 不缓存配置开关,取值有:
@@ -11556,8 +11602,8 @@ module TencentCloud
11556
11602
 
11557
11603
  attr_accessor :Operator, :Target, :Values, :IgnoreCase, :Name, :IgnoreNameCase
11558
11604
  extend Gem::Deprecate
11559
- deprecate :IgnoreNameCase, :none, 2024, 6
11560
- deprecate :IgnoreNameCase=, :none, 2024, 6
11605
+ deprecate :IgnoreNameCase, :none, 2024, 7
11606
+ deprecate :IgnoreNameCase=, :none, 2024, 7
11561
11607
 
11562
11608
  def initialize(operator=nil, target=nil, values=nil, ignorecase=nil, name=nil, ignorenamecase=nil)
11563
11609
  @Operator = operator
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.855
4
+ version: 3.0.856
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-07-01 00:00:00.000000000 Z
11
+ date: 2024-07-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common