tencentcloud-sdk-dnspod 3.0.781 → 3.0.782
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/v20210323/client.rb +24 -0
- data/lib/v20210323/models.rb +106 -4
- 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: 5685fac456f10ce6ead2d900cde010c4b84a7b7f
|
4
|
+
data.tar.gz: ed239a9a7973d44063d083d9447f73beef478d84
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ce89638f9a08db03777ef903cdc0c870b3817f82f8806fb9fce88cb5de318ed434109926b2e596c5ef6a22d6d6dd42b549f32924d44e8660cb3e13ba490450aa
|
7
|
+
data.tar.gz: 517b2f446632efd600ec612c9fca5fac0ac2ba664c304489752daeb3c3cc9fb14230aeba32476bac3a4b61cd69c9968c2e6dcbd2a49be02a4c62059d12f38360
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.782
|
data/lib/v20210323/client.rb
CHANGED
@@ -967,6 +967,30 @@ module TencentCloud
|
|
967
967
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
968
968
|
end
|
969
969
|
|
970
|
+
# 按分类返回线路列表
|
971
|
+
|
972
|
+
# @param request: Request instance for DescribeRecordLineCategoryList.
|
973
|
+
# @type request: :class:`Tencentcloud::dnspod::V20210323::DescribeRecordLineCategoryListRequest`
|
974
|
+
# @rtype: :class:`Tencentcloud::dnspod::V20210323::DescribeRecordLineCategoryListResponse`
|
975
|
+
def DescribeRecordLineCategoryList(request)
|
976
|
+
body = send_request('DescribeRecordLineCategoryList', request.serialize)
|
977
|
+
response = JSON.parse(body)
|
978
|
+
if response['Response'].key?('Error') == false
|
979
|
+
model = DescribeRecordLineCategoryListResponse.new
|
980
|
+
model.deserialize(response['Response'])
|
981
|
+
model
|
982
|
+
else
|
983
|
+
code = response['Response']['Error']['Code']
|
984
|
+
message = response['Response']['Error']['Message']
|
985
|
+
reqid = response['Response']['RequestId']
|
986
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
987
|
+
end
|
988
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
989
|
+
raise e
|
990
|
+
rescue StandardError => e
|
991
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
992
|
+
end
|
993
|
+
|
970
994
|
# 获取等级允许的线路
|
971
995
|
|
972
996
|
# @param request: Request instance for DescribeRecordLineList.
|
data/lib/v20210323/models.rb
CHANGED
@@ -967,10 +967,12 @@ module TencentCloud
|
|
967
967
|
# @type Status: String
|
968
968
|
# @param Remark: 备注
|
969
969
|
# @type Remark: String
|
970
|
+
# @param DnssecConflictMode: 开启DNSSEC时,强制添加CNAME/URL记录
|
971
|
+
# @type DnssecConflictMode: String
|
970
972
|
|
971
|
-
attr_accessor :Domain, :RecordType, :RecordLine, :Value, :DomainId, :SubDomain, :RecordLineId, :MX, :TTL, :Weight, :Status, :Remark
|
973
|
+
attr_accessor :Domain, :RecordType, :RecordLine, :Value, :DomainId, :SubDomain, :RecordLineId, :MX, :TTL, :Weight, :Status, :Remark, :DnssecConflictMode
|
972
974
|
|
973
|
-
def initialize(domain=nil, recordtype=nil, recordline=nil, value=nil, domainid=nil, subdomain=nil, recordlineid=nil, mx=nil, ttl=nil, weight=nil, status=nil, remark=nil)
|
975
|
+
def initialize(domain=nil, recordtype=nil, recordline=nil, value=nil, domainid=nil, subdomain=nil, recordlineid=nil, mx=nil, ttl=nil, weight=nil, status=nil, remark=nil, dnssecconflictmode=nil)
|
974
976
|
@Domain = domain
|
975
977
|
@RecordType = recordtype
|
976
978
|
@RecordLine = recordline
|
@@ -983,6 +985,7 @@ module TencentCloud
|
|
983
985
|
@Weight = weight
|
984
986
|
@Status = status
|
985
987
|
@Remark = remark
|
988
|
+
@DnssecConflictMode = dnssecconflictmode
|
986
989
|
end
|
987
990
|
|
988
991
|
def deserialize(params)
|
@@ -998,6 +1001,7 @@ module TencentCloud
|
|
998
1001
|
@Weight = params['Weight']
|
999
1002
|
@Status = params['Status']
|
1000
1003
|
@Remark = params['Remark']
|
1004
|
+
@DnssecConflictMode = params['DnssecConflictMode']
|
1001
1005
|
end
|
1002
1006
|
end
|
1003
1007
|
|
@@ -2659,6 +2663,53 @@ module TencentCloud
|
|
2659
2663
|
end
|
2660
2664
|
end
|
2661
2665
|
|
2666
|
+
# DescribeRecordLineCategoryList请求参数结构体
|
2667
|
+
class DescribeRecordLineCategoryListRequest < TencentCloud::Common::AbstractModel
|
2668
|
+
# @param Domain: 要查询线路列表的域名。
|
2669
|
+
# @type Domain: String
|
2670
|
+
# @param DomainId: 要查询线路列表的域名 ID。参数 DomainId 优先级比参数 Domain 高,如果传递参数 DomainId 将忽略参数 Domain。可以通过接口 DescribeDomainList 查到所有的 Domain 以及 DomainId。
|
2671
|
+
# @type DomainId: Integer
|
2672
|
+
|
2673
|
+
attr_accessor :Domain, :DomainId
|
2674
|
+
|
2675
|
+
def initialize(domain=nil, domainid=nil)
|
2676
|
+
@Domain = domain
|
2677
|
+
@DomainId = domainid
|
2678
|
+
end
|
2679
|
+
|
2680
|
+
def deserialize(params)
|
2681
|
+
@Domain = params['Domain']
|
2682
|
+
@DomainId = params['DomainId']
|
2683
|
+
end
|
2684
|
+
end
|
2685
|
+
|
2686
|
+
# DescribeRecordLineCategoryList返回参数结构体
|
2687
|
+
class DescribeRecordLineCategoryListResponse < TencentCloud::Common::AbstractModel
|
2688
|
+
# @param LineList: 按分类返回的线路列表。
|
2689
|
+
# @type LineList: Array
|
2690
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
2691
|
+
# @type RequestId: String
|
2692
|
+
|
2693
|
+
attr_accessor :LineList, :RequestId
|
2694
|
+
|
2695
|
+
def initialize(linelist=nil, requestid=nil)
|
2696
|
+
@LineList = linelist
|
2697
|
+
@RequestId = requestid
|
2698
|
+
end
|
2699
|
+
|
2700
|
+
def deserialize(params)
|
2701
|
+
unless params['LineList'].nil?
|
2702
|
+
@LineList = []
|
2703
|
+
params['LineList'].each do |i|
|
2704
|
+
lineitem_tmp = LineItem.new
|
2705
|
+
lineitem_tmp.deserialize(i)
|
2706
|
+
@LineList << lineitem_tmp
|
2707
|
+
end
|
2708
|
+
end
|
2709
|
+
@RequestId = params['RequestId']
|
2710
|
+
end
|
2711
|
+
end
|
2712
|
+
|
2662
2713
|
# DescribeRecordLineList请求参数结构体
|
2663
2714
|
class DescribeRecordLineListRequest < TencentCloud::Common::AbstractModel
|
2664
2715
|
# @param Domain: 域名。
|
@@ -4046,6 +4097,53 @@ module TencentCloud
|
|
4046
4097
|
end
|
4047
4098
|
end
|
4048
4099
|
|
4100
|
+
# 域名解析记录线路信息
|
4101
|
+
class LineItem < TencentCloud::Common::AbstractModel
|
4102
|
+
# @param LineName: 解析线路名称。
|
4103
|
+
# @type LineName: String
|
4104
|
+
# @param LineId: 解析线路 ID。
|
4105
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4106
|
+
# @type LineId: String
|
4107
|
+
# @param Useful: 当前线路在当前域名下是否可用。
|
4108
|
+
# @type Useful: Boolean
|
4109
|
+
# @param Grade: 当前线路最低套餐等级要求。
|
4110
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4111
|
+
# @type Grade: String
|
4112
|
+
# @param SubGroup: 当前线路分类下的子线路列表。
|
4113
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4114
|
+
# @type SubGroup: Array
|
4115
|
+
# @param Lines: 自定义线路分组内包含的线路。
|
4116
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4117
|
+
# @type Lines: Array
|
4118
|
+
|
4119
|
+
attr_accessor :LineName, :LineId, :Useful, :Grade, :SubGroup, :Lines
|
4120
|
+
|
4121
|
+
def initialize(linename=nil, lineid=nil, useful=nil, grade=nil, subgroup=nil, lines=nil)
|
4122
|
+
@LineName = linename
|
4123
|
+
@LineId = lineid
|
4124
|
+
@Useful = useful
|
4125
|
+
@Grade = grade
|
4126
|
+
@SubGroup = subgroup
|
4127
|
+
@Lines = lines
|
4128
|
+
end
|
4129
|
+
|
4130
|
+
def deserialize(params)
|
4131
|
+
@LineName = params['LineName']
|
4132
|
+
@LineId = params['LineId']
|
4133
|
+
@Useful = params['Useful']
|
4134
|
+
@Grade = params['Grade']
|
4135
|
+
unless params['SubGroup'].nil?
|
4136
|
+
@SubGroup = []
|
4137
|
+
params['SubGroup'].each do |i|
|
4138
|
+
lineitem_tmp = LineItem.new
|
4139
|
+
lineitem_tmp.deserialize(i)
|
4140
|
+
@SubGroup << lineitem_tmp
|
4141
|
+
end
|
4142
|
+
end
|
4143
|
+
@Lines = params['Lines']
|
4144
|
+
end
|
4145
|
+
end
|
4146
|
+
|
4049
4147
|
# 域名锁定信息
|
4050
4148
|
class LockInfo < TencentCloud::Common::AbstractModel
|
4051
4149
|
# @param DomainId: 域名 ID
|
@@ -4721,10 +4819,12 @@ module TencentCloud
|
|
4721
4819
|
# @type Status: String
|
4722
4820
|
# @param Remark: 记录的备注信息。传空删除备注。
|
4723
4821
|
# @type Remark: String
|
4822
|
+
# @param DnssecConflictMode: 开启DNSSEC时,强制将其它记录修改为CNAME/URL记录
|
4823
|
+
# @type DnssecConflictMode: String
|
4724
4824
|
|
4725
|
-
attr_accessor :Domain, :RecordType, :RecordLine, :Value, :RecordId, :DomainId, :SubDomain, :RecordLineId, :MX, :TTL, :Weight, :Status, :Remark
|
4825
|
+
attr_accessor :Domain, :RecordType, :RecordLine, :Value, :RecordId, :DomainId, :SubDomain, :RecordLineId, :MX, :TTL, :Weight, :Status, :Remark, :DnssecConflictMode
|
4726
4826
|
|
4727
|
-
def initialize(domain=nil, recordtype=nil, recordline=nil, value=nil, recordid=nil, domainid=nil, subdomain=nil, recordlineid=nil, mx=nil, ttl=nil, weight=nil, status=nil, remark=nil)
|
4827
|
+
def initialize(domain=nil, recordtype=nil, recordline=nil, value=nil, recordid=nil, domainid=nil, subdomain=nil, recordlineid=nil, mx=nil, ttl=nil, weight=nil, status=nil, remark=nil, dnssecconflictmode=nil)
|
4728
4828
|
@Domain = domain
|
4729
4829
|
@RecordType = recordtype
|
4730
4830
|
@RecordLine = recordline
|
@@ -4738,6 +4838,7 @@ module TencentCloud
|
|
4738
4838
|
@Weight = weight
|
4739
4839
|
@Status = status
|
4740
4840
|
@Remark = remark
|
4841
|
+
@DnssecConflictMode = dnssecconflictmode
|
4741
4842
|
end
|
4742
4843
|
|
4743
4844
|
def deserialize(params)
|
@@ -4754,6 +4855,7 @@ module TencentCloud
|
|
4754
4855
|
@Weight = params['Weight']
|
4755
4856
|
@Status = params['Status']
|
4756
4857
|
@Remark = params['Remark']
|
4858
|
+
@DnssecConflictMode = params['DnssecConflictMode']
|
4757
4859
|
end
|
4758
4860
|
end
|
4759
4861
|
|
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.782
|
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-03-
|
11
|
+
date: 2024-03-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|