tencentcloud-sdk-privatedns 3.0.948 → 3.0.950

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: 31749162483d1ed700c611baa0032bfe9a38e5c2
4
- data.tar.gz: f0492302adfe96770d1724367369f013d71c1bba
3
+ metadata.gz: 92c1c3ee60b15a186a01a972453289abe22e7ce3
4
+ data.tar.gz: 96f82611b749c294402a0f52c8360eef70f38b99
5
5
  SHA512:
6
- metadata.gz: 29dede8a9d02b911a7757816b80297fd14263dc644f68f48df813243c524ceffc5d7cf893921e3c5dcc1ef36d1fb3106342f781bd384299723be66e0990f1f84
7
- data.tar.gz: 273f0c956e7b468a26f8fc5b653b56600bdac1cef177d53605d22e58d1422f66e2998a3e0f05941f8ecda1d999ec2e56cc97977de1c0bbef57a8d9872cee35cb
6
+ metadata.gz: c1a94091d1c95669f49036e74f08702d2a927032728e1fa88da8196db11c45d4e565259b880f63b361b6181c98530cdbf0aa672d645a7cd587c4bcc8f3546354
7
+ data.tar.gz: 5cca1c3107fbde228f21d4a38d1378c6caa648bcf57a326c658b16bdc26c04971adc9984e1b89aeb45258dbb321ea8ccf9dd7732a99368a8b5fa529d1d1cbc55
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.948
1
+ 3.0.950
@@ -53,78 +53,6 @@ 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 CreateEndPoint.
59
- # @type request: :class:`Tencentcloud::privatedns::V20201028::CreateEndPointRequest`
60
- # @rtype: :class:`Tencentcloud::privatedns::V20201028::CreateEndPointResponse`
61
- def CreateEndPoint(request)
62
- body = send_request('CreateEndPoint', request.serialize)
63
- response = JSON.parse(body)
64
- if response['Response'].key?('Error') == false
65
- model = CreateEndPointResponse.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 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
-
128
56
  # 创建私有域解析账号
129
57
 
130
58
  # @param request: Request instance for CreatePrivateDNSAccount.
@@ -197,54 +125,6 @@ module TencentCloud
197
125
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
198
126
  end
199
127
 
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
128
  # 删除私有域解析账号
249
129
 
250
130
  # @param request: Request instance for DeletePrivateDNSAccount.
@@ -413,102 +293,6 @@ module TencentCloud
413
293
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
414
294
  end
415
295
 
416
- # 获取终端节点列表
417
-
418
- # @param request: Request instance for DescribeEndPointList.
419
- # @type request: :class:`Tencentcloud::privatedns::V20201028::DescribeEndPointListRequest`
420
- # @rtype: :class:`Tencentcloud::privatedns::V20201028::DescribeEndPointListResponse`
421
- def DescribeEndPointList(request)
422
- body = send_request('DescribeEndPointList', request.serialize)
423
- response = JSON.parse(body)
424
- if response['Response'].key?('Error') == false
425
- model = DescribeEndPointListResponse.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
-
440
- # 查询终端节点已经启用了的地域
441
-
442
- # @param request: Request instance for DescribeEndPointRegion.
443
- # @type request: :class:`Tencentcloud::privatedns::V20201028::DescribeEndPointRegionRequest`
444
- # @rtype: :class:`Tencentcloud::privatedns::V20201028::DescribeEndPointRegionResponse`
445
- def DescribeEndPointRegion(request)
446
- body = send_request('DescribeEndPointRegion', request.serialize)
447
- response = JSON.parse(body)
448
- if response['Response'].key?('Error') == false
449
- model = DescribeEndPointRegionResponse.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 DescribeForwardRule.
467
- # @type request: :class:`Tencentcloud::privatedns::V20201028::DescribeForwardRuleRequest`
468
- # @rtype: :class:`Tencentcloud::privatedns::V20201028::DescribeForwardRuleResponse`
469
- def DescribeForwardRule(request)
470
- body = send_request('DescribeForwardRule', request.serialize)
471
- response = JSON.parse(body)
472
- if response['Response'].key?('Error') == false
473
- model = DescribeForwardRuleResponse.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 DescribeForwardRuleList.
491
- # @type request: :class:`Tencentcloud::privatedns::V20201028::DescribeForwardRuleListRequest`
492
- # @rtype: :class:`Tencentcloud::privatedns::V20201028::DescribeForwardRuleListResponse`
493
- def DescribeForwardRuleList(request)
494
- body = send_request('DescribeForwardRuleList', request.serialize)
495
- response = JSON.parse(body)
496
- if response['Response'].key?('Error') == false
497
- model = DescribeForwardRuleListResponse.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
-
512
296
  # 获取私有域解析账号列表
513
297
 
514
298
  # @param request: Request instance for DescribePrivateDNSAccountList.
@@ -677,30 +461,6 @@ module TencentCloud
677
461
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
678
462
  end
679
463
 
680
- # 修改转发规则
681
-
682
- # @param request: Request instance for ModifyForwardRule.
683
- # @type request: :class:`Tencentcloud::privatedns::V20201028::ModifyForwardRuleRequest`
684
- # @rtype: :class:`Tencentcloud::privatedns::V20201028::ModifyForwardRuleResponse`
685
- def ModifyForwardRule(request)
686
- body = send_request('ModifyForwardRule', request.serialize)
687
- response = JSON.parse(body)
688
- if response['Response'].key?('Error') == false
689
- model = ModifyForwardRuleResponse.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
-
704
464
  # 修改私有域信息
705
465
 
706
466
  # @param request: Request instance for ModifyPrivateZone.
@@ -248,206 +248,6 @@ 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
-
327
- # CreateEndPoint请求参数结构体
328
- class CreateEndPointRequest < TencentCloud::Common::AbstractModel
329
- # @param EndPointName: 终端节点名称
330
- # @type EndPointName: String
331
- # @param EndPointServiceId: 终端节点服务ID(vpc终端节点服务ID)
332
- # @type EndPointServiceId: String
333
- # @param EndPointRegion: 终端节点地域,必须要和终端节点服务所属地域一致
334
- # @type EndPointRegion: String
335
- # @param IpNum: 终端节点ip数量
336
- # @type IpNum: Integer
337
-
338
- attr_accessor :EndPointName, :EndPointServiceId, :EndPointRegion, :IpNum
339
-
340
- def initialize(endpointname=nil, endpointserviceid=nil, endpointregion=nil, ipnum=nil)
341
- @EndPointName = endpointname
342
- @EndPointServiceId = endpointserviceid
343
- @EndPointRegion = endpointregion
344
- @IpNum = ipnum
345
- end
346
-
347
- def deserialize(params)
348
- @EndPointName = params['EndPointName']
349
- @EndPointServiceId = params['EndPointServiceId']
350
- @EndPointRegion = params['EndPointRegion']
351
- @IpNum = params['IpNum']
352
- end
353
- end
354
-
355
- # CreateEndPoint返回参数结构体
356
- class CreateEndPointResponse < TencentCloud::Common::AbstractModel
357
- # @param EndPointId: 终端节点id
358
- # @type EndPointId: String
359
- # @param EndPointName: 终端节点名称
360
- # @type EndPointName: String
361
- # @param EndPointServiceId: 终端节点服务ID
362
- # @type EndPointServiceId: String
363
- # @param EndPointVipSet: 终端节点的IP列表
364
- # @type EndPointVipSet: Array
365
- # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
366
- # @type RequestId: String
367
-
368
- attr_accessor :EndPointId, :EndPointName, :EndPointServiceId, :EndPointVipSet, :RequestId
369
-
370
- def initialize(endpointid=nil, endpointname=nil, endpointserviceid=nil, endpointvipset=nil, requestid=nil)
371
- @EndPointId = endpointid
372
- @EndPointName = endpointname
373
- @EndPointServiceId = endpointserviceid
374
- @EndPointVipSet = endpointvipset
375
- @RequestId = requestid
376
- end
377
-
378
- def deserialize(params)
379
- @EndPointId = params['EndPointId']
380
- @EndPointName = params['EndPointName']
381
- @EndPointServiceId = params['EndPointServiceId']
382
- @EndPointVipSet = params['EndPointVipSet']
383
- @RequestId = params['RequestId']
384
- end
385
- end
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
-
451
251
  # CreatePrivateDNSAccount请求参数结构体
452
252
  class CreatePrivateDNSAccountRequest < TencentCloud::Common::AbstractModel
453
253
  # @param Account: 私有域解析账号
@@ -659,70 +459,6 @@ module TencentCloud
659
459
  end
660
460
  end
661
461
 
662
- # DeleteEndPoint请求参数结构体
663
- class DeleteEndPointRequest < TencentCloud::Common::AbstractModel
664
- # @param EndPointId: 终端节点ID
665
- # @type EndPointId: String
666
-
667
- attr_accessor :EndPointId
668
-
669
- def initialize(endpointid=nil)
670
- @EndPointId = endpointid
671
- end
672
-
673
- def deserialize(params)
674
- @EndPointId = params['EndPointId']
675
- end
676
- end
677
-
678
- # DeleteEndPoint返回参数结构体
679
- class DeleteEndPointResponse < TencentCloud::Common::AbstractModel
680
- # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
681
- # @type RequestId: String
682
-
683
- attr_accessor :RequestId
684
-
685
- def initialize(requestid=nil)
686
- @RequestId = requestid
687
- end
688
-
689
- def deserialize(params)
690
- @RequestId = params['RequestId']
691
- end
692
- end
693
-
694
- # DeleteForwardRule请求参数结构体
695
- class DeleteForwardRuleRequest < TencentCloud::Common::AbstractModel
696
- # @param RuleIdSet: 转发规则ID数组
697
- # @type RuleIdSet: Array
698
-
699
- attr_accessor :RuleIdSet
700
-
701
- def initialize(ruleidset=nil)
702
- @RuleIdSet = ruleidset
703
- end
704
-
705
- def deserialize(params)
706
- @RuleIdSet = params['RuleIdSet']
707
- end
708
- end
709
-
710
- # DeleteForwardRule返回参数结构体
711
- class DeleteForwardRuleResponse < TencentCloud::Common::AbstractModel
712
- # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
713
- # @type RequestId: String
714
-
715
- attr_accessor :RequestId
716
-
717
- def initialize(requestid=nil)
718
- @RequestId = requestid
719
- end
720
-
721
- def deserialize(params)
722
- @RequestId = params['RequestId']
723
- end
724
- end
725
-
726
462
  # DeletePrivateDNSAccount请求参数结构体
727
463
  class DeletePrivateDNSAccountRequest < TencentCloud::Common::AbstractModel
728
464
  # @param Account: 私有域解析账号
@@ -1105,208 +841,6 @@ module TencentCloud
1105
841
  end
1106
842
  end
1107
843
 
1108
- # DescribeEndPointList请求参数结构体
1109
- class DescribeEndPointListRequest < TencentCloud::Common::AbstractModel
1110
- # @param Offset: 分页偏移量,从0开始
1111
- # @type Offset: Integer
1112
- # @param Limit: 分页限制数目, 最大100,默认20
1113
- # @type Limit: Integer
1114
- # @param Filters: 过滤参数,支持EndPointName,EndPointId,EndPointServiceId,EndPointVip
1115
- # @type Filters: Array
1116
-
1117
- attr_accessor :Offset, :Limit, :Filters
1118
-
1119
- def initialize(offset=nil, limit=nil, filters=nil)
1120
- @Offset = offset
1121
- @Limit = limit
1122
- @Filters = filters
1123
- end
1124
-
1125
- def deserialize(params)
1126
- @Offset = params['Offset']
1127
- @Limit = params['Limit']
1128
- unless params['Filters'].nil?
1129
- @Filters = []
1130
- params['Filters'].each do |i|
1131
- filter_tmp = Filter.new
1132
- filter_tmp.deserialize(i)
1133
- @Filters << filter_tmp
1134
- end
1135
- end
1136
- end
1137
- end
1138
-
1139
- # DescribeEndPointList返回参数结构体
1140
- class DescribeEndPointListResponse < TencentCloud::Common::AbstractModel
1141
- # @param TotalCount: 终端节点总数
1142
- # @type TotalCount: Integer
1143
- # @param EndPointSet: 终端节点列表
1144
- # 注意:此字段可能返回 null,表示取不到有效值。
1145
- # @type EndPointSet: Array
1146
- # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1147
- # @type RequestId: String
1148
-
1149
- attr_accessor :TotalCount, :EndPointSet, :RequestId
1150
-
1151
- def initialize(totalcount=nil, endpointset=nil, requestid=nil)
1152
- @TotalCount = totalcount
1153
- @EndPointSet = endpointset
1154
- @RequestId = requestid
1155
- end
1156
-
1157
- def deserialize(params)
1158
- @TotalCount = params['TotalCount']
1159
- unless params['EndPointSet'].nil?
1160
- @EndPointSet = []
1161
- params['EndPointSet'].each do |i|
1162
- endpointinfo_tmp = EndPointInfo.new
1163
- endpointinfo_tmp.deserialize(i)
1164
- @EndPointSet << endpointinfo_tmp
1165
- end
1166
- end
1167
- @RequestId = params['RequestId']
1168
- end
1169
- end
1170
-
1171
- # DescribeEndPointRegion请求参数结构体
1172
- class DescribeEndPointRegionRequest < TencentCloud::Common::AbstractModel
1173
-
1174
-
1175
- def initialize()
1176
- end
1177
-
1178
- def deserialize(params)
1179
- end
1180
- end
1181
-
1182
- # DescribeEndPointRegion返回参数结构体
1183
- class DescribeEndPointRegionResponse < TencentCloud::Common::AbstractModel
1184
- # @param RegionSet: 地域数组
1185
- # @type RegionSet: Array
1186
- # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1187
- # @type RequestId: String
1188
-
1189
- attr_accessor :RegionSet, :RequestId
1190
-
1191
- def initialize(regionset=nil, requestid=nil)
1192
- @RegionSet = regionset
1193
- @RequestId = requestid
1194
- end
1195
-
1196
- def deserialize(params)
1197
- unless params['RegionSet'].nil?
1198
- @RegionSet = []
1199
- params['RegionSet'].each do |i|
1200
- regioninfo_tmp = RegionInfo.new
1201
- regioninfo_tmp.deserialize(i)
1202
- @RegionSet << regioninfo_tmp
1203
- end
1204
- end
1205
- @RequestId = params['RequestId']
1206
- end
1207
- end
1208
-
1209
- # DescribeForwardRuleList请求参数结构体
1210
- class DescribeForwardRuleListRequest < TencentCloud::Common::AbstractModel
1211
- # @param Offset: 分页偏移量,从0开始
1212
- # @type Offset: Integer
1213
- # @param Limit: 分页限制数目, 最大100,默认20
1214
- # @type Limit: Integer
1215
- # @param Filters: 过滤参数
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
- # DescribeForwardRuleList返回参数结构体
1241
- class DescribeForwardRuleListResponse < TencentCloud::Common::AbstractModel
1242
- # @param TotalCount: 私有域数量
1243
- # @type TotalCount: Integer
1244
- # @param ForwardRuleSet: 私有域列表
1245
- # @type ForwardRuleSet: Array
1246
- # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1247
- # @type RequestId: String
1248
-
1249
- attr_accessor :TotalCount, :ForwardRuleSet, :RequestId
1250
-
1251
- def initialize(totalcount=nil, forwardruleset=nil, requestid=nil)
1252
- @TotalCount = totalcount
1253
- @ForwardRuleSet = forwardruleset
1254
- @RequestId = requestid
1255
- end
1256
-
1257
- def deserialize(params)
1258
- @TotalCount = params['TotalCount']
1259
- unless params['ForwardRuleSet'].nil?
1260
- @ForwardRuleSet = []
1261
- params['ForwardRuleSet'].each do |i|
1262
- forwardrule_tmp = ForwardRule.new
1263
- forwardrule_tmp.deserialize(i)
1264
- @ForwardRuleSet << forwardrule_tmp
1265
- end
1266
- end
1267
- @RequestId = params['RequestId']
1268
- end
1269
- end
1270
-
1271
- # DescribeForwardRule请求参数结构体
1272
- class DescribeForwardRuleRequest < TencentCloud::Common::AbstractModel
1273
- # @param RuleId: 转发规则ID
1274
- # @type RuleId: String
1275
-
1276
- attr_accessor :RuleId
1277
-
1278
- def initialize(ruleid=nil)
1279
- @RuleId = ruleid
1280
- end
1281
-
1282
- def deserialize(params)
1283
- @RuleId = params['RuleId']
1284
- end
1285
- end
1286
-
1287
- # DescribeForwardRule返回参数结构体
1288
- class DescribeForwardRuleResponse < TencentCloud::Common::AbstractModel
1289
- # @param ForwardRule: 转发规则详情
1290
- # @type ForwardRule: :class:`Tencentcloud::Privatedns.v20201028.models.ForwardRule`
1291
- # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1292
- # @type RequestId: String
1293
-
1294
- attr_accessor :ForwardRule, :RequestId
1295
-
1296
- def initialize(forwardrule=nil, requestid=nil)
1297
- @ForwardRule = forwardrule
1298
- @RequestId = requestid
1299
- end
1300
-
1301
- def deserialize(params)
1302
- unless params['ForwardRule'].nil?
1303
- @ForwardRule = ForwardRule.new
1304
- @ForwardRule.deserialize(params['ForwardRule'])
1305
- end
1306
- @RequestId = params['RequestId']
1307
- end
1308
- end
1309
-
1310
844
  # DescribePrivateDNSAccountList请求参数结构体
1311
845
  class DescribePrivateDNSAccountListRequest < TencentCloud::Common::AbstractModel
1312
846
  # @param Offset: 分页偏移量,从0开始
@@ -1663,51 +1197,6 @@ module TencentCloud
1663
1197
  end
1664
1198
  end
1665
1199
 
1666
- # 终端节点信息
1667
- class EndPointInfo < TencentCloud::Common::AbstractModel
1668
- # @param EndPointId: 终端节点ID
1669
- # @type EndPointId: String
1670
- # @param EndPointName: 终端节点名称
1671
- # @type EndPointName: String
1672
- # @param EndPointServiceId: 终端节点服务ID
1673
- # @type EndPointServiceId: String
1674
- # @param EndPointVipSet: 终端节点VIP列表
1675
- # @type EndPointVipSet: Array
1676
- # @param RegionCode: ap-guangzhou
1677
- # 注意:此字段可能返回 null,表示取不到有效值。
1678
- # @type RegionCode: String
1679
- # @param Tags: 标签键值对集合
1680
- # 注意:此字段可能返回 null,表示取不到有效值。
1681
- # @type Tags: Array
1682
-
1683
- attr_accessor :EndPointId, :EndPointName, :EndPointServiceId, :EndPointVipSet, :RegionCode, :Tags
1684
-
1685
- def initialize(endpointid=nil, endpointname=nil, endpointserviceid=nil, endpointvipset=nil, regioncode=nil, tags=nil)
1686
- @EndPointId = endpointid
1687
- @EndPointName = endpointname
1688
- @EndPointServiceId = endpointserviceid
1689
- @EndPointVipSet = endpointvipset
1690
- @RegionCode = regioncode
1691
- @Tags = tags
1692
- end
1693
-
1694
- def deserialize(params)
1695
- @EndPointId = params['EndPointId']
1696
- @EndPointName = params['EndPointName']
1697
- @EndPointServiceId = params['EndPointServiceId']
1698
- @EndPointVipSet = params['EndPointVipSet']
1699
- @RegionCode = params['RegionCode']
1700
- unless params['Tags'].nil?
1701
- @Tags = []
1702
- params['Tags'].each do |i|
1703
- taginfo_tmp = TagInfo.new
1704
- taginfo_tmp.deserialize(i)
1705
- @Tags << taginfo_tmp
1706
- end
1707
- end
1708
- end
1709
- end
1710
-
1711
1200
  # 筛选参数
1712
1201
  class Filter < TencentCloud::Common::AbstractModel
1713
1202
  # @param Name: 参数名
@@ -1752,82 +1241,6 @@ module TencentCloud
1752
1241
  end
1753
1242
  end
1754
1243
 
1755
- # 转发规则详情
1756
- class ForwardRule < TencentCloud::Common::AbstractModel
1757
- # @param Domain: 私有域名
1758
- # @type Domain: String
1759
- # @param RuleName: 转发规则名称
1760
- # @type RuleName: String
1761
- # @param RuleId: 规则id
1762
- # @type RuleId: String
1763
- # @param RuleType: 转发规则类型:云上到云下DOWN、云下到云上DOWN
1764
- # @type RuleType: String
1765
- # @param CreatedAt: 创建时间
1766
- # @type CreatedAt: String
1767
- # @param UpdatedAt: 更新时间
1768
- # @type UpdatedAt: String
1769
- # @param EndPointName: 终端节点名称
1770
- # @type EndPointName: String
1771
- # @param EndPointId: 终端节点ID
1772
- # @type EndPointId: String
1773
- # @param ForwardAddress: 转发地址
1774
- # @type ForwardAddress: Array
1775
- # @param VpcSet: 私有域绑定的vpc列表
1776
- # 注意:此字段可能返回 null,表示取不到有效值。
1777
- # @type VpcSet: Array
1778
- # @param ZoneId: 绑定的私有域ID
1779
- # @type ZoneId: String
1780
- # @param Tags: 标签
1781
- # 注意:此字段可能返回 null,表示取不到有效值。
1782
- # @type Tags: Array
1783
-
1784
- attr_accessor :Domain, :RuleName, :RuleId, :RuleType, :CreatedAt, :UpdatedAt, :EndPointName, :EndPointId, :ForwardAddress, :VpcSet, :ZoneId, :Tags
1785
-
1786
- 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)
1787
- @Domain = domain
1788
- @RuleName = rulename
1789
- @RuleId = ruleid
1790
- @RuleType = ruletype
1791
- @CreatedAt = createdat
1792
- @UpdatedAt = updatedat
1793
- @EndPointName = endpointname
1794
- @EndPointId = endpointid
1795
- @ForwardAddress = forwardaddress
1796
- @VpcSet = vpcset
1797
- @ZoneId = zoneid
1798
- @Tags = tags
1799
- end
1800
-
1801
- def deserialize(params)
1802
- @Domain = params['Domain']
1803
- @RuleName = params['RuleName']
1804
- @RuleId = params['RuleId']
1805
- @RuleType = params['RuleType']
1806
- @CreatedAt = params['CreatedAt']
1807
- @UpdatedAt = params['UpdatedAt']
1808
- @EndPointName = params['EndPointName']
1809
- @EndPointId = params['EndPointId']
1810
- @ForwardAddress = params['ForwardAddress']
1811
- unless params['VpcSet'].nil?
1812
- @VpcSet = []
1813
- params['VpcSet'].each do |i|
1814
- vpcinfo_tmp = VpcInfo.new
1815
- vpcinfo_tmp.deserialize(i)
1816
- @VpcSet << vpcinfo_tmp
1817
- end
1818
- end
1819
- @ZoneId = params['ZoneId']
1820
- unless params['Tags'].nil?
1821
- @Tags = []
1822
- params['Tags'].each do |i|
1823
- taginfo_tmp = TagInfo.new
1824
- taginfo_tmp.deserialize(i)
1825
- @Tags << taginfo_tmp
1826
- end
1827
- end
1828
- end
1829
- end
1830
-
1831
1244
  # 统计数据表
1832
1245
  class MetricData < TencentCloud::Common::AbstractModel
1833
1246
  # @param Resource: 资源描述
@@ -1864,46 +1277,6 @@ module TencentCloud
1864
1277
  end
1865
1278
  end
1866
1279
 
1867
- # ModifyForwardRule请求参数结构体
1868
- class ModifyForwardRuleRequest < TencentCloud::Common::AbstractModel
1869
- # @param RuleId: 转发规则ID
1870
- # @type RuleId: String
1871
- # @param RuleName: 转发规则名称
1872
- # @type RuleName: String
1873
- # @param EndPointId: 终端节点ID
1874
- # @type EndPointId: String
1875
-
1876
- attr_accessor :RuleId, :RuleName, :EndPointId
1877
-
1878
- def initialize(ruleid=nil, rulename=nil, endpointid=nil)
1879
- @RuleId = ruleid
1880
- @RuleName = rulename
1881
- @EndPointId = endpointid
1882
- end
1883
-
1884
- def deserialize(params)
1885
- @RuleId = params['RuleId']
1886
- @RuleName = params['RuleName']
1887
- @EndPointId = params['EndPointId']
1888
- end
1889
- end
1890
-
1891
- # ModifyForwardRule返回参数结构体
1892
- class ModifyForwardRuleResponse < TencentCloud::Common::AbstractModel
1893
- # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1894
- # @type RequestId: String
1895
-
1896
- attr_accessor :RequestId
1897
-
1898
- def initialize(requestid=nil)
1899
- @RequestId = requestid
1900
- end
1901
-
1902
- def deserialize(params)
1903
- @RequestId = params['RequestId']
1904
- end
1905
- end
1906
-
1907
1280
  # ModifyPrivateZoneRecord请求参数结构体
1908
1281
  class ModifyPrivateZoneRecordRequest < TencentCloud::Common::AbstractModel
1909
1282
  # @param ZoneId: 私有域ID
@@ -2399,41 +1772,6 @@ module TencentCloud
2399
1772
  end
2400
1773
  end
2401
1774
 
2402
- # 地域信息
2403
- class RegionInfo < TencentCloud::Common::AbstractModel
2404
- # @param RegionCode: 地域编码
2405
- # @type RegionCode: String
2406
- # @param CnName: 地域中文名
2407
- # 注意:此字段可能返回 null,表示取不到有效值。
2408
- # @type CnName: String
2409
- # @param EnName: 地域英文名
2410
- # @type EnName: String
2411
- # @param RegionId: 地域ID
2412
- # 注意:此字段可能返回 null,表示取不到有效值。
2413
- # @type RegionId: Integer
2414
- # @param AvailableZoneNum: 可用区数量
2415
- # 注意:此字段可能返回 null,表示取不到有效值。
2416
- # @type AvailableZoneNum: Integer
2417
-
2418
- attr_accessor :RegionCode, :CnName, :EnName, :RegionId, :AvailableZoneNum
2419
-
2420
- def initialize(regioncode=nil, cnname=nil, enname=nil, regionid=nil, availablezonenum=nil)
2421
- @RegionCode = regioncode
2422
- @CnName = cnname
2423
- @EnName = enname
2424
- @RegionId = regionid
2425
- @AvailableZoneNum = availablezonenum
2426
- end
2427
-
2428
- def deserialize(params)
2429
- @RegionCode = params['RegionCode']
2430
- @CnName = params['CnName']
2431
- @EnName = params['EnName']
2432
- @RegionId = params['RegionId']
2433
- @AvailableZoneNum = params['AvailableZoneNum']
2434
- end
2435
- end
2436
-
2437
1775
  # SubscribePrivateZoneService请求参数结构体
2438
1776
  class SubscribePrivateZoneServiceRequest < TencentCloud::Common::AbstractModel
2439
1777
 
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.948
4
+ version: 3.0.950
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-25 00:00:00.000000000 Z
11
+ date: 2024-11-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common