tencentcloud-sdk-ecdn 1.0.228 → 1.0.229
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20191012/models.rb +61 -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: 9acef1544dd1ec4946e0940f68a6c1439d907180
|
4
|
+
data.tar.gz: 87afbb39d3140fb97985f25b9fa82a9b5c8a14bd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 05804f98a08b36f3c8da28cdae5987885c70643c49ab6e04b56102623891f0b943e865f42ebc08e906b9c43d5ede8412624f9738a15ec466d0ac2a35f668019b
|
7
|
+
data.tar.gz: 1d3abba0b2e2564890e7a7802452716480eacfe50dfd0f7a92900fa7ecbd58db7646b89a8411a3c6f06f357f89c5a3c65b3d1455395d415194fba3dcda10ebaf
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.229
|
data/lib/v20191012/models.rb
CHANGED
@@ -131,6 +131,57 @@ module TencentCloud
|
|
131
131
|
end
|
132
132
|
end
|
133
133
|
|
134
|
+
# 回源的自定义Https配置
|
135
|
+
class AdvanceHttps < TencentCloud::Common::AbstractModel
|
136
|
+
# @param CustomTlsStatus: 自定义Tls数据开关
|
137
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
138
|
+
# @type CustomTlsStatus: String
|
139
|
+
# @param TlsVersion: Tls版本列表,支持设置 TLSv1, TLSV1.1, TLSV1.2, TLSv1.3,修改时必须开启连续的版本
|
140
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
141
|
+
# @type TlsVersion: Array
|
142
|
+
# @param Cipher: 自定义加密套件
|
143
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
144
|
+
# @type Cipher: String
|
145
|
+
# @param VerifyOriginType: 回源双向校验开启状态
|
146
|
+
# off - 关闭校验
|
147
|
+
# oneWay - 校验源站
|
148
|
+
# twoWay - 双向校验
|
149
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
150
|
+
# @type VerifyOriginType: String
|
151
|
+
# @param CertInfo: 回源层证书配置信息
|
152
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
153
|
+
# @type CertInfo: :class:`Tencentcloud::Ecdn.v20191012.models.ServerCert`
|
154
|
+
# @param OriginCertInfo: 源站证书配置信息
|
155
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
156
|
+
# @type OriginCertInfo: :class:`Tencentcloud::Ecdn.v20191012.models.ClientCert`
|
157
|
+
|
158
|
+
attr_accessor :CustomTlsStatus, :TlsVersion, :Cipher, :VerifyOriginType, :CertInfo, :OriginCertInfo
|
159
|
+
|
160
|
+
def initialize(customtlsstatus=nil, tlsversion=nil, cipher=nil, verifyorigintype=nil, certinfo=nil, origincertinfo=nil)
|
161
|
+
@CustomTlsStatus = customtlsstatus
|
162
|
+
@TlsVersion = tlsversion
|
163
|
+
@Cipher = cipher
|
164
|
+
@VerifyOriginType = verifyorigintype
|
165
|
+
@CertInfo = certinfo
|
166
|
+
@OriginCertInfo = origincertinfo
|
167
|
+
end
|
168
|
+
|
169
|
+
def deserialize(params)
|
170
|
+
@CustomTlsStatus = params['CustomTlsStatus']
|
171
|
+
@TlsVersion = params['TlsVersion']
|
172
|
+
@Cipher = params['Cipher']
|
173
|
+
@VerifyOriginType = params['VerifyOriginType']
|
174
|
+
unless params['CertInfo'].nil?
|
175
|
+
@CertInfo = ServerCert.new
|
176
|
+
@CertInfo.deserialize(params['CertInfo'])
|
177
|
+
end
|
178
|
+
unless params['OriginCertInfo'].nil?
|
179
|
+
@OriginCertInfo = ClientCert.new
|
180
|
+
@OriginCertInfo.deserialize(params['OriginCertInfo'])
|
181
|
+
end
|
182
|
+
end
|
183
|
+
end
|
184
|
+
|
134
185
|
# 缓存配置简单版本,该版本不支持设置源站未返回max-age情况下的缓存规则。
|
135
186
|
class Cache < TencentCloud::Common::AbstractModel
|
136
187
|
# @param CacheRules: 缓存配置规则数组。
|
@@ -1447,16 +1498,20 @@ module TencentCloud
|
|
1447
1498
|
# 设置BackupOrigins时必须填写。
|
1448
1499
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
1449
1500
|
# @type BackupOriginType: String
|
1501
|
+
# @param AdvanceHttps: HTTPS回源高级配置
|
1502
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1503
|
+
# @type AdvanceHttps: :class:`Tencentcloud::Ecdn.v20191012.models.AdvanceHttps`
|
1450
1504
|
|
1451
|
-
attr_accessor :Origins, :OriginType, :ServerName, :OriginPullProtocol, :BackupOrigins, :BackupOriginType
|
1505
|
+
attr_accessor :Origins, :OriginType, :ServerName, :OriginPullProtocol, :BackupOrigins, :BackupOriginType, :AdvanceHttps
|
1452
1506
|
|
1453
|
-
def initialize(origins=nil, origintype=nil, servername=nil, originpullprotocol=nil, backuporigins=nil, backuporigintype=nil)
|
1507
|
+
def initialize(origins=nil, origintype=nil, servername=nil, originpullprotocol=nil, backuporigins=nil, backuporigintype=nil, advancehttps=nil)
|
1454
1508
|
@Origins = origins
|
1455
1509
|
@OriginType = origintype
|
1456
1510
|
@ServerName = servername
|
1457
1511
|
@OriginPullProtocol = originpullprotocol
|
1458
1512
|
@BackupOrigins = backuporigins
|
1459
1513
|
@BackupOriginType = backuporigintype
|
1514
|
+
@AdvanceHttps = advancehttps
|
1460
1515
|
end
|
1461
1516
|
|
1462
1517
|
def deserialize(params)
|
@@ -1466,6 +1521,10 @@ module TencentCloud
|
|
1466
1521
|
@OriginPullProtocol = params['OriginPullProtocol']
|
1467
1522
|
@BackupOrigins = params['BackupOrigins']
|
1468
1523
|
@BackupOriginType = params['BackupOriginType']
|
1524
|
+
unless params['AdvanceHttps'].nil?
|
1525
|
+
@AdvanceHttps = AdvanceHttps.new
|
1526
|
+
@AdvanceHttps.deserialize(params['AdvanceHttps'])
|
1527
|
+
end
|
1469
1528
|
end
|
1470
1529
|
end
|
1471
1530
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-ecdn
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.229
|
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-
|
11
|
+
date: 2021-12-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|