tencentcloud-sdk-dnspod 3.0.936 → 3.0.938
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/v20210323/client.rb +120 -0
- data/lib/v20210323/models.rb +329 -0
- 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: 77a6ec750874b51bfdbd3158b3ebf641f1384e24
|
4
|
+
data.tar.gz: c57d04e6f1dc93a92698e5a2a4c75b9a9dbdcdb6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 46525db05cc27436af18d0b24696dd9e9ad5bea3a1e751e1debb1597b78cfb5cc368af3775912230f2d97848b188c2c7d06ab3ea60a0f5f84e99a7be5febe8eb
|
7
|
+
data.tar.gz: 998f9b1c874618b0c1292a37c8b924c1e92e6e80775c7ace10431d9efc8b59b8d18cf84a650a692d8bfe8d9a98c6552b8a8865457c3793ace7f6e15437014d76
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.938
|
data/lib/v20210323/client.rb
CHANGED
@@ -223,6 +223,54 @@ module TencentCloud
|
|
223
223
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
224
224
|
end
|
225
225
|
|
226
|
+
# 创建域名的线路分组
|
227
|
+
|
228
|
+
# @param request: Request instance for CreateLineGroup.
|
229
|
+
# @type request: :class:`Tencentcloud::dnspod::V20210323::CreateLineGroupRequest`
|
230
|
+
# @rtype: :class:`Tencentcloud::dnspod::V20210323::CreateLineGroupResponse`
|
231
|
+
def CreateLineGroup(request)
|
232
|
+
body = send_request('CreateLineGroup', request.serialize)
|
233
|
+
response = JSON.parse(body)
|
234
|
+
if response['Response'].key?('Error') == false
|
235
|
+
model = CreateLineGroupResponse.new
|
236
|
+
model.deserialize(response['Response'])
|
237
|
+
model
|
238
|
+
else
|
239
|
+
code = response['Response']['Error']['Code']
|
240
|
+
message = response['Response']['Error']['Message']
|
241
|
+
reqid = response['Response']['RequestId']
|
242
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
243
|
+
end
|
244
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
245
|
+
raise e
|
246
|
+
rescue StandardError => e
|
247
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
248
|
+
end
|
249
|
+
|
250
|
+
# 复制域名的线路分组
|
251
|
+
|
252
|
+
# @param request: Request instance for CreateLineGroupCopy.
|
253
|
+
# @type request: :class:`Tencentcloud::dnspod::V20210323::CreateLineGroupCopyRequest`
|
254
|
+
# @rtype: :class:`Tencentcloud::dnspod::V20210323::CreateLineGroupCopyResponse`
|
255
|
+
def CreateLineGroupCopy(request)
|
256
|
+
body = send_request('CreateLineGroupCopy', request.serialize)
|
257
|
+
response = JSON.parse(body)
|
258
|
+
if response['Response'].key?('Error') == false
|
259
|
+
model = CreateLineGroupCopyResponse.new
|
260
|
+
model.deserialize(response['Response'])
|
261
|
+
model
|
262
|
+
else
|
263
|
+
code = response['Response']['Error']['Code']
|
264
|
+
message = response['Response']['Error']['Message']
|
265
|
+
reqid = response['Response']['RequestId']
|
266
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
267
|
+
end
|
268
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
269
|
+
raise e
|
270
|
+
rescue StandardError => e
|
271
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
272
|
+
end
|
273
|
+
|
226
274
|
# 添加记录
|
227
275
|
# 备注:新添加的解析记录存在短暂的索引延迟,如果查询不到新增记录,请在 30 秒后重试
|
228
276
|
|
@@ -441,6 +489,30 @@ module TencentCloud
|
|
441
489
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
442
490
|
end
|
443
491
|
|
492
|
+
# 删除域名的线路分组
|
493
|
+
|
494
|
+
# @param request: Request instance for DeleteLineGroup.
|
495
|
+
# @type request: :class:`Tencentcloud::dnspod::V20210323::DeleteLineGroupRequest`
|
496
|
+
# @rtype: :class:`Tencentcloud::dnspod::V20210323::DeleteLineGroupResponse`
|
497
|
+
def DeleteLineGroup(request)
|
498
|
+
body = send_request('DeleteLineGroup', request.serialize)
|
499
|
+
response = JSON.parse(body)
|
500
|
+
if response['Response'].key?('Error') == false
|
501
|
+
model = DeleteLineGroupResponse.new
|
502
|
+
model.deserialize(response['Response'])
|
503
|
+
model
|
504
|
+
else
|
505
|
+
code = response['Response']['Error']['Code']
|
506
|
+
message = response['Response']['Error']['Message']
|
507
|
+
reqid = response['Response']['RequestId']
|
508
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
509
|
+
end
|
510
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
511
|
+
raise e
|
512
|
+
rescue StandardError => e
|
513
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
514
|
+
end
|
515
|
+
|
444
516
|
# 删除记录
|
445
517
|
|
446
518
|
# @param request: Request instance for DeleteRecord.
|
@@ -899,6 +971,30 @@ module TencentCloud
|
|
899
971
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
900
972
|
end
|
901
973
|
|
974
|
+
# 获取域名的线路分组列表
|
975
|
+
|
976
|
+
# @param request: Request instance for DescribeLineGroupList.
|
977
|
+
# @type request: :class:`Tencentcloud::dnspod::V20210323::DescribeLineGroupListRequest`
|
978
|
+
# @rtype: :class:`Tencentcloud::dnspod::V20210323::DescribeLineGroupListResponse`
|
979
|
+
def DescribeLineGroupList(request)
|
980
|
+
body = send_request('DescribeLineGroupList', request.serialize)
|
981
|
+
response = JSON.parse(body)
|
982
|
+
if response['Response'].key?('Error') == false
|
983
|
+
model = DescribeLineGroupListResponse.new
|
984
|
+
model.deserialize(response['Response'])
|
985
|
+
model
|
986
|
+
else
|
987
|
+
code = response['Response']['Error']['Code']
|
988
|
+
message = response['Response']['Error']['Message']
|
989
|
+
reqid = response['Response']['RequestId']
|
990
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
991
|
+
end
|
992
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
993
|
+
raise e
|
994
|
+
rescue StandardError => e
|
995
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
996
|
+
end
|
997
|
+
|
902
998
|
# 获取各套餐配置详情
|
903
999
|
|
904
1000
|
# @param request: Request instance for DescribePackageDetail.
|
@@ -1529,6 +1625,30 @@ module TencentCloud
|
|
1529
1625
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1530
1626
|
end
|
1531
1627
|
|
1628
|
+
# 修改域名的线路分组
|
1629
|
+
|
1630
|
+
# @param request: Request instance for ModifyLineGroup.
|
1631
|
+
# @type request: :class:`Tencentcloud::dnspod::V20210323::ModifyLineGroupRequest`
|
1632
|
+
# @rtype: :class:`Tencentcloud::dnspod::V20210323::ModifyLineGroupResponse`
|
1633
|
+
def ModifyLineGroup(request)
|
1634
|
+
body = send_request('ModifyLineGroup', request.serialize)
|
1635
|
+
response = JSON.parse(body)
|
1636
|
+
if response['Response'].key?('Error') == false
|
1637
|
+
model = ModifyLineGroupResponse.new
|
1638
|
+
model.deserialize(response['Response'])
|
1639
|
+
model
|
1640
|
+
else
|
1641
|
+
code = response['Response']['Error']['Code']
|
1642
|
+
message = response['Response']['Error']['Message']
|
1643
|
+
reqid = response['Response']['RequestId']
|
1644
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1645
|
+
end
|
1646
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1647
|
+
raise e
|
1648
|
+
rescue StandardError => e
|
1649
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1650
|
+
end
|
1651
|
+
|
1532
1652
|
# DNS 解析套餐自动续费设置
|
1533
1653
|
|
1534
1654
|
# @param request: Request instance for ModifyPackageAutoRenew.
|
data/lib/v20210323/models.rb
CHANGED
@@ -715,6 +715,97 @@ module TencentCloud
|
|
715
715
|
end
|
716
716
|
end
|
717
717
|
|
718
|
+
# CreateLineGroupCopy请求参数结构体
|
719
|
+
class CreateLineGroupCopyRequest < TencentCloud::Common::AbstractModel
|
720
|
+
# @param Domain: 域名
|
721
|
+
# @type Domain: String
|
722
|
+
# @param DomainIds: 要复制的域名ID。要从多个域名复制线路分组时,用英文逗号分隔,例如1002,1005
|
723
|
+
# @type DomainIds: String
|
724
|
+
# @param DomainId: 域名ID,如果传了DomainId,系统将会忽略Domain参数,优先使用DomainId
|
725
|
+
# @type DomainId: Integer
|
726
|
+
|
727
|
+
attr_accessor :Domain, :DomainIds, :DomainId
|
728
|
+
|
729
|
+
def initialize(domain=nil, domainids=nil, domainid=nil)
|
730
|
+
@Domain = domain
|
731
|
+
@DomainIds = domainids
|
732
|
+
@DomainId = domainid
|
733
|
+
end
|
734
|
+
|
735
|
+
def deserialize(params)
|
736
|
+
@Domain = params['Domain']
|
737
|
+
@DomainIds = params['DomainIds']
|
738
|
+
@DomainId = params['DomainId']
|
739
|
+
end
|
740
|
+
end
|
741
|
+
|
742
|
+
# CreateLineGroupCopy返回参数结构体
|
743
|
+
class CreateLineGroupCopyResponse < TencentCloud::Common::AbstractModel
|
744
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
745
|
+
# @type RequestId: String
|
746
|
+
|
747
|
+
attr_accessor :RequestId
|
748
|
+
|
749
|
+
def initialize(requestid=nil)
|
750
|
+
@RequestId = requestid
|
751
|
+
end
|
752
|
+
|
753
|
+
def deserialize(params)
|
754
|
+
@RequestId = params['RequestId']
|
755
|
+
end
|
756
|
+
end
|
757
|
+
|
758
|
+
# CreateLineGroup请求参数结构体
|
759
|
+
class CreateLineGroupRequest < TencentCloud::Common::AbstractModel
|
760
|
+
# @param Name: 自定义线路分组的名称。
|
761
|
+
# @type Name: String
|
762
|
+
# @param Lines: 自定义线路分组包含的线路列表,包含多个线路时用英文逗号分隔。例如,铁通,奇虎
|
763
|
+
# @type Lines: String
|
764
|
+
# @param Domain: 域名
|
765
|
+
# @type Domain: String
|
766
|
+
# @param DomainId: 域名ID,如果传了DomainId,系统将会忽略Domain参数,优先使用DomainId
|
767
|
+
# @type DomainId: Integer
|
768
|
+
|
769
|
+
attr_accessor :Name, :Lines, :Domain, :DomainId
|
770
|
+
|
771
|
+
def initialize(name=nil, lines=nil, domain=nil, domainid=nil)
|
772
|
+
@Name = name
|
773
|
+
@Lines = lines
|
774
|
+
@Domain = domain
|
775
|
+
@DomainId = domainid
|
776
|
+
end
|
777
|
+
|
778
|
+
def deserialize(params)
|
779
|
+
@Name = params['Name']
|
780
|
+
@Lines = params['Lines']
|
781
|
+
@Domain = params['Domain']
|
782
|
+
@DomainId = params['DomainId']
|
783
|
+
end
|
784
|
+
end
|
785
|
+
|
786
|
+
# CreateLineGroup返回参数结构体
|
787
|
+
class CreateLineGroupResponse < TencentCloud::Common::AbstractModel
|
788
|
+
# @param Data: 自定义线路分组详情
|
789
|
+
# @type Data: :class:`Tencentcloud::Dnspod.v20210323.models.LineGroupDetail`
|
790
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
791
|
+
# @type RequestId: String
|
792
|
+
|
793
|
+
attr_accessor :Data, :RequestId
|
794
|
+
|
795
|
+
def initialize(data=nil, requestid=nil)
|
796
|
+
@Data = data
|
797
|
+
@RequestId = requestid
|
798
|
+
end
|
799
|
+
|
800
|
+
def deserialize(params)
|
801
|
+
unless params['Data'].nil?
|
802
|
+
@Data = LineGroupDetail.new
|
803
|
+
@Data.deserialize(params['Data'])
|
804
|
+
end
|
805
|
+
@RequestId = params['RequestId']
|
806
|
+
end
|
807
|
+
end
|
808
|
+
|
718
809
|
# 批量添加记录返回结构
|
719
810
|
class CreateRecordBatchDetail < TencentCloud::Common::AbstractModel
|
720
811
|
# @param RecordList: 见RecordInfoBatch
|
@@ -1385,6 +1476,46 @@ module TencentCloud
|
|
1385
1476
|
end
|
1386
1477
|
end
|
1387
1478
|
|
1479
|
+
# DeleteLineGroup请求参数结构体
|
1480
|
+
class DeleteLineGroupRequest < TencentCloud::Common::AbstractModel
|
1481
|
+
# @param Domain: 域名
|
1482
|
+
# @type Domain: String
|
1483
|
+
# @param LineGroupId: 自定义线路分组ID
|
1484
|
+
# @type LineGroupId: Integer
|
1485
|
+
# @param DomainId: 域名ID,如果传了DomainId,系统将会忽略Domain参数,优先使用DomainId
|
1486
|
+
# @type DomainId: Integer
|
1487
|
+
|
1488
|
+
attr_accessor :Domain, :LineGroupId, :DomainId
|
1489
|
+
|
1490
|
+
def initialize(domain=nil, linegroupid=nil, domainid=nil)
|
1491
|
+
@Domain = domain
|
1492
|
+
@LineGroupId = linegroupid
|
1493
|
+
@DomainId = domainid
|
1494
|
+
end
|
1495
|
+
|
1496
|
+
def deserialize(params)
|
1497
|
+
@Domain = params['Domain']
|
1498
|
+
@LineGroupId = params['LineGroupId']
|
1499
|
+
@DomainId = params['DomainId']
|
1500
|
+
end
|
1501
|
+
end
|
1502
|
+
|
1503
|
+
# DeleteLineGroup返回参数结构体
|
1504
|
+
class DeleteLineGroupResponse < TencentCloud::Common::AbstractModel
|
1505
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
1506
|
+
# @type RequestId: String
|
1507
|
+
|
1508
|
+
attr_accessor :RequestId
|
1509
|
+
|
1510
|
+
def initialize(requestid=nil)
|
1511
|
+
@RequestId = requestid
|
1512
|
+
end
|
1513
|
+
|
1514
|
+
def deserialize(params)
|
1515
|
+
@RequestId = params['RequestId']
|
1516
|
+
end
|
1517
|
+
end
|
1518
|
+
|
1388
1519
|
# 批量删除记录详情
|
1389
1520
|
class DeleteRecordBatchDetail < TencentCloud::Common::AbstractModel
|
1390
1521
|
# @param DomainId: 域名 ID
|
@@ -2497,6 +2628,72 @@ module TencentCloud
|
|
2497
2628
|
end
|
2498
2629
|
end
|
2499
2630
|
|
2631
|
+
# DescribeLineGroupList请求参数结构体
|
2632
|
+
class DescribeLineGroupListRequest < TencentCloud::Common::AbstractModel
|
2633
|
+
# @param Domain: 域名
|
2634
|
+
# @type Domain: String
|
2635
|
+
# @param Offset: 偏移量,默认值为0。
|
2636
|
+
# @type Offset: Integer
|
2637
|
+
# @param Length: 限制数量,传0或不传会返回所有。
|
2638
|
+
# @type Length: Integer
|
2639
|
+
# @param SortType: 按自定义线路分组名称排序的方向。升序传asc,降序传desc。
|
2640
|
+
# @type SortType: String
|
2641
|
+
# @param DomainId: 域名ID,如果传了DomainId,系统将会忽略Domain参数,优先使用DomainId
|
2642
|
+
# @type DomainId: Integer
|
2643
|
+
|
2644
|
+
attr_accessor :Domain, :Offset, :Length, :SortType, :DomainId
|
2645
|
+
|
2646
|
+
def initialize(domain=nil, offset=nil, length=nil, sorttype=nil, domainid=nil)
|
2647
|
+
@Domain = domain
|
2648
|
+
@Offset = offset
|
2649
|
+
@Length = length
|
2650
|
+
@SortType = sorttype
|
2651
|
+
@DomainId = domainid
|
2652
|
+
end
|
2653
|
+
|
2654
|
+
def deserialize(params)
|
2655
|
+
@Domain = params['Domain']
|
2656
|
+
@Offset = params['Offset']
|
2657
|
+
@Length = params['Length']
|
2658
|
+
@SortType = params['SortType']
|
2659
|
+
@DomainId = params['DomainId']
|
2660
|
+
end
|
2661
|
+
end
|
2662
|
+
|
2663
|
+
# DescribeLineGroupList返回参数结构体
|
2664
|
+
class DescribeLineGroupListResponse < TencentCloud::Common::AbstractModel
|
2665
|
+
# @param LineGroups: 自定义线路分组列表
|
2666
|
+
# @type LineGroups: Array
|
2667
|
+
# @param Info: 自定义线路分组数量信息
|
2668
|
+
# @type Info: :class:`Tencentcloud::Dnspod.v20210323.models.LineGroupSum`
|
2669
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
2670
|
+
# @type RequestId: String
|
2671
|
+
|
2672
|
+
attr_accessor :LineGroups, :Info, :RequestId
|
2673
|
+
|
2674
|
+
def initialize(linegroups=nil, info=nil, requestid=nil)
|
2675
|
+
@LineGroups = linegroups
|
2676
|
+
@Info = info
|
2677
|
+
@RequestId = requestid
|
2678
|
+
end
|
2679
|
+
|
2680
|
+
def deserialize(params)
|
2681
|
+
unless params['LineGroups'].nil?
|
2682
|
+
@LineGroups = []
|
2683
|
+
params['LineGroups'].each do |i|
|
2684
|
+
linegroupitem_tmp = LineGroupItem.new
|
2685
|
+
linegroupitem_tmp.deserialize(i)
|
2686
|
+
@LineGroups << linegroupitem_tmp
|
2687
|
+
end
|
2688
|
+
end
|
2689
|
+
unless params['Info'].nil?
|
2690
|
+
@Info = LineGroupSum.new
|
2691
|
+
@Info.deserialize(params['Info'])
|
2692
|
+
end
|
2693
|
+
@RequestId = params['RequestId']
|
2694
|
+
end
|
2695
|
+
end
|
2696
|
+
|
2500
2697
|
# DescribePackageDetail请求参数结构体
|
2501
2698
|
class DescribePackageDetailRequest < TencentCloud::Common::AbstractModel
|
2502
2699
|
|
@@ -4211,6 +4408,30 @@ module TencentCloud
|
|
4211
4408
|
end
|
4212
4409
|
end
|
4213
4410
|
|
4411
|
+
# 自定义线路分组详细信息
|
4412
|
+
class LineGroupDetail < TencentCloud::Common::AbstractModel
|
4413
|
+
# @param Id: 自定义线路分组ID
|
4414
|
+
# @type Id: Integer
|
4415
|
+
# @param Name: 自定线路分组名称
|
4416
|
+
# @type Name: String
|
4417
|
+
# @param Lines: 自定义线路分组包含的线路列表
|
4418
|
+
# @type Lines: Array
|
4419
|
+
|
4420
|
+
attr_accessor :Id, :Name, :Lines
|
4421
|
+
|
4422
|
+
def initialize(id=nil, name=nil, lines=nil)
|
4423
|
+
@Id = id
|
4424
|
+
@Name = name
|
4425
|
+
@Lines = lines
|
4426
|
+
end
|
4427
|
+
|
4428
|
+
def deserialize(params)
|
4429
|
+
@Id = params['Id']
|
4430
|
+
@Name = params['Name']
|
4431
|
+
@Lines = params['Lines']
|
4432
|
+
end
|
4433
|
+
end
|
4434
|
+
|
4214
4435
|
# 线路分组信息
|
4215
4436
|
class LineGroupInfo < TencentCloud::Common::AbstractModel
|
4216
4437
|
# @param LineId: 线路分组ID
|
@@ -4239,6 +4460,66 @@ module TencentCloud
|
|
4239
4460
|
end
|
4240
4461
|
end
|
4241
4462
|
|
4463
|
+
# 自定义线路分组元素
|
4464
|
+
class LineGroupItem < TencentCloud::Common::AbstractModel
|
4465
|
+
# @param DomainId: 域名ID
|
4466
|
+
# @type DomainId: Integer
|
4467
|
+
# @param Id: 自定义线路分组ID
|
4468
|
+
# @type Id: Integer
|
4469
|
+
# @param Name: 自定义线路分组名称
|
4470
|
+
# @type Name: String
|
4471
|
+
# @param Lines: 自定义线路分组包含的线路
|
4472
|
+
# @type Lines: Array
|
4473
|
+
# @param CreatedOn: 创建时间
|
4474
|
+
# @type CreatedOn: String
|
4475
|
+
# @param UpdatedOn: 更新时间
|
4476
|
+
# @type UpdatedOn: String
|
4477
|
+
|
4478
|
+
attr_accessor :DomainId, :Id, :Name, :Lines, :CreatedOn, :UpdatedOn
|
4479
|
+
|
4480
|
+
def initialize(domainid=nil, id=nil, name=nil, lines=nil, createdon=nil, updatedon=nil)
|
4481
|
+
@DomainId = domainid
|
4482
|
+
@Id = id
|
4483
|
+
@Name = name
|
4484
|
+
@Lines = lines
|
4485
|
+
@CreatedOn = createdon
|
4486
|
+
@UpdatedOn = updatedon
|
4487
|
+
end
|
4488
|
+
|
4489
|
+
def deserialize(params)
|
4490
|
+
@DomainId = params['DomainId']
|
4491
|
+
@Id = params['Id']
|
4492
|
+
@Name = params['Name']
|
4493
|
+
@Lines = params['Lines']
|
4494
|
+
@CreatedOn = params['CreatedOn']
|
4495
|
+
@UpdatedOn = params['UpdatedOn']
|
4496
|
+
end
|
4497
|
+
end
|
4498
|
+
|
4499
|
+
# 自定义线路数量信息
|
4500
|
+
class LineGroupSum < TencentCloud::Common::AbstractModel
|
4501
|
+
# @param NowTotal: 本次请求返回自定义线路分组个数
|
4502
|
+
# @type NowTotal: Integer
|
4503
|
+
# @param Total: 自定义线路分组总数
|
4504
|
+
# @type Total: Integer
|
4505
|
+
# @param AvailableCount: 还可允许添加的自定义线路分组个数
|
4506
|
+
# @type AvailableCount: Integer
|
4507
|
+
|
4508
|
+
attr_accessor :NowTotal, :Total, :AvailableCount
|
4509
|
+
|
4510
|
+
def initialize(nowtotal=nil, total=nil, availablecount=nil)
|
4511
|
+
@NowTotal = nowtotal
|
4512
|
+
@Total = total
|
4513
|
+
@AvailableCount = availablecount
|
4514
|
+
end
|
4515
|
+
|
4516
|
+
def deserialize(params)
|
4517
|
+
@NowTotal = params['NowTotal']
|
4518
|
+
@Total = params['Total']
|
4519
|
+
@AvailableCount = params['AvailableCount']
|
4520
|
+
end
|
4521
|
+
end
|
4522
|
+
|
4242
4523
|
# 解析线路信息
|
4243
4524
|
class LineInfo < TencentCloud::Common::AbstractModel
|
4244
4525
|
# @param Name: 线路名称
|
@@ -4689,6 +4970,54 @@ module TencentCloud
|
|
4689
4970
|
end
|
4690
4971
|
end
|
4691
4972
|
|
4973
|
+
# ModifyLineGroup请求参数结构体
|
4974
|
+
class ModifyLineGroupRequest < TencentCloud::Common::AbstractModel
|
4975
|
+
# @param Name: 自定义线路分组的名称。
|
4976
|
+
# @type Name: String
|
4977
|
+
# @param Lines: 自定义线路分组包含的线路列表,包含多个线路时用英文逗号分隔。例如,铁通,奇虎
|
4978
|
+
# @type Lines: String
|
4979
|
+
# @param Domain: 域名
|
4980
|
+
# @type Domain: String
|
4981
|
+
# @param LineGroupId: 自定义线路分组ID
|
4982
|
+
# @type LineGroupId: Integer
|
4983
|
+
# @param DomainId: 域名ID,如果传了DomainId,系统将会忽略Domain参数,优先使用DomainId
|
4984
|
+
# @type DomainId: Integer
|
4985
|
+
|
4986
|
+
attr_accessor :Name, :Lines, :Domain, :LineGroupId, :DomainId
|
4987
|
+
|
4988
|
+
def initialize(name=nil, lines=nil, domain=nil, linegroupid=nil, domainid=nil)
|
4989
|
+
@Name = name
|
4990
|
+
@Lines = lines
|
4991
|
+
@Domain = domain
|
4992
|
+
@LineGroupId = linegroupid
|
4993
|
+
@DomainId = domainid
|
4994
|
+
end
|
4995
|
+
|
4996
|
+
def deserialize(params)
|
4997
|
+
@Name = params['Name']
|
4998
|
+
@Lines = params['Lines']
|
4999
|
+
@Domain = params['Domain']
|
5000
|
+
@LineGroupId = params['LineGroupId']
|
5001
|
+
@DomainId = params['DomainId']
|
5002
|
+
end
|
5003
|
+
end
|
5004
|
+
|
5005
|
+
# ModifyLineGroup返回参数结构体
|
5006
|
+
class ModifyLineGroupResponse < TencentCloud::Common::AbstractModel
|
5007
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
5008
|
+
# @type RequestId: String
|
5009
|
+
|
5010
|
+
attr_accessor :RequestId
|
5011
|
+
|
5012
|
+
def initialize(requestid=nil)
|
5013
|
+
@RequestId = requestid
|
5014
|
+
end
|
5015
|
+
|
5016
|
+
def deserialize(params)
|
5017
|
+
@RequestId = params['RequestId']
|
5018
|
+
end
|
5019
|
+
end
|
5020
|
+
|
4692
5021
|
# ModifyPackageAutoRenew请求参数结构体
|
4693
5022
|
class ModifyPackageAutoRenewRequest < TencentCloud::Common::AbstractModel
|
4694
5023
|
# @param ResourceId: 资源ID。可以在控制台查看所有的资源
|
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.
|
4
|
+
version: 3.0.938
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-11-
|
11
|
+
date: 2024-11-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|