tencentcloud-sdk-teo 3.0.480 → 3.0.481

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: 1ba0737cefd16b54a8c8e81802572c7b320d5397
4
- data.tar.gz: 302aa7d5e687a83694f9119ff55c9670360ff90d
3
+ metadata.gz: c276ac7edc0772ac4bd6020f41b5a46117546bc3
4
+ data.tar.gz: 016016b112e123be3c4f3e078354451b29bc3e88
5
5
  SHA512:
6
- metadata.gz: 2e0f59726882dcf3fd2dee3763b04ca4f7c0ce4d17d568e16adf86a3e08bc0960b48e8039e90ef8f776fcc996074228acdf968f5b27710e569c1cdd4b6f5f680
7
- data.tar.gz: d3f41b4465ea162ec498f9898399caf7f096b9905a1c1d80117afd0f460751474da1d2b95046f53e786a67675148adbd0ad479382fe63bf21514bc7647f16e8b
6
+ metadata.gz: 68b92f8f797c19bcc1fba26accb80703a288dba9d59fd1ee86a8135f547d7660515b2c3c46605e20d07075e3d22e8f12ac3eb790a291719ec645b7e594338631
7
+ data.tar.gz: 7ce3d9ed14b087fa6f7942c37b41d5cdc37178cb20a7fc50b61074525ce969a8a8b25dde17b5d89f573db36d2d353c789f24551330c3bd89f8a41bf79f1d974c
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.480
1
+ 3.0.481
@@ -197,30 +197,6 @@ module TencentCloud
197
197
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
198
198
  end
199
199
 
200
- # 创建 DNS 记录
201
-
202
- # @param request: Request instance for CreateDnsRecord.
203
- # @type request: :class:`Tencentcloud::teo::V20220901::CreateDnsRecordRequest`
204
- # @rtype: :class:`Tencentcloud::teo::V20220901::CreateDnsRecordResponse`
205
- def CreateDnsRecord(request)
206
- body = send_request('CreateDnsRecord', request.serialize)
207
- response = JSON.parse(body)
208
- if response['Response'].key?('Error') == false
209
- model = CreateDnsRecordResponse.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
200
  # 创建IP黑白名单列表
225
201
 
226
202
  # @param request: Request instance for CreateIpTableList.
@@ -245,30 +221,6 @@ module TencentCloud
245
221
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
246
222
  end
247
223
 
248
- # 创建负载均衡
249
-
250
- # @param request: Request instance for CreateLoadBalancing.
251
- # @type request: :class:`Tencentcloud::teo::V20220901::CreateLoadBalancingRequest`
252
- # @rtype: :class:`Tencentcloud::teo::V20220901::CreateLoadBalancingResponse`
253
- def CreateLoadBalancing(request)
254
- body = send_request('CreateLoadBalancing', request.serialize)
255
- response = JSON.parse(body)
256
- if response['Response'].key?('Error') == false
257
- model = CreateLoadBalancingResponse.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
-
272
224
  # 本接口(CreateClsLog)用于创建CLS日志集。
273
225
 
274
226
  # @param request: Request instance for CreateLogSet.
@@ -605,54 +557,6 @@ module TencentCloud
605
557
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
606
558
  end
607
559
 
608
- # 批量删除 DNS 记录
609
-
610
- # @param request: Request instance for DeleteDnsRecords.
611
- # @type request: :class:`Tencentcloud::teo::V20220901::DeleteDnsRecordsRequest`
612
- # @rtype: :class:`Tencentcloud::teo::V20220901::DeleteDnsRecordsResponse`
613
- def DeleteDnsRecords(request)
614
- body = send_request('DeleteDnsRecords', request.serialize)
615
- response = JSON.parse(body)
616
- if response['Response'].key?('Error') == false
617
- model = DeleteDnsRecordsResponse.new
618
- model.deserialize(response['Response'])
619
- model
620
- else
621
- code = response['Response']['Error']['Code']
622
- message = response['Response']['Error']['Message']
623
- reqid = response['Response']['RequestId']
624
- raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
625
- end
626
- rescue TencentCloud::Common::TencentCloudSDKException => e
627
- raise e
628
- rescue StandardError => e
629
- raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
630
- end
631
-
632
- # 删除负载均衡
633
-
634
- # @param request: Request instance for DeleteLoadBalancing.
635
- # @type request: :class:`Tencentcloud::teo::V20220901::DeleteLoadBalancingRequest`
636
- # @rtype: :class:`Tencentcloud::teo::V20220901::DeleteLoadBalancingResponse`
637
- def DeleteLoadBalancing(request)
638
- body = send_request('DeleteLoadBalancing', request.serialize)
639
- response = JSON.parse(body)
640
- if response['Response'].key?('Error') == false
641
- model = DeleteLoadBalancingResponse.new
642
- model.deserialize(response['Response'])
643
- model
644
- else
645
- code = response['Response']['Error']['Code']
646
- message = response['Response']['Error']['Message']
647
- reqid = response['Response']['RequestId']
648
- raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
649
- end
650
- rescue TencentCloud::Common::TencentCloudSDKException => e
651
- raise e
652
- rescue StandardError => e
653
- raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
654
- end
655
-
656
560
  # 本接口(DeleteLogTopicTask)用于删除日志推送任务。
657
561
 
658
562
  # @param request: Request instance for DeleteLogTopicTask.
@@ -1301,30 +1205,6 @@ module TencentCloud
1301
1205
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1302
1206
  end
1303
1207
 
1304
- # 查询 DNS 记录列表,支持搜索、分页、排序、过滤。
1305
-
1306
- # @param request: Request instance for DescribeDnsRecords.
1307
- # @type request: :class:`Tencentcloud::teo::V20220901::DescribeDnsRecordsRequest`
1308
- # @rtype: :class:`Tencentcloud::teo::V20220901::DescribeDnsRecordsResponse`
1309
- def DescribeDnsRecords(request)
1310
- body = send_request('DescribeDnsRecords', request.serialize)
1311
- response = JSON.parse(body)
1312
- if response['Response'].key?('Error') == false
1313
- model = DescribeDnsRecordsResponse.new
1314
- model.deserialize(response['Response'])
1315
- model
1316
- else
1317
- code = response['Response']['Error']['Code']
1318
- message = response['Response']['Error']['Message']
1319
- reqid = response['Response']['RequestId']
1320
- raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1321
- end
1322
- rescue TencentCloud::Common::TencentCloudSDKException => e
1323
- raise e
1324
- rescue StandardError => e
1325
- raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1326
- end
1327
-
1328
1208
  # 用于查询 DNSSEC 相关信息
1329
1209
 
1330
1210
  # @param request: Request instance for DescribeDnssec.
@@ -1397,30 +1277,6 @@ module TencentCloud
1397
1277
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1398
1278
  end
1399
1279
 
1400
- # 获取负载均衡列表
1401
-
1402
- # @param request: Request instance for DescribeLoadBalancing.
1403
- # @type request: :class:`Tencentcloud::teo::V20220901::DescribeLoadBalancingRequest`
1404
- # @rtype: :class:`Tencentcloud::teo::V20220901::DescribeLoadBalancingResponse`
1405
- def DescribeLoadBalancing(request)
1406
- body = send_request('DescribeLoadBalancing', request.serialize)
1407
- response = JSON.parse(body)
1408
- if response['Response'].key?('Error') == false
1409
- model = DescribeLoadBalancingResponse.new
1410
- model.deserialize(response['Response'])
1411
- model
1412
- else
1413
- code = response['Response']['Error']['Code']
1414
- message = response['Response']['Error']['Message']
1415
- reqid = response['Response']['RequestId']
1416
- raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1417
- end
1418
- rescue TencentCloud::Common::TencentCloudSDKException => e
1419
- raise e
1420
- rescue StandardError => e
1421
- raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1422
- end
1423
-
1424
1280
  # 本接口(DescribeLogSets)用于获取日志集列表。
1425
1281
 
1426
1282
  # @param request: Request instance for DescribeLogSets.
@@ -2645,30 +2501,6 @@ module TencentCloud
2645
2501
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2646
2502
  end
2647
2503
 
2648
- # 修改 DNS 记录
2649
-
2650
- # @param request: Request instance for ModifyDnsRecord.
2651
- # @type request: :class:`Tencentcloud::teo::V20220901::ModifyDnsRecordRequest`
2652
- # @rtype: :class:`Tencentcloud::teo::V20220901::ModifyDnsRecordResponse`
2653
- def ModifyDnsRecord(request)
2654
- body = send_request('ModifyDnsRecord', request.serialize)
2655
- response = JSON.parse(body)
2656
- if response['Response'].key?('Error') == false
2657
- model = ModifyDnsRecordResponse.new
2658
- model.deserialize(response['Response'])
2659
- model
2660
- else
2661
- code = response['Response']['Error']['Code']
2662
- message = response['Response']['Error']['Message']
2663
- reqid = response['Response']['RequestId']
2664
- raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
2665
- end
2666
- rescue TencentCloud::Common::TencentCloudSDKException => e
2667
- raise e
2668
- rescue StandardError => e
2669
- raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2670
- end
2671
-
2672
2504
  # 设置站点DNSSEC状态
2673
2505
 
2674
2506
  # @param request: Request instance for ModifyDnssec.
@@ -2717,30 +2549,6 @@ module TencentCloud
2717
2549
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2718
2550
  end
2719
2551
 
2720
- # 修改负载均衡
2721
-
2722
- # @param request: Request instance for ModifyLoadBalancing.
2723
- # @type request: :class:`Tencentcloud::teo::V20220901::ModifyLoadBalancingRequest`
2724
- # @rtype: :class:`Tencentcloud::teo::V20220901::ModifyLoadBalancingResponse`
2725
- def ModifyLoadBalancing(request)
2726
- body = send_request('ModifyLoadBalancing', request.serialize)
2727
- response = JSON.parse(body)
2728
- if response['Response'].key?('Error') == false
2729
- model = ModifyLoadBalancingResponse.new
2730
- model.deserialize(response['Response'])
2731
- model
2732
- else
2733
- code = response['Response']['Error']['Code']
2734
- message = response['Response']['Error']['Message']
2735
- reqid = response['Response']['RequestId']
2736
- raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
2737
- end
2738
- rescue TencentCloud::Common::TencentCloudSDKException => e
2739
- raise e
2740
- rescue StandardError => e
2741
- raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2742
- end
2743
-
2744
2552
  # 本接口(ModifyLogTopicTask)用于修改日志推送任务信息。
2745
2553
 
2746
2554
  # @param request: Request instance for ModifyLogTopicTask.
@@ -301,37 +301,6 @@ module TencentCloud
301
301
  end
302
302
  end
303
303
 
304
- # 高级回源配置
305
- class AdvancedOriginGroup < TencentCloud::Common::AbstractModel
306
- # @param OriginGroupConditions: 高级回源配置的匹配条件。其中相同的Target只能出现一次。
307
- # @type OriginGroupConditions: Array
308
- # @param OriginGroupId: 主源站组ID。
309
- # @type OriginGroupId: String
310
- # @param BackupOriginGroupId: 备用源站组ID。
311
- # @type BackupOriginGroupId: String
312
-
313
- attr_accessor :OriginGroupConditions, :OriginGroupId, :BackupOriginGroupId
314
-
315
- def initialize(origingroupconditions=nil, origingroupid=nil, backuporigingroupid=nil)
316
- @OriginGroupConditions = origingroupconditions
317
- @OriginGroupId = origingroupid
318
- @BackupOriginGroupId = backuporigingroupid
319
- end
320
-
321
- def deserialize(params)
322
- unless params['OriginGroupConditions'].nil?
323
- @OriginGroupConditions = []
324
- params['OriginGroupConditions'].each do |i|
325
- origingroupcondition_tmp = OriginGroupCondition.new
326
- origingroupcondition_tmp.deserialize(i)
327
- @OriginGroupConditions << origingroupcondition_tmp
328
- end
329
- end
330
- @OriginGroupId = params['OriginGroupId']
331
- @BackupOriginGroupId = params['BackupOriginGroupId']
332
- end
333
- end
334
-
335
304
  # AI规则引擎防护
336
305
  class AiRule < TencentCloud::Common::AbstractModel
337
306
  # @param Mode: AI规则引擎状态,取值有:
@@ -1633,76 +1602,6 @@ module TencentCloud
1633
1602
  end
1634
1603
  end
1635
1604
 
1636
- # CreateDnsRecord请求参数结构体
1637
- class CreateDnsRecordRequest < TencentCloud::Common::AbstractModel
1638
- # @param ZoneId: DNS记录所属站点ID。
1639
- # @type ZoneId: String
1640
- # @param Type: DNS记录类型,取值有:
1641
- # <li>A:将域名指向一个外网 IPv4 地址,如 8.8.8.8;</li>
1642
- # <li>AAAA:将域名指向一个外网 IPv6 地址;</li>
1643
- # <li>MX:用于邮箱服务器,相关记录值/优先级参数由邮件注册商提供。存在多条 MX 记录时,优先级越低越优先;</li>
1644
- # <li>CNAME:将域名指向另一个域名,再由该域名解析出最终 IP 地址;</li>
1645
- # <li>TXT:对域名进行标识和说明,常用于域名验证和 SPF 记录(反垃圾邮件);</li>
1646
- # <li>NS:如果需要将子域名交给其他 DNS 服务商解析,则需要添加 NS 记录。根域名无法添加 NS 记录;</li>
1647
- # <li>CAA:指定可为本站点颁发证书的 CA;</li>
1648
- # <li>SRV:标识某台服务器使用了某个服务,常见于微软系统的目录管理。</li>
1649
- # @type Type: String
1650
- # @param Name: DNS记录名。
1651
- # @type Name: String
1652
- # @param Content: DNS记录内容。
1653
- # @type Content: String
1654
- # @param Mode: 代理模式,取值有:
1655
- # <li>dns_only:仅DNS解析;</li>
1656
- # <li>proxied:代理加速。</li>
1657
- # @type Mode: String
1658
- # @param TTL: 缓存时间,数值越小,修改记录各地生效时间越快,默认为300,单位:秒。
1659
- # @type TTL: Integer
1660
- # @param Priority: 该参数在创建MX记录时生效,值越小优先级越高,用户可指定值范围1~50,不指定默认为0。
1661
- # @type Priority: Integer
1662
-
1663
- attr_accessor :ZoneId, :Type, :Name, :Content, :Mode, :TTL, :Priority
1664
-
1665
- def initialize(zoneid=nil, type=nil, name=nil, content=nil, mode=nil, ttl=nil, priority=nil)
1666
- @ZoneId = zoneid
1667
- @Type = type
1668
- @Name = name
1669
- @Content = content
1670
- @Mode = mode
1671
- @TTL = ttl
1672
- @Priority = priority
1673
- end
1674
-
1675
- def deserialize(params)
1676
- @ZoneId = params['ZoneId']
1677
- @Type = params['Type']
1678
- @Name = params['Name']
1679
- @Content = params['Content']
1680
- @Mode = params['Mode']
1681
- @TTL = params['TTL']
1682
- @Priority = params['Priority']
1683
- end
1684
- end
1685
-
1686
- # CreateDnsRecord返回参数结构体
1687
- class CreateDnsRecordResponse < TencentCloud::Common::AbstractModel
1688
- # @param DnsRecordId: DNS解析记录ID。
1689
- # @type DnsRecordId: String
1690
- # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1691
- # @type RequestId: String
1692
-
1693
- attr_accessor :DnsRecordId, :RequestId
1694
-
1695
- def initialize(dnsrecordid=nil, requestid=nil)
1696
- @DnsRecordId = dnsrecordid
1697
- @RequestId = requestid
1698
- end
1699
-
1700
- def deserialize(params)
1701
- @DnsRecordId = params['DnsRecordId']
1702
- @RequestId = params['RequestId']
1703
- end
1704
- end
1705
-
1706
1605
  # CreateIpTableList请求参数结构体
1707
1606
  class CreateIpTableListRequest < TencentCloud::Common::AbstractModel
1708
1607
  # @param ZoneId: 站点Id。
@@ -1750,82 +1649,6 @@ module TencentCloud
1750
1649
  end
1751
1650
  end
1752
1651
 
1753
- # CreateLoadBalancing请求参数结构体
1754
- class CreateLoadBalancingRequest < TencentCloud::Common::AbstractModel
1755
- # @param ZoneId: 站点ID。
1756
- # @type ZoneId: String
1757
- # @param Host: 负载均衡域名。
1758
- # @type Host: String
1759
- # @param Type: 代理模式,取值有:
1760
- # <li>dns_only:仅DNS;</li>
1761
- # <li>proxied:开启代理。</li>
1762
- # @type Type: String
1763
- # @param OriginGroupId: 主源站源站组ID。
1764
- # @type OriginGroupId: String
1765
- # @param BackupOriginGroupId: 备用源站源站组ID,当Type=proxied时可以填写,为空表示不使用备用源站。
1766
- # @type BackupOriginGroupId: String
1767
- # @param TTL: 当Type=dns_only时,指解析记录在DNS服务器缓存的生存时间。
1768
- # 取值范围60-86400,单位:秒,不填写使用默认值:600。
1769
- # @type TTL: Integer
1770
- # @param OriginType: 回源类型,取值有:
1771
- # <li>normal:主备回源;</li>
1772
- # <li>advanced:高级回源配置(仅当Type=proxied时可以使用)。</li>为空表示使用主备回源。
1773
- # @type OriginType: String
1774
- # @param AdvancedOriginGroups: 高级回源配置,当OriginType=advanced时有效。
1775
- # @type AdvancedOriginGroups: Array
1776
-
1777
- attr_accessor :ZoneId, :Host, :Type, :OriginGroupId, :BackupOriginGroupId, :TTL, :OriginType, :AdvancedOriginGroups
1778
-
1779
- def initialize(zoneid=nil, host=nil, type=nil, origingroupid=nil, backuporigingroupid=nil, ttl=nil, origintype=nil, advancedorigingroups=nil)
1780
- @ZoneId = zoneid
1781
- @Host = host
1782
- @Type = type
1783
- @OriginGroupId = origingroupid
1784
- @BackupOriginGroupId = backuporigingroupid
1785
- @TTL = ttl
1786
- @OriginType = origintype
1787
- @AdvancedOriginGroups = advancedorigingroups
1788
- end
1789
-
1790
- def deserialize(params)
1791
- @ZoneId = params['ZoneId']
1792
- @Host = params['Host']
1793
- @Type = params['Type']
1794
- @OriginGroupId = params['OriginGroupId']
1795
- @BackupOriginGroupId = params['BackupOriginGroupId']
1796
- @TTL = params['TTL']
1797
- @OriginType = params['OriginType']
1798
- unless params['AdvancedOriginGroups'].nil?
1799
- @AdvancedOriginGroups = []
1800
- params['AdvancedOriginGroups'].each do |i|
1801
- advancedorigingroup_tmp = AdvancedOriginGroup.new
1802
- advancedorigingroup_tmp.deserialize(i)
1803
- @AdvancedOriginGroups << advancedorigingroup_tmp
1804
- end
1805
- end
1806
- end
1807
- end
1808
-
1809
- # CreateLoadBalancing返回参数结构体
1810
- class CreateLoadBalancingResponse < TencentCloud::Common::AbstractModel
1811
- # @param LoadBalancingId: 负载均衡ID。
1812
- # @type LoadBalancingId: String
1813
- # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1814
- # @type RequestId: String
1815
-
1816
- attr_accessor :LoadBalancingId, :RequestId
1817
-
1818
- def initialize(loadbalancingid=nil, requestid=nil)
1819
- @LoadBalancingId = loadbalancingid
1820
- @RequestId = requestid
1821
- end
1822
-
1823
- def deserialize(params)
1824
- @LoadBalancingId = params['LoadBalancingId']
1825
- @RequestId = params['RequestId']
1826
- end
1827
- end
1828
-
1829
1652
  # CreateLogSet请求参数结构体
1830
1653
  class CreateLogSetRequest < TencentCloud::Common::AbstractModel
1831
1654
  # @param LogSetName: 日志集名称。
@@ -3386,78 +3209,6 @@ module TencentCloud
3386
3209
  end
3387
3210
  end
3388
3211
 
3389
- # DeleteDnsRecords请求参数结构体
3390
- class DeleteDnsRecordsRequest < TencentCloud::Common::AbstractModel
3391
- # @param ZoneId: 待删除记录所属站点 ID。
3392
- # @type ZoneId: String
3393
- # @param DnsRecordIds: 待删除记录 ID。
3394
- # @type DnsRecordIds: Array
3395
-
3396
- attr_accessor :ZoneId, :DnsRecordIds
3397
-
3398
- def initialize(zoneid=nil, dnsrecordids=nil)
3399
- @ZoneId = zoneid
3400
- @DnsRecordIds = dnsrecordids
3401
- end
3402
-
3403
- def deserialize(params)
3404
- @ZoneId = params['ZoneId']
3405
- @DnsRecordIds = params['DnsRecordIds']
3406
- end
3407
- end
3408
-
3409
- # DeleteDnsRecords返回参数结构体
3410
- class DeleteDnsRecordsResponse < TencentCloud::Common::AbstractModel
3411
- # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3412
- # @type RequestId: String
3413
-
3414
- attr_accessor :RequestId
3415
-
3416
- def initialize(requestid=nil)
3417
- @RequestId = requestid
3418
- end
3419
-
3420
- def deserialize(params)
3421
- @RequestId = params['RequestId']
3422
- end
3423
- end
3424
-
3425
- # DeleteLoadBalancing请求参数结构体
3426
- class DeleteLoadBalancingRequest < TencentCloud::Common::AbstractModel
3427
- # @param ZoneId: 站点ID。
3428
- # @type ZoneId: String
3429
- # @param LoadBalancingId: 负载均衡ID。
3430
- # @type LoadBalancingId: String
3431
-
3432
- attr_accessor :ZoneId, :LoadBalancingId
3433
-
3434
- def initialize(zoneid=nil, loadbalancingid=nil)
3435
- @ZoneId = zoneid
3436
- @LoadBalancingId = loadbalancingid
3437
- end
3438
-
3439
- def deserialize(params)
3440
- @ZoneId = params['ZoneId']
3441
- @LoadBalancingId = params['LoadBalancingId']
3442
- end
3443
- end
3444
-
3445
- # DeleteLoadBalancing返回参数结构体
3446
- class DeleteLoadBalancingResponse < TencentCloud::Common::AbstractModel
3447
- # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3448
- # @type RequestId: String
3449
-
3450
- attr_accessor :RequestId
3451
-
3452
- def initialize(requestid=nil)
3453
- @RequestId = requestid
3454
- end
3455
-
3456
- def deserialize(params)
3457
- @RequestId = params['RequestId']
3458
- end
3459
- end
3460
-
3461
3212
  # DeleteLogTopicTask请求参数结构体
3462
3213
  class DeleteLogTopicTaskRequest < TencentCloud::Common::AbstractModel
3463
3214
  # @param TopicId: 待删除的推送任务ID。
@@ -5331,99 +5082,6 @@ module TencentCloud
5331
5082
  end
5332
5083
  end
5333
5084
 
5334
- # DescribeDnsRecords请求参数结构体
5335
- class DescribeDnsRecordsRequest < TencentCloud::Common::AbstractModel
5336
- # @param ZoneId: DNS记录所属站点ID。不填写该参数默认返回所有站点下的记录。
5337
- # @type ZoneId: String
5338
- # @param Filters: 过滤条件,Filters.Values的上限为20。详细的过滤条件如下:
5339
- # <li>record-id<br>   按照【<strong>DNS记录id</strong>】进行过滤。DNS记录ID形如:record-1a8df68z。<br>   类型:String<br>   必选:否
5340
- # <li>record-name<br>   按照【<strong>DNS记录名称</strong>】进行过滤。<br>   类型:String<br>   必选:否
5341
- # <li>record-type<br>   按照【<strong>DNS记录类型</strong>】进行过滤。<br>   类型:String<br>   必选:否<br>   可选项:<br>   A:将域名指向一个外网 IPv4 地址,如 8.8.8.8<br>   AAAA:将域名指向一个外网 IPv6 地址<br>   CNAME:将域名指向另一个域名,再由该域名解析出最终 IP 地址<br>   TXT:对域名进行标识和说明,常用于域名验证和 SPF 记录(反垃圾邮件)<br>   NS:如果需要将子域名交给其他 DNS 服务商解析,则需要添加 NS 记录。根域名无法添加 NS 记录<br>   CAA:指定可为本站点颁发证书的 CA<br>   SRV:标识某台服务器使用了某个服务,常见于微软系统的目录管理<br>   MX:指定收件人邮件服务器。
5342
- # <li>mode<br>   按照【<strong>代理模式</strong>】进行过滤。<br>   类型:String<br>   必选:否<br>   可选项:<br>   dns_only:仅DNS解析<br>   proxied:代理加速
5343
- # <li>ttl<br>   按照【<strong>解析生效时间</strong>】进行过滤。<br>   类型:string<br>   必选:否
5344
- # @type Filters: Array
5345
- # @param Direction: 列表排序方式,取值有:
5346
- # <li>asc:升序排列;</li>
5347
- # <li>desc:降序排列。</li>默认值为asc。
5348
- # @type Direction: String
5349
- # @param Match: 匹配方式,取值有:
5350
- # <li>all:返回匹配所有查询条件的记录;</li>
5351
- # <li>any:返回匹配任意一个查询条件的记录。</li>默认值为all。
5352
- # @type Match: String
5353
- # @param Limit: 分页查询限制数目,默认值:20,上限:1000。
5354
- # @type Limit: Integer
5355
- # @param Offset: 分页查询偏移量,默认为 0。
5356
- # @type Offset: Integer
5357
- # @param Order: 排序依据,取值有:
5358
- # <li>content:DNS记录内容;</li>
5359
- # <li>created_on:DNS记录创建时间;</li>
5360
- # <li>mode:代理模式;</li>
5361
- # <li>record-name:DNS记录名称;</li>
5362
- # <li>ttl:解析记录生效时间;</li>
5363
- # <li>record-type:DNS记录类型。</li>默认根据record-type, recrod-name属性组合排序。
5364
- # @type Order: String
5365
-
5366
- attr_accessor :ZoneId, :Filters, :Direction, :Match, :Limit, :Offset, :Order
5367
-
5368
- def initialize(zoneid=nil, filters=nil, direction=nil, match=nil, limit=nil, offset=nil, order=nil)
5369
- @ZoneId = zoneid
5370
- @Filters = filters
5371
- @Direction = direction
5372
- @Match = match
5373
- @Limit = limit
5374
- @Offset = offset
5375
- @Order = order
5376
- end
5377
-
5378
- def deserialize(params)
5379
- @ZoneId = params['ZoneId']
5380
- unless params['Filters'].nil?
5381
- @Filters = []
5382
- params['Filters'].each do |i|
5383
- advancedfilter_tmp = AdvancedFilter.new
5384
- advancedfilter_tmp.deserialize(i)
5385
- @Filters << advancedfilter_tmp
5386
- end
5387
- end
5388
- @Direction = params['Direction']
5389
- @Match = params['Match']
5390
- @Limit = params['Limit']
5391
- @Offset = params['Offset']
5392
- @Order = params['Order']
5393
- end
5394
- end
5395
-
5396
- # DescribeDnsRecords返回参数结构体
5397
- class DescribeDnsRecordsResponse < TencentCloud::Common::AbstractModel
5398
- # @param TotalCount: DNS记录总数。
5399
- # @type TotalCount: Integer
5400
- # @param DnsRecords: DNS 记录列表。
5401
- # @type DnsRecords: Array
5402
- # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
5403
- # @type RequestId: String
5404
-
5405
- attr_accessor :TotalCount, :DnsRecords, :RequestId
5406
-
5407
- def initialize(totalcount=nil, dnsrecords=nil, requestid=nil)
5408
- @TotalCount = totalcount
5409
- @DnsRecords = dnsrecords
5410
- @RequestId = requestid
5411
- end
5412
-
5413
- def deserialize(params)
5414
- @TotalCount = params['TotalCount']
5415
- unless params['DnsRecords'].nil?
5416
- @DnsRecords = []
5417
- params['DnsRecords'].each do |i|
5418
- dnsrecord_tmp = DnsRecord.new
5419
- dnsrecord_tmp.deserialize(i)
5420
- @DnsRecords << dnsrecord_tmp
5421
- end
5422
- end
5423
- @RequestId = params['RequestId']
5424
- end
5425
- end
5426
-
5427
5085
  # DescribeDnssec请求参数结构体
5428
5086
  class DescribeDnssecRequest < TencentCloud::Common::AbstractModel
5429
5087
  # @param ZoneId: 站点ID。
@@ -5604,71 +5262,6 @@ module TencentCloud
5604
5262
  end
5605
5263
  end
5606
5264
 
5607
- # DescribeLoadBalancing请求参数结构体
5608
- class DescribeLoadBalancingRequest < TencentCloud::Common::AbstractModel
5609
- # @param Offset: 分页查询偏移量,默认为0。
5610
- # @type Offset: Integer
5611
- # @param Limit: 分页查询限制数目,默认为10,取值:1-1000。
5612
- # @type Limit: Integer
5613
- # @param Filters: 过滤条件,Filters.Values的上限为20。详细的过滤条件如下:
5614
- # <li>zone-id<br>   按照【<strong>站点ID</strong>】进行过滤。站点ID形如:zone-1a8df68z<br>   类型:String<br>   必选:否<br>   模糊查询:不支持
5615
- # </li><li>load-balancing-id<br>   按照【<strong>负载均衡ID</strong>】进行过滤。负载均衡ID形如:lb-d21bfaf7-8d72-11ec-841d-00ff977fb3c8<br>   类型:String<br>   必选:否<br>   模糊查询:不支持
5616
- # </li><li>host<br>   按照【<strong>负载均衡host</strong>】进行过滤。host形如:lb.tencent.com<br>   类型:String<br>   必选:否<br>   模糊查询:支持,模糊查询时仅支持一个host</li>
5617
- # @type Filters: Array
5618
-
5619
- attr_accessor :Offset, :Limit, :Filters
5620
-
5621
- def initialize(offset=nil, limit=nil, filters=nil)
5622
- @Offset = offset
5623
- @Limit = limit
5624
- @Filters = filters
5625
- end
5626
-
5627
- def deserialize(params)
5628
- @Offset = params['Offset']
5629
- @Limit = params['Limit']
5630
- unless params['Filters'].nil?
5631
- @Filters = []
5632
- params['Filters'].each do |i|
5633
- advancedfilter_tmp = AdvancedFilter.new
5634
- advancedfilter_tmp.deserialize(i)
5635
- @Filters << advancedfilter_tmp
5636
- end
5637
- end
5638
- end
5639
- end
5640
-
5641
- # DescribeLoadBalancing返回参数结构体
5642
- class DescribeLoadBalancingResponse < TencentCloud::Common::AbstractModel
5643
- # @param TotalCount: 记录总数。
5644
- # @type TotalCount: Integer
5645
- # @param Data: 负载均衡信息。
5646
- # @type Data: Array
5647
- # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
5648
- # @type RequestId: String
5649
-
5650
- attr_accessor :TotalCount, :Data, :RequestId
5651
-
5652
- def initialize(totalcount=nil, data=nil, requestid=nil)
5653
- @TotalCount = totalcount
5654
- @Data = data
5655
- @RequestId = requestid
5656
- end
5657
-
5658
- def deserialize(params)
5659
- @TotalCount = params['TotalCount']
5660
- unless params['Data'].nil?
5661
- @Data = []
5662
- params['Data'].each do |i|
5663
- loadbalancing_tmp = LoadBalancing.new
5664
- loadbalancing_tmp.deserialize(i)
5665
- @Data << loadbalancing_tmp
5666
- end
5667
- end
5668
- @RequestId = params['RequestId']
5669
- end
5670
- end
5671
-
5672
5265
  # DescribeLogSets请求参数结构体
5673
5266
  class DescribeLogSetsRequest < TencentCloud::Common::AbstractModel
5674
5267
  # @param LogSetRegion: 日志集所属的地域。
@@ -8540,94 +8133,6 @@ module TencentCloud
8540
8133
  end
8541
8134
  end
8542
8135
 
8543
- # DNS 记录
8544
- class DnsRecord < TencentCloud::Common::AbstractModel
8545
- # @param DnsRecordId: 记录 ID。
8546
- # @type DnsRecordId: String
8547
- # @param DnsRecordType: DNS记录类型,取值有:
8548
- # <li>A:将域名指向一个外网 IPv4 地址,如 8.8.8.8;</li>
8549
- # <li>AAAA:将域名指向一个外网 IPv6 地址;</li>
8550
- # <li>MX:用于邮箱服务器,相关记录值/优先级参数由邮件注册商提供。存在多条 MX 记录时,优先级越低越优先;</li>
8551
- # <li>CNAME:将域名指向另一个域名,再由该域名解析出最终 IP 地址;</li>
8552
- # <li>TXT:对域名进行标识和说明,常用于域名验证和 SPF 记录(反垃圾邮件);</li>
8553
- # <li>NS:如果需要将子域名交给其他 DNS 服务商解析,则需要添加 NS 记录。根域名无法添加 NS 记录;</li>
8554
- # <li>CAA:指定可为本站点颁发证书的 CA;</li>
8555
- # <li>SRV:标识某台服务器使用了某个服务,常见于微软系统的目录管理。</li>
8556
- # @type DnsRecordType: String
8557
- # @param DnsRecordName: 记录名称。
8558
- # @type DnsRecordName: String
8559
- # @param Content: 记录值。
8560
- # @type Content: String
8561
- # @param Mode: 代理模式,取值有:
8562
- # <li>dns_only:仅DNS解析;</li>
8563
- # <li>proxied:代理加速。</li>
8564
- # @type Mode: String
8565
- # @param TTL: 缓存时间,数值越小,修改记录各地生效时间越快,单位:秒。
8566
- # @type TTL: Integer
8567
- # @param Priority: MX记录优先级,数值越小越优先。
8568
- # @type Priority: Integer
8569
- # @param CreatedOn: 创建时间。
8570
- # @type CreatedOn: String
8571
- # @param ModifiedOn: 修改时间。
8572
- # @type ModifiedOn: String
8573
- # @param Locked: 域名锁定状态。
8574
- # @type Locked: Boolean
8575
- # @param ZoneId: 站点 ID。
8576
- # @type ZoneId: String
8577
- # @param ZoneName: 站点名称。
8578
- # @type ZoneName: String
8579
- # @param Status: 记录解析状态,取值有:
8580
- # <li>active:生效;</li>
8581
- # <li>pending:不生效。</li>
8582
- # @type Status: String
8583
- # @param Cname: CNAME 地址。
8584
- # 注意:此字段可能返回 null,表示取不到有效值。
8585
- # @type Cname: String
8586
- # @param DomainStatus: 域名服务类型,取值有:
8587
- # <li>lb:负载均衡;</li>
8588
- # <li>security:安全;</li>
8589
- # <li>l4:四层代理。</li>
8590
- # @type DomainStatus: Array
8591
-
8592
- attr_accessor :DnsRecordId, :DnsRecordType, :DnsRecordName, :Content, :Mode, :TTL, :Priority, :CreatedOn, :ModifiedOn, :Locked, :ZoneId, :ZoneName, :Status, :Cname, :DomainStatus
8593
-
8594
- def initialize(dnsrecordid=nil, dnsrecordtype=nil, dnsrecordname=nil, content=nil, mode=nil, ttl=nil, priority=nil, createdon=nil, modifiedon=nil, locked=nil, zoneid=nil, zonename=nil, status=nil, cname=nil, domainstatus=nil)
8595
- @DnsRecordId = dnsrecordid
8596
- @DnsRecordType = dnsrecordtype
8597
- @DnsRecordName = dnsrecordname
8598
- @Content = content
8599
- @Mode = mode
8600
- @TTL = ttl
8601
- @Priority = priority
8602
- @CreatedOn = createdon
8603
- @ModifiedOn = modifiedon
8604
- @Locked = locked
8605
- @ZoneId = zoneid
8606
- @ZoneName = zonename
8607
- @Status = status
8608
- @Cname = cname
8609
- @DomainStatus = domainstatus
8610
- end
8611
-
8612
- def deserialize(params)
8613
- @DnsRecordId = params['DnsRecordId']
8614
- @DnsRecordType = params['DnsRecordType']
8615
- @DnsRecordName = params['DnsRecordName']
8616
- @Content = params['Content']
8617
- @Mode = params['Mode']
8618
- @TTL = params['TTL']
8619
- @Priority = params['Priority']
8620
- @CreatedOn = params['CreatedOn']
8621
- @ModifiedOn = params['ModifiedOn']
8622
- @Locked = params['Locked']
8623
- @ZoneId = params['ZoneId']
8624
- @ZoneName = params['ZoneName']
8625
- @Status = params['Status']
8626
- @Cname = params['Cname']
8627
- @DomainStatus = params['DomainStatus']
8628
- end
8629
- end
8630
-
8631
8136
  # DNSSEC 相关信息
8632
8137
  class DnssecInfo < TencentCloud::Common::AbstractModel
8633
8138
  # @param Flags: 标志。
@@ -9690,80 +9195,6 @@ module TencentCloud
9690
9195
  end
9691
9196
  end
9692
9197
 
9693
- # 负载均衡信息
9694
- class LoadBalancing < TencentCloud::Common::AbstractModel
9695
- # @param LoadBalancingId: 负载均衡ID。
9696
- # @type LoadBalancingId: String
9697
- # @param ZoneId: 站点ID。
9698
- # @type ZoneId: String
9699
- # @param Host: 子域名,填写@表示根域。
9700
- # @type Host: String
9701
- # @param Type: 代理模式,取值有:
9702
- # <li>dns_only:仅DNS;</li>
9703
- # <li>proxied:开启代理。</li>
9704
- # @type Type: String
9705
- # @param TTL: 当Type=dns_only表示DNS记录的缓存时间。
9706
- # @type TTL: Integer
9707
- # @param Status: 状态,取值有:
9708
- # <li>online:部署成功;</li>
9709
- # <li>process:部署中。</li>
9710
- # @type Status: String
9711
- # @param Cname: 调度域名。
9712
- # @type Cname: String
9713
- # @param OriginGroupId: 主源源站组ID。
9714
- # @type OriginGroupId: String
9715
- # @param BackupOriginGroupId: 备用源站源站组ID。为空表示不适用备用源站。
9716
- # @type BackupOriginGroupId: String
9717
- # @param UpdateTime: 更新时间。
9718
- # @type UpdateTime: String
9719
- # @param OriginType: 回源类型,取值有:
9720
- # <li>normal:主备回源;</li>
9721
- # <li>advanced:高级回源配置。</li>
9722
- # @type OriginType: String
9723
- # @param AdvancedOriginGroups: 高级回源配置,当OriginType=advanced时有效。
9724
- # 注意:此字段可能返回 null,表示取不到有效值。
9725
- # @type AdvancedOriginGroups: Array
9726
-
9727
- attr_accessor :LoadBalancingId, :ZoneId, :Host, :Type, :TTL, :Status, :Cname, :OriginGroupId, :BackupOriginGroupId, :UpdateTime, :OriginType, :AdvancedOriginGroups
9728
-
9729
- def initialize(loadbalancingid=nil, zoneid=nil, host=nil, type=nil, ttl=nil, status=nil, cname=nil, origingroupid=nil, backuporigingroupid=nil, updatetime=nil, origintype=nil, advancedorigingroups=nil)
9730
- @LoadBalancingId = loadbalancingid
9731
- @ZoneId = zoneid
9732
- @Host = host
9733
- @Type = type
9734
- @TTL = ttl
9735
- @Status = status
9736
- @Cname = cname
9737
- @OriginGroupId = origingroupid
9738
- @BackupOriginGroupId = backuporigingroupid
9739
- @UpdateTime = updatetime
9740
- @OriginType = origintype
9741
- @AdvancedOriginGroups = advancedorigingroups
9742
- end
9743
-
9744
- def deserialize(params)
9745
- @LoadBalancingId = params['LoadBalancingId']
9746
- @ZoneId = params['ZoneId']
9747
- @Host = params['Host']
9748
- @Type = params['Type']
9749
- @TTL = params['TTL']
9750
- @Status = params['Status']
9751
- @Cname = params['Cname']
9752
- @OriginGroupId = params['OriginGroupId']
9753
- @BackupOriginGroupId = params['BackupOriginGroupId']
9754
- @UpdateTime = params['UpdateTime']
9755
- @OriginType = params['OriginType']
9756
- unless params['AdvancedOriginGroups'].nil?
9757
- @AdvancedOriginGroups = []
9758
- params['AdvancedOriginGroups'].each do |i|
9759
- advancedorigingroup_tmp = AdvancedOriginGroup.new
9760
- advancedorigingroup_tmp.deserialize(i)
9761
- @AdvancedOriginGroups << advancedorigingroup_tmp
9762
- end
9763
- end
9764
- end
9765
- end
9766
-
9767
9198
  # 日志集基本信息
9768
9199
  class LogSetInfo < TencentCloud::Common::AbstractModel
9769
9200
  # @param LogSetRegion: 日志集所属地区。
@@ -10452,76 +9883,6 @@ module TencentCloud
10452
9883
  end
10453
9884
  end
10454
9885
 
10455
- # ModifyDnsRecord请求参数结构体
10456
- class ModifyDnsRecordRequest < TencentCloud::Common::AbstractModel
10457
- # @param DnsRecordId: 记录ID。
10458
- # @type DnsRecordId: String
10459
- # @param ZoneId: 站点ID。
10460
- # @type ZoneId: String
10461
- # @param DnsRecordType: DNS记录类型,取值有:
10462
- # <li>A:将域名指向一个外网 IPv4 地址,如 8.8.8.8;</li>
10463
- # <li>AAAA:将域名指向一个外网 IPv6 地址;</li>
10464
- # <li>MX:用于邮箱服务器,相关记录值/优先级参数由邮件注册商提供。存在多条 MX 记录时,优先级越低越优先;</li>
10465
- # <li>CNAME:将域名指向另一个域名,再由该域名解析出最终 IP 地址;</li>
10466
- # <li>TXT:对域名进行标识和说明,常用于域名验证和 SPF 记录(反垃圾邮件);</li>
10467
- # <li>NS:如果需要将子域名交给其他 DNS 服务商解析,则需要添加 NS 记录。根域名无法添加 NS 记录;</li>
10468
- # <li>CAA:指定可为本站点颁发证书的 CA;</li>
10469
- # <li>SRV:标识某台服务器使用了某个服务,常见于微软系统的目录管理。</li>不填写保持原有配置。
10470
- # @type DnsRecordType: String
10471
- # @param DnsRecordName: 记录名称,由主机记录+站点名称组成,不填写保持原有配置。
10472
- # @type DnsRecordName: String
10473
- # @param Content: 记录内容,不填写保持原有配置。
10474
- # @type Content: String
10475
- # @param TTL: 缓存时间,数值越小,修改记录各地生效时间越快,默认为300,单位:秒,不填写保持原有配置。
10476
- # @type TTL: Integer
10477
- # @param Priority: 该参数在修改MX记录时生效,值越小优先级越高,用户可指定值范围为1~50,不指定默认为0,不填写保持原有配置。
10478
- # @type Priority: Integer
10479
- # @param Mode: 代理模式,取值有:
10480
- # <li>dns_only:仅DNS解析;</li>
10481
- # <li>proxied:代理加速。</li>不填写保持原有配置。
10482
- # @type Mode: String
10483
-
10484
- attr_accessor :DnsRecordId, :ZoneId, :DnsRecordType, :DnsRecordName, :Content, :TTL, :Priority, :Mode
10485
-
10486
- def initialize(dnsrecordid=nil, zoneid=nil, dnsrecordtype=nil, dnsrecordname=nil, content=nil, ttl=nil, priority=nil, mode=nil)
10487
- @DnsRecordId = dnsrecordid
10488
- @ZoneId = zoneid
10489
- @DnsRecordType = dnsrecordtype
10490
- @DnsRecordName = dnsrecordname
10491
- @Content = content
10492
- @TTL = ttl
10493
- @Priority = priority
10494
- @Mode = mode
10495
- end
10496
-
10497
- def deserialize(params)
10498
- @DnsRecordId = params['DnsRecordId']
10499
- @ZoneId = params['ZoneId']
10500
- @DnsRecordType = params['DnsRecordType']
10501
- @DnsRecordName = params['DnsRecordName']
10502
- @Content = params['Content']
10503
- @TTL = params['TTL']
10504
- @Priority = params['Priority']
10505
- @Mode = params['Mode']
10506
- end
10507
- end
10508
-
10509
- # ModifyDnsRecord返回参数结构体
10510
- class ModifyDnsRecordResponse < TencentCloud::Common::AbstractModel
10511
- # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
10512
- # @type RequestId: String
10513
-
10514
- attr_accessor :RequestId
10515
-
10516
- def initialize(requestid=nil)
10517
- @RequestId = requestid
10518
- end
10519
-
10520
- def deserialize(params)
10521
- @RequestId = params['RequestId']
10522
- end
10523
- end
10524
-
10525
9886
  # ModifyDnssec请求参数结构体
10526
9887
  class ModifyDnssecRequest < TencentCloud::Common::AbstractModel
10527
9888
  # @param ZoneId: 站点ID。
@@ -10613,79 +9974,6 @@ module TencentCloud
10613
9974
  end
10614
9975
  end
10615
9976
 
10616
- # ModifyLoadBalancing请求参数结构体
10617
- class ModifyLoadBalancingRequest < TencentCloud::Common::AbstractModel
10618
- # @param ZoneId: 站点ID。
10619
- # @type ZoneId: String
10620
- # @param LoadBalancingId: 负载均衡ID。
10621
- # @type LoadBalancingId: String
10622
- # @param Type: 代理模式,取值有:
10623
- # <li>dns_only:仅DNS;</li>
10624
- # <li>proxied:开启代理。</li>
10625
- # @type Type: String
10626
- # @param OriginGroupId: 主源站源站组ID。
10627
- # @type OriginGroupId: String
10628
- # @param BackupOriginGroupId: 备用源站源站组ID,当Type=proxied时可以填写,为空表示不使用备用源站。
10629
- # @type BackupOriginGroupId: String
10630
- # @param TTL: 当Type=dns_only时,指解析记录在DNS服务器缓存的生存时间。
10631
- # 取值范围60-86400,单位:秒,不填写使用默认值:600。
10632
- # @type TTL: Integer
10633
- # @param OriginType: 回源类型,取值有:
10634
- # <li>normal:主备回源;</li>
10635
- # <li>advanced:高级回源配置(仅当Type=proxied时可以使用)。</li>不填写表示使用主备回源。
10636
- # @type OriginType: String
10637
- # @param AdvancedOriginGroups: 高级回源配置,当OriginType=advanced时有效。
10638
- # 不填写表示不使用高级回源配置。
10639
- # @type AdvancedOriginGroups: Array
10640
-
10641
- attr_accessor :ZoneId, :LoadBalancingId, :Type, :OriginGroupId, :BackupOriginGroupId, :TTL, :OriginType, :AdvancedOriginGroups
10642
-
10643
- def initialize(zoneid=nil, loadbalancingid=nil, type=nil, origingroupid=nil, backuporigingroupid=nil, ttl=nil, origintype=nil, advancedorigingroups=nil)
10644
- @ZoneId = zoneid
10645
- @LoadBalancingId = loadbalancingid
10646
- @Type = type
10647
- @OriginGroupId = origingroupid
10648
- @BackupOriginGroupId = backuporigingroupid
10649
- @TTL = ttl
10650
- @OriginType = origintype
10651
- @AdvancedOriginGroups = advancedorigingroups
10652
- end
10653
-
10654
- def deserialize(params)
10655
- @ZoneId = params['ZoneId']
10656
- @LoadBalancingId = params['LoadBalancingId']
10657
- @Type = params['Type']
10658
- @OriginGroupId = params['OriginGroupId']
10659
- @BackupOriginGroupId = params['BackupOriginGroupId']
10660
- @TTL = params['TTL']
10661
- @OriginType = params['OriginType']
10662
- unless params['AdvancedOriginGroups'].nil?
10663
- @AdvancedOriginGroups = []
10664
- params['AdvancedOriginGroups'].each do |i|
10665
- advancedorigingroup_tmp = AdvancedOriginGroup.new
10666
- advancedorigingroup_tmp.deserialize(i)
10667
- @AdvancedOriginGroups << advancedorigingroup_tmp
10668
- end
10669
- end
10670
- end
10671
- end
10672
-
10673
- # ModifyLoadBalancing返回参数结构体
10674
- class ModifyLoadBalancingResponse < TencentCloud::Common::AbstractModel
10675
- # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
10676
- # @type RequestId: String
10677
-
10678
- attr_accessor :RequestId
10679
-
10680
- def initialize(requestid=nil)
10681
- @RequestId = requestid
10682
- end
10683
-
10684
- def deserialize(params)
10685
- @RequestId = params['RequestId']
10686
- end
10687
- end
10688
-
10689
9977
  # ModifyLogTopicTask请求参数结构体
10690
9978
  class ModifyLogTopicTaskRequest < TencentCloud::Common::AbstractModel
10691
9979
  # @param ZoneId: 站点ID。
@@ -11562,33 +10850,6 @@ module TencentCloud
11562
10850
  end
11563
10851
  end
11564
10852
 
11565
- # 回源配置的条件参数
11566
- class OriginGroupCondition < TencentCloud::Common::AbstractModel
11567
- # @param Target: 匹配类型,取值有:
11568
- # <li>url:当前站点下匹配URL路径的请求,例如:/example 或 /example/foo.jpg。支持*表示通配符,支持?表示匹配一个字符。
11569
- # </li>
11570
- # @type Target: String
11571
- # @param Operator: 运算符,取值有:
11572
- # <li>equal:等于。</li>
11573
- # @type Operator: String
11574
- # @param Values: 对应匹配类型的取值。
11575
- # @type Values: Array
11576
-
11577
- attr_accessor :Target, :Operator, :Values
11578
-
11579
- def initialize(target=nil, operator=nil, values=nil)
11580
- @Target = target
11581
- @Operator = operator
11582
- @Values = values
11583
- end
11584
-
11585
- def deserialize(params)
11586
- @Target = params['Target']
11587
- @Operator = params['Operator']
11588
- @Values = params['Values']
11589
- end
11590
- end
11591
-
11592
10853
  # 源站组记录
11593
10854
  class OriginRecord < TencentCloud::Common::AbstractModel
11594
10855
  # @param Record: 源站记录值,不包含端口信息,可以为:IPv4,IPv6,域名格式。
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-teo
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.480
4
+ version: 3.0.481
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-12-26 00:00:00.000000000 Z
11
+ date: 2022-12-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common