tencentcloud-sdk-dnspod 3.0.935 → 3.0.937
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 +171 -0
- data/lib/v20210323/models.rb +473 -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: a666324a075372bd8962663517547f32e0113a89
|
4
|
+
data.tar.gz: cfa15b9399ec1daa97034af2de391df419d0d98f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5467659a5c55145e4e5c6a4037d697cea13f04fc375491d777a9e4ab3fe6555e0300f4352a646cb6b33d7c31040000028c703409f66aa28225cf6b18aed521d4
|
7
|
+
data.tar.gz: 425bd904a8d0bb13db8b5c8ad529051b49086c4e78cfa636c6b7bf787f8f338889f09a5935d3e626a6c822d4de6ba3c212566fcbdb8136019ed647e7ab033f79
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.937
|
data/lib/v20210323/client.rb
CHANGED
@@ -103,6 +103,8 @@ module TencentCloud
|
|
103
103
|
|
104
104
|
# 添加域名
|
105
105
|
|
106
|
+
# 备注:该接口不支持添加子域名。
|
107
|
+
|
106
108
|
# @param request: Request instance for CreateDomain.
|
107
109
|
# @type request: :class:`Tencentcloud::dnspod::V20210323::CreateDomainRequest`
|
108
110
|
# @rtype: :class:`Tencentcloud::dnspod::V20210323::CreateDomainResponse`
|
@@ -221,6 +223,54 @@ module TencentCloud
|
|
221
223
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
222
224
|
end
|
223
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
|
+
|
224
274
|
# 添加记录
|
225
275
|
# 备注:新添加的解析记录存在短暂的索引延迟,如果查询不到新增记录,请在 30 秒后重试
|
226
276
|
|
@@ -318,6 +368,31 @@ module TencentCloud
|
|
318
368
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
319
369
|
end
|
320
370
|
|
371
|
+
# 添加TXT记录
|
372
|
+
# 备注:新添加的解析记录存在短暂的索引延迟,如果查询不到新增记录,请在 30 秒后重试
|
373
|
+
|
374
|
+
# @param request: Request instance for CreateTXTRecord.
|
375
|
+
# @type request: :class:`Tencentcloud::dnspod::V20210323::CreateTXTRecordRequest`
|
376
|
+
# @rtype: :class:`Tencentcloud::dnspod::V20210323::CreateTXTRecordResponse`
|
377
|
+
def CreateTXTRecord(request)
|
378
|
+
body = send_request('CreateTXTRecord', request.serialize)
|
379
|
+
response = JSON.parse(body)
|
380
|
+
if response['Response'].key?('Error') == false
|
381
|
+
model = CreateTXTRecordResponse.new
|
382
|
+
model.deserialize(response['Response'])
|
383
|
+
model
|
384
|
+
else
|
385
|
+
code = response['Response']['Error']['Code']
|
386
|
+
message = response['Response']['Error']['Message']
|
387
|
+
reqid = response['Response']['RequestId']
|
388
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
389
|
+
end
|
390
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
391
|
+
raise e
|
392
|
+
rescue StandardError => e
|
393
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
394
|
+
end
|
395
|
+
|
321
396
|
# 删除域名
|
322
397
|
|
323
398
|
# @param request: Request instance for DeleteDomain.
|
@@ -414,6 +489,30 @@ module TencentCloud
|
|
414
489
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
415
490
|
end
|
416
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
|
+
|
417
516
|
# 删除记录
|
418
517
|
|
419
518
|
# @param request: Request instance for DeleteRecord.
|
@@ -872,6 +971,30 @@ module TencentCloud
|
|
872
971
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
873
972
|
end
|
874
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
|
+
|
875
998
|
# 获取各套餐配置详情
|
876
999
|
|
877
1000
|
# @param request: Request instance for DescribePackageDetail.
|
@@ -1502,6 +1625,30 @@ module TencentCloud
|
|
1502
1625
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1503
1626
|
end
|
1504
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
|
+
|
1505
1652
|
# DNS 解析套餐自动续费设置
|
1506
1653
|
|
1507
1654
|
# @param request: Request instance for ModifyPackageAutoRenew.
|
@@ -1742,6 +1889,30 @@ module TencentCloud
|
|
1742
1889
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1743
1890
|
end
|
1744
1891
|
|
1892
|
+
# 修改TXT记录
|
1893
|
+
|
1894
|
+
# @param request: Request instance for ModifyTXTRecord.
|
1895
|
+
# @type request: :class:`Tencentcloud::dnspod::V20210323::ModifyTXTRecordRequest`
|
1896
|
+
# @rtype: :class:`Tencentcloud::dnspod::V20210323::ModifyTXTRecordResponse`
|
1897
|
+
def ModifyTXTRecord(request)
|
1898
|
+
body = send_request('ModifyTXTRecord', request.serialize)
|
1899
|
+
response = JSON.parse(body)
|
1900
|
+
if response['Response'].key?('Error') == false
|
1901
|
+
model = ModifyTXTRecordResponse.new
|
1902
|
+
model.deserialize(response['Response'])
|
1903
|
+
model
|
1904
|
+
else
|
1905
|
+
code = response['Response']['Error']['Code']
|
1906
|
+
message = response['Response']['Error']['Message']
|
1907
|
+
reqid = response['Response']['RequestId']
|
1908
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1909
|
+
end
|
1910
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1911
|
+
raise e
|
1912
|
+
rescue StandardError => e
|
1913
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1914
|
+
end
|
1915
|
+
|
1745
1916
|
# 增值服务自动续费设置
|
1746
1917
|
|
1747
1918
|
# @param request: Request instance for ModifyVasAutoRenewStatus.
|
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
|
@@ -1065,6 +1156,78 @@ module TencentCloud
|
|
1065
1156
|
end
|
1066
1157
|
end
|
1067
1158
|
|
1159
|
+
# CreateTXTRecord请求参数结构体
|
1160
|
+
class CreateTXTRecordRequest < TencentCloud::Common::AbstractModel
|
1161
|
+
# @param Domain: 域名
|
1162
|
+
# @type Domain: String
|
1163
|
+
# @param RecordLine: 记录线路,通过 API 记录线路获得,中文,比如:默认。
|
1164
|
+
# @type RecordLine: String
|
1165
|
+
# @param Value: 记录值,如 IP : 200.200.200.200, CNAME : cname.dnspod.com., MX : mail.dnspod.com.。
|
1166
|
+
# @type Value: String
|
1167
|
+
# @param DomainId: 域名 ID 。参数 DomainId 优先级比参数 Domain 高,如果传递参数 DomainId 将忽略参数 Domain 。
|
1168
|
+
# @type DomainId: Integer
|
1169
|
+
# @param SubDomain: 主机记录,如 www,如果不传,默认为 @。
|
1170
|
+
# @type SubDomain: String
|
1171
|
+
# @param RecordLineId: 线路的 ID,通过 API 记录线路获得,英文字符串,比如:10=1。参数RecordLineId优先级高于RecordLine,如果同时传递二者,优先使用RecordLineId参数。
|
1172
|
+
# @type RecordLineId: String
|
1173
|
+
# @param TTL: TTL,范围1-604800,不同套餐域名最小值不同。
|
1174
|
+
# @type TTL: Integer
|
1175
|
+
# @param Status: 记录初始状态,取值范围为 ENABLE 和 DISABLE 。默认为 ENABLE ,如果传入 DISABLE,解析不会生效,也不会验证负载均衡的限制。
|
1176
|
+
# @type Status: String
|
1177
|
+
# @param Remark: 备注
|
1178
|
+
# @type Remark: String
|
1179
|
+
# @param GroupId: 记录分组 Id。可以通过接口 DescribeRecordGroupList 接口 GroupId 字段获取。
|
1180
|
+
# @type GroupId: Integer
|
1181
|
+
|
1182
|
+
attr_accessor :Domain, :RecordLine, :Value, :DomainId, :SubDomain, :RecordLineId, :TTL, :Status, :Remark, :GroupId
|
1183
|
+
|
1184
|
+
def initialize(domain=nil, recordline=nil, value=nil, domainid=nil, subdomain=nil, recordlineid=nil, ttl=nil, status=nil, remark=nil, groupid=nil)
|
1185
|
+
@Domain = domain
|
1186
|
+
@RecordLine = recordline
|
1187
|
+
@Value = value
|
1188
|
+
@DomainId = domainid
|
1189
|
+
@SubDomain = subdomain
|
1190
|
+
@RecordLineId = recordlineid
|
1191
|
+
@TTL = ttl
|
1192
|
+
@Status = status
|
1193
|
+
@Remark = remark
|
1194
|
+
@GroupId = groupid
|
1195
|
+
end
|
1196
|
+
|
1197
|
+
def deserialize(params)
|
1198
|
+
@Domain = params['Domain']
|
1199
|
+
@RecordLine = params['RecordLine']
|
1200
|
+
@Value = params['Value']
|
1201
|
+
@DomainId = params['DomainId']
|
1202
|
+
@SubDomain = params['SubDomain']
|
1203
|
+
@RecordLineId = params['RecordLineId']
|
1204
|
+
@TTL = params['TTL']
|
1205
|
+
@Status = params['Status']
|
1206
|
+
@Remark = params['Remark']
|
1207
|
+
@GroupId = params['GroupId']
|
1208
|
+
end
|
1209
|
+
end
|
1210
|
+
|
1211
|
+
# CreateTXTRecord返回参数结构体
|
1212
|
+
class CreateTXTRecordResponse < TencentCloud::Common::AbstractModel
|
1213
|
+
# @param RecordId: 记录ID
|
1214
|
+
# @type RecordId: Integer
|
1215
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
1216
|
+
# @type RequestId: String
|
1217
|
+
|
1218
|
+
attr_accessor :RecordId, :RequestId
|
1219
|
+
|
1220
|
+
def initialize(recordid=nil, requestid=nil)
|
1221
|
+
@RecordId = recordid
|
1222
|
+
@RequestId = requestid
|
1223
|
+
end
|
1224
|
+
|
1225
|
+
def deserialize(params)
|
1226
|
+
@RecordId = params['RecordId']
|
1227
|
+
@RequestId = params['RequestId']
|
1228
|
+
end
|
1229
|
+
end
|
1230
|
+
|
1068
1231
|
# 自定义线路详情
|
1069
1232
|
class CustomLineInfo < TencentCloud::Common::AbstractModel
|
1070
1233
|
# @param DomainId: 域名ID
|
@@ -1313,6 +1476,46 @@ module TencentCloud
|
|
1313
1476
|
end
|
1314
1477
|
end
|
1315
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
|
+
|
1316
1519
|
# 批量删除记录详情
|
1317
1520
|
class DeleteRecordBatchDetail < TencentCloud::Common::AbstractModel
|
1318
1521
|
# @param DomainId: 域名 ID
|
@@ -2425,6 +2628,72 @@ module TencentCloud
|
|
2425
2628
|
end
|
2426
2629
|
end
|
2427
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
|
+
|
2428
2697
|
# DescribePackageDetail请求参数结构体
|
2429
2698
|
class DescribePackageDetailRequest < TencentCloud::Common::AbstractModel
|
2430
2699
|
|
@@ -4139,6 +4408,30 @@ module TencentCloud
|
|
4139
4408
|
end
|
4140
4409
|
end
|
4141
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
|
+
|
4142
4435
|
# 线路分组信息
|
4143
4436
|
class LineGroupInfo < TencentCloud::Common::AbstractModel
|
4144
4437
|
# @param LineId: 线路分组ID
|
@@ -4167,6 +4460,66 @@ module TencentCloud
|
|
4167
4460
|
end
|
4168
4461
|
end
|
4169
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
|
+
|
4170
4523
|
# 解析线路信息
|
4171
4524
|
class LineInfo < TencentCloud::Common::AbstractModel
|
4172
4525
|
# @param Name: 线路名称
|
@@ -4617,6 +4970,54 @@ module TencentCloud
|
|
4617
4970
|
end
|
4618
4971
|
end
|
4619
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
|
+
|
4620
5021
|
# ModifyPackageAutoRenew请求参数结构体
|
4621
5022
|
class ModifyPackageAutoRenewRequest < TencentCloud::Common::AbstractModel
|
4622
5023
|
# @param ResourceId: 资源ID。可以在控制台查看所有的资源
|
@@ -5189,6 +5590,78 @@ module TencentCloud
|
|
5189
5590
|
end
|
5190
5591
|
end
|
5191
5592
|
|
5593
|
+
# ModifyTXTRecord请求参数结构体
|
5594
|
+
class ModifyTXTRecordRequest < TencentCloud::Common::AbstractModel
|
5595
|
+
# @param Domain: 域名
|
5596
|
+
# @type Domain: String
|
5597
|
+
# @param RecordLine: 记录线路,通过 API 记录线路获得,中文,比如:默认。
|
5598
|
+
# @type RecordLine: String
|
5599
|
+
# @param Value: 记录值,如 IP : 200.200.200.200, CNAME : cname.dnspod.com., MX : mail.dnspod.com.。
|
5600
|
+
# @type Value: String
|
5601
|
+
# @param RecordId: 记录 ID 。可以通过接口DescribeRecordList查到所有的解析记录列表以及对应的RecordId
|
5602
|
+
# @type RecordId: Integer
|
5603
|
+
# @param DomainId: 域名 ID 。参数 DomainId 优先级比参数 Domain 高,如果传递参数 DomainId 将忽略参数 Domain 。可以通过接口DescribeDomainList查到所有的Domain以及DomainId
|
5604
|
+
# @type DomainId: Integer
|
5605
|
+
# @param SubDomain: 主机记录,如 www,如果不传,默认为 @。
|
5606
|
+
# @type SubDomain: String
|
5607
|
+
# @param RecordLineId: 线路的 ID,通过 API 记录线路获得,英文字符串,比如:10=1。参数RecordLineId优先级高于RecordLine,如果同时传递二者,优先使用RecordLineId参数。
|
5608
|
+
# @type RecordLineId: String
|
5609
|
+
# @param TTL: TTL,范围1-604800,不同等级域名最小值不同。
|
5610
|
+
# @type TTL: Integer
|
5611
|
+
# @param Status: 记录初始状态,取值范围为 ENABLE 和 DISABLE 。默认为 ENABLE ,如果传入 DISABLE,解析不会生效,也不会验证负载均衡的限制。
|
5612
|
+
# @type Status: String
|
5613
|
+
# @param Remark: 记录的备注信息。传空删除备注。
|
5614
|
+
# @type Remark: String
|
5615
|
+
|
5616
|
+
attr_accessor :Domain, :RecordLine, :Value, :RecordId, :DomainId, :SubDomain, :RecordLineId, :TTL, :Status, :Remark
|
5617
|
+
|
5618
|
+
def initialize(domain=nil, recordline=nil, value=nil, recordid=nil, domainid=nil, subdomain=nil, recordlineid=nil, ttl=nil, status=nil, remark=nil)
|
5619
|
+
@Domain = domain
|
5620
|
+
@RecordLine = recordline
|
5621
|
+
@Value = value
|
5622
|
+
@RecordId = recordid
|
5623
|
+
@DomainId = domainid
|
5624
|
+
@SubDomain = subdomain
|
5625
|
+
@RecordLineId = recordlineid
|
5626
|
+
@TTL = ttl
|
5627
|
+
@Status = status
|
5628
|
+
@Remark = remark
|
5629
|
+
end
|
5630
|
+
|
5631
|
+
def deserialize(params)
|
5632
|
+
@Domain = params['Domain']
|
5633
|
+
@RecordLine = params['RecordLine']
|
5634
|
+
@Value = params['Value']
|
5635
|
+
@RecordId = params['RecordId']
|
5636
|
+
@DomainId = params['DomainId']
|
5637
|
+
@SubDomain = params['SubDomain']
|
5638
|
+
@RecordLineId = params['RecordLineId']
|
5639
|
+
@TTL = params['TTL']
|
5640
|
+
@Status = params['Status']
|
5641
|
+
@Remark = params['Remark']
|
5642
|
+
end
|
5643
|
+
end
|
5644
|
+
|
5645
|
+
# ModifyTXTRecord返回参数结构体
|
5646
|
+
class ModifyTXTRecordResponse < TencentCloud::Common::AbstractModel
|
5647
|
+
# @param RecordId: 记录ID
|
5648
|
+
# @type RecordId: Integer
|
5649
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
5650
|
+
# @type RequestId: String
|
5651
|
+
|
5652
|
+
attr_accessor :RecordId, :RequestId
|
5653
|
+
|
5654
|
+
def initialize(recordid=nil, requestid=nil)
|
5655
|
+
@RecordId = recordid
|
5656
|
+
@RequestId = requestid
|
5657
|
+
end
|
5658
|
+
|
5659
|
+
def deserialize(params)
|
5660
|
+
@RecordId = params['RecordId']
|
5661
|
+
@RequestId = params['RequestId']
|
5662
|
+
end
|
5663
|
+
end
|
5664
|
+
|
5192
5665
|
# ModifyVasAutoRenewStatus请求参数结构体
|
5193
5666
|
class ModifyVasAutoRenewStatusRequest < TencentCloud::Common::AbstractModel
|
5194
5667
|
# @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.937
|
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-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|