tencentcloud-sdk-privatedns 3.0.1138 → 3.0.1154

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 625f50171748f72d66afaef575023a9f884f8f30
4
- data.tar.gz: 3cbd9618c5a5a0dbe8f38c159cf39d2fd4403d1e
3
+ metadata.gz: e44801448a0c56c42ab930f2fc452c04549e2e7f
4
+ data.tar.gz: ed485ca277ef7dbd7bf5a29518bf5550f3343408
5
5
  SHA512:
6
- metadata.gz: 528fa984319b099de97844d68bb3d12b3cbc402a27d9e84d3385e5daf29cfd0c7c2ecf7ef0b4b4254005f4233d7e8daf547bb65480c5a8a8ab7cd790e082791a
7
- data.tar.gz: f1cc5ee2218703268202d81de43d93e9e8f37c3bc34090302506e5069488be0c932c2997d7f08e0c421410c1eb6fdb4821cde0aa47e65673e72226f0cde32a43
6
+ metadata.gz: 5910982ea6d9962f9f532655102b60a2fd96a34b806ffc796724f9889c08d7e613ba88758d0fe888c98f237ca69ca441bfdbc6645d972524612efd08d91d43af
7
+ data.tar.gz: 72a5091a17a3ea2277b71ba168c6a162dce0f36b97cddc4692de302df1bc5461ff55db6a37a6345d3efed00456dc260bc63318615948e10fe2acf4f7032b0422
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.1138
1
+ 3.0.1154
@@ -53,6 +53,78 @@ module TencentCloud
53
53
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
54
54
  end
55
55
 
56
+ # 创建终端节点
57
+
58
+ # @param request: Request instance for CreateExtendEndpoint.
59
+ # @type request: :class:`Tencentcloud::privatedns::V20201028::CreateExtendEndpointRequest`
60
+ # @rtype: :class:`Tencentcloud::privatedns::V20201028::CreateExtendEndpointResponse`
61
+ def CreateExtendEndpoint(request)
62
+ body = send_request('CreateExtendEndpoint', request.serialize)
63
+ response = JSON.parse(body)
64
+ if response['Response'].key?('Error') == false
65
+ model = CreateExtendEndpointResponse.new
66
+ model.deserialize(response['Response'])
67
+ model
68
+ else
69
+ code = response['Response']['Error']['Code']
70
+ message = response['Response']['Error']['Message']
71
+ reqid = response['Response']['RequestId']
72
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
73
+ end
74
+ rescue TencentCloud::Common::TencentCloudSDKException => e
75
+ raise e
76
+ rescue StandardError => e
77
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
78
+ end
79
+
80
+ # 创建自定义转发规则
81
+
82
+ # @param request: Request instance for CreateForwardRule.
83
+ # @type request: :class:`Tencentcloud::privatedns::V20201028::CreateForwardRuleRequest`
84
+ # @rtype: :class:`Tencentcloud::privatedns::V20201028::CreateForwardRuleResponse`
85
+ def CreateForwardRule(request)
86
+ body = send_request('CreateForwardRule', request.serialize)
87
+ response = JSON.parse(body)
88
+ if response['Response'].key?('Error') == false
89
+ model = CreateForwardRuleResponse.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 CreateInboundEndpoint.
107
+ # @type request: :class:`Tencentcloud::privatedns::V20201028::CreateInboundEndpointRequest`
108
+ # @rtype: :class:`Tencentcloud::privatedns::V20201028::CreateInboundEndpointResponse`
109
+ def CreateInboundEndpoint(request)
110
+ body = send_request('CreateInboundEndpoint', request.serialize)
111
+ response = JSON.parse(body)
112
+ if response['Response'].key?('Error') == false
113
+ model = CreateInboundEndpointResponse.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
+
56
128
  # 跨账号关联VPC时绑定其他账号
57
129
 
58
130
  # @param request: Request instance for CreatePrivateDNSAccount.
@@ -125,6 +197,78 @@ module TencentCloud
125
197
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
126
198
  end
127
199
 
200
+ # 删除终端节点
201
+
202
+ # @param request: Request instance for DeleteEndPoint.
203
+ # @type request: :class:`Tencentcloud::privatedns::V20201028::DeleteEndPointRequest`
204
+ # @rtype: :class:`Tencentcloud::privatedns::V20201028::DeleteEndPointResponse`
205
+ def DeleteEndPoint(request)
206
+ body = send_request('DeleteEndPoint', request.serialize)
207
+ response = JSON.parse(body)
208
+ if response['Response'].key?('Error') == false
209
+ model = DeleteEndPointResponse.new
210
+ model.deserialize(response['Response'])
211
+ model
212
+ else
213
+ code = response['Response']['Error']['Code']
214
+ message = response['Response']['Error']['Message']
215
+ reqid = response['Response']['RequestId']
216
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
217
+ end
218
+ rescue TencentCloud::Common::TencentCloudSDKException => e
219
+ raise e
220
+ rescue StandardError => e
221
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
222
+ end
223
+
224
+ # 删除转发规则并停止转发
225
+
226
+ # @param request: Request instance for DeleteForwardRule.
227
+ # @type request: :class:`Tencentcloud::privatedns::V20201028::DeleteForwardRuleRequest`
228
+ # @rtype: :class:`Tencentcloud::privatedns::V20201028::DeleteForwardRuleResponse`
229
+ def DeleteForwardRule(request)
230
+ body = send_request('DeleteForwardRule', request.serialize)
231
+ response = JSON.parse(body)
232
+ if response['Response'].key?('Error') == false
233
+ model = DeleteForwardRuleResponse.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
+
248
+ # 删除入站终端节点
249
+
250
+ # @param request: Request instance for DeleteInboundEndpoint.
251
+ # @type request: :class:`Tencentcloud::privatedns::V20201028::DeleteInboundEndpointRequest`
252
+ # @rtype: :class:`Tencentcloud::privatedns::V20201028::DeleteInboundEndpointResponse`
253
+ def DeleteInboundEndpoint(request)
254
+ body = send_request('DeleteInboundEndpoint', request.serialize)
255
+ response = JSON.parse(body)
256
+ if response['Response'].key?('Error') == false
257
+ model = DeleteInboundEndpointResponse.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
+
128
272
  # 删除私有域解析账号
129
273
 
130
274
  # @param request: Request instance for DeletePrivateDNSAccount.
@@ -293,6 +437,78 @@ module TencentCloud
293
437
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
294
438
  end
295
439
 
440
+ # 获取终端节点列表
441
+
442
+ # @param request: Request instance for DescribeExtendEndpointList.
443
+ # @type request: :class:`Tencentcloud::privatedns::V20201028::DescribeExtendEndpointListRequest`
444
+ # @rtype: :class:`Tencentcloud::privatedns::V20201028::DescribeExtendEndpointListResponse`
445
+ def DescribeExtendEndpointList(request)
446
+ body = send_request('DescribeExtendEndpointList', request.serialize)
447
+ response = JSON.parse(body)
448
+ if response['Response'].key?('Error') == false
449
+ model = DescribeExtendEndpointListResponse.new
450
+ model.deserialize(response['Response'])
451
+ model
452
+ else
453
+ code = response['Response']['Error']['Code']
454
+ message = response['Response']['Error']['Message']
455
+ reqid = response['Response']['RequestId']
456
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
457
+ end
458
+ rescue TencentCloud::Common::TencentCloudSDKException => e
459
+ raise e
460
+ rescue StandardError => e
461
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
462
+ end
463
+
464
+ # 查询转发规则列表
465
+
466
+ # @param request: Request instance for DescribeForwardRuleList.
467
+ # @type request: :class:`Tencentcloud::privatedns::V20201028::DescribeForwardRuleListRequest`
468
+ # @rtype: :class:`Tencentcloud::privatedns::V20201028::DescribeForwardRuleListResponse`
469
+ def DescribeForwardRuleList(request)
470
+ body = send_request('DescribeForwardRuleList', request.serialize)
471
+ response = JSON.parse(body)
472
+ if response['Response'].key?('Error') == false
473
+ model = DescribeForwardRuleListResponse.new
474
+ model.deserialize(response['Response'])
475
+ model
476
+ else
477
+ code = response['Response']['Error']['Code']
478
+ message = response['Response']['Error']['Message']
479
+ reqid = response['Response']['RequestId']
480
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
481
+ end
482
+ rescue TencentCloud::Common::TencentCloudSDKException => e
483
+ raise e
484
+ rescue StandardError => e
485
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
486
+ end
487
+
488
+ # 获取入站终端节点列表
489
+
490
+ # @param request: Request instance for DescribeInboundEndpointList.
491
+ # @type request: :class:`Tencentcloud::privatedns::V20201028::DescribeInboundEndpointListRequest`
492
+ # @rtype: :class:`Tencentcloud::privatedns::V20201028::DescribeInboundEndpointListResponse`
493
+ def DescribeInboundEndpointList(request)
494
+ body = send_request('DescribeInboundEndpointList', request.serialize)
495
+ response = JSON.parse(body)
496
+ if response['Response'].key?('Error') == false
497
+ model = DescribeInboundEndpointListResponse.new
498
+ model.deserialize(response['Response'])
499
+ model
500
+ else
501
+ code = response['Response']['Error']['Code']
502
+ message = response['Response']['Error']['Message']
503
+ reqid = response['Response']['RequestId']
504
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
505
+ end
506
+ rescue TencentCloud::Common::TencentCloudSDKException => e
507
+ raise e
508
+ rescue StandardError => e
509
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
510
+ end
511
+
296
512
  # 获取私有域解析账号列表
297
513
 
298
514
  # @param request: Request instance for DescribePrivateDNSAccountList.
@@ -485,6 +701,54 @@ module TencentCloud
485
701
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
486
702
  end
487
703
 
704
+ # 修改转发规则
705
+
706
+ # @param request: Request instance for ModifyForwardRule.
707
+ # @type request: :class:`Tencentcloud::privatedns::V20201028::ModifyForwardRuleRequest`
708
+ # @rtype: :class:`Tencentcloud::privatedns::V20201028::ModifyForwardRuleResponse`
709
+ def ModifyForwardRule(request)
710
+ body = send_request('ModifyForwardRule', request.serialize)
711
+ response = JSON.parse(body)
712
+ if response['Response'].key?('Error') == false
713
+ model = ModifyForwardRuleResponse.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
+
728
+ # 删除入站终端节点
729
+
730
+ # @param request: Request instance for ModifyInboundEndpoint.
731
+ # @type request: :class:`Tencentcloud::privatedns::V20201028::ModifyInboundEndpointRequest`
732
+ # @rtype: :class:`Tencentcloud::privatedns::V20201028::ModifyInboundEndpointResponse`
733
+ def ModifyInboundEndpoint(request)
734
+ body = send_request('ModifyInboundEndpoint', request.serialize)
735
+ response = JSON.parse(body)
736
+ if response['Response'].key?('Error') == false
737
+ model = ModifyInboundEndpointResponse.new
738
+ model.deserialize(response['Response'])
739
+ model
740
+ else
741
+ code = response['Response']['Error']['Code']
742
+ message = response['Response']['Error']['Message']
743
+ reqid = response['Response']['RequestId']
744
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
745
+ end
746
+ rescue TencentCloud::Common::TencentCloudSDKException => e
747
+ raise e
748
+ rescue StandardError => e
749
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
750
+ end
751
+
488
752
  # 修改私有域信息
489
753
 
490
754
  # @param request: Request instance for ModifyPrivateZone.
@@ -244,6 +244,164 @@ module TencentCloud
244
244
  end
245
245
  end
246
246
 
247
+ # CreateExtendEndpoint请求参数结构体
248
+ class CreateExtendEndpointRequest < TencentCloud::Common::AbstractModel
249
+
250
+
251
+ def initialize()
252
+ end
253
+
254
+ def deserialize(params)
255
+ end
256
+ end
257
+
258
+ # CreateExtendEndpoint返回参数结构体
259
+ class CreateExtendEndpointResponse < TencentCloud::Common::AbstractModel
260
+ # @param EndpointId: 终端节点id
261
+ # @type EndpointId: String
262
+ # @param EndpointName: 终端节点名称
263
+ # @type EndpointName: String
264
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
265
+ # @type RequestId: String
266
+
267
+ attr_accessor :EndpointId, :EndpointName, :RequestId
268
+
269
+ def initialize(endpointid=nil, endpointname=nil, requestid=nil)
270
+ @EndpointId = endpointid
271
+ @EndpointName = endpointname
272
+ @RequestId = requestid
273
+ end
274
+
275
+ def deserialize(params)
276
+ @EndpointId = params['EndpointId']
277
+ @EndpointName = params['EndpointName']
278
+ @RequestId = params['RequestId']
279
+ end
280
+ end
281
+
282
+ # CreateForwardRule请求参数结构体
283
+ class CreateForwardRuleRequest < TencentCloud::Common::AbstractModel
284
+ # @param RuleName: 转发规则名称
285
+ # @type RuleName: String
286
+ # @param RuleType: 转发规则类型:云上到云下DOWN,云下到云上UP
287
+ # @type RuleType: String
288
+ # @param ZoneId: 私有域ID,可在私有域列表页面查看
289
+ # @type ZoneId: String
290
+ # @param EndPointId: 终端节点ID
291
+ # @type EndPointId: String
292
+
293
+ attr_accessor :RuleName, :RuleType, :ZoneId, :EndPointId
294
+
295
+ def initialize(rulename=nil, ruletype=nil, zoneid=nil, endpointid=nil)
296
+ @RuleName = rulename
297
+ @RuleType = ruletype
298
+ @ZoneId = zoneid
299
+ @EndPointId = endpointid
300
+ end
301
+
302
+ def deserialize(params)
303
+ @RuleName = params['RuleName']
304
+ @RuleType = params['RuleType']
305
+ @ZoneId = params['ZoneId']
306
+ @EndPointId = params['EndPointId']
307
+ end
308
+ end
309
+
310
+ # CreateForwardRule返回参数结构体
311
+ class CreateForwardRuleResponse < TencentCloud::Common::AbstractModel
312
+ # @param RuleId: 转发规则ID
313
+ # @type RuleId: String
314
+ # @param RuleName: 转发规则名称
315
+ # @type RuleName: String
316
+ # @param RuleType: 转发规则类型
317
+ # @type RuleType: String
318
+ # @param ZoneId: 私有域ID
319
+ # @type ZoneId: String
320
+ # @param EndPointId: 终端节点ID
321
+ # @type EndPointId: String
322
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
323
+ # @type RequestId: String
324
+
325
+ attr_accessor :RuleId, :RuleName, :RuleType, :ZoneId, :EndPointId, :RequestId
326
+
327
+ def initialize(ruleid=nil, rulename=nil, ruletype=nil, zoneid=nil, endpointid=nil, requestid=nil)
328
+ @RuleId = ruleid
329
+ @RuleName = rulename
330
+ @RuleType = ruletype
331
+ @ZoneId = zoneid
332
+ @EndPointId = endpointid
333
+ @RequestId = requestid
334
+ end
335
+
336
+ def deserialize(params)
337
+ @RuleId = params['RuleId']
338
+ @RuleName = params['RuleName']
339
+ @RuleType = params['RuleType']
340
+ @ZoneId = params['ZoneId']
341
+ @EndPointId = params['EndPointId']
342
+ @RequestId = params['RequestId']
343
+ end
344
+ end
345
+
346
+ # CreateInboundEndpoint请求参数结构体
347
+ class CreateInboundEndpointRequest < TencentCloud::Common::AbstractModel
348
+ # @param EndpointName: 名称
349
+ # @type EndpointName: String
350
+ # @param EndpointRegion: 地域
351
+ # @type EndpointRegion: String
352
+ # @param EndpointVpc: vpcid
353
+ # @type EndpointVpc: String
354
+ # @param SubnetIp: 子网信息
355
+ # @type SubnetIp: Array
356
+
357
+ attr_accessor :EndpointName, :EndpointRegion, :EndpointVpc, :SubnetIp
358
+
359
+ def initialize(endpointname=nil, endpointregion=nil, endpointvpc=nil, subnetip=nil)
360
+ @EndpointName = endpointname
361
+ @EndpointRegion = endpointregion
362
+ @EndpointVpc = endpointvpc
363
+ @SubnetIp = subnetip
364
+ end
365
+
366
+ def deserialize(params)
367
+ @EndpointName = params['EndpointName']
368
+ @EndpointRegion = params['EndpointRegion']
369
+ @EndpointVpc = params['EndpointVpc']
370
+ unless params['SubnetIp'].nil?
371
+ @SubnetIp = []
372
+ params['SubnetIp'].each do |i|
373
+ subnetipinfo_tmp = SubnetIpInfo.new
374
+ subnetipinfo_tmp.deserialize(i)
375
+ @SubnetIp << subnetipinfo_tmp
376
+ end
377
+ end
378
+ end
379
+ end
380
+
381
+ # CreateInboundEndpoint返回参数结构体
382
+ class CreateInboundEndpointResponse < TencentCloud::Common::AbstractModel
383
+ # @param EndpointId: 终端节点ID
384
+ # @type EndpointId: String
385
+ # @param EndpointName: 名称
386
+ # @type EndpointName: String
387
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
388
+ # @type RequestId: String
389
+
390
+ attr_accessor :EndpointId, :EndpointName, :RequestId
391
+
392
+ def initialize(endpointid=nil, endpointname=nil, requestid=nil)
393
+ @EndpointId = endpointid
394
+ @EndpointName = endpointname
395
+ @RequestId = requestid
396
+ end
397
+
398
+ def deserialize(params)
399
+ @EndpointId = params['EndpointId']
400
+ @EndpointName = params['EndpointName']
401
+ @RequestId = params['RequestId']
402
+ end
403
+ end
404
+
247
405
  # CreatePrivateDNSAccount请求参数结构体
248
406
  class CreatePrivateDNSAccountRequest < TencentCloud::Common::AbstractModel
249
407
  # @param Account: 私有域解析账号
@@ -364,8 +522,8 @@ module TencentCloud
364
522
 
365
523
  attr_accessor :Domain, :TagSet, :VpcSet, :Remark, :DnsForwardStatus, :Vpcs, :AccountVpcSet, :CnameSpeedupStatus
366
524
  extend Gem::Deprecate
367
- deprecate :Vpcs, :none, 2025, 9
368
- deprecate :Vpcs=, :none, 2025, 9
525
+ deprecate :Vpcs, :none, 2025, 10
526
+ deprecate :Vpcs=, :none, 2025, 10
369
527
 
370
528
  def initialize(domain=nil, tagset=nil, vpcset=nil, remark=nil, dnsforwardstatus=nil, vpcs=nil, accountvpcset=nil, cnamespeedupstatus=nil)
371
529
  @Domain = domain
@@ -462,6 +620,102 @@ module TencentCloud
462
620
  end
463
621
  end
464
622
 
623
+ # DeleteEndPoint请求参数结构体
624
+ class DeleteEndPointRequest < TencentCloud::Common::AbstractModel
625
+ # @param EndPointId: 终端节点ID
626
+ # @type EndPointId: String
627
+
628
+ attr_accessor :EndPointId
629
+
630
+ def initialize(endpointid=nil)
631
+ @EndPointId = endpointid
632
+ end
633
+
634
+ def deserialize(params)
635
+ @EndPointId = params['EndPointId']
636
+ end
637
+ end
638
+
639
+ # DeleteEndPoint返回参数结构体
640
+ class DeleteEndPointResponse < TencentCloud::Common::AbstractModel
641
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
642
+ # @type RequestId: String
643
+
644
+ attr_accessor :RequestId
645
+
646
+ def initialize(requestid=nil)
647
+ @RequestId = requestid
648
+ end
649
+
650
+ def deserialize(params)
651
+ @RequestId = params['RequestId']
652
+ end
653
+ end
654
+
655
+ # DeleteForwardRule请求参数结构体
656
+ class DeleteForwardRuleRequest < TencentCloud::Common::AbstractModel
657
+ # @param RuleIdSet: 转发规则ID数组
658
+ # @type RuleIdSet: Array
659
+
660
+ attr_accessor :RuleIdSet
661
+
662
+ def initialize(ruleidset=nil)
663
+ @RuleIdSet = ruleidset
664
+ end
665
+
666
+ def deserialize(params)
667
+ @RuleIdSet = params['RuleIdSet']
668
+ end
669
+ end
670
+
671
+ # DeleteForwardRule返回参数结构体
672
+ class DeleteForwardRuleResponse < TencentCloud::Common::AbstractModel
673
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
674
+ # @type RequestId: String
675
+
676
+ attr_accessor :RequestId
677
+
678
+ def initialize(requestid=nil)
679
+ @RequestId = requestid
680
+ end
681
+
682
+ def deserialize(params)
683
+ @RequestId = params['RequestId']
684
+ end
685
+ end
686
+
687
+ # DeleteInboundEndpoint请求参数结构体
688
+ class DeleteInboundEndpointRequest < TencentCloud::Common::AbstractModel
689
+ # @param EndpointId: 终端节点ID
690
+ # @type EndpointId: String
691
+
692
+ attr_accessor :EndpointId
693
+
694
+ def initialize(endpointid=nil)
695
+ @EndpointId = endpointid
696
+ end
697
+
698
+ def deserialize(params)
699
+ @EndpointId = params['EndpointId']
700
+ end
701
+ end
702
+
703
+ # DeleteInboundEndpoint返回参数结构体
704
+ class DeleteInboundEndpointResponse < TencentCloud::Common::AbstractModel
705
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
706
+ # @type RequestId: String
707
+
708
+ attr_accessor :RequestId
709
+
710
+ def initialize(requestid=nil)
711
+ @RequestId = requestid
712
+ end
713
+
714
+ def deserialize(params)
715
+ @RequestId = params['RequestId']
716
+ end
717
+ end
718
+
465
719
  # DeletePrivateDNSAccount请求参数结构体
466
720
  class DeletePrivateDNSAccountRequest < TencentCloud::Common::AbstractModel
467
721
  # @param Account: 私有域解析账号
@@ -843,6 +1097,177 @@ module TencentCloud
843
1097
  end
844
1098
  end
845
1099
 
1100
+ # DescribeExtendEndpointList请求参数结构体
1101
+ class DescribeExtendEndpointListRequest < TencentCloud::Common::AbstractModel
1102
+ # @param Offset: 分页偏移量,从0开始
1103
+ # @type Offset: Integer
1104
+ # @param Limit: 分页限制数目, 最大100,默认20
1105
+ # @type Limit: Integer
1106
+ # @param Filters: 过滤参数,支持EndpointName,EndpointId
1107
+ # @type Filters: Array
1108
+
1109
+ attr_accessor :Offset, :Limit, :Filters
1110
+
1111
+ def initialize(offset=nil, limit=nil, filters=nil)
1112
+ @Offset = offset
1113
+ @Limit = limit
1114
+ @Filters = filters
1115
+ end
1116
+
1117
+ def deserialize(params)
1118
+ @Offset = params['Offset']
1119
+ @Limit = params['Limit']
1120
+ unless params['Filters'].nil?
1121
+ @Filters = []
1122
+ params['Filters'].each do |i|
1123
+ filter_tmp = Filter.new
1124
+ filter_tmp.deserialize(i)
1125
+ @Filters << filter_tmp
1126
+ end
1127
+ end
1128
+ end
1129
+ end
1130
+
1131
+ # DescribeExtendEndpointList返回参数结构体
1132
+ class DescribeExtendEndpointListResponse < TencentCloud::Common::AbstractModel
1133
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1134
+ # @type RequestId: String
1135
+
1136
+ attr_accessor :RequestId
1137
+
1138
+ def initialize(requestid=nil)
1139
+ @RequestId = requestid
1140
+ end
1141
+
1142
+ def deserialize(params)
1143
+ @RequestId = params['RequestId']
1144
+ end
1145
+ end
1146
+
1147
+ # DescribeForwardRuleList请求参数结构体
1148
+ class DescribeForwardRuleListRequest < TencentCloud::Common::AbstractModel
1149
+ # @param Offset: 分页偏移量,从0开始
1150
+ # @type Offset: Integer
1151
+ # @param Limit: 分页限制数目, 最大100,默认20
1152
+ # @type Limit: Integer
1153
+ # @param Filters: 过滤参数
1154
+ # @type Filters: Array
1155
+
1156
+ attr_accessor :Offset, :Limit, :Filters
1157
+
1158
+ def initialize(offset=nil, limit=nil, filters=nil)
1159
+ @Offset = offset
1160
+ @Limit = limit
1161
+ @Filters = filters
1162
+ end
1163
+
1164
+ def deserialize(params)
1165
+ @Offset = params['Offset']
1166
+ @Limit = params['Limit']
1167
+ unless params['Filters'].nil?
1168
+ @Filters = []
1169
+ params['Filters'].each do |i|
1170
+ filter_tmp = Filter.new
1171
+ filter_tmp.deserialize(i)
1172
+ @Filters << filter_tmp
1173
+ end
1174
+ end
1175
+ end
1176
+ end
1177
+
1178
+ # DescribeForwardRuleList返回参数结构体
1179
+ class DescribeForwardRuleListResponse < TencentCloud::Common::AbstractModel
1180
+ # @param TotalCount: 私有域数量
1181
+ # @type TotalCount: Integer
1182
+ # @param ForwardRuleSet: 私有域列表
1183
+ # @type ForwardRuleSet: Array
1184
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1185
+ # @type RequestId: String
1186
+
1187
+ attr_accessor :TotalCount, :ForwardRuleSet, :RequestId
1188
+
1189
+ def initialize(totalcount=nil, forwardruleset=nil, requestid=nil)
1190
+ @TotalCount = totalcount
1191
+ @ForwardRuleSet = forwardruleset
1192
+ @RequestId = requestid
1193
+ end
1194
+
1195
+ def deserialize(params)
1196
+ @TotalCount = params['TotalCount']
1197
+ unless params['ForwardRuleSet'].nil?
1198
+ @ForwardRuleSet = []
1199
+ params['ForwardRuleSet'].each do |i|
1200
+ forwardrule_tmp = ForwardRule.new
1201
+ forwardrule_tmp.deserialize(i)
1202
+ @ForwardRuleSet << forwardrule_tmp
1203
+ end
1204
+ end
1205
+ @RequestId = params['RequestId']
1206
+ end
1207
+ end
1208
+
1209
+ # DescribeInboundEndpointList请求参数结构体
1210
+ class DescribeInboundEndpointListRequest < TencentCloud::Common::AbstractModel
1211
+ # @param Offset: 分页偏移量,从0开始
1212
+ # @type Offset: Integer
1213
+ # @param Limit: 分页限制数目, 最大100,默认20
1214
+ # @type Limit: Integer
1215
+ # @param Filters: 过滤参数,支持EndPointName,EndpointName,EndpointId
1216
+ # @type Filters: Array
1217
+
1218
+ attr_accessor :Offset, :Limit, :Filters
1219
+
1220
+ def initialize(offset=nil, limit=nil, filters=nil)
1221
+ @Offset = offset
1222
+ @Limit = limit
1223
+ @Filters = filters
1224
+ end
1225
+
1226
+ def deserialize(params)
1227
+ @Offset = params['Offset']
1228
+ @Limit = params['Limit']
1229
+ unless params['Filters'].nil?
1230
+ @Filters = []
1231
+ params['Filters'].each do |i|
1232
+ filter_tmp = Filter.new
1233
+ filter_tmp.deserialize(i)
1234
+ @Filters << filter_tmp
1235
+ end
1236
+ end
1237
+ end
1238
+ end
1239
+
1240
+ # DescribeInboundEndpointList返回参数结构体
1241
+ class DescribeInboundEndpointListResponse < TencentCloud::Common::AbstractModel
1242
+ # @param TotalCount: 总数
1243
+ # @type TotalCount: Integer
1244
+ # @param InboundEndpointSet: 终端节点信息
1245
+ # @type InboundEndpointSet: Array
1246
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1247
+ # @type RequestId: String
1248
+
1249
+ attr_accessor :TotalCount, :InboundEndpointSet, :RequestId
1250
+
1251
+ def initialize(totalcount=nil, inboundendpointset=nil, requestid=nil)
1252
+ @TotalCount = totalcount
1253
+ @InboundEndpointSet = inboundendpointset
1254
+ @RequestId = requestid
1255
+ end
1256
+
1257
+ def deserialize(params)
1258
+ @TotalCount = params['TotalCount']
1259
+ unless params['InboundEndpointSet'].nil?
1260
+ @InboundEndpointSet = []
1261
+ params['InboundEndpointSet'].each do |i|
1262
+ inboundendpointset_tmp = InboundEndpointSet.new
1263
+ inboundendpointset_tmp.deserialize(i)
1264
+ @InboundEndpointSet << inboundendpointset_tmp
1265
+ end
1266
+ end
1267
+ @RequestId = params['RequestId']
1268
+ end
1269
+ end
1270
+
846
1271
  # DescribePrivateDNSAccountList请求参数结构体
847
1272
  class DescribePrivateDNSAccountListRequest < TencentCloud::Common::AbstractModel
848
1273
  # @param Offset: 分页偏移量,从0开始
@@ -1250,6 +1675,42 @@ module TencentCloud
1250
1675
  end
1251
1676
  end
1252
1677
 
1678
+ # 终端节点信息
1679
+ class EndPointServiceInfo < TencentCloud::Common::AbstractModel
1680
+ # @param EndPointVip: ip
1681
+ # @type EndPointVip: String
1682
+ # @param UniqSubnetId: 子网id
1683
+ # @type UniqSubnetId: String
1684
+ # @param EndPointState: 网络侧状态,0 可用,1 待接受,3 拒绝
1685
+ # @type EndPointState: Integer
1686
+ # @param EndPointStatus: 状态,1表示可用,0表示删除
1687
+ # @type EndPointStatus: Integer
1688
+ # @param EndPointRemark: 备注信息
1689
+ # @type EndPointRemark: String
1690
+ # @param EndPointIsolateFlag: 网络侧隔离状态,1:已隔离,0:未隔离
1691
+ # @type EndPointIsolateFlag: Integer
1692
+
1693
+ attr_accessor :EndPointVip, :UniqSubnetId, :EndPointState, :EndPointStatus, :EndPointRemark, :EndPointIsolateFlag
1694
+
1695
+ def initialize(endpointvip=nil, uniqsubnetid=nil, endpointstate=nil, endpointstatus=nil, endpointremark=nil, endpointisolateflag=nil)
1696
+ @EndPointVip = endpointvip
1697
+ @UniqSubnetId = uniqsubnetid
1698
+ @EndPointState = endpointstate
1699
+ @EndPointStatus = endpointstatus
1700
+ @EndPointRemark = endpointremark
1701
+ @EndPointIsolateFlag = endpointisolateflag
1702
+ end
1703
+
1704
+ def deserialize(params)
1705
+ @EndPointVip = params['EndPointVip']
1706
+ @UniqSubnetId = params['UniqSubnetId']
1707
+ @EndPointState = params['EndPointState']
1708
+ @EndPointStatus = params['EndPointStatus']
1709
+ @EndPointRemark = params['EndPointRemark']
1710
+ @EndPointIsolateFlag = params['EndPointIsolateFlag']
1711
+ end
1712
+ end
1713
+
1253
1714
  # 筛选参数
1254
1715
  class Filter < TencentCloud::Common::AbstractModel
1255
1716
  # @param Name: 参数名
@@ -1294,6 +1755,123 @@ module TencentCloud
1294
1755
  end
1295
1756
  end
1296
1757
 
1758
+ # 转发规则详情
1759
+ class ForwardRule < TencentCloud::Common::AbstractModel
1760
+ # @param Domain: 私有域名
1761
+ # @type Domain: String
1762
+ # @param RuleName: 转发规则名称
1763
+ # @type RuleName: String
1764
+ # @param RuleId: 规则id
1765
+ # @type RuleId: String
1766
+ # @param RuleType: 转发规则类型:云上到云下DOWN、云下到云上DOWN
1767
+ # @type RuleType: String
1768
+ # @param CreatedAt: 创建时间
1769
+ # @type CreatedAt: String
1770
+ # @param UpdatedAt: 更新时间
1771
+ # @type UpdatedAt: String
1772
+ # @param EndPointName: 终端节点名称
1773
+ # @type EndPointName: String
1774
+ # @param EndPointId: 终端节点ID
1775
+ # @type EndPointId: String
1776
+ # @param ForwardAddress: 转发地址
1777
+ # @type ForwardAddress: Array
1778
+ # @param VpcSet: 私有域绑定的vpc列表
1779
+ # @type VpcSet: Array
1780
+ # @param ZoneId: 绑定的私有域ID
1781
+ # @type ZoneId: String
1782
+ # @param Tags: 标签
1783
+ # @type Tags: Array
1784
+
1785
+ attr_accessor :Domain, :RuleName, :RuleId, :RuleType, :CreatedAt, :UpdatedAt, :EndPointName, :EndPointId, :ForwardAddress, :VpcSet, :ZoneId, :Tags
1786
+
1787
+ 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)
1788
+ @Domain = domain
1789
+ @RuleName = rulename
1790
+ @RuleId = ruleid
1791
+ @RuleType = ruletype
1792
+ @CreatedAt = createdat
1793
+ @UpdatedAt = updatedat
1794
+ @EndPointName = endpointname
1795
+ @EndPointId = endpointid
1796
+ @ForwardAddress = forwardaddress
1797
+ @VpcSet = vpcset
1798
+ @ZoneId = zoneid
1799
+ @Tags = tags
1800
+ end
1801
+
1802
+ def deserialize(params)
1803
+ @Domain = params['Domain']
1804
+ @RuleName = params['RuleName']
1805
+ @RuleId = params['RuleId']
1806
+ @RuleType = params['RuleType']
1807
+ @CreatedAt = params['CreatedAt']
1808
+ @UpdatedAt = params['UpdatedAt']
1809
+ @EndPointName = params['EndPointName']
1810
+ @EndPointId = params['EndPointId']
1811
+ @ForwardAddress = params['ForwardAddress']
1812
+ unless params['VpcSet'].nil?
1813
+ @VpcSet = []
1814
+ params['VpcSet'].each do |i|
1815
+ vpcinfo_tmp = VpcInfo.new
1816
+ vpcinfo_tmp.deserialize(i)
1817
+ @VpcSet << vpcinfo_tmp
1818
+ end
1819
+ end
1820
+ @ZoneId = params['ZoneId']
1821
+ unless params['Tags'].nil?
1822
+ @Tags = []
1823
+ params['Tags'].each do |i|
1824
+ taginfo_tmp = TagInfo.new
1825
+ taginfo_tmp.deserialize(i)
1826
+ @Tags << taginfo_tmp
1827
+ end
1828
+ end
1829
+ end
1830
+ end
1831
+
1832
+ # 终端节点信息列表
1833
+ class InboundEndpointSet < TencentCloud::Common::AbstractModel
1834
+ # @param EndPointId: 终端节点ID
1835
+ # @type EndPointId: String
1836
+ # @param EndPointName: 名称
1837
+ # @type EndPointName: String
1838
+ # @param UniqVpcId: vpcid
1839
+ # @type UniqVpcId: String
1840
+ # @param CreatedAt: 创建时间
1841
+ # @type CreatedAt: String
1842
+ # @param UpdatedAt: 更新时间
1843
+ # @type UpdatedAt: String
1844
+ # @param EndPointService: 终端节点信息
1845
+ # @type EndPointService: Array
1846
+
1847
+ attr_accessor :EndPointId, :EndPointName, :UniqVpcId, :CreatedAt, :UpdatedAt, :EndPointService
1848
+
1849
+ def initialize(endpointid=nil, endpointname=nil, uniqvpcid=nil, createdat=nil, updatedat=nil, endpointservice=nil)
1850
+ @EndPointId = endpointid
1851
+ @EndPointName = endpointname
1852
+ @UniqVpcId = uniqvpcid
1853
+ @CreatedAt = createdat
1854
+ @UpdatedAt = updatedat
1855
+ @EndPointService = endpointservice
1856
+ end
1857
+
1858
+ def deserialize(params)
1859
+ @EndPointId = params['EndPointId']
1860
+ @EndPointName = params['EndPointName']
1861
+ @UniqVpcId = params['UniqVpcId']
1862
+ @CreatedAt = params['CreatedAt']
1863
+ @UpdatedAt = params['UpdatedAt']
1864
+ unless params['EndPointService'].nil?
1865
+ @EndPointService = []
1866
+ params['EndPointService'].each do |i|
1867
+ endpointserviceinfo_tmp = EndPointServiceInfo.new
1868
+ endpointserviceinfo_tmp.deserialize(i)
1869
+ @EndPointService << endpointserviceinfo_tmp
1870
+ end
1871
+ end
1872
+ end
1873
+ end
1874
+
1297
1875
  # 统计数据表
1298
1876
  class MetricData < TencentCloud::Common::AbstractModel
1299
1877
  # @param Resource: 资源描述
@@ -1329,6 +1907,82 @@ module TencentCloud
1329
1907
  end
1330
1908
  end
1331
1909
 
1910
+ # ModifyForwardRule请求参数结构体
1911
+ class ModifyForwardRuleRequest < TencentCloud::Common::AbstractModel
1912
+ # @param RuleId: 转发规则ID
1913
+ # @type RuleId: String
1914
+ # @param RuleName: 转发规则名称
1915
+ # @type RuleName: String
1916
+ # @param EndPointId: 终端节点ID
1917
+ # @type EndPointId: String
1918
+
1919
+ attr_accessor :RuleId, :RuleName, :EndPointId
1920
+
1921
+ def initialize(ruleid=nil, rulename=nil, endpointid=nil)
1922
+ @RuleId = ruleid
1923
+ @RuleName = rulename
1924
+ @EndPointId = endpointid
1925
+ end
1926
+
1927
+ def deserialize(params)
1928
+ @RuleId = params['RuleId']
1929
+ @RuleName = params['RuleName']
1930
+ @EndPointId = params['EndPointId']
1931
+ end
1932
+ end
1933
+
1934
+ # ModifyForwardRule返回参数结构体
1935
+ class ModifyForwardRuleResponse < TencentCloud::Common::AbstractModel
1936
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1937
+ # @type RequestId: String
1938
+
1939
+ attr_accessor :RequestId
1940
+
1941
+ def initialize(requestid=nil)
1942
+ @RequestId = requestid
1943
+ end
1944
+
1945
+ def deserialize(params)
1946
+ @RequestId = params['RequestId']
1947
+ end
1948
+ end
1949
+
1950
+ # ModifyInboundEndpoint请求参数结构体
1951
+ class ModifyInboundEndpointRequest < TencentCloud::Common::AbstractModel
1952
+ # @param EndpointId: 终端节点ID
1953
+ # @type EndpointId: String
1954
+ # @param EndpointName: 终端节点名称
1955
+ # @type EndpointName: String
1956
+
1957
+ attr_accessor :EndpointId, :EndpointName
1958
+
1959
+ def initialize(endpointid=nil, endpointname=nil)
1960
+ @EndpointId = endpointid
1961
+ @EndpointName = endpointname
1962
+ end
1963
+
1964
+ def deserialize(params)
1965
+ @EndpointId = params['EndpointId']
1966
+ @EndpointName = params['EndpointName']
1967
+ end
1968
+ end
1969
+
1970
+ # ModifyInboundEndpoint返回参数结构体
1971
+ class ModifyInboundEndpointResponse < TencentCloud::Common::AbstractModel
1972
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1973
+ # @type RequestId: String
1974
+
1975
+ attr_accessor :RequestId
1976
+
1977
+ def initialize(requestid=nil)
1978
+ @RequestId = requestid
1979
+ end
1980
+
1981
+ def deserialize(params)
1982
+ @RequestId = params['RequestId']
1983
+ end
1984
+ end
1985
+
1332
1986
  # ModifyPrivateZoneRecord请求参数结构体
1333
1987
  class ModifyPrivateZoneRecordRequest < TencentCloud::Common::AbstractModel
1334
1988
  # @param ZoneId: 私有域ID
@@ -1883,6 +2537,26 @@ module TencentCloud
1883
2537
  end
1884
2538
  end
1885
2539
 
2540
+ # 终端节点信息
2541
+ class SubnetIpInfo < TencentCloud::Common::AbstractModel
2542
+ # @param SubnetId: 子网ID
2543
+ # @type SubnetId: String
2544
+ # @param SubnetVip: ip
2545
+ # @type SubnetVip: String
2546
+
2547
+ attr_accessor :SubnetId, :SubnetVip
2548
+
2549
+ def initialize(subnetid=nil, subnetvip=nil)
2550
+ @SubnetId = subnetid
2551
+ @SubnetVip = subnetvip
2552
+ end
2553
+
2554
+ def deserialize(params)
2555
+ @SubnetId = params['SubnetId']
2556
+ @SubnetVip = params['SubnetVip']
2557
+ end
2558
+ end
2559
+
1886
2560
  # SubscribePrivateZoneService请求参数结构体
1887
2561
  class SubscribePrivateZoneServiceRequest < TencentCloud::Common::AbstractModel
1888
2562
 
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.1138
4
+ version: 3.0.1154
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-09-10 00:00:00.000000000 Z
11
+ date: 2025-10-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common
@@ -33,8 +33,8 @@ executables: []
33
33
  extensions: []
34
34
  extra_rdoc_files: []
35
35
  files:
36
- - lib/v20201028/client.rb
37
36
  - lib/v20201028/models.rb
37
+ - lib/v20201028/client.rb
38
38
  - lib/tencentcloud-sdk-privatedns.rb
39
39
  - lib/VERSION
40
40
  homepage: https://github.com/TencentCloud/tencentcloud-sdk-ruby