tencentcloud-sdk-dnspod 3.0.456 → 3.0.457

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: d805c0c898902b202e939d62fb865e17f161847f
4
- data.tar.gz: ec68c4fb95c53e7d6930de3ef55531a19d7fefa5
3
+ metadata.gz: 9c57b3c79699587296956b6afc53c1e3b2b07fb7
4
+ data.tar.gz: cc8c59fc31d8870b185d56c95acb28d71f5f65b1
5
5
  SHA512:
6
- metadata.gz: 925a88a86c915b7eb3d02ba7103fca129985003ef4341c0069bb9395ec58977d98a14004ed5f11e2c0dfa17d24f4c7d429558a87ec43e37fc4d5da58e34891e7
7
- data.tar.gz: 95494a1513f9d65ebe52303188539b9c243ae242aaad158ab1644217bb4ace2235eaf6f988a1c2f37d27f9181c87079fdb07ac3eb95ad790be70f68847443e9e
6
+ metadata.gz: c6f63291b98a982bda1432cf348d10e3a59a1522cfd03bada35373b94e2a52241475b1380ed26c6de742e4dc0a9a7b6a9345a6de426fbe56ac5371a1afb78630
7
+ data.tar.gz: 49f299a2bf179978776a3bf01b8785ef58dccda89a1847460acc2a6552c2835a19af7fad84f7250f98cc2a0faa3bb9b8155acc5802653c4d198abe41151f2bed
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.456
1
+ 3.0.457
@@ -245,6 +245,30 @@ module TencentCloud
245
245
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
246
246
  end
247
247
 
248
+ # 添加记录分组
249
+
250
+ # @param request: Request instance for CreateRecordGroup.
251
+ # @type request: :class:`Tencentcloud::dnspod::V20210323::CreateRecordGroupRequest`
252
+ # @rtype: :class:`Tencentcloud::dnspod::V20210323::CreateRecordGroupResponse`
253
+ def CreateRecordGroup(request)
254
+ body = send_request('CreateRecordGroup', request.serialize)
255
+ response = JSON.parse(body)
256
+ if response['Response'].key?('Error') == false
257
+ model = CreateRecordGroupResponse.new
258
+ model.deserialize(response['Response'])
259
+ model
260
+ else
261
+ code = response['Response']['Error']['Code']
262
+ message = response['Response']['Error']['Message']
263
+ reqid = response['Response']['RequestId']
264
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
265
+ end
266
+ rescue TencentCloud::Common::TencentCloudSDKException => e
267
+ raise e
268
+ rescue StandardError => e
269
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
270
+ end
271
+
248
272
  # 创建快照
249
273
 
250
274
  # @param request: Request instance for CreateSnapshot.
@@ -341,6 +365,30 @@ module TencentCloud
341
365
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
342
366
  end
343
367
 
368
+ # 删除记录分组
369
+
370
+ # @param request: Request instance for DeleteRecordGroup.
371
+ # @type request: :class:`Tencentcloud::dnspod::V20210323::DeleteRecordGroupRequest`
372
+ # @rtype: :class:`Tencentcloud::dnspod::V20210323::DeleteRecordGroupResponse`
373
+ def DeleteRecordGroup(request)
374
+ body = send_request('DeleteRecordGroup', request.serialize)
375
+ response = JSON.parse(body)
376
+ if response['Response'].key?('Error') == false
377
+ model = DeleteRecordGroupResponse.new
378
+ model.deserialize(response['Response'])
379
+ model
380
+ else
381
+ code = response['Response']['Error']['Code']
382
+ message = response['Response']['Error']['Message']
383
+ reqid = response['Response']['RequestId']
384
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
385
+ end
386
+ rescue TencentCloud::Common::TencentCloudSDKException => e
387
+ raise e
388
+ rescue StandardError => e
389
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
390
+ end
391
+
344
392
  # 删除域名共享
345
393
 
346
394
  # @param request: Request instance for DeleteShareDomain.
@@ -629,6 +677,30 @@ module TencentCloud
629
677
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
630
678
  end
631
679
 
680
+ # 查询解析记录分组列表
681
+
682
+ # @param request: Request instance for DescribeRecordGroupList.
683
+ # @type request: :class:`Tencentcloud::dnspod::V20210323::DescribeRecordGroupListRequest`
684
+ # @rtype: :class:`Tencentcloud::dnspod::V20210323::DescribeRecordGroupListResponse`
685
+ def DescribeRecordGroupList(request)
686
+ body = send_request('DescribeRecordGroupList', request.serialize)
687
+ response = JSON.parse(body)
688
+ if response['Response'].key?('Error') == false
689
+ model = DescribeRecordGroupListResponse.new
690
+ model.deserialize(response['Response'])
691
+ model
692
+ else
693
+ code = response['Response']['Error']['Code']
694
+ message = response['Response']['Error']['Message']
695
+ reqid = response['Response']['RequestId']
696
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
697
+ end
698
+ rescue TencentCloud::Common::TencentCloudSDKException => e
699
+ raise e
700
+ rescue StandardError => e
701
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
702
+ end
703
+
632
704
  # 获取等级允许的线路
633
705
 
634
706
  # @param request: Request instance for DescribeRecordLineList.
@@ -1109,6 +1181,30 @@ module TencentCloud
1109
1181
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1110
1182
  end
1111
1183
 
1184
+ # 修改记录分组
1185
+
1186
+ # @param request: Request instance for ModifyRecordGroup.
1187
+ # @type request: :class:`Tencentcloud::dnspod::V20210323::ModifyRecordGroupRequest`
1188
+ # @rtype: :class:`Tencentcloud::dnspod::V20210323::ModifyRecordGroupResponse`
1189
+ def ModifyRecordGroup(request)
1190
+ body = send_request('ModifyRecordGroup', request.serialize)
1191
+ response = JSON.parse(body)
1192
+ if response['Response'].key?('Error') == false
1193
+ model = ModifyRecordGroupResponse.new
1194
+ model.deserialize(response['Response'])
1195
+ model
1196
+ else
1197
+ code = response['Response']['Error']['Code']
1198
+ message = response['Response']['Error']['Message']
1199
+ reqid = response['Response']['RequestId']
1200
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1201
+ end
1202
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1203
+ raise e
1204
+ rescue StandardError => e
1205
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1206
+ end
1207
+
1112
1208
  # 设置记录备注
1113
1209
 
1114
1210
  # @param request: Request instance for ModifyRecordRemark.
@@ -1157,6 +1253,30 @@ module TencentCloud
1157
1253
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1158
1254
  end
1159
1255
 
1256
+ # 将记录添加到分组
1257
+
1258
+ # @param request: Request instance for ModifyRecordToGroup.
1259
+ # @type request: :class:`Tencentcloud::dnspod::V20210323::ModifyRecordToGroupRequest`
1260
+ # @rtype: :class:`Tencentcloud::dnspod::V20210323::ModifyRecordToGroupResponse`
1261
+ def ModifyRecordToGroup(request)
1262
+ body = send_request('ModifyRecordToGroup', request.serialize)
1263
+ response = JSON.parse(body)
1264
+ if response['Response'].key?('Error') == false
1265
+ model = ModifyRecordToGroupResponse.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
+
1160
1280
  # 修改快照配置
1161
1281
 
1162
1282
  # @param request: Request instance for ModifySnapshotConfig.
@@ -824,6 +824,50 @@ module TencentCloud
824
824
  end
825
825
  end
826
826
 
827
+ # CreateRecordGroup请求参数结构体
828
+ class CreateRecordGroupRequest < TencentCloud::Common::AbstractModel
829
+ # @param Domain: 域名
830
+ # @type Domain: String
831
+ # @param GroupName: 分组名称
832
+ # @type GroupName: String
833
+ # @param DomainId: 域名 ID 。参数 DomainId 优先级比参数 Domain 高,如果传递参数 DomainId 将忽略参数 Domain 。
834
+ # @type DomainId: Integer
835
+
836
+ attr_accessor :Domain, :GroupName, :DomainId
837
+
838
+ def initialize(domain=nil, groupname=nil, domainid=nil)
839
+ @Domain = domain
840
+ @GroupName = groupname
841
+ @DomainId = domainid
842
+ end
843
+
844
+ def deserialize(params)
845
+ @Domain = params['Domain']
846
+ @GroupName = params['GroupName']
847
+ @DomainId = params['DomainId']
848
+ end
849
+ end
850
+
851
+ # CreateRecordGroup返回参数结构体
852
+ class CreateRecordGroupResponse < TencentCloud::Common::AbstractModel
853
+ # @param GroupId: 新增的分组 ID
854
+ # @type GroupId: Integer
855
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
856
+ # @type RequestId: String
857
+
858
+ attr_accessor :GroupId, :RequestId
859
+
860
+ def initialize(groupid=nil, requestid=nil)
861
+ @GroupId = groupid
862
+ @RequestId = requestid
863
+ end
864
+
865
+ def deserialize(params)
866
+ @GroupId = params['GroupId']
867
+ @RequestId = params['RequestId']
868
+ end
869
+ end
870
+
827
871
  # CreateRecord请求参数结构体
828
872
  class CreateRecordRequest < TencentCloud::Common::AbstractModel
829
873
  # @param Domain: 域名
@@ -1032,6 +1076,46 @@ module TencentCloud
1032
1076
  end
1033
1077
  end
1034
1078
 
1079
+ # DeleteRecordGroup请求参数结构体
1080
+ class DeleteRecordGroupRequest < TencentCloud::Common::AbstractModel
1081
+ # @param Domain: 域名
1082
+ # @type Domain: String
1083
+ # @param GroupId: 分组 ID
1084
+ # @type GroupId: Integer
1085
+ # @param DomainId: 域名 ID 。参数 DomainId 优先级比参数 Domain 高,如果传递参数 DomainId 将忽略参数 Domain 。
1086
+ # @type DomainId: Integer
1087
+
1088
+ attr_accessor :Domain, :GroupId, :DomainId
1089
+
1090
+ def initialize(domain=nil, groupid=nil, domainid=nil)
1091
+ @Domain = domain
1092
+ @GroupId = groupid
1093
+ @DomainId = domainid
1094
+ end
1095
+
1096
+ def deserialize(params)
1097
+ @Domain = params['Domain']
1098
+ @GroupId = params['GroupId']
1099
+ @DomainId = params['DomainId']
1100
+ end
1101
+ end
1102
+
1103
+ # DeleteRecordGroup返回参数结构体
1104
+ class DeleteRecordGroupResponse < TencentCloud::Common::AbstractModel
1105
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1106
+ # @type RequestId: String
1107
+
1108
+ attr_accessor :RequestId
1109
+
1110
+ def initialize(requestid=nil)
1111
+ @RequestId = requestid
1112
+ end
1113
+
1114
+ def deserialize(params)
1115
+ @RequestId = params['RequestId']
1116
+ end
1117
+ end
1118
+
1035
1119
  # DeleteRecord请求参数结构体
1036
1120
  class DeleteRecordRequest < TencentCloud::Common::AbstractModel
1037
1121
  # @param Domain: 域名
@@ -1699,6 +1783,61 @@ module TencentCloud
1699
1783
  end
1700
1784
  end
1701
1785
 
1786
+ # DescribeRecordGroupList请求参数结构体
1787
+ class DescribeRecordGroupListRequest < TencentCloud::Common::AbstractModel
1788
+ # @param Domain: 域名
1789
+ # @type Domain: String
1790
+ # @param DomainId: 域名 ID 。参数 DomainId 优先级比参数 Domain 高,如果传递参数 DomainId 将忽略参数 Domain 。
1791
+ # @type DomainId: Integer
1792
+ # @param Offset: 分页开始位置
1793
+ # @type Offset: Integer
1794
+ # @param Limit: 分页每页数
1795
+ # @type Limit: Integer
1796
+
1797
+ attr_accessor :Domain, :DomainId, :Offset, :Limit
1798
+
1799
+ def initialize(domain=nil, domainid=nil, offset=nil, limit=nil)
1800
+ @Domain = domain
1801
+ @DomainId = domainid
1802
+ @Offset = offset
1803
+ @Limit = limit
1804
+ end
1805
+
1806
+ def deserialize(params)
1807
+ @Domain = params['Domain']
1808
+ @DomainId = params['DomainId']
1809
+ @Offset = params['Offset']
1810
+ @Limit = params['Limit']
1811
+ end
1812
+ end
1813
+
1814
+ # DescribeRecordGroupList返回参数结构体
1815
+ class DescribeRecordGroupListResponse < TencentCloud::Common::AbstractModel
1816
+ # @param GroupList: 分组列表
1817
+ # @type GroupList: Array
1818
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1819
+ # @type RequestId: String
1820
+
1821
+ attr_accessor :GroupList, :RequestId
1822
+
1823
+ def initialize(grouplist=nil, requestid=nil)
1824
+ @GroupList = grouplist
1825
+ @RequestId = requestid
1826
+ end
1827
+
1828
+ def deserialize(params)
1829
+ unless params['GroupList'].nil?
1830
+ @GroupList = []
1831
+ params['GroupList'].each do |i|
1832
+ recordgroupinfo_tmp = RecordGroupInfo.new
1833
+ recordgroupinfo_tmp.deserialize(i)
1834
+ @GroupList << recordgroupinfo_tmp
1835
+ end
1836
+ end
1837
+ @RequestId = params['RequestId']
1838
+ end
1839
+ end
1840
+
1702
1841
  # DescribeRecordLineList请求参数结构体
1703
1842
  class DescribeRecordLineListRequest < TencentCloud::Common::AbstractModel
1704
1843
  # @param Domain: 域名。
@@ -3403,6 +3542,54 @@ module TencentCloud
3403
3542
  end
3404
3543
  end
3405
3544
 
3545
+ # ModifyRecordGroup请求参数结构体
3546
+ class ModifyRecordGroupRequest < TencentCloud::Common::AbstractModel
3547
+ # @param Domain: 域名
3548
+ # @type Domain: String
3549
+ # @param GroupName: 分组名称
3550
+ # @type GroupName: String
3551
+ # @param GroupId: 要修改的分组 ID
3552
+ # @type GroupId: Integer
3553
+ # @param DomainId: 域名 ID 。参数 DomainId 优先级比参数 Domain 高,如果传递参数 DomainId 将忽略参数 Domain 。
3554
+ # @type DomainId: Integer
3555
+
3556
+ attr_accessor :Domain, :GroupName, :GroupId, :DomainId
3557
+
3558
+ def initialize(domain=nil, groupname=nil, groupid=nil, domainid=nil)
3559
+ @Domain = domain
3560
+ @GroupName = groupname
3561
+ @GroupId = groupid
3562
+ @DomainId = domainid
3563
+ end
3564
+
3565
+ def deserialize(params)
3566
+ @Domain = params['Domain']
3567
+ @GroupName = params['GroupName']
3568
+ @GroupId = params['GroupId']
3569
+ @DomainId = params['DomainId']
3570
+ end
3571
+ end
3572
+
3573
+ # ModifyRecordGroup返回参数结构体
3574
+ class ModifyRecordGroupResponse < TencentCloud::Common::AbstractModel
3575
+ # @param GroupId: 修改的分组 ID
3576
+ # @type GroupId: Integer
3577
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3578
+ # @type RequestId: String
3579
+
3580
+ attr_accessor :GroupId, :RequestId
3581
+
3582
+ def initialize(groupid=nil, requestid=nil)
3583
+ @GroupId = groupid
3584
+ @RequestId = requestid
3585
+ end
3586
+
3587
+ def deserialize(params)
3588
+ @GroupId = params['GroupId']
3589
+ @RequestId = params['RequestId']
3590
+ end
3591
+ end
3592
+
3406
3593
  # ModifyRecordRemark请求参数结构体
3407
3594
  class ModifyRecordRemarkRequest < TencentCloud::Common::AbstractModel
3408
3595
  # @param Domain: 域名
@@ -3575,6 +3762,50 @@ module TencentCloud
3575
3762
  end
3576
3763
  end
3577
3764
 
3765
+ # ModifyRecordToGroup请求参数结构体
3766
+ class ModifyRecordToGroupRequest < TencentCloud::Common::AbstractModel
3767
+ # @param Domain: 域名
3768
+ # @type Domain: String
3769
+ # @param GroupId: 分组 ID
3770
+ # @type GroupId: Integer
3771
+ # @param RecordId: 记录 ID,多个 ID 用竖线“|”分割
3772
+ # @type RecordId: String
3773
+ # @param DomainId: 域名 ID 。参数 DomainId 优先级比参数 Domain 高,如果传递参数 DomainId 将忽略参数 Domain 。
3774
+ # @type DomainId: Integer
3775
+
3776
+ attr_accessor :Domain, :GroupId, :RecordId, :DomainId
3777
+
3778
+ def initialize(domain=nil, groupid=nil, recordid=nil, domainid=nil)
3779
+ @Domain = domain
3780
+ @GroupId = groupid
3781
+ @RecordId = recordid
3782
+ @DomainId = domainid
3783
+ end
3784
+
3785
+ def deserialize(params)
3786
+ @Domain = params['Domain']
3787
+ @GroupId = params['GroupId']
3788
+ @RecordId = params['RecordId']
3789
+ @DomainId = params['DomainId']
3790
+ end
3791
+ end
3792
+
3793
+ # ModifyRecordToGroup返回参数结构体
3794
+ class ModifyRecordToGroupResponse < TencentCloud::Common::AbstractModel
3795
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3796
+ # @type RequestId: String
3797
+
3798
+ attr_accessor :RequestId
3799
+
3800
+ def initialize(requestid=nil)
3801
+ @RequestId = requestid
3802
+ end
3803
+
3804
+ def deserialize(params)
3805
+ @RequestId = params['RequestId']
3806
+ end
3807
+ end
3808
+
3578
3809
  # ModifySnapshotConfig请求参数结构体
3579
3810
  class ModifySnapshotConfigRequest < TencentCloud::Common::AbstractModel
3580
3811
  # @param Domain: 域名
@@ -3791,6 +4022,30 @@ module TencentCloud
3791
4022
  end
3792
4023
  end
3793
4024
 
4025
+ # 解析记录分组信息
4026
+ class RecordGroupInfo < TencentCloud::Common::AbstractModel
4027
+ # @param GroupId: 分组 ID
4028
+ # @type GroupId: Integer
4029
+ # @param GroupName: 分组名称
4030
+ # @type GroupName: String
4031
+ # @param GroupType: 分组类型:system-系统;user-用户
4032
+ # @type GroupType: String
4033
+
4034
+ attr_accessor :GroupId, :GroupName, :GroupType
4035
+
4036
+ def initialize(groupid=nil, groupname=nil, grouptype=nil)
4037
+ @GroupId = groupid
4038
+ @GroupName = groupname
4039
+ @GroupType = grouptype
4040
+ end
4041
+
4042
+ def deserialize(params)
4043
+ @GroupId = params['GroupId']
4044
+ @GroupName = params['GroupName']
4045
+ @GroupType = params['GroupType']
4046
+ end
4047
+ end
4048
+
3794
4049
  # 记录信息
3795
4050
  class RecordInfo < TencentCloud::Common::AbstractModel
3796
4051
  # @param Id: 记录 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.456
4
+ version: 3.0.457
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-11-22 00:00:00.000000000 Z
11
+ date: 2022-11-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common