tencentcloud-sdk-domain 3.0.680 → 3.0.681

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: a12ec84bd7407393f72bd3382030b994eb435810
4
- data.tar.gz: f1c5e566a6baf0b60598e76d6bf375985d9abe3c
3
+ metadata.gz: 4027850b85d6a5a7e12f46f55423c4462b38a8cf
4
+ data.tar.gz: d862e2103de1b221b3eac61ba817f3fd05d4d879
5
5
  SHA512:
6
- metadata.gz: b4e31e0a24b27d5989f071bb561bb9b2f1a2eede98204c9a78faa1942b3e57bca9e6cd7103852a807d5cea7d2ed5097e8b98a51234b6288ae4009d18869993ca
7
- data.tar.gz: 7e9fa1f4c1bb46e2e4e66c1f7ec9c0d733097f2272dda771ea33ba319708bcec3a8fb5ccf586ac30fb0d06d969de71b1058ceafb6a6049778b4b2615daa9573d
6
+ metadata.gz: 66d193f23db5cd8a1fd5832c97e3a78e037834990f4b2acf98bf7139ec195efed60330d2c090786b8fcbf58d3cd9c1432adc572476e5347f982454f0afe98709
7
+ data.tar.gz: 3651e4c6bd7e823c0848d7982c6a69f590a12eb2c15eb080731165b43abcc3ad117b1054b4c22e1a7f88b53d353d17b66f6c5ab56d70647d61b37b8d315e91c8
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.680
1
+ 3.0.681
@@ -221,6 +221,30 @@ module TencentCloud
221
221
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
222
222
  end
223
223
 
224
+ # 删除自定义DNS Host
225
+
226
+ # @param request: Request instance for DeleteCustomDnsHost.
227
+ # @type request: :class:`Tencentcloud::domain::V20180808::DeleteCustomDnsHostRequest`
228
+ # @rtype: :class:`Tencentcloud::domain::V20180808::DeleteCustomDnsHostResponse`
229
+ def DeleteCustomDnsHost(request)
230
+ body = send_request('DeleteCustomDnsHost', request.serialize)
231
+ response = JSON.parse(body)
232
+ if response['Response'].key?('Error') == false
233
+ model = DeleteCustomDnsHostResponse.new
234
+ model.deserialize(response['Response'])
235
+ model
236
+ else
237
+ code = response['Response']['Error']['Code']
238
+ message = response['Response']['Error']['Message']
239
+ reqid = response['Response']['RequestId']
240
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
241
+ end
242
+ rescue TencentCloud::Common::TencentCloudSDKException => e
243
+ raise e
244
+ rescue StandardError => e
245
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
246
+ end
247
+
224
248
  # 此接口用于删除已验证的手机邮箱
225
249
 
226
250
  # @param request: Request instance for DeletePhoneEmail.
@@ -317,6 +341,30 @@ module TencentCloud
317
341
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
318
342
  end
319
343
 
344
+ # 查询自定义DNS Host
345
+
346
+ # @param request: Request instance for DescribeCustomDnsHostSet.
347
+ # @type request: :class:`Tencentcloud::domain::V20180808::DescribeCustomDnsHostSetRequest`
348
+ # @rtype: :class:`Tencentcloud::domain::V20180808::DescribeCustomDnsHostSetResponse`
349
+ def DescribeCustomDnsHostSet(request)
350
+ body = send_request('DescribeCustomDnsHostSet', request.serialize)
351
+ response = JSON.parse(body)
352
+ if response['Response'].key?('Error') == false
353
+ model = DescribeCustomDnsHostSetResponse.new
354
+ model.deserialize(response['Response'])
355
+ model
356
+ else
357
+ code = response['Response']['Error']['Code']
358
+ message = response['Response']['Error']['Message']
359
+ reqid = response['Response']['RequestId']
360
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
361
+ end
362
+ rescue TencentCloud::Common::TencentCloudSDKException => e
363
+ raise e
364
+ rescue StandardError => e
365
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
366
+ end
367
+
320
368
  # 本接口 ( DescribeDomainBaseInfo) 获取域名基本信息。
321
369
 
322
370
  # @param request: Request instance for DescribeDomainBaseInfo.
@@ -485,6 +533,30 @@ module TencentCloud
485
533
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
486
534
  end
487
535
 
536
+ # 修改自定义DNS Host
537
+
538
+ # @param request: Request instance for ModifyCustomDnsHost.
539
+ # @type request: :class:`Tencentcloud::domain::V20180808::ModifyCustomDnsHostRequest`
540
+ # @rtype: :class:`Tencentcloud::domain::V20180808::ModifyCustomDnsHostResponse`
541
+ def ModifyCustomDnsHost(request)
542
+ body = send_request('ModifyCustomDnsHost', request.serialize)
543
+ response = JSON.parse(body)
544
+ if response['Response'].key?('Error') == false
545
+ model = ModifyCustomDnsHostResponse.new
546
+ model.deserialize(response['Response'])
547
+ model
548
+ else
549
+ code = response['Response']['Error']['Code']
550
+ message = response['Response']['Error']['Message']
551
+ reqid = response['Response']['RequestId']
552
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
553
+ end
554
+ rescue TencentCloud::Common::TencentCloudSDKException => e
555
+ raise e
556
+ rescue StandardError => e
557
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
558
+ end
559
+
488
560
  # 本接口 ( ModifyDomainDNSBatch) 用于批量域名 DNS 修改 。
489
561
 
490
562
  # @param request: Request instance for ModifyDomainDNSBatch.
@@ -533,6 +605,30 @@ module TencentCloud
533
605
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
534
606
  end
535
607
 
608
+ # 国际站-修改DNS Host
609
+
610
+ # @param request: Request instance for ModifyIntlCustomDnsHost.
611
+ # @type request: :class:`Tencentcloud::domain::V20180808::ModifyIntlCustomDnsHostRequest`
612
+ # @rtype: :class:`Tencentcloud::domain::V20180808::ModifyIntlCustomDnsHostResponse`
613
+ def ModifyIntlCustomDnsHost(request)
614
+ body = send_request('ModifyIntlCustomDnsHost', request.serialize)
615
+ response = JSON.parse(body)
616
+ if response['Response'].key?('Error') == false
617
+ model = ModifyIntlCustomDnsHostResponse.new
618
+ model.deserialize(response['Response'])
619
+ model
620
+ else
621
+ code = response['Response']['Error']['Code']
622
+ message = response['Response']['Error']['Message']
623
+ reqid = response['Response']['RequestId']
624
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
625
+ end
626
+ rescue TencentCloud::Common::TencentCloudSDKException => e
627
+ raise e
628
+ rescue StandardError => e
629
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
630
+ end
631
+
536
632
  # 本接口 ( RenewDomainBatch ) 用于批量续费域名 。
537
633
 
538
634
  # @param request: Request instance for RenewDomainBatch.
@@ -605,6 +701,30 @@ module TencentCloud
605
701
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
606
702
  end
607
703
 
704
+ # 同步自定义DNS Host
705
+
706
+ # @param request: Request instance for SyncCustomDnsHost.
707
+ # @type request: :class:`Tencentcloud::domain::V20180808::SyncCustomDnsHostRequest`
708
+ # @rtype: :class:`Tencentcloud::domain::V20180808::SyncCustomDnsHostResponse`
709
+ def SyncCustomDnsHost(request)
710
+ body = send_request('SyncCustomDnsHost', request.serialize)
711
+ response = JSON.parse(body)
712
+ if response['Response'].key?('Error') == false
713
+ model = SyncCustomDnsHostResponse.new
714
+ model.deserialize(response['Response'])
715
+ model
716
+ else
717
+ code = response['Response']['Error']['Code']
718
+ message = response['Response']['Error']['Message']
719
+ reqid = response['Response']['RequestId']
720
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
721
+ end
722
+ rescue TencentCloud::Common::TencentCloudSDKException => e
723
+ raise e
724
+ rescue StandardError => e
725
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
726
+ end
727
+
608
728
  # 本接口 ( TransferInDomainBatch ) 用于批量转入域名 。
609
729
 
610
730
  # @param request: Request instance for TransferInDomainBatch.
@@ -642,6 +642,66 @@ module TencentCloud
642
642
  end
643
643
  end
644
644
 
645
+ # 自定义DNS Host
646
+ class CustomDnsHost < TencentCloud::Common::AbstractModel
647
+ # @param DnsName: DNS名称
648
+ # @type DnsName: String
649
+ # @param IpSet: IP地址列表
650
+ # @type IpSet: Array
651
+
652
+ attr_accessor :DnsName, :IpSet
653
+
654
+ def initialize(dnsname=nil, ipset=nil)
655
+ @DnsName = dnsname
656
+ @IpSet = ipset
657
+ end
658
+
659
+ def deserialize(params)
660
+ @DnsName = params['DnsName']
661
+ @IpSet = params['IpSet']
662
+ end
663
+ end
664
+
665
+ # DeleteCustomDnsHost请求参数结构体
666
+ class DeleteCustomDnsHostRequest < TencentCloud::Common::AbstractModel
667
+ # @param DomainId: 域名实例ID
668
+ # @type DomainId: String
669
+ # @param DnsName: DNS名称
670
+ # @type DnsName: String
671
+
672
+ attr_accessor :DomainId, :DnsName
673
+
674
+ def initialize(domainid=nil, dnsname=nil)
675
+ @DomainId = domainid
676
+ @DnsName = dnsname
677
+ end
678
+
679
+ def deserialize(params)
680
+ @DomainId = params['DomainId']
681
+ @DnsName = params['DnsName']
682
+ end
683
+ end
684
+
685
+ # DeleteCustomDnsHost返回参数结构体
686
+ class DeleteCustomDnsHostResponse < TencentCloud::Common::AbstractModel
687
+ # @param LogId: 异步任务ID
688
+ # @type LogId: Integer
689
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
690
+ # @type RequestId: String
691
+
692
+ attr_accessor :LogId, :RequestId
693
+
694
+ def initialize(logid=nil, requestid=nil)
695
+ @LogId = logid
696
+ @RequestId = requestid
697
+ end
698
+
699
+ def deserialize(params)
700
+ @LogId = params['LogId']
701
+ @RequestId = params['RequestId']
702
+ end
703
+ end
704
+
645
705
  # DeletePhoneEmail请求参数结构体
646
706
  class DeletePhoneEmailRequest < TencentCloud::Common::AbstractModel
647
707
  # @param Code: 手机或者邮箱
@@ -818,6 +878,62 @@ module TencentCloud
818
878
  end
819
879
  end
820
880
 
881
+ # DescribeCustomDnsHostSet请求参数结构体
882
+ class DescribeCustomDnsHostSetRequest < TencentCloud::Common::AbstractModel
883
+ # @param DomainId: 域名实例ID
884
+ # @type DomainId: String
885
+ # @param Limit: 返回数量,默认为20,取值范围[1,100]
886
+ # @type Limit: Integer
887
+ # @param Offset: 偏移量,默认为0
888
+ # @type Offset: Integer
889
+
890
+ attr_accessor :DomainId, :Limit, :Offset
891
+
892
+ def initialize(domainid=nil, limit=nil, offset=nil)
893
+ @DomainId = domainid
894
+ @Limit = limit
895
+ @Offset = offset
896
+ end
897
+
898
+ def deserialize(params)
899
+ @DomainId = params['DomainId']
900
+ @Limit = params['Limit']
901
+ @Offset = params['Offset']
902
+ end
903
+ end
904
+
905
+ # DescribeCustomDnsHostSet返回参数结构体
906
+ class DescribeCustomDnsHostSetResponse < TencentCloud::Common::AbstractModel
907
+ # @param DnsHostSet: 自定义DNS Host 列表
908
+ # 注意:此字段可能返回 null,表示取不到有效值。
909
+ # @type DnsHostSet: Array
910
+ # @param TotalCount: 自定义DNS Host总数
911
+ # @type TotalCount: Integer
912
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
913
+ # @type RequestId: String
914
+
915
+ attr_accessor :DnsHostSet, :TotalCount, :RequestId
916
+
917
+ def initialize(dnshostset=nil, totalcount=nil, requestid=nil)
918
+ @DnsHostSet = dnshostset
919
+ @TotalCount = totalcount
920
+ @RequestId = requestid
921
+ end
922
+
923
+ def deserialize(params)
924
+ unless params['DnsHostSet'].nil?
925
+ @DnsHostSet = []
926
+ params['DnsHostSet'].each do |i|
927
+ customdnshost_tmp = CustomDnsHost.new
928
+ customdnshost_tmp.deserialize(i)
929
+ @DnsHostSet << customdnshost_tmp
930
+ end
931
+ end
932
+ @TotalCount = params['TotalCount']
933
+ @RequestId = params['RequestId']
934
+ end
935
+ end
936
+
821
937
  # DescribeDomainBaseInfo请求参数结构体
822
938
  class DescribeDomainBaseInfoRequest < TencentCloud::Common::AbstractModel
823
939
  # @param Domain: 域名
@@ -1548,6 +1664,50 @@ module TencentCloud
1548
1664
  end
1549
1665
  end
1550
1666
 
1667
+ # ModifyCustomDnsHost请求参数结构体
1668
+ class ModifyCustomDnsHostRequest < TencentCloud::Common::AbstractModel
1669
+ # @param DomainId: 域名实例ID
1670
+ # @type DomainId: String
1671
+ # @param DnsName: DNS名称
1672
+ # @type DnsName: String
1673
+ # @param IpSet: IP地址列表
1674
+ # @type IpSet: Array
1675
+
1676
+ attr_accessor :DomainId, :DnsName, :IpSet
1677
+
1678
+ def initialize(domainid=nil, dnsname=nil, ipset=nil)
1679
+ @DomainId = domainid
1680
+ @DnsName = dnsname
1681
+ @IpSet = ipset
1682
+ end
1683
+
1684
+ def deserialize(params)
1685
+ @DomainId = params['DomainId']
1686
+ @DnsName = params['DnsName']
1687
+ @IpSet = params['IpSet']
1688
+ end
1689
+ end
1690
+
1691
+ # ModifyCustomDnsHost返回参数结构体
1692
+ class ModifyCustomDnsHostResponse < TencentCloud::Common::AbstractModel
1693
+ # @param LogId: 异步任务ID
1694
+ # @type LogId: Integer
1695
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1696
+ # @type RequestId: String
1697
+
1698
+ attr_accessor :LogId, :RequestId
1699
+
1700
+ def initialize(logid=nil, requestid=nil)
1701
+ @LogId = logid
1702
+ @RequestId = requestid
1703
+ end
1704
+
1705
+ def deserialize(params)
1706
+ @LogId = params['LogId']
1707
+ @RequestId = params['RequestId']
1708
+ end
1709
+ end
1710
+
1551
1711
  # ModifyDomainDNSBatch请求参数结构体
1552
1712
  class ModifyDomainDNSBatchRequest < TencentCloud::Common::AbstractModel
1553
1713
  # @param Domains: 批量操作的域名。
@@ -1636,6 +1796,50 @@ module TencentCloud
1636
1796
  end
1637
1797
  end
1638
1798
 
1799
+ # ModifyIntlCustomDnsHost请求参数结构体
1800
+ class ModifyIntlCustomDnsHostRequest < TencentCloud::Common::AbstractModel
1801
+ # @param DomainId: 域名ID
1802
+ # @type DomainId: String
1803
+ # @param DnsName: DNS Host
1804
+ # @type DnsName: String
1805
+ # @param IpSet: IP地址
1806
+ # @type IpSet: Array
1807
+
1808
+ attr_accessor :DomainId, :DnsName, :IpSet
1809
+
1810
+ def initialize(domainid=nil, dnsname=nil, ipset=nil)
1811
+ @DomainId = domainid
1812
+ @DnsName = dnsname
1813
+ @IpSet = ipset
1814
+ end
1815
+
1816
+ def deserialize(params)
1817
+ @DomainId = params['DomainId']
1818
+ @DnsName = params['DnsName']
1819
+ @IpSet = params['IpSet']
1820
+ end
1821
+ end
1822
+
1823
+ # ModifyIntlCustomDnsHost返回参数结构体
1824
+ class ModifyIntlCustomDnsHostResponse < TencentCloud::Common::AbstractModel
1825
+ # @param LogId: 任务ID
1826
+ # @type LogId: Integer
1827
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1828
+ # @type RequestId: String
1829
+
1830
+ attr_accessor :LogId, :RequestId
1831
+
1832
+ def initialize(logid=nil, requestid=nil)
1833
+ @LogId = logid
1834
+ @RequestId = requestid
1835
+ end
1836
+
1837
+ def deserialize(params)
1838
+ @LogId = params['LogId']
1839
+ @RequestId = params['RequestId']
1840
+ end
1841
+ end
1842
+
1639
1843
  # 手机号邮箱列表
1640
1844
  class PhoneEmailData < TencentCloud::Common::AbstractModel
1641
1845
  # @param Code: 手机号或者邮箱
@@ -1838,6 +2042,42 @@ module TencentCloud
1838
2042
  end
1839
2043
  end
1840
2044
 
2045
+ # SyncCustomDnsHost请求参数结构体
2046
+ class SyncCustomDnsHostRequest < TencentCloud::Common::AbstractModel
2047
+ # @param DomainId: 域名实例ID
2048
+ # @type DomainId: String
2049
+
2050
+ attr_accessor :DomainId
2051
+
2052
+ def initialize(domainid=nil)
2053
+ @DomainId = domainid
2054
+ end
2055
+
2056
+ def deserialize(params)
2057
+ @DomainId = params['DomainId']
2058
+ end
2059
+ end
2060
+
2061
+ # SyncCustomDnsHost返回参数结构体
2062
+ class SyncCustomDnsHostResponse < TencentCloud::Common::AbstractModel
2063
+ # @param LogId: 异步任务ID
2064
+ # @type LogId: Integer
2065
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2066
+ # @type RequestId: String
2067
+
2068
+ attr_accessor :LogId, :RequestId
2069
+
2070
+ def initialize(logid=nil, requestid=nil)
2071
+ @LogId = logid
2072
+ @RequestId = requestid
2073
+ end
2074
+
2075
+ def deserialize(params)
2076
+ @LogId = params['LogId']
2077
+ @RequestId = params['RequestId']
2078
+ end
2079
+ end
2080
+
1841
2081
  # Template数据
1842
2082
  class TemplateInfo < TencentCloud::Common::AbstractModel
1843
2083
  # @param TemplateId: 模板ID
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-domain
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.680
4
+ version: 3.0.681
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-10-19 00:00:00.000000000 Z
11
+ date: 2023-10-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common