tencentcloud-sdk-dnspod 3.0.691 → 3.0.693

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: dcb5a9e01e20cc350879e176607a1b6de9dc8b75
4
- data.tar.gz: 287584af581336e69cf89ec6e5166c91c15162a8
3
+ metadata.gz: f445350b1bbd201e29cbbf22253eaa6b09590a2e
4
+ data.tar.gz: a9103f081ee2569780cfe16b807b3bf547bd9f67
5
5
  SHA512:
6
- metadata.gz: d5ee788a756c614b7014021e26d570f771fc4003ee5cbfe491efc8e5a3f97636f0ea7157b410765fc70a02036f74985c3599074bf63abc7e5df04a6b3e78b189
7
- data.tar.gz: ff613b16ed3e35a46154785037ff0190bf116429a0b26242a83baa9b999b3f1c019f3bd61c408c7fcefe59636125cb130ee62bf4792a18d6eeeb291d4fa8739a
6
+ metadata.gz: 13fe9e134dc6432c620e9e277611317c8530dd6183daf4398c1379a6dbebba6601dff5d992a9ae5c55f15583d138afe889fbc3e54f736936902bd1aebc4b0edc
7
+ data.tar.gz: 547f6d0bdcb7697b0c80772d692e6412393176933f5b606040ff7dc3c01bfd2f878eec7ac271ce4036d51663febc6c0eac852adb9da358a9128d798b9a526b8c
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.691
1
+ 3.0.693
@@ -173,6 +173,30 @@ module TencentCloud
173
173
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
174
174
  end
175
175
 
176
+ # 创建域名的自定义线路
177
+
178
+ # @param request: Request instance for CreateDomainCustomLine.
179
+ # @type request: :class:`Tencentcloud::dnspod::V20210323::CreateDomainCustomLineRequest`
180
+ # @rtype: :class:`Tencentcloud::dnspod::V20210323::CreateDomainCustomLineResponse`
181
+ def CreateDomainCustomLine(request)
182
+ body = send_request('CreateDomainCustomLine', request.serialize)
183
+ response = JSON.parse(body)
184
+ if response['Response'].key?('Error') == false
185
+ model = CreateDomainCustomLineResponse.new
186
+ model.deserialize(response['Response'])
187
+ model
188
+ else
189
+ code = response['Response']['Error']['Code']
190
+ message = response['Response']['Error']['Message']
191
+ reqid = response['Response']['RequestId']
192
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
193
+ end
194
+ rescue TencentCloud::Common::TencentCloudSDKException => e
195
+ raise e
196
+ rescue StandardError => e
197
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
198
+ end
199
+
176
200
  # 创建域名分组
177
201
 
178
202
  # @param request: Request instance for CreateDomainGroup.
@@ -365,6 +389,30 @@ module TencentCloud
365
389
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
366
390
  end
367
391
 
392
+ # 删除域名的自定义线路
393
+
394
+ # @param request: Request instance for DeleteDomainCustomLine.
395
+ # @type request: :class:`Tencentcloud::dnspod::V20210323::DeleteDomainCustomLineRequest`
396
+ # @rtype: :class:`Tencentcloud::dnspod::V20210323::DeleteDomainCustomLineResponse`
397
+ def DeleteDomainCustomLine(request)
398
+ body = send_request('DeleteDomainCustomLine', request.serialize)
399
+ response = JSON.parse(body)
400
+ if response['Response'].key?('Error') == false
401
+ model = DeleteDomainCustomLineResponse.new
402
+ model.deserialize(response['Response'])
403
+ model
404
+ else
405
+ code = response['Response']['Error']['Code']
406
+ message = response['Response']['Error']['Message']
407
+ reqid = response['Response']['RequestId']
408
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
409
+ end
410
+ rescue TencentCloud::Common::TencentCloudSDKException => e
411
+ raise e
412
+ rescue StandardError => e
413
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
414
+ end
415
+
368
416
  # 删除记录
369
417
 
370
418
  # @param request: Request instance for DeleteRecord.
@@ -581,6 +629,30 @@ module TencentCloud
581
629
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
582
630
  end
583
631
 
632
+ # 获取域名的自定义线路列表
633
+
634
+ # @param request: Request instance for DescribeDomainCustomLineList.
635
+ # @type request: :class:`Tencentcloud::dnspod::V20210323::DescribeDomainCustomLineListRequest`
636
+ # @rtype: :class:`Tencentcloud::dnspod::V20210323::DescribeDomainCustomLineListResponse`
637
+ def DescribeDomainCustomLineList(request)
638
+ body = send_request('DescribeDomainCustomLineList', request.serialize)
639
+ response = JSON.parse(body)
640
+ if response['Response'].key?('Error') == false
641
+ model = DescribeDomainCustomLineListResponse.new
642
+ model.deserialize(response['Response'])
643
+ model
644
+ else
645
+ code = response['Response']['Error']['Code']
646
+ message = response['Response']['Error']['Message']
647
+ reqid = response['Response']['RequestId']
648
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
649
+ end
650
+ rescue TencentCloud::Common::TencentCloudSDKException => e
651
+ raise e
652
+ rescue StandardError => e
653
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
654
+ end
655
+
584
656
  # 获取域名筛选列表
585
657
 
586
658
  # @param request: Request instance for DescribeDomainFilterList.
@@ -1181,6 +1253,30 @@ module TencentCloud
1181
1253
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1182
1254
  end
1183
1255
 
1256
+ # 修改域名的自定义线路
1257
+
1258
+ # @param request: Request instance for ModifyDomainCustomLine.
1259
+ # @type request: :class:`Tencentcloud::dnspod::V20210323::ModifyDomainCustomLineRequest`
1260
+ # @rtype: :class:`Tencentcloud::dnspod::V20210323::ModifyDomainCustomLineResponse`
1261
+ def ModifyDomainCustomLine(request)
1262
+ body = send_request('ModifyDomainCustomLine', request.serialize)
1263
+ response = JSON.parse(body)
1264
+ if response['Response'].key?('Error') == false
1265
+ model = ModifyDomainCustomLineResponse.new
1266
+ model.deserialize(response['Response'])
1267
+ model
1268
+ else
1269
+ code = response['Response']['Error']['Code']
1270
+ message = response['Response']['Error']['Message']
1271
+ reqid = response['Response']['RequestId']
1272
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1273
+ end
1274
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1275
+ raise e
1276
+ rescue StandardError => e
1277
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1278
+ end
1279
+
1184
1280
  # 锁定域名
1185
1281
 
1186
1282
  # @param request: Request instance for ModifyDomainLock.
@@ -573,6 +573,50 @@ module TencentCloud
573
573
  end
574
574
  end
575
575
 
576
+ # CreateDomainCustomLine请求参数结构体
577
+ class CreateDomainCustomLineRequest < TencentCloud::Common::AbstractModel
578
+ # @param Domain: 域名
579
+ # @type Domain: String
580
+ # @param Name: 自定义线路名称
581
+ # @type Name: String
582
+ # @param Area: 自定义线路IP段,用-分割
583
+ # @type Area: String
584
+ # @param DomainId: 域名ID,如果传了DomainId,系统将会忽略Domain参数,优先使用DomainId
585
+ # @type DomainId: Integer
586
+
587
+ attr_accessor :Domain, :Name, :Area, :DomainId
588
+
589
+ def initialize(domain=nil, name=nil, area=nil, domainid=nil)
590
+ @Domain = domain
591
+ @Name = name
592
+ @Area = area
593
+ @DomainId = domainid
594
+ end
595
+
596
+ def deserialize(params)
597
+ @Domain = params['Domain']
598
+ @Name = params['Name']
599
+ @Area = params['Area']
600
+ @DomainId = params['DomainId']
601
+ end
602
+ end
603
+
604
+ # CreateDomainCustomLine返回参数结构体
605
+ class CreateDomainCustomLineResponse < TencentCloud::Common::AbstractModel
606
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
607
+ # @type RequestId: String
608
+
609
+ attr_accessor :RequestId
610
+
611
+ def initialize(requestid=nil)
612
+ @RequestId = requestid
613
+ end
614
+
615
+ def deserialize(params)
616
+ @RequestId = params['RequestId']
617
+ end
618
+ end
619
+
576
620
  # CreateDomainGroup请求参数结构体
577
621
  class CreateDomainGroupRequest < TencentCloud::Common::AbstractModel
578
622
  # @param GroupName: 域名分组
@@ -1013,6 +1057,38 @@ module TencentCloud
1013
1057
  end
1014
1058
  end
1015
1059
 
1060
+ # 自定义线路详情
1061
+ class CustomLineInfo < TencentCloud::Common::AbstractModel
1062
+ # @param DomainId: 域名ID
1063
+ # @type DomainId: Integer
1064
+ # @param Name: 自定义线路名称
1065
+ # @type Name: String
1066
+ # @param Area: 自定义线路IP段
1067
+ # @type Area: String
1068
+ # @param UseCount: 已使用IP段个数
1069
+ # @type UseCount: Integer
1070
+ # @param MaxCount: 允许使用IP段最大个数
1071
+ # @type MaxCount: Integer
1072
+
1073
+ attr_accessor :DomainId, :Name, :Area, :UseCount, :MaxCount
1074
+
1075
+ def initialize(domainid=nil, name=nil, area=nil, usecount=nil, maxcount=nil)
1076
+ @DomainId = domainid
1077
+ @Name = name
1078
+ @Area = area
1079
+ @UseCount = usecount
1080
+ @MaxCount = maxcount
1081
+ end
1082
+
1083
+ def deserialize(params)
1084
+ @DomainId = params['DomainId']
1085
+ @Name = params['Name']
1086
+ @Area = params['Area']
1087
+ @UseCount = params['UseCount']
1088
+ @MaxCount = params['MaxCount']
1089
+ end
1090
+ end
1091
+
1016
1092
  # 子订单号列表
1017
1093
  class Deals < TencentCloud::Common::AbstractModel
1018
1094
  # @param DealId: 子订单ID
@@ -1153,6 +1229,46 @@ module TencentCloud
1153
1229
  end
1154
1230
  end
1155
1231
 
1232
+ # DeleteDomainCustomLine请求参数结构体
1233
+ class DeleteDomainCustomLineRequest < TencentCloud::Common::AbstractModel
1234
+ # @param Domain: 域名
1235
+ # @type Domain: String
1236
+ # @param Name: 自定义线路名称
1237
+ # @type Name: String
1238
+ # @param DomainId: 域名ID,如果传了DomainId,系统将会忽略Domain参数,优先使用DomainId
1239
+ # @type DomainId: Integer
1240
+
1241
+ attr_accessor :Domain, :Name, :DomainId
1242
+
1243
+ def initialize(domain=nil, name=nil, domainid=nil)
1244
+ @Domain = domain
1245
+ @Name = name
1246
+ @DomainId = domainid
1247
+ end
1248
+
1249
+ def deserialize(params)
1250
+ @Domain = params['Domain']
1251
+ @Name = params['Name']
1252
+ @DomainId = params['DomainId']
1253
+ end
1254
+ end
1255
+
1256
+ # DeleteDomainCustomLine返回参数结构体
1257
+ class DeleteDomainCustomLineResponse < TencentCloud::Common::AbstractModel
1258
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1259
+ # @type RequestId: String
1260
+
1261
+ attr_accessor :RequestId
1262
+
1263
+ def initialize(requestid=nil)
1264
+ @RequestId = requestid
1265
+ end
1266
+
1267
+ def deserialize(params)
1268
+ @RequestId = params['RequestId']
1269
+ end
1270
+ end
1271
+
1156
1272
  # DeleteDomain请求参数结构体
1157
1273
  class DeleteDomainRequest < TencentCloud::Common::AbstractModel
1158
1274
  # @param Domain: 域名
@@ -1678,6 +1794,57 @@ module TencentCloud
1678
1794
  end
1679
1795
  end
1680
1796
 
1797
+ # DescribeDomainCustomLineList请求参数结构体
1798
+ class DescribeDomainCustomLineListRequest < TencentCloud::Common::AbstractModel
1799
+ # @param Domain: 域名
1800
+ # @type Domain: String
1801
+ # @param DomainId: 域名ID,如果传了DomainId,系统将会忽略Domain参数,优先使用DomainId
1802
+ # @type DomainId: Integer
1803
+
1804
+ attr_accessor :Domain, :DomainId
1805
+
1806
+ def initialize(domain=nil, domainid=nil)
1807
+ @Domain = domain
1808
+ @DomainId = domainid
1809
+ end
1810
+
1811
+ def deserialize(params)
1812
+ @Domain = params['Domain']
1813
+ @DomainId = params['DomainId']
1814
+ end
1815
+ end
1816
+
1817
+ # DescribeDomainCustomLineList返回参数结构体
1818
+ class DescribeDomainCustomLineListResponse < TencentCloud::Common::AbstractModel
1819
+ # @param LineList: 自定义线路列表
1820
+ # @type LineList: Array
1821
+ # @param AvailableCount: 可添加的自定义线路条数
1822
+ # @type AvailableCount: Integer
1823
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1824
+ # @type RequestId: String
1825
+
1826
+ attr_accessor :LineList, :AvailableCount, :RequestId
1827
+
1828
+ def initialize(linelist=nil, availablecount=nil, requestid=nil)
1829
+ @LineList = linelist
1830
+ @AvailableCount = availablecount
1831
+ @RequestId = requestid
1832
+ end
1833
+
1834
+ def deserialize(params)
1835
+ unless params['LineList'].nil?
1836
+ @LineList = []
1837
+ params['LineList'].each do |i|
1838
+ customlineinfo_tmp = CustomLineInfo.new
1839
+ customlineinfo_tmp.deserialize(i)
1840
+ @LineList << customlineinfo_tmp
1841
+ end
1842
+ end
1843
+ @AvailableCount = params['AvailableCount']
1844
+ @RequestId = params['RequestId']
1845
+ end
1846
+ end
1847
+
1681
1848
  # DescribeDomainFilterList请求参数结构体
1682
1849
  class DescribeDomainFilterListRequest < TencentCloud::Common::AbstractModel
1683
1850
  # @param Type: 根据域名分组类型获取域名。可取值为 ALL,MINE,SHARE,RECENT。
@@ -3899,6 +4066,54 @@ module TencentCloud
3899
4066
  end
3900
4067
  end
3901
4068
 
4069
+ # ModifyDomainCustomLine请求参数结构体
4070
+ class ModifyDomainCustomLineRequest < TencentCloud::Common::AbstractModel
4071
+ # @param Domain: 域名
4072
+ # @type Domain: String
4073
+ # @param Name: 修改后的自定义线路名称,如果不修改名称,需要和PreName保持一致
4074
+ # @type Name: String
4075
+ # @param Area: 自定义线路IP段,用-分割
4076
+ # @type Area: String
4077
+ # @param PreName: 修改前的自定义线路名称
4078
+ # @type PreName: String
4079
+ # @param DomainId: 域名ID,如果传了DomainId,系统将会忽略Domain参数,优先使用DomainId
4080
+ # @type DomainId: Integer
4081
+
4082
+ attr_accessor :Domain, :Name, :Area, :PreName, :DomainId
4083
+
4084
+ def initialize(domain=nil, name=nil, area=nil, prename=nil, domainid=nil)
4085
+ @Domain = domain
4086
+ @Name = name
4087
+ @Area = area
4088
+ @PreName = prename
4089
+ @DomainId = domainid
4090
+ end
4091
+
4092
+ def deserialize(params)
4093
+ @Domain = params['Domain']
4094
+ @Name = params['Name']
4095
+ @Area = params['Area']
4096
+ @PreName = params['PreName']
4097
+ @DomainId = params['DomainId']
4098
+ end
4099
+ end
4100
+
4101
+ # ModifyDomainCustomLine返回参数结构体
4102
+ class ModifyDomainCustomLineResponse < TencentCloud::Common::AbstractModel
4103
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4104
+ # @type RequestId: String
4105
+
4106
+ attr_accessor :RequestId
4107
+
4108
+ def initialize(requestid=nil)
4109
+ @RequestId = requestid
4110
+ end
4111
+
4112
+ def deserialize(params)
4113
+ @RequestId = params['RequestId']
4114
+ end
4115
+ end
4116
+
3902
4117
  # ModifyDomainLock请求参数结构体
3903
4118
  class ModifyDomainLockRequest < TencentCloud::Common::AbstractModel
3904
4119
  # @param Domain: 域名
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-dnspod
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.691
4
+ version: 3.0.693
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-11-01 00:00:00.000000000 Z
11
+ date: 2023-11-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common