tencentcloud-sdk-teo 3.0.667 → 3.0.669
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/v20220901/client.rb +26 -0
- data/lib/v20220901/models.rb +129 -3
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bea3e37a86d7a2fa165e8db0bb79839f3be935ed
|
4
|
+
data.tar.gz: 98570f285b6780b346786e9ba846a41a115bd3c7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b23f1ded0a5e74eb85592401997eb6c62ac83e831e0ebb04a102bf9e67053bfed1673aca558fc61a8be75892a95715e4775ee52f9d036e9467cd24b946b34c48
|
7
|
+
data.tar.gz: f2c23ce1810c169c8bc591e8411d59477f1c844bd90e73d22ac65db9208ec08dd1283578cd6ae65d8d39744206b8d38504e304d51fa5a269b153247f57002eb3
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.669
|
data/lib/v20220901/client.rb
CHANGED
@@ -1621,6 +1621,32 @@ module TencentCloud
|
|
1621
1621
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1622
1622
|
end
|
1623
1623
|
|
1624
|
+
# 在 CNAME 接入模式下,您需要对站点或者域名的归属权进行验证,可以通过本接口触发验证。若站点通过归属权验证后,后续添加域名无需再验证。详情参考 [站点/域名归属权验证](https://cloud.tencent.com/document/product/1552/70789)。
|
1625
|
+
|
1626
|
+
# 在 NS 接入模式下,您也可以通过本接口来查询 NS 服务器是否切换成功,详情参考 [修改 DNS 服务器](https://cloud.tencent.com/document/product/1552/90452)。
|
1627
|
+
|
1628
|
+
# @param request: Request instance for VerifyOwnership.
|
1629
|
+
# @type request: :class:`Tencentcloud::teo::V20220901::VerifyOwnershipRequest`
|
1630
|
+
# @rtype: :class:`Tencentcloud::teo::V20220901::VerifyOwnershipResponse`
|
1631
|
+
def VerifyOwnership(request)
|
1632
|
+
body = send_request('VerifyOwnership', request.serialize)
|
1633
|
+
response = JSON.parse(body)
|
1634
|
+
if response['Response'].key?('Error') == false
|
1635
|
+
model = VerifyOwnershipResponse.new
|
1636
|
+
model.deserialize(response['Response'])
|
1637
|
+
model
|
1638
|
+
else
|
1639
|
+
code = response['Response']['Error']['Code']
|
1640
|
+
message = response['Response']['Error']['Message']
|
1641
|
+
reqid = response['Response']['RequestId']
|
1642
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1643
|
+
end
|
1644
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1645
|
+
raise e
|
1646
|
+
rescue StandardError => e
|
1647
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1648
|
+
end
|
1649
|
+
|
1624
1650
|
|
1625
1651
|
end
|
1626
1652
|
end
|
data/lib/v20220901/models.rb
CHANGED
@@ -81,10 +81,13 @@ module TencentCloud
|
|
81
81
|
# @param OwnershipVerification: 当域名需要进行归属权验证才能继续提供服务时,该对象会携带对应验证方式所需要的信息。
|
82
82
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
83
83
|
# @type OwnershipVerification: :class:`Tencentcloud::Teo.v20220901.models.OwnershipVerification`
|
84
|
+
# @param Certificate: 域名证书信息
|
85
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
86
|
+
# @type Certificate: :class:`Tencentcloud::Teo.v20220901.models.AccelerationDomainCertificate`
|
84
87
|
|
85
|
-
attr_accessor :ZoneId, :DomainName, :DomainStatus, :OriginDetail, :Cname, :IdentificationStatus, :CreatedOn, :ModifiedOn, :OwnershipVerification
|
88
|
+
attr_accessor :ZoneId, :DomainName, :DomainStatus, :OriginDetail, :Cname, :IdentificationStatus, :CreatedOn, :ModifiedOn, :OwnershipVerification, :Certificate
|
86
89
|
|
87
|
-
def initialize(zoneid=nil, domainname=nil, domainstatus=nil, origindetail=nil, cname=nil, identificationstatus=nil, createdon=nil, modifiedon=nil, ownershipverification=nil)
|
90
|
+
def initialize(zoneid=nil, domainname=nil, domainstatus=nil, origindetail=nil, cname=nil, identificationstatus=nil, createdon=nil, modifiedon=nil, ownershipverification=nil, certificate=nil)
|
88
91
|
@ZoneId = zoneid
|
89
92
|
@DomainName = domainname
|
90
93
|
@DomainStatus = domainstatus
|
@@ -94,6 +97,7 @@ module TencentCloud
|
|
94
97
|
@CreatedOn = createdon
|
95
98
|
@ModifiedOn = modifiedon
|
96
99
|
@OwnershipVerification = ownershipverification
|
100
|
+
@Certificate = certificate
|
97
101
|
end
|
98
102
|
|
99
103
|
def deserialize(params)
|
@@ -112,6 +116,38 @@ module TencentCloud
|
|
112
116
|
@OwnershipVerification = OwnershipVerification.new
|
113
117
|
@OwnershipVerification.deserialize(params['OwnershipVerification'])
|
114
118
|
end
|
119
|
+
unless params['Certificate'].nil?
|
120
|
+
@Certificate = AccelerationDomainCertificate.new
|
121
|
+
@Certificate.deserialize(params['Certificate'])
|
122
|
+
end
|
123
|
+
end
|
124
|
+
end
|
125
|
+
|
126
|
+
# 加速域名所对应的证书信息。
|
127
|
+
class AccelerationDomainCertificate < TencentCloud::Common::AbstractModel
|
128
|
+
# @param Mode: 配置证书的模式,取值有: <li>disable:不配置证书;</li> <li>eofreecert:配置 EdgeOne 免费证书;</li> <li>sslcert:配置 SSL 证书。</li>
|
129
|
+
# @type Mode: String
|
130
|
+
# @param List: 证书列表。
|
131
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
132
|
+
# @type List: Array
|
133
|
+
|
134
|
+
attr_accessor :Mode, :List
|
135
|
+
|
136
|
+
def initialize(mode=nil, list=nil)
|
137
|
+
@Mode = mode
|
138
|
+
@List = list
|
139
|
+
end
|
140
|
+
|
141
|
+
def deserialize(params)
|
142
|
+
@Mode = params['Mode']
|
143
|
+
unless params['List'].nil?
|
144
|
+
@List = []
|
145
|
+
params['List'].each do |i|
|
146
|
+
certificateinfo_tmp = CertificateInfo.new
|
147
|
+
certificateinfo_tmp.deserialize(i)
|
148
|
+
@List << certificateinfo_tmp
|
149
|
+
end
|
150
|
+
end
|
115
151
|
end
|
116
152
|
end
|
117
153
|
|
@@ -1347,6 +1383,54 @@ module TencentCloud
|
|
1347
1383
|
end
|
1348
1384
|
end
|
1349
1385
|
|
1386
|
+
# https 服务端证书配置
|
1387
|
+
class CertificateInfo < TencentCloud::Common::AbstractModel
|
1388
|
+
# @param CertId: 服务器证书 ID。
|
1389
|
+
# @type CertId: String
|
1390
|
+
# @param Alias: 证书备注名。
|
1391
|
+
# @type Alias: String
|
1392
|
+
# @param Type: 证书类型,取值有:
|
1393
|
+
# <li>default:默认证书;</li>
|
1394
|
+
# <li>upload:用户上传;</li>
|
1395
|
+
# <li>managed:腾讯云托管。</li>
|
1396
|
+
# @type Type: String
|
1397
|
+
# @param ExpireTime: 证书过期时间。
|
1398
|
+
# @type ExpireTime: String
|
1399
|
+
# @param DeployTime: 证书部署时间。
|
1400
|
+
# @type DeployTime: String
|
1401
|
+
# @param SignAlgo: 签名算法。
|
1402
|
+
# @type SignAlgo: String
|
1403
|
+
# @param Status: 证书状态,取值有:
|
1404
|
+
# <li>deployed:已部署;</li>
|
1405
|
+
# <li>processing:部署中;</li>
|
1406
|
+
# <li>applying:申请中;</li>
|
1407
|
+
# <li>failed:申请失败;</li>
|
1408
|
+
# <li>issued:绑定失败。</li>
|
1409
|
+
# @type Status: String
|
1410
|
+
|
1411
|
+
attr_accessor :CertId, :Alias, :Type, :ExpireTime, :DeployTime, :SignAlgo, :Status
|
1412
|
+
|
1413
|
+
def initialize(certid=nil, _alias=nil, type=nil, expiretime=nil, deploytime=nil, signalgo=nil, status=nil)
|
1414
|
+
@CertId = certid
|
1415
|
+
@Alias = _alias
|
1416
|
+
@Type = type
|
1417
|
+
@ExpireTime = expiretime
|
1418
|
+
@DeployTime = deploytime
|
1419
|
+
@SignAlgo = signalgo
|
1420
|
+
@Status = status
|
1421
|
+
end
|
1422
|
+
|
1423
|
+
def deserialize(params)
|
1424
|
+
@CertId = params['CertId']
|
1425
|
+
@Alias = params['Alias']
|
1426
|
+
@Type = params['Type']
|
1427
|
+
@ExpireTime = params['ExpireTime']
|
1428
|
+
@DeployTime = params['DeployTime']
|
1429
|
+
@SignAlgo = params['SignAlgo']
|
1430
|
+
@Status = params['Status']
|
1431
|
+
end
|
1432
|
+
end
|
1433
|
+
|
1350
1434
|
# CheckCnameStatus请求参数结构体
|
1351
1435
|
class CheckCnameStatusRequest < TencentCloud::Common::AbstractModel
|
1352
1436
|
# @param ZoneId: 站点 ID。
|
@@ -2244,7 +2328,7 @@ module TencentCloud
|
|
2244
2328
|
# @type Area: String
|
2245
2329
|
# @param PlanId: 待绑定的目标套餐 ID。当您账号下已存在套餐时,可以填写此参数,直接将站点绑定至该套餐。若您当前没有可绑定的套餐时,请前往控制台购买套餐完成站点创建。
|
2246
2330
|
# @type PlanId: String
|
2247
|
-
# @param AliasZoneName: 同名站点标识。限制输入数字、英文、- 和 _ 组合,长度 20 个字符以内。详情参考 [同名站点标识](),无此使用场景时,该字段保留为空即可。
|
2331
|
+
# @param AliasZoneName: 同名站点标识。限制输入数字、英文、- 和 _ 组合,长度 20 个字符以内。详情参考 [同名站点标识](https://cloud.tencent.com/document/product/1552/70202),无此使用场景时,该字段保留为空即可。
|
2248
2332
|
# @type AliasZoneName: String
|
2249
2333
|
# @param Tags: 标签。该参数用于对站点进行分权限管控、分账。需要先前往 [标签控制台](https://console.cloud.tencent.com/tag/taglist) 创建对应的标签才可以在此处传入对应的标签键和标签值。
|
2250
2334
|
# @type Tags: Array
|
@@ -9432,6 +9516,48 @@ module TencentCloud
|
|
9432
9516
|
end
|
9433
9517
|
end
|
9434
9518
|
|
9519
|
+
# VerifyOwnership请求参数结构体
|
9520
|
+
class VerifyOwnershipRequest < TencentCloud::Common::AbstractModel
|
9521
|
+
# @param Domain: 站点或者加速域名。
|
9522
|
+
# @type Domain: String
|
9523
|
+
|
9524
|
+
attr_accessor :Domain
|
9525
|
+
|
9526
|
+
def initialize(domain=nil)
|
9527
|
+
@Domain = domain
|
9528
|
+
end
|
9529
|
+
|
9530
|
+
def deserialize(params)
|
9531
|
+
@Domain = params['Domain']
|
9532
|
+
end
|
9533
|
+
end
|
9534
|
+
|
9535
|
+
# VerifyOwnership返回参数结构体
|
9536
|
+
class VerifyOwnershipResponse < TencentCloud::Common::AbstractModel
|
9537
|
+
# @param Status: 归属权验证结果。
|
9538
|
+
# <li>success:验证成功;</li>
|
9539
|
+
# <li>fail:验证失败。</li>
|
9540
|
+
# @type Status: String
|
9541
|
+
# @param Result: 当验证结果为不通过时,该字段会返回原因,协助您排查问题。
|
9542
|
+
# @type Result: String
|
9543
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
9544
|
+
# @type RequestId: String
|
9545
|
+
|
9546
|
+
attr_accessor :Status, :Result, :RequestId
|
9547
|
+
|
9548
|
+
def initialize(status=nil, result=nil, requestid=nil)
|
9549
|
+
@Status = status
|
9550
|
+
@Result = result
|
9551
|
+
@RequestId = requestid
|
9552
|
+
end
|
9553
|
+
|
9554
|
+
def deserialize(params)
|
9555
|
+
@Status = params['Status']
|
9556
|
+
@Result = params['Result']
|
9557
|
+
@RequestId = params['RequestId']
|
9558
|
+
end
|
9559
|
+
end
|
9560
|
+
|
9435
9561
|
# 无
|
9436
9562
|
class Waf < TencentCloud::Common::AbstractModel
|
9437
9563
|
# @param Switch: Waf开关,取值为:
|
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.669
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-09-
|
11
|
+
date: 2023-09-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|
@@ -33,11 +33,11 @@ executables: []
|
|
33
33
|
extensions: []
|
34
34
|
extra_rdoc_files: []
|
35
35
|
files:
|
36
|
-
- lib/v20220106/models.rb
|
37
|
-
- lib/v20220106/client.rb
|
38
36
|
- lib/v20220901/models.rb
|
39
37
|
- lib/v20220901/client.rb
|
40
38
|
- lib/tencentcloud-sdk-teo.rb
|
39
|
+
- lib/v20220106/models.rb
|
40
|
+
- lib/v20220106/client.rb
|
41
41
|
- lib/VERSION
|
42
42
|
homepage: https://github.com/TencentCloud/tencentcloud-sdk-ruby
|
43
43
|
licenses:
|