tencentcloud-sdk-teo 3.0.452 → 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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c45d49590a815f9432b9af7c125f38f167285567
4
- data.tar.gz: badb43def8dca1ba9cb41c6b5262c32d2cb0dd5f
3
+ metadata.gz: 3b04cf29d4c80de99fbb842e75eefb30b7079d46
4
+ data.tar.gz: 0f77f6d67bef9618d1e4c2a13ff1b25ebcd279c1
5
5
  SHA512:
6
- metadata.gz: 3a254b09d464260f57ca2297953217ab9739d2af4abbf8ea50e203012224eff8adfc04b048a1c8450cbb3d23a00b11f9586352ce58c982fe864888622f3105d6
7
- data.tar.gz: f51ce352f41e2c7a56d128e57436851622aecaecf90579f837f63fa77844e0360bc22219f65e75feb426db78e1e2aac0c58d12308e7f1f921cbbb4fdfd579cd6
6
+ metadata.gz: adbc9e31bf5d45098bf6565204631103e2d41ccc0fe3fcbf022a4500df4aec2080353e33cc43947fb42c2112c7e7adf97727047bdd2598f40739d2615a0ac222
7
+ data.tar.gz: 52f5d03303f993f5239160df02edc1fa6ab7084a30d12be3999f8d43c2ddbc8b3b29adeef9a4c76d8133b2a12f1b19738c87673d7ed18db9eb4ffcc315cdd560
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.452
1
+ 3.0.453
@@ -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
@@ -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.
@@ -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开关,取值有:
@@ -2418,15 +2454,18 @@ module TencentCloud
2418
2454
  # <li> true:允许重复接入;</li>
2419
2455
  # <li> false:不允许重复接入。</li>不填写使用默认值false。
2420
2456
  # @type AllowDuplicates: Boolean
2457
+ # @param AliasZoneName: 站点别名。数字、英文、-和_组合,限制20个字符。
2458
+ # @type AliasZoneName: String
2421
2459
 
2422
- attr_accessor :ZoneName, :Type, :JumpStart, :Tags, :AllowDuplicates
2460
+ attr_accessor :ZoneName, :Type, :JumpStart, :Tags, :AllowDuplicates, :AliasZoneName
2423
2461
 
2424
- 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)
2425
2463
  @ZoneName = zonename
2426
2464
  @Type = type
2427
2465
  @JumpStart = jumpstart
2428
2466
  @Tags = tags
2429
2467
  @AllowDuplicates = allowduplicates
2468
+ @AliasZoneName = aliaszonename
2430
2469
  end
2431
2470
 
2432
2471
  def deserialize(params)
@@ -2442,6 +2481,7 @@ module TencentCloud
2442
2481
  end
2443
2482
  end
2444
2483
  @AllowDuplicates = params['AllowDuplicates']
2484
+ @AliasZoneName = params['AliasZoneName']
2445
2485
  end
2446
2486
  end
2447
2487
 
@@ -8126,13 +8166,27 @@ module TencentCloud
8126
8166
  # @param Filters: 过滤条件,Filters.Values的上限为20。详细的过滤条件如下:
8127
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。
8128
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
8129
8181
 
8130
- attr_accessor :Offset, :Limit, :Filters
8182
+ attr_accessor :Offset, :Limit, :Filters, :Order, :Direction
8131
8183
 
8132
- def initialize(offset=nil, limit=nil, filters=nil)
8184
+ def initialize(offset=nil, limit=nil, filters=nil, order=nil, direction=nil)
8133
8185
  @Offset = offset
8134
8186
  @Limit = limit
8135
8187
  @Filters = filters
8188
+ @Order = order
8189
+ @Direction = direction
8136
8190
  end
8137
8191
 
8138
8192
  def deserialize(params)
@@ -8146,6 +8200,8 @@ module TencentCloud
8146
8200
  @Filters << advancedfilter_tmp
8147
8201
  end
8148
8202
  end
8203
+ @Order = params['Order']
8204
+ @Direction = params['Direction']
8149
8205
  end
8150
8206
  end
8151
8207
 
@@ -10960,13 +11016,16 @@ module TencentCloud
10960
11016
  # @type Type: String
10961
11017
  # @param VanityNameServers: 自定义站点信息,以替代系统默认分配的名称服务器。不填写保持原有配置。
10962
11018
  # @type VanityNameServers: :class:`Tencentcloud::Teo.v20220901.models.VanityNameServers`
11019
+ # @param AliasZoneName: 站点别名。数字、英文、-和_组合,限制20个字符。
11020
+ # @type AliasZoneName: String
10963
11021
 
10964
- attr_accessor :ZoneId, :Type, :VanityNameServers
11022
+ attr_accessor :ZoneId, :Type, :VanityNameServers, :AliasZoneName
10965
11023
 
10966
- def initialize(zoneid=nil, type=nil, vanitynameservers=nil)
11024
+ def initialize(zoneid=nil, type=nil, vanitynameservers=nil, aliaszonename=nil)
10967
11025
  @ZoneId = zoneid
10968
11026
  @Type = type
10969
11027
  @VanityNameServers = vanitynameservers
11028
+ @AliasZoneName = aliaszonename
10970
11029
  end
10971
11030
 
10972
11031
  def deserialize(params)
@@ -10976,6 +11035,7 @@ module TencentCloud
10976
11035
  @VanityNameServers = VanityNameServers.new
10977
11036
  @VanityNameServers.deserialize(params['VanityNameServers'])
10978
11037
  end
11038
+ @AliasZoneName = params['AliasZoneName']
10979
11039
  end
10980
11040
  end
10981
11041
 
@@ -14368,10 +14428,18 @@ module TencentCloud
14368
14428
  # @param VanityNameServersIps: 用户自定义 NS IP 信息。
14369
14429
  # 注意:此字段可能返回 null,表示取不到有效值。
14370
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
14371
14439
 
14372
- 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
14373
14441
 
14374
- 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)
14375
14443
  @ZoneId = zoneid
14376
14444
  @ZoneName = zonename
14377
14445
  @OriginalNameServers = originalnameservers
@@ -14388,6 +14456,8 @@ module TencentCloud
14388
14456
  @Area = area
14389
14457
  @VanityNameServers = vanitynameservers
14390
14458
  @VanityNameServersIps = vanitynameserversips
14459
+ @ActiveStatus = activestatus
14460
+ @AliasZoneName = aliaszonename
14391
14461
  end
14392
14462
 
14393
14463
  def deserialize(params)
@@ -14431,6 +14501,8 @@ module TencentCloud
14431
14501
  @VanityNameServersIps << vanitynameserversips_tmp
14432
14502
  end
14433
14503
  end
14504
+ @ActiveStatus = params['ActiveStatus']
14505
+ @AliasZoneName = params['AliasZoneName']
14434
14506
  end
14435
14507
  end
14436
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.452
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-15 00:00:00.000000000 Z
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/v20220901/models.rb
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: