tencentcloud-sdk-privatedns 3.0.933 → 3.0.935

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: 4cd54dc1b84338554cfdf8847f26c1f2046fd573
4
- data.tar.gz: 7d5bab0299f7326e44eb96900b81bb52b0e8964d
3
+ metadata.gz: f387b9eff43f905a2cef9970d6988362dcb4b526
4
+ data.tar.gz: 1d4af8097b8d475afc5518c6f596a6c8ac27f17f
5
5
  SHA512:
6
- metadata.gz: 5f60655303a0010a5ddca611b57be1f184c02ecdbee02a20e943edbf8748c39ca165b5b959511d3584603087013d71493b7877990a65a5cc2d9347fa76a28b33
7
- data.tar.gz: be30d5b4ee7dfb68230934714ace49bd4e33453b6a08a71c73a085da19e5eb8d9f9139cd1cae23eef3dd4dd5dfad733dd66f707b5e8efa0f79a619356ce4cec6
6
+ metadata.gz: bd807d2df7106c0d0eeefad8b66c19bb00f13bdddf20f64d5d32857bb4c4eeab5b1ded669f7cb622d4da52f7641ffe296aee043293af1511691a7e310358942c
7
+ data.tar.gz: 33006589ae2a4b2eee289fa2f0361fd828ab078137423623bb668047dc3ca901d31e7d63839b36072ea2bb57c20e1f37129fbc4f5bfb52fea4aa548428c51eab
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.933
1
+ 3.0.935
@@ -77,6 +77,54 @@ module TencentCloud
77
77
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
78
78
  end
79
79
 
80
+ # 同时创建终端节点和终端节点服务
81
+
82
+ # @param request: Request instance for CreateEndPointAndEndPointService.
83
+ # @type request: :class:`Tencentcloud::privatedns::V20201028::CreateEndPointAndEndPointServiceRequest`
84
+ # @rtype: :class:`Tencentcloud::privatedns::V20201028::CreateEndPointAndEndPointServiceResponse`
85
+ def CreateEndPointAndEndPointService(request)
86
+ body = send_request('CreateEndPointAndEndPointService', request.serialize)
87
+ response = JSON.parse(body)
88
+ if response['Response'].key?('Error') == false
89
+ model = CreateEndPointAndEndPointServiceResponse.new
90
+ model.deserialize(response['Response'])
91
+ model
92
+ else
93
+ code = response['Response']['Error']['Code']
94
+ message = response['Response']['Error']['Message']
95
+ reqid = response['Response']['RequestId']
96
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
97
+ end
98
+ rescue TencentCloud::Common::TencentCloudSDKException => e
99
+ raise e
100
+ rescue StandardError => e
101
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
102
+ end
103
+
104
+ # 创建自定义转发规则
105
+
106
+ # @param request: Request instance for CreateForwardRule.
107
+ # @type request: :class:`Tencentcloud::privatedns::V20201028::CreateForwardRuleRequest`
108
+ # @rtype: :class:`Tencentcloud::privatedns::V20201028::CreateForwardRuleResponse`
109
+ def CreateForwardRule(request)
110
+ body = send_request('CreateForwardRule', request.serialize)
111
+ response = JSON.parse(body)
112
+ if response['Response'].key?('Error') == false
113
+ model = CreateForwardRuleResponse.new
114
+ model.deserialize(response['Response'])
115
+ model
116
+ else
117
+ code = response['Response']['Error']['Code']
118
+ message = response['Response']['Error']['Message']
119
+ reqid = response['Response']['RequestId']
120
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
121
+ end
122
+ rescue TencentCloud::Common::TencentCloudSDKException => e
123
+ raise e
124
+ rescue StandardError => e
125
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
126
+ end
127
+
80
128
  # 创建私有域解析账号
81
129
 
82
130
  # @param request: Request instance for CreatePrivateDNSAccount.
@@ -341,6 +389,54 @@ module TencentCloud
341
389
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
342
390
  end
343
391
 
392
+ # 获取终端节点列表
393
+
394
+ # @param request: Request instance for DescribeEndPointList.
395
+ # @type request: :class:`Tencentcloud::privatedns::V20201028::DescribeEndPointListRequest`
396
+ # @rtype: :class:`Tencentcloud::privatedns::V20201028::DescribeEndPointListResponse`
397
+ def DescribeEndPointList(request)
398
+ body = send_request('DescribeEndPointList', request.serialize)
399
+ response = JSON.parse(body)
400
+ if response['Response'].key?('Error') == false
401
+ model = DescribeEndPointListResponse.new
402
+ model.deserialize(response['Response'])
403
+ model
404
+ else
405
+ code = response['Response']['Error']['Code']
406
+ message = response['Response']['Error']['Message']
407
+ reqid = response['Response']['RequestId']
408
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
409
+ end
410
+ rescue TencentCloud::Common::TencentCloudSDKException => e
411
+ raise e
412
+ rescue StandardError => e
413
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
414
+ end
415
+
416
+ # 查询转发规则列表
417
+
418
+ # @param request: Request instance for DescribeForwardRuleList.
419
+ # @type request: :class:`Tencentcloud::privatedns::V20201028::DescribeForwardRuleListRequest`
420
+ # @rtype: :class:`Tencentcloud::privatedns::V20201028::DescribeForwardRuleListResponse`
421
+ def DescribeForwardRuleList(request)
422
+ body = send_request('DescribeForwardRuleList', request.serialize)
423
+ response = JSON.parse(body)
424
+ if response['Response'].key?('Error') == false
425
+ model = DescribeForwardRuleListResponse.new
426
+ model.deserialize(response['Response'])
427
+ model
428
+ else
429
+ code = response['Response']['Error']['Code']
430
+ message = response['Response']['Error']['Message']
431
+ reqid = response['Response']['RequestId']
432
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
433
+ end
434
+ rescue TencentCloud::Common::TencentCloudSDKException => e
435
+ raise e
436
+ rescue StandardError => e
437
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
438
+ end
439
+
344
440
  # 获取私有域解析账号列表
345
441
 
346
442
  # @param request: Request instance for DescribePrivateDNSAccountList.
@@ -248,6 +248,82 @@ module TencentCloud
248
248
  end
249
249
  end
250
250
 
251
+ # CreateEndPointAndEndPointService请求参数结构体
252
+ class CreateEndPointAndEndPointServiceRequest < TencentCloud::Common::AbstractModel
253
+ # @param VpcId: VPC实例ID
254
+ # @type VpcId: String
255
+ # @param AutoAcceptFlag: 是否自动接受
256
+ # @type AutoAcceptFlag: Boolean
257
+ # @param ServiceInstanceId: 后端服务ID
258
+ # @type ServiceInstanceId: String
259
+ # @param EndPointName: 终端节点名称
260
+ # @type EndPointName: String
261
+ # @param EndPointRegion: 终端节点地域,必须要和终端节点服务所属地域一致
262
+ # @type EndPointRegion: String
263
+ # @param EndPointServiceName: 终端节点服务名称
264
+ # @type EndPointServiceName: String
265
+ # @param ServiceType: 挂载的PAAS服务类型,CLB,CDB,CRS
266
+ # @type ServiceType: String
267
+ # @param IpNum: 终端节点ip数量
268
+ # @type IpNum: Integer
269
+
270
+ attr_accessor :VpcId, :AutoAcceptFlag, :ServiceInstanceId, :EndPointName, :EndPointRegion, :EndPointServiceName, :ServiceType, :IpNum
271
+
272
+ def initialize(vpcid=nil, autoacceptflag=nil, serviceinstanceid=nil, endpointname=nil, endpointregion=nil, endpointservicename=nil, servicetype=nil, ipnum=nil)
273
+ @VpcId = vpcid
274
+ @AutoAcceptFlag = autoacceptflag
275
+ @ServiceInstanceId = serviceinstanceid
276
+ @EndPointName = endpointname
277
+ @EndPointRegion = endpointregion
278
+ @EndPointServiceName = endpointservicename
279
+ @ServiceType = servicetype
280
+ @IpNum = ipnum
281
+ end
282
+
283
+ def deserialize(params)
284
+ @VpcId = params['VpcId']
285
+ @AutoAcceptFlag = params['AutoAcceptFlag']
286
+ @ServiceInstanceId = params['ServiceInstanceId']
287
+ @EndPointName = params['EndPointName']
288
+ @EndPointRegion = params['EndPointRegion']
289
+ @EndPointServiceName = params['EndPointServiceName']
290
+ @ServiceType = params['ServiceType']
291
+ @IpNum = params['IpNum']
292
+ end
293
+ end
294
+
295
+ # CreateEndPointAndEndPointService返回参数结构体
296
+ class CreateEndPointAndEndPointServiceResponse < TencentCloud::Common::AbstractModel
297
+ # @param EndPointId: 终端节点id
298
+ # @type EndPointId: String
299
+ # @param EndPointName: 终端节点名
300
+ # @type EndPointName: String
301
+ # @param EndPointServiceId: 终端节点服务ID
302
+ # @type EndPointServiceId: String
303
+ # @param EndPointVipSet: 终端节点的IP列表
304
+ # @type EndPointVipSet: Array
305
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
306
+ # @type RequestId: String
307
+
308
+ attr_accessor :EndPointId, :EndPointName, :EndPointServiceId, :EndPointVipSet, :RequestId
309
+
310
+ def initialize(endpointid=nil, endpointname=nil, endpointserviceid=nil, endpointvipset=nil, requestid=nil)
311
+ @EndPointId = endpointid
312
+ @EndPointName = endpointname
313
+ @EndPointServiceId = endpointserviceid
314
+ @EndPointVipSet = endpointvipset
315
+ @RequestId = requestid
316
+ end
317
+
318
+ def deserialize(params)
319
+ @EndPointId = params['EndPointId']
320
+ @EndPointName = params['EndPointName']
321
+ @EndPointServiceId = params['EndPointServiceId']
322
+ @EndPointVipSet = params['EndPointVipSet']
323
+ @RequestId = params['RequestId']
324
+ end
325
+ end
326
+
251
327
  # CreateEndPoint请求参数结构体
252
328
  class CreateEndPointRequest < TencentCloud::Common::AbstractModel
253
329
  # @param EndPointName: 终端节点名称
@@ -308,6 +384,70 @@ module TencentCloud
308
384
  end
309
385
  end
310
386
 
387
+ # CreateForwardRule请求参数结构体
388
+ class CreateForwardRuleRequest < TencentCloud::Common::AbstractModel
389
+ # @param RuleName: 转发规则名称
390
+ # @type RuleName: String
391
+ # @param RuleType: 转发规则类型:云上到云下DOWN,云下到云上UP
392
+ # @type RuleType: String
393
+ # @param ZoneId: 私有域ID,可在私有域列表页面查看
394
+ # @type ZoneId: String
395
+ # @param EndPointId: 终端节点ID
396
+ # @type EndPointId: String
397
+
398
+ attr_accessor :RuleName, :RuleType, :ZoneId, :EndPointId
399
+
400
+ def initialize(rulename=nil, ruletype=nil, zoneid=nil, endpointid=nil)
401
+ @RuleName = rulename
402
+ @RuleType = ruletype
403
+ @ZoneId = zoneid
404
+ @EndPointId = endpointid
405
+ end
406
+
407
+ def deserialize(params)
408
+ @RuleName = params['RuleName']
409
+ @RuleType = params['RuleType']
410
+ @ZoneId = params['ZoneId']
411
+ @EndPointId = params['EndPointId']
412
+ end
413
+ end
414
+
415
+ # CreateForwardRule返回参数结构体
416
+ class CreateForwardRuleResponse < TencentCloud::Common::AbstractModel
417
+ # @param RuleId: 转发规则ID
418
+ # @type RuleId: String
419
+ # @param RuleName: 转发规则名称
420
+ # @type RuleName: String
421
+ # @param RuleType: 转发规则类型
422
+ # @type RuleType: String
423
+ # @param ZoneId: 私有域ID
424
+ # @type ZoneId: String
425
+ # @param EndPointId: 终端节点ID
426
+ # @type EndPointId: String
427
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
428
+ # @type RequestId: String
429
+
430
+ attr_accessor :RuleId, :RuleName, :RuleType, :ZoneId, :EndPointId, :RequestId
431
+
432
+ def initialize(ruleid=nil, rulename=nil, ruletype=nil, zoneid=nil, endpointid=nil, requestid=nil)
433
+ @RuleId = ruleid
434
+ @RuleName = rulename
435
+ @RuleType = ruletype
436
+ @ZoneId = zoneid
437
+ @EndPointId = endpointid
438
+ @RequestId = requestid
439
+ end
440
+
441
+ def deserialize(params)
442
+ @RuleId = params['RuleId']
443
+ @RuleName = params['RuleName']
444
+ @RuleType = params['RuleType']
445
+ @ZoneId = params['ZoneId']
446
+ @EndPointId = params['EndPointId']
447
+ @RequestId = params['RequestId']
448
+ end
449
+ end
450
+
311
451
  # CreatePrivateDNSAccount请求参数结构体
312
452
  class CreatePrivateDNSAccountRequest < TencentCloud::Common::AbstractModel
313
453
  # @param Account: 私有域解析账号
@@ -933,6 +1073,131 @@ module TencentCloud
933
1073
  end
934
1074
  end
935
1075
 
1076
+ # DescribeEndPointList请求参数结构体
1077
+ class DescribeEndPointListRequest < TencentCloud::Common::AbstractModel
1078
+ # @param Offset: 分页偏移量,从0开始
1079
+ # @type Offset: Integer
1080
+ # @param Limit: 分页限制数目, 最大100,默认20
1081
+ # @type Limit: Integer
1082
+ # @param Filters: 过滤参数,支持EndPointName,EndPointId,EndPointServiceId,EndPointVip
1083
+ # @type Filters: Array
1084
+
1085
+ attr_accessor :Offset, :Limit, :Filters
1086
+
1087
+ def initialize(offset=nil, limit=nil, filters=nil)
1088
+ @Offset = offset
1089
+ @Limit = limit
1090
+ @Filters = filters
1091
+ end
1092
+
1093
+ def deserialize(params)
1094
+ @Offset = params['Offset']
1095
+ @Limit = params['Limit']
1096
+ unless params['Filters'].nil?
1097
+ @Filters = []
1098
+ params['Filters'].each do |i|
1099
+ filter_tmp = Filter.new
1100
+ filter_tmp.deserialize(i)
1101
+ @Filters << filter_tmp
1102
+ end
1103
+ end
1104
+ end
1105
+ end
1106
+
1107
+ # DescribeEndPointList返回参数结构体
1108
+ class DescribeEndPointListResponse < TencentCloud::Common::AbstractModel
1109
+ # @param TotalCount: 终端节点总数
1110
+ # @type TotalCount: Integer
1111
+ # @param EndPointSet: 终端节点列表
1112
+ # 注意:此字段可能返回 null,表示取不到有效值。
1113
+ # @type EndPointSet: Array
1114
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1115
+ # @type RequestId: String
1116
+
1117
+ attr_accessor :TotalCount, :EndPointSet, :RequestId
1118
+
1119
+ def initialize(totalcount=nil, endpointset=nil, requestid=nil)
1120
+ @TotalCount = totalcount
1121
+ @EndPointSet = endpointset
1122
+ @RequestId = requestid
1123
+ end
1124
+
1125
+ def deserialize(params)
1126
+ @TotalCount = params['TotalCount']
1127
+ unless params['EndPointSet'].nil?
1128
+ @EndPointSet = []
1129
+ params['EndPointSet'].each do |i|
1130
+ endpointinfo_tmp = EndPointInfo.new
1131
+ endpointinfo_tmp.deserialize(i)
1132
+ @EndPointSet << endpointinfo_tmp
1133
+ end
1134
+ end
1135
+ @RequestId = params['RequestId']
1136
+ end
1137
+ end
1138
+
1139
+ # DescribeForwardRuleList请求参数结构体
1140
+ class DescribeForwardRuleListRequest < TencentCloud::Common::AbstractModel
1141
+ # @param Offset: 分页偏移量,从0开始
1142
+ # @type Offset: Integer
1143
+ # @param Limit: 分页限制数目, 最大100,默认20
1144
+ # @type Limit: Integer
1145
+ # @param Filters: 过滤参数
1146
+ # @type Filters: Array
1147
+
1148
+ attr_accessor :Offset, :Limit, :Filters
1149
+
1150
+ def initialize(offset=nil, limit=nil, filters=nil)
1151
+ @Offset = offset
1152
+ @Limit = limit
1153
+ @Filters = filters
1154
+ end
1155
+
1156
+ def deserialize(params)
1157
+ @Offset = params['Offset']
1158
+ @Limit = params['Limit']
1159
+ unless params['Filters'].nil?
1160
+ @Filters = []
1161
+ params['Filters'].each do |i|
1162
+ filter_tmp = Filter.new
1163
+ filter_tmp.deserialize(i)
1164
+ @Filters << filter_tmp
1165
+ end
1166
+ end
1167
+ end
1168
+ end
1169
+
1170
+ # DescribeForwardRuleList返回参数结构体
1171
+ class DescribeForwardRuleListResponse < TencentCloud::Common::AbstractModel
1172
+ # @param TotalCount: 私有域数量
1173
+ # @type TotalCount: Integer
1174
+ # @param ForwardRuleSet: 私有域列表
1175
+ # @type ForwardRuleSet: Array
1176
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1177
+ # @type RequestId: String
1178
+
1179
+ attr_accessor :TotalCount, :ForwardRuleSet, :RequestId
1180
+
1181
+ def initialize(totalcount=nil, forwardruleset=nil, requestid=nil)
1182
+ @TotalCount = totalcount
1183
+ @ForwardRuleSet = forwardruleset
1184
+ @RequestId = requestid
1185
+ end
1186
+
1187
+ def deserialize(params)
1188
+ @TotalCount = params['TotalCount']
1189
+ unless params['ForwardRuleSet'].nil?
1190
+ @ForwardRuleSet = []
1191
+ params['ForwardRuleSet'].each do |i|
1192
+ forwardrule_tmp = ForwardRule.new
1193
+ forwardrule_tmp.deserialize(i)
1194
+ @ForwardRuleSet << forwardrule_tmp
1195
+ end
1196
+ end
1197
+ @RequestId = params['RequestId']
1198
+ end
1199
+ end
1200
+
936
1201
  # DescribePrivateDNSAccountList请求参数结构体
937
1202
  class DescribePrivateDNSAccountListRequest < TencentCloud::Common::AbstractModel
938
1203
  # @param Offset: 分页偏移量,从0开始
@@ -1289,6 +1554,51 @@ module TencentCloud
1289
1554
  end
1290
1555
  end
1291
1556
 
1557
+ # 终端节点信息
1558
+ class EndPointInfo < TencentCloud::Common::AbstractModel
1559
+ # @param EndPointId: 终端节点ID
1560
+ # @type EndPointId: String
1561
+ # @param EndPointName: 终端节点名称
1562
+ # @type EndPointName: String
1563
+ # @param EndPointServiceId: 终端节点服务ID
1564
+ # @type EndPointServiceId: String
1565
+ # @param EndPointVipSet: 终端节点VIP列表
1566
+ # @type EndPointVipSet: Array
1567
+ # @param RegionCode: ap-guangzhou
1568
+ # 注意:此字段可能返回 null,表示取不到有效值。
1569
+ # @type RegionCode: String
1570
+ # @param Tags: 标签键值对集合
1571
+ # 注意:此字段可能返回 null,表示取不到有效值。
1572
+ # @type Tags: Array
1573
+
1574
+ attr_accessor :EndPointId, :EndPointName, :EndPointServiceId, :EndPointVipSet, :RegionCode, :Tags
1575
+
1576
+ def initialize(endpointid=nil, endpointname=nil, endpointserviceid=nil, endpointvipset=nil, regioncode=nil, tags=nil)
1577
+ @EndPointId = endpointid
1578
+ @EndPointName = endpointname
1579
+ @EndPointServiceId = endpointserviceid
1580
+ @EndPointVipSet = endpointvipset
1581
+ @RegionCode = regioncode
1582
+ @Tags = tags
1583
+ end
1584
+
1585
+ def deserialize(params)
1586
+ @EndPointId = params['EndPointId']
1587
+ @EndPointName = params['EndPointName']
1588
+ @EndPointServiceId = params['EndPointServiceId']
1589
+ @EndPointVipSet = params['EndPointVipSet']
1590
+ @RegionCode = params['RegionCode']
1591
+ unless params['Tags'].nil?
1592
+ @Tags = []
1593
+ params['Tags'].each do |i|
1594
+ taginfo_tmp = TagInfo.new
1595
+ taginfo_tmp.deserialize(i)
1596
+ @Tags << taginfo_tmp
1597
+ end
1598
+ end
1599
+ end
1600
+ end
1601
+
1292
1602
  # 筛选参数
1293
1603
  class Filter < TencentCloud::Common::AbstractModel
1294
1604
  # @param Name: 参数名
@@ -1333,6 +1643,82 @@ module TencentCloud
1333
1643
  end
1334
1644
  end
1335
1645
 
1646
+ # 转发规则详情
1647
+ class ForwardRule < TencentCloud::Common::AbstractModel
1648
+ # @param Domain: 私有域名
1649
+ # @type Domain: String
1650
+ # @param RuleName: 转发规则名称
1651
+ # @type RuleName: String
1652
+ # @param RuleId: 规则id
1653
+ # @type RuleId: String
1654
+ # @param RuleType: 转发规则类型:云上到云下DOWN、云下到云上DOWN
1655
+ # @type RuleType: String
1656
+ # @param CreatedAt: 创建时间
1657
+ # @type CreatedAt: String
1658
+ # @param UpdatedAt: 更新时间
1659
+ # @type UpdatedAt: String
1660
+ # @param EndPointName: 终端节点名称
1661
+ # @type EndPointName: String
1662
+ # @param EndPointId: 终端节点ID
1663
+ # @type EndPointId: String
1664
+ # @param ForwardAddress: 转发地址
1665
+ # @type ForwardAddress: Array
1666
+ # @param VpcSet: 私有域绑定的vpc列表
1667
+ # 注意:此字段可能返回 null,表示取不到有效值。
1668
+ # @type VpcSet: Array
1669
+ # @param ZoneId: 绑定的私有域ID
1670
+ # @type ZoneId: String
1671
+ # @param Tags: 标签
1672
+ # 注意:此字段可能返回 null,表示取不到有效值。
1673
+ # @type Tags: Array
1674
+
1675
+ attr_accessor :Domain, :RuleName, :RuleId, :RuleType, :CreatedAt, :UpdatedAt, :EndPointName, :EndPointId, :ForwardAddress, :VpcSet, :ZoneId, :Tags
1676
+
1677
+ def initialize(domain=nil, rulename=nil, ruleid=nil, ruletype=nil, createdat=nil, updatedat=nil, endpointname=nil, endpointid=nil, forwardaddress=nil, vpcset=nil, zoneid=nil, tags=nil)
1678
+ @Domain = domain
1679
+ @RuleName = rulename
1680
+ @RuleId = ruleid
1681
+ @RuleType = ruletype
1682
+ @CreatedAt = createdat
1683
+ @UpdatedAt = updatedat
1684
+ @EndPointName = endpointname
1685
+ @EndPointId = endpointid
1686
+ @ForwardAddress = forwardaddress
1687
+ @VpcSet = vpcset
1688
+ @ZoneId = zoneid
1689
+ @Tags = tags
1690
+ end
1691
+
1692
+ def deserialize(params)
1693
+ @Domain = params['Domain']
1694
+ @RuleName = params['RuleName']
1695
+ @RuleId = params['RuleId']
1696
+ @RuleType = params['RuleType']
1697
+ @CreatedAt = params['CreatedAt']
1698
+ @UpdatedAt = params['UpdatedAt']
1699
+ @EndPointName = params['EndPointName']
1700
+ @EndPointId = params['EndPointId']
1701
+ @ForwardAddress = params['ForwardAddress']
1702
+ unless params['VpcSet'].nil?
1703
+ @VpcSet = []
1704
+ params['VpcSet'].each do |i|
1705
+ vpcinfo_tmp = VpcInfo.new
1706
+ vpcinfo_tmp.deserialize(i)
1707
+ @VpcSet << vpcinfo_tmp
1708
+ end
1709
+ end
1710
+ @ZoneId = params['ZoneId']
1711
+ unless params['Tags'].nil?
1712
+ @Tags = []
1713
+ params['Tags'].each do |i|
1714
+ taginfo_tmp = TagInfo.new
1715
+ taginfo_tmp.deserialize(i)
1716
+ @Tags << taginfo_tmp
1717
+ end
1718
+ end
1719
+ end
1720
+ end
1721
+
1336
1722
  # 统计数据表
1337
1723
  class MetricData < TencentCloud::Common::AbstractModel
1338
1724
  # @param Resource: 资源描述
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-privatedns
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.933
4
+ version: 3.0.935
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-10-31 00:00:00.000000000 Z
11
+ date: 2024-11-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common