tencentcloud-sdk-cdn 1.0.218 → 1.0.222
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/v20180606/models.rb +68 -4
- 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: b7506928f3afe1e53a900cb51ab9c88bea5d1381
|
|
4
|
+
data.tar.gz: 8d66c54310e568a7017286a866b6c76310c0133a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: bc55cc24ab43b953c7d7b7709aaffcc1bb01c3504f753ee981c0607cb74f5733efb16ac92875bfbced9aa13b40ef40793160e65730115832f9af5282fdfb41fb
|
|
7
|
+
data.tar.gz: 8e41b7dc373336bfbac2f3fce3e45f7ee3f2269c6609158ece631aee6f0251c120abbb8d76ba54dce787c6902f3881f86fae7008fe7cbbabca5c8900ba7754b7
|
data/lib/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.0.
|
|
1
|
+
1.0.222
|
data/lib/v20180606/models.rb
CHANGED
|
@@ -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
|
|
|
@@ -12088,10 +12147,13 @@ module TencentCloud
|
|
|
12088
12147
|
# @param ConfigId: 流量包类型id
|
|
12089
12148
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
12090
12149
|
# @type ConfigId: Integer
|
|
12150
|
+
# @param ExtensionMode: 流量包当前续订模式,0 未续订、1到期续订、2用完续订、3到期或用完续订
|
|
12151
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
12152
|
+
# @type ExtensionMode: Integer
|
|
12091
12153
|
|
|
12092
|
-
attr_accessor :Id, :Type, :Bytes, :BytesUsed, :Status, :CreateTime, :EnableTime, :ExpireTime, :ContractExtension, :AutoExtension, :Channel, :Area, :LifeTimeMonth, :ExtensionAvailable, :RefundAvailable, :Region, :ConfigId
|
|
12154
|
+
attr_accessor :Id, :Type, :Bytes, :BytesUsed, :Status, :CreateTime, :EnableTime, :ExpireTime, :ContractExtension, :AutoExtension, :Channel, :Area, :LifeTimeMonth, :ExtensionAvailable, :RefundAvailable, :Region, :ConfigId, :ExtensionMode
|
|
12093
12155
|
|
|
12094
|
-
def initialize(id=nil, type=nil, bytes=nil, bytesused=nil, status=nil, createtime=nil, enabletime=nil, expiretime=nil, contractextension=nil, autoextension=nil, channel=nil, area=nil, lifetimemonth=nil, extensionavailable=nil, refundavailable=nil, region=nil, configid=nil)
|
|
12156
|
+
def initialize(id=nil, type=nil, bytes=nil, bytesused=nil, status=nil, createtime=nil, enabletime=nil, expiretime=nil, contractextension=nil, autoextension=nil, channel=nil, area=nil, lifetimemonth=nil, extensionavailable=nil, refundavailable=nil, region=nil, configid=nil, extensionmode=nil)
|
|
12095
12157
|
@Id = id
|
|
12096
12158
|
@Type = type
|
|
12097
12159
|
@Bytes = bytes
|
|
@@ -12109,6 +12171,7 @@ module TencentCloud
|
|
|
12109
12171
|
@RefundAvailable = refundavailable
|
|
12110
12172
|
@Region = region
|
|
12111
12173
|
@ConfigId = configid
|
|
12174
|
+
@ExtensionMode = extensionmode
|
|
12112
12175
|
end
|
|
12113
12176
|
|
|
12114
12177
|
def deserialize(params)
|
|
@@ -12129,6 +12192,7 @@ module TencentCloud
|
|
|
12129
12192
|
@RefundAvailable = params['RefundAvailable']
|
|
12130
12193
|
@Region = params['Region']
|
|
12131
12194
|
@ConfigId = params['ConfigId']
|
|
12195
|
+
@ExtensionMode = params['ExtensionMode']
|
|
12132
12196
|
end
|
|
12133
12197
|
end
|
|
12134
12198
|
|
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.
|
|
4
|
+
version: 1.0.222
|
|
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-13 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: tencentcloud-sdk-common
|