tencentcloud-sdk-cdn 1.0.219 → 1.0.220

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/v20180606/models.rb +61 -2
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e82c2ab6d0982c31bef3e02b20a69146314c97a6
4
- data.tar.gz: 2810bfb81c8c2d7aabd6caf71f8c33d741ee2eeb
3
+ metadata.gz: d87e8ad4b621896fc9c896b56c31bc359fc7c463
4
+ data.tar.gz: d0543ad129425a6f2fad9f70b6511bdd89bd60f7
5
5
  SHA512:
6
- metadata.gz: 75127440023d02a87c42aff64c97d9604a435291d2266c882adaa2211b4ad3b1b32daf33293c27a23f66943a5381ede139e099b46e5cb0d6fd1bbad9770f2c0b
7
- data.tar.gz: fdb14bec76274519861ef7940548700efb7919056d120a5068fb17c1351295e77a9dae2e158a6ab3e12c215a350de62f3c516c6f6ab65252ef91a57d384ce07a
6
+ metadata.gz: 6e4ab15df7d6d4c8260208f206c9b0e46d18cad3a823cf9f70acc4ec589cb9076dcbefadddee8059198cbc1ea27c61ad0f17b6ea355aefc11c88fefbc19c5608
7
+ data.tar.gz: e4ff05f547de055ccefa5e0514f2bfd09022d6504e6ff9250ec5c0364e0a8de642a4878ae37a660c9add9cb3cb4dbe1f8963c375f6a161fc1458fd3200e90f41
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.219
1
+ 1.0.220
@@ -426,6 +426,57 @@ module TencentCloud
426
426
  end
427
427
  end
428
428
 
429
+ # 回源的自定义Https配置
430
+ class AdvanceHttps < TencentCloud::Common::AbstractModel
431
+ # @param CustomTlsStatus: 自定义Tls数据开关
432
+ # 注意:此字段可能返回 null,表示取不到有效值。
433
+ # @type CustomTlsStatus: String
434
+ # @param TlsVersion: Tls版本列表,支持设置 TLSv1, TLSV1.1, TLSV1.2, TLSv1.3,修改时必须开启连续的版本
435
+ # 注意:此字段可能返回 null,表示取不到有效值。
436
+ # @type TlsVersion: Array
437
+ # @param Cipher: 自定义加密套件
438
+ # 注意:此字段可能返回 null,表示取不到有效值。
439
+ # @type Cipher: String
440
+ # @param VerifyOriginType: 回源双向校验开启状态
441
+ # off - 关闭校验
442
+ # oneWay - 校验源站
443
+ # twoWay - 双向校验
444
+ # 注意:此字段可能返回 null,表示取不到有效值。
445
+ # @type VerifyOriginType: String
446
+ # @param CertInfo: 回源层证书配置信息
447
+ # 注意:此字段可能返回 null,表示取不到有效值。
448
+ # @type CertInfo: :class:`Tencentcloud::Cdn.v20180606.models.ServerCert`
449
+ # @param OriginCertInfo: 源站证书配置信息
450
+ # 注意:此字段可能返回 null,表示取不到有效值。
451
+ # @type OriginCertInfo: :class:`Tencentcloud::Cdn.v20180606.models.ClientCert`
452
+
453
+ attr_accessor :CustomTlsStatus, :TlsVersion, :Cipher, :VerifyOriginType, :CertInfo, :OriginCertInfo
454
+
455
+ def initialize(customtlsstatus=nil, tlsversion=nil, cipher=nil, verifyorigintype=nil, certinfo=nil, origincertinfo=nil)
456
+ @CustomTlsStatus = customtlsstatus
457
+ @TlsVersion = tlsversion
458
+ @Cipher = cipher
459
+ @VerifyOriginType = verifyorigintype
460
+ @CertInfo = certinfo
461
+ @OriginCertInfo = origincertinfo
462
+ end
463
+
464
+ def deserialize(params)
465
+ @CustomTlsStatus = params['CustomTlsStatus']
466
+ @TlsVersion = params['TlsVersion']
467
+ @Cipher = params['Cipher']
468
+ @VerifyOriginType = params['VerifyOriginType']
469
+ unless params['CertInfo'].nil?
470
+ @CertInfo = ServerCert.new
471
+ @CertInfo.deserialize(params['CertInfo'])
472
+ end
473
+ unless params['OriginCertInfo'].nil?
474
+ @OriginCertInfo = ClientCert.new
475
+ @OriginCertInfo.deserialize(params['OriginCertInfo'])
476
+ end
477
+ end
478
+ end
479
+
429
480
  # 时间戳防盗链高级版配置,白名单功能
430
481
  class AdvancedAuthentication < TencentCloud::Common::AbstractModel
431
482
  # @param Switch: 防盗链配置开关,on或off,开启时必须且只能配置一种模式,其余模式为null。
@@ -9061,10 +9112,13 @@ module TencentCloud
9061
9112
  # @param PathBasedOrigin: 分路径回源配置
9062
9113
  # 注意:此字段可能返回 null,表示取不到有效值。
9063
9114
  # @type PathBasedOrigin: Array
9115
+ # @param AdvanceHttps: HTTPS回源高级配置
9116
+ # 注意:此字段可能返回 null,表示取不到有效值。
9117
+ # @type AdvanceHttps: :class:`Tencentcloud::Cdn.v20180606.models.AdvanceHttps`
9064
9118
 
9065
- attr_accessor :Origins, :OriginType, :ServerName, :CosPrivateAccess, :OriginPullProtocol, :BackupOrigins, :BackupOriginType, :BackupServerName, :BasePath, :PathRules, :PathBasedOrigin
9119
+ attr_accessor :Origins, :OriginType, :ServerName, :CosPrivateAccess, :OriginPullProtocol, :BackupOrigins, :BackupOriginType, :BackupServerName, :BasePath, :PathRules, :PathBasedOrigin, :AdvanceHttps
9066
9120
 
9067
- def initialize(origins=nil, origintype=nil, servername=nil, cosprivateaccess=nil, originpullprotocol=nil, backuporigins=nil, backuporigintype=nil, backupservername=nil, basepath=nil, pathrules=nil, pathbasedorigin=nil)
9121
+ def initialize(origins=nil, origintype=nil, servername=nil, cosprivateaccess=nil, originpullprotocol=nil, backuporigins=nil, backuporigintype=nil, backupservername=nil, basepath=nil, pathrules=nil, pathbasedorigin=nil, advancehttps=nil)
9068
9122
  @Origins = origins
9069
9123
  @OriginType = origintype
9070
9124
  @ServerName = servername
@@ -9076,6 +9130,7 @@ module TencentCloud
9076
9130
  @BasePath = basepath
9077
9131
  @PathRules = pathrules
9078
9132
  @PathBasedOrigin = pathbasedorigin
9133
+ @AdvanceHttps = advancehttps
9079
9134
  end
9080
9135
 
9081
9136
  def deserialize(params)
@@ -9104,6 +9159,10 @@ module TencentCloud
9104
9159
  @PathBasedOrigin << pathbasedoriginrule_tmp
9105
9160
  end
9106
9161
  end
9162
+ unless params['AdvanceHttps'].nil?
9163
+ @AdvanceHttps = AdvanceHttps.new
9164
+ @AdvanceHttps.deserialize(params['AdvanceHttps'])
9165
+ end
9107
9166
  end
9108
9167
  end
9109
9168
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-cdn
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.219
4
+ version: 1.0.220
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-12-08 00:00:00.000000000 Z
11
+ date: 2021-12-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common