tencentcloud-sdk-teo 3.0.451 → 3.0.453
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/tencentcloud-sdk-teo.rb +3 -3
- data/lib/v20220901/client.rb +24 -0
- data/lib/v20220901/models.rb +92 -11
- 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: 3b04cf29d4c80de99fbb842e75eefb30b7079d46
|
4
|
+
data.tar.gz: 0f77f6d67bef9618d1e4c2a13ff1b25ebcd279c1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: adbc9e31bf5d45098bf6565204631103e2d41ccc0fe3fcbf022a4500df4aec2080353e33cc43947fb42c2112c7e7adf97727047bdd2598f40739d2615a0ac222
|
7
|
+
data.tar.gz: 52f5d03303f993f5239160df02edc1fa6ab7084a30d12be3999f8d43c2ddbc8b3b29adeef9a4c76d8133b2a12f1b19738c87673d7ed18db9eb4ffcc315cdd560
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.453
|
data/lib/tencentcloud-sdk-teo.rb
CHANGED
@@ -2,12 +2,12 @@
|
|
2
2
|
|
3
3
|
require 'tencentcloud-sdk-common'
|
4
4
|
|
5
|
-
require_relative 'v20220901/client'
|
6
|
-
require_relative 'v20220901/models'
|
7
|
-
|
8
5
|
require_relative 'v20220106/client'
|
9
6
|
require_relative 'v20220106/models'
|
10
7
|
|
8
|
+
require_relative 'v20220901/client'
|
9
|
+
require_relative 'v20220901/models'
|
10
|
+
|
11
11
|
module TencentCloud
|
12
12
|
module Teo
|
13
13
|
end
|
data/lib/v20220901/client.rb
CHANGED
@@ -29,6 +29,30 @@ module TencentCloud
|
|
29
29
|
end
|
30
30
|
|
31
31
|
|
32
|
+
# 将未绑定套餐的站点绑定到已有套餐
|
33
|
+
|
34
|
+
# @param request: Request instance for BindZoneToPlan.
|
35
|
+
# @type request: :class:`Tencentcloud::teo::V20220901::BindZoneToPlanRequest`
|
36
|
+
# @rtype: :class:`Tencentcloud::teo::V20220901::BindZoneToPlanResponse`
|
37
|
+
def BindZoneToPlan(request)
|
38
|
+
body = send_request('BindZoneToPlan', request.serialize)
|
39
|
+
response = JSON.parse(body)
|
40
|
+
if response['Response'].key?('Error') == false
|
41
|
+
model = BindZoneToPlanResponse.new
|
42
|
+
model.deserialize(response['Response'])
|
43
|
+
model
|
44
|
+
else
|
45
|
+
code = response['Response']['Error']['Code']
|
46
|
+
message = response['Response']['Error']['Message']
|
47
|
+
reqid = response['Response']['RequestId']
|
48
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
49
|
+
end
|
50
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
51
|
+
raise e
|
52
|
+
rescue StandardError => e
|
53
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
54
|
+
end
|
55
|
+
|
32
56
|
# 校验证书
|
33
57
|
|
34
58
|
# @param request: Request instance for CheckCertificate.
|
data/lib/v20220901/models.rb
CHANGED
@@ -627,6 +627,42 @@ module TencentCloud
|
|
627
627
|
end
|
628
628
|
end
|
629
629
|
|
630
|
+
# BindZoneToPlan请求参数结构体
|
631
|
+
class BindZoneToPlanRequest < TencentCloud::Common::AbstractModel
|
632
|
+
# @param ZoneId: 未绑定套餐的站点ID。
|
633
|
+
# @type ZoneId: String
|
634
|
+
# @param PlanId: 待绑定的目标套餐ID。
|
635
|
+
# @type PlanId: String
|
636
|
+
|
637
|
+
attr_accessor :ZoneId, :PlanId
|
638
|
+
|
639
|
+
def initialize(zoneid=nil, planid=nil)
|
640
|
+
@ZoneId = zoneid
|
641
|
+
@PlanId = planid
|
642
|
+
end
|
643
|
+
|
644
|
+
def deserialize(params)
|
645
|
+
@ZoneId = params['ZoneId']
|
646
|
+
@PlanId = params['PlanId']
|
647
|
+
end
|
648
|
+
end
|
649
|
+
|
650
|
+
# BindZoneToPlan返回参数结构体
|
651
|
+
class BindZoneToPlanResponse < TencentCloud::Common::AbstractModel
|
652
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
653
|
+
# @type RequestId: String
|
654
|
+
|
655
|
+
attr_accessor :RequestId
|
656
|
+
|
657
|
+
def initialize(requestid=nil)
|
658
|
+
@RequestId = requestid
|
659
|
+
end
|
660
|
+
|
661
|
+
def deserialize(params)
|
662
|
+
@RequestId = params['RequestId']
|
663
|
+
end
|
664
|
+
end
|
665
|
+
|
630
666
|
# 安全Bot配置
|
631
667
|
class BotConfig < TencentCloud::Common::AbstractModel
|
632
668
|
# @param Switch: bot开关,取值有:
|
@@ -2007,10 +2043,14 @@ module TencentCloud
|
|
2007
2043
|
# <li> sta_with_bot: 全球内容分发网络(不包括中国大陆)标准版套餐附带bot管理;</li>
|
2008
2044
|
# <li> sta_cm: 中国大陆内容分发网络标准版套餐; </li>
|
2009
2045
|
# <li> sta_cm_with_bot: 中国大陆内容分发网络标准版套餐附带bot管理;</li>
|
2046
|
+
# <li> sta_global :全球内容分发网络(包括中国大陆)标准版套餐; </li>
|
2047
|
+
# <li> sta_global_with_bot :全球内容分发网络(包括中国大陆)标准版套餐附带bot管理;</li>
|
2010
2048
|
# <li> ent: 全球内容分发网络(不包括中国大陆)企业版套餐; </li>
|
2011
2049
|
# <li> ent_with_bot: 全球内容分发网络(不包括中国大陆)企业版套餐附带bot管理;</li>
|
2012
2050
|
# <li> ent_cm: 中国大陆内容分发网络企业版套餐; </li>
|
2013
|
-
# <li> ent_cm_with_bot: 中国大陆内容分发网络企业版套餐附带bot管理。</li
|
2051
|
+
# <li> ent_cm_with_bot: 中国大陆内容分发网络企业版套餐附带bot管理。</li>
|
2052
|
+
# <li> ent_global :全球内容分发网络(包括中国大陆)企业版套餐; </li>
|
2053
|
+
# <li> ent_global_with_bot :全球内容分发网络(包括中国大陆)企业版套餐附带bot管理。</li>当前账户可购买套餐类型请以<a href="https://tcloud4api.woa.com/document/product/1657/80124?!preview&!document=1">DescribeAvailablePlans</a>返回为准。
|
2014
2054
|
# @type PlanType: String
|
2015
2055
|
|
2016
2056
|
attr_accessor :ZoneId, :PlanType
|
@@ -2414,15 +2454,18 @@ module TencentCloud
|
|
2414
2454
|
# <li> true:允许重复接入;</li>
|
2415
2455
|
# <li> false:不允许重复接入。</li>不填写使用默认值false。
|
2416
2456
|
# @type AllowDuplicates: Boolean
|
2457
|
+
# @param AliasZoneName: 站点别名。数字、英文、-和_组合,限制20个字符。
|
2458
|
+
# @type AliasZoneName: String
|
2417
2459
|
|
2418
|
-
attr_accessor :ZoneName, :Type, :JumpStart, :Tags, :AllowDuplicates
|
2460
|
+
attr_accessor :ZoneName, :Type, :JumpStart, :Tags, :AllowDuplicates, :AliasZoneName
|
2419
2461
|
|
2420
|
-
def initialize(zonename=nil, type=nil, jumpstart=nil, tags=nil, allowduplicates=nil)
|
2462
|
+
def initialize(zonename=nil, type=nil, jumpstart=nil, tags=nil, allowduplicates=nil, aliaszonename=nil)
|
2421
2463
|
@ZoneName = zonename
|
2422
2464
|
@Type = type
|
2423
2465
|
@JumpStart = jumpstart
|
2424
2466
|
@Tags = tags
|
2425
2467
|
@AllowDuplicates = allowduplicates
|
2468
|
+
@AliasZoneName = aliaszonename
|
2426
2469
|
end
|
2427
2470
|
|
2428
2471
|
def deserialize(params)
|
@@ -2438,6 +2481,7 @@ module TencentCloud
|
|
2438
2481
|
end
|
2439
2482
|
end
|
2440
2483
|
@AllowDuplicates = params['AllowDuplicates']
|
2484
|
+
@AliasZoneName = params['AliasZoneName']
|
2441
2485
|
end
|
2442
2486
|
end
|
2443
2487
|
|
@@ -8122,13 +8166,27 @@ module TencentCloud
|
|
8122
8166
|
# @param Filters: 过滤条件,Filters.Values的上限为20。详细的过滤条件如下:
|
8123
8167
|
# <li>zone-name<br> 按照【<strong>站点名称</strong>】进行过滤。<br> 类型:String<br> 必选:否</li><li>zone-id<br> 按照【<strong>站点ID</strong>】进行过滤。站点ID形如:zone-xxx。<br> 类型:String<br> 必选:否</li><li>status<br> 按照【<strong>站点状态</strong>】进行过滤。<br> 类型:String<br> 必选:否</li><li>tag-key<br> 按照【<strong>标签键</strong>】进行过滤。<br> 类型:String<br> 必选:否</li><li>tag-value<br> 按照【<strong>标签值</strong>】进行过滤。<br> 类型:String<br> 必选:否</li>模糊查询时仅支持过滤字段名为zone-name。
|
8124
8168
|
# @type Filters: Array
|
8169
|
+
# @param Order: 排序字段,取值有:
|
8170
|
+
# <li> type:接入类型;</li>
|
8171
|
+
# <li> area:加速区域;</li>
|
8172
|
+
# <li> create-time:创建时间;</li>
|
8173
|
+
# <li> zone-name:站点名称;</li>
|
8174
|
+
# <li> use-time:最近使用时间;</li>
|
8175
|
+
# <li> active-status:生效状态。</li>不填写使用默认值create-time。
|
8176
|
+
# @type Order: String
|
8177
|
+
# @param Direction: 排序方向,取值有:
|
8178
|
+
# <li> asc:从小到大排序;</li>
|
8179
|
+
# <li> desc:从大到小排序。</li>不填写使用默认值desc。
|
8180
|
+
# @type Direction: String
|
8125
8181
|
|
8126
|
-
attr_accessor :Offset, :Limit, :Filters
|
8182
|
+
attr_accessor :Offset, :Limit, :Filters, :Order, :Direction
|
8127
8183
|
|
8128
|
-
def initialize(offset=nil, limit=nil, filters=nil)
|
8184
|
+
def initialize(offset=nil, limit=nil, filters=nil, order=nil, direction=nil)
|
8129
8185
|
@Offset = offset
|
8130
8186
|
@Limit = limit
|
8131
8187
|
@Filters = filters
|
8188
|
+
@Order = order
|
8189
|
+
@Direction = direction
|
8132
8190
|
end
|
8133
8191
|
|
8134
8192
|
def deserialize(params)
|
@@ -8142,6 +8200,8 @@ module TencentCloud
|
|
8142
8200
|
@Filters << advancedfilter_tmp
|
8143
8201
|
end
|
8144
8202
|
end
|
8203
|
+
@Order = params['Order']
|
8204
|
+
@Direction = params['Direction']
|
8145
8205
|
end
|
8146
8206
|
end
|
8147
8207
|
|
@@ -10956,13 +11016,16 @@ module TencentCloud
|
|
10956
11016
|
# @type Type: String
|
10957
11017
|
# @param VanityNameServers: 自定义站点信息,以替代系统默认分配的名称服务器。不填写保持原有配置。
|
10958
11018
|
# @type VanityNameServers: :class:`Tencentcloud::Teo.v20220901.models.VanityNameServers`
|
11019
|
+
# @param AliasZoneName: 站点别名。数字、英文、-和_组合,限制20个字符。
|
11020
|
+
# @type AliasZoneName: String
|
10959
11021
|
|
10960
|
-
attr_accessor :ZoneId, :Type, :VanityNameServers
|
11022
|
+
attr_accessor :ZoneId, :Type, :VanityNameServers, :AliasZoneName
|
10961
11023
|
|
10962
|
-
def initialize(zoneid=nil, type=nil, vanitynameservers=nil)
|
11024
|
+
def initialize(zoneid=nil, type=nil, vanitynameservers=nil, aliaszonename=nil)
|
10963
11025
|
@ZoneId = zoneid
|
10964
11026
|
@Type = type
|
10965
11027
|
@VanityNameServers = vanitynameservers
|
11028
|
+
@AliasZoneName = aliaszonename
|
10966
11029
|
end
|
10967
11030
|
|
10968
11031
|
def deserialize(params)
|
@@ -10972,6 +11035,7 @@ module TencentCloud
|
|
10972
11035
|
@VanityNameServers = VanityNameServers.new
|
10973
11036
|
@VanityNameServers.deserialize(params['VanityNameServers'])
|
10974
11037
|
end
|
11038
|
+
@AliasZoneName = params['AliasZoneName']
|
10975
11039
|
end
|
10976
11040
|
end
|
10977
11041
|
|
@@ -11525,10 +11589,14 @@ module TencentCloud
|
|
11525
11589
|
# <li> sta_with_bot :全球内容分发网络(不包括中国大陆)标准版套餐附带bot管理;</li>
|
11526
11590
|
# <li> sta_cm :中国大陆内容分发网络标准版套餐; </li>
|
11527
11591
|
# <li> sta_cm_with_bot :中国大陆内容分发网络标准版套餐附带bot管理;</li>
|
11592
|
+
# <li> sta_global :全球内容分发网络(包括中国大陆)标准版套餐; </li>
|
11593
|
+
# <li> sta_global_with_bot :全球内容分发网络(包括中国大陆)标准版套餐附带bot管理;</li>
|
11528
11594
|
# <li> ent :全球内容分发网络(不包括中国大陆)企业版套餐; </li>
|
11529
11595
|
# <li> ent_with_bot : 全球内容分发网络(不包括中国大陆)企业版套餐附带bot管理;</li>
|
11530
11596
|
# <li> ent_cm :中国大陆内容分发网络企业版套餐; </li>
|
11531
|
-
# <li> ent_cm_with_bot :中国大陆内容分发网络企业版套餐附带bot
|
11597
|
+
# <li> ent_cm_with_bot :中国大陆内容分发网络企业版套餐附带bot管理;</li>
|
11598
|
+
# <li> ent_global :全球内容分发网络(包括中国大陆)企业版套餐; </li>
|
11599
|
+
# <li> ent_global_with_bot :全球内容分发网络(包括中国大陆)企业版套餐附带bot管理。</li>
|
11532
11600
|
# @type PlanType: String
|
11533
11601
|
# @param Price: 套餐价格(单位:分)。
|
11534
11602
|
# @type Price: Float
|
@@ -11538,7 +11606,8 @@ module TencentCloud
|
|
11538
11606
|
# @type SiteNumber: Integer
|
11539
11607
|
# @param Area: 套餐加速区域类型,取值有:
|
11540
11608
|
# <li> mainland :中国大陆; </li>
|
11541
|
-
# <li> overseas
|
11609
|
+
# <li> overseas :全球(不包括中国大陆);</li>
|
11610
|
+
# <li> global :全球(包括中国大陆)。 </li>
|
11542
11611
|
# @type Area: String
|
11543
11612
|
|
11544
11613
|
attr_accessor :Currency, :Flux, :Frequency, :PlanType, :Price, :Request, :SiteNumber, :Area
|
@@ -14359,10 +14428,18 @@ module TencentCloud
|
|
14359
14428
|
# @param VanityNameServersIps: 用户自定义 NS IP 信息。
|
14360
14429
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
14361
14430
|
# @type VanityNameServersIps: Array
|
14431
|
+
# @param ActiveStatus: 展示状态,取值有:
|
14432
|
+
# <li> active:已启用;</li>
|
14433
|
+
# <li> inactive:未生效;</li>
|
14434
|
+
# <li> paused:已停用。</li>
|
14435
|
+
# @type ActiveStatus: String
|
14436
|
+
# @param AliasZoneName: 站点别名。数字、英文、-和_组合,限制20个字符。
|
14437
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
14438
|
+
# @type AliasZoneName: String
|
14362
14439
|
|
14363
|
-
attr_accessor :ZoneId, :ZoneName, :OriginalNameServers, :NameServers, :Status, :Type, :Paused, :CnameSpeedUp, :CnameStatus, :Tags, :Resources, :CreatedOn, :ModifiedOn, :Area, :VanityNameServers, :VanityNameServersIps
|
14440
|
+
attr_accessor :ZoneId, :ZoneName, :OriginalNameServers, :NameServers, :Status, :Type, :Paused, :CnameSpeedUp, :CnameStatus, :Tags, :Resources, :CreatedOn, :ModifiedOn, :Area, :VanityNameServers, :VanityNameServersIps, :ActiveStatus, :AliasZoneName
|
14364
14441
|
|
14365
|
-
def initialize(zoneid=nil, zonename=nil, originalnameservers=nil, nameservers=nil, status=nil, type=nil, paused=nil, cnamespeedup=nil, cnamestatus=nil, tags=nil, resources=nil, createdon=nil, modifiedon=nil, area=nil, vanitynameservers=nil, vanitynameserversips=nil)
|
14442
|
+
def initialize(zoneid=nil, zonename=nil, originalnameservers=nil, nameservers=nil, status=nil, type=nil, paused=nil, cnamespeedup=nil, cnamestatus=nil, tags=nil, resources=nil, createdon=nil, modifiedon=nil, area=nil, vanitynameservers=nil, vanitynameserversips=nil, activestatus=nil, aliaszonename=nil)
|
14366
14443
|
@ZoneId = zoneid
|
14367
14444
|
@ZoneName = zonename
|
14368
14445
|
@OriginalNameServers = originalnameservers
|
@@ -14379,6 +14456,8 @@ module TencentCloud
|
|
14379
14456
|
@Area = area
|
14380
14457
|
@VanityNameServers = vanitynameservers
|
14381
14458
|
@VanityNameServersIps = vanitynameserversips
|
14459
|
+
@ActiveStatus = activestatus
|
14460
|
+
@AliasZoneName = aliaszonename
|
14382
14461
|
end
|
14383
14462
|
|
14384
14463
|
def deserialize(params)
|
@@ -14422,6 +14501,8 @@ module TencentCloud
|
|
14422
14501
|
@VanityNameServersIps << vanitynameserversips_tmp
|
14423
14502
|
end
|
14424
14503
|
end
|
14504
|
+
@ActiveStatus = params['ActiveStatus']
|
14505
|
+
@AliasZoneName = params['AliasZoneName']
|
14425
14506
|
end
|
14426
14507
|
end
|
14427
14508
|
|
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.453
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-11-
|
11
|
+
date: 2022-11-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|
@@ -34,10 +34,10 @@ extensions: []
|
|
34
34
|
extra_rdoc_files: []
|
35
35
|
files:
|
36
36
|
- lib/tencentcloud-sdk-teo.rb
|
37
|
-
- lib/v20220106/models.rb
|
38
37
|
- lib/v20220106/client.rb
|
39
|
-
- lib/
|
38
|
+
- lib/v20220106/models.rb
|
40
39
|
- lib/v20220901/client.rb
|
40
|
+
- lib/v20220901/models.rb
|
41
41
|
- lib/VERSION
|
42
42
|
homepage: https://github.com/TencentCloud/tencentcloud-sdk-ruby
|
43
43
|
licenses:
|