tencentcloud-sdk-teo 3.0.930 → 3.0.932

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: 7e5cf9d198fcc28f89adb8fc1ad4d018910553b6
4
- data.tar.gz: ca58c64410c5c44028f7eae9b49004ef42ee0bfc
3
+ metadata.gz: c6e71d62f8692f512d37397d3b768e57684a301c
4
+ data.tar.gz: da50aa20da23273a6a709b687ad47a6ecc09fa98
5
5
  SHA512:
6
- metadata.gz: a74ee226acf9a838e1f91cdd35835157f4c3fcb17a56a0393d282d9b982a94cf6009fe62ed0390184fe70c39bb61475985d71659ff3c3790d5486144c519ceea
7
- data.tar.gz: d51dd251c6c3e5d7aa20013d588878e004d9a24987c9b69991556db118a7eeb4da96b62e098f357e5e9dd310fc599e711ccc09d2a81745bb34477ea5c92dcfc1
6
+ metadata.gz: dd3e084650e78f95db96cbeacd1cdff3f93f2fb2ca211f0e9cf3cdea4554f051ff073f97aa66c94cc49967c93d00774a4d37488ee6b2f011e3d97c56fac371c7
7
+ data.tar.gz: ed1e2ac7061b2dd616f9b02abae024eee9e0f7c4f59721bcc62f910e4f5c15ec926d114de6386b09295011c0c26c17a898904d5b34d2bf6a864ead769ab868e4
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.930
1
+ 3.0.932
@@ -392,6 +392,30 @@ module TencentCloud
392
392
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
393
393
  end
394
394
 
395
+ # 创建负载均衡实例。详情请参考 [快速创建负载均衡实例](https://cloud.tencent.com/document/product/1552/104223)。负载均衡功能内测中,如您需要使用请 [联系我们](https://cloud.tencent.com/online-service)。
396
+
397
+ # @param request: Request instance for CreateLoadBalancer.
398
+ # @type request: :class:`Tencentcloud::teo::V20220901::CreateLoadBalancerRequest`
399
+ # @rtype: :class:`Tencentcloud::teo::V20220901::CreateLoadBalancerResponse`
400
+ def CreateLoadBalancer(request)
401
+ body = send_request('CreateLoadBalancer', request.serialize)
402
+ response = JSON.parse(body)
403
+ if response['Response'].key?('Error') == false
404
+ model = CreateLoadBalancerResponse.new
405
+ model.deserialize(response['Response'])
406
+ model
407
+ else
408
+ code = response['Response']['Error']['Code']
409
+ message = response['Response']['Error']['Message']
410
+ reqid = response['Response']['RequestId']
411
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
412
+ end
413
+ rescue TencentCloud::Common::TencentCloudSDKException => e
414
+ raise e
415
+ rescue StandardError => e
416
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
417
+ end
418
+
395
419
  # 创建源站组,以源站组的方式管理业务源站。此处配置的源站组可于**添加加速域名**和**四层代理**等功能中引用。
396
420
 
397
421
  # @param request: Request instance for CreateOriginGroup.
@@ -855,6 +879,30 @@ module TencentCloud
855
879
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
856
880
  end
857
881
 
882
+ # 删除负载均衡实例,若负载均衡示例被其他服务(例如:四层代理等)引用的时候,示例无法被删除,需要先解除引用关系。负载均衡功能内测中,如您需要使用请 [联系我们](https://cloud.tencent.com/online-service)。
883
+
884
+ # @param request: Request instance for DeleteLoadBalancer.
885
+ # @type request: :class:`Tencentcloud::teo::V20220901::DeleteLoadBalancerRequest`
886
+ # @rtype: :class:`Tencentcloud::teo::V20220901::DeleteLoadBalancerResponse`
887
+ def DeleteLoadBalancer(request)
888
+ body = send_request('DeleteLoadBalancer', request.serialize)
889
+ response = JSON.parse(body)
890
+ if response['Response'].key?('Error') == false
891
+ model = DeleteLoadBalancerResponse.new
892
+ model.deserialize(response['Response'])
893
+ model
894
+ else
895
+ code = response['Response']['Error']['Code']
896
+ message = response['Response']['Error']['Message']
897
+ reqid = response['Response']['RequestId']
898
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
899
+ end
900
+ rescue TencentCloud::Common::TencentCloudSDKException => e
901
+ raise e
902
+ rescue StandardError => e
903
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
904
+ end
905
+
858
906
  # 删除源站组,若源站组仍然被服务(例如:四层代理,域名服务,负载均衡,规则引起)引用,将不允许删除。
859
907
 
860
908
  # @param request: Request instance for DeleteOriginGroup.
@@ -1575,6 +1623,30 @@ module TencentCloud
1575
1623
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1576
1624
  end
1577
1625
 
1626
+ # 查询负载均衡实例列表。负载均衡功能内测中,如您需要使用请 [联系我们](https://cloud.tencent.com/online-service)。
1627
+
1628
+ # @param request: Request instance for DescribeLoadBalancerList.
1629
+ # @type request: :class:`Tencentcloud::teo::V20220901::DescribeLoadBalancerListRequest`
1630
+ # @rtype: :class:`Tencentcloud::teo::V20220901::DescribeLoadBalancerListResponse`
1631
+ def DescribeLoadBalancerList(request)
1632
+ body = send_request('DescribeLoadBalancerList', request.serialize)
1633
+ response = JSON.parse(body)
1634
+ if response['Response'].key?('Error') == false
1635
+ model = DescribeLoadBalancerListResponse.new
1636
+ model.deserialize(response['Response'])
1637
+ model
1638
+ else
1639
+ code = response['Response']['Error']['Code']
1640
+ message = response['Response']['Error']['Message']
1641
+ reqid = response['Response']['RequestId']
1642
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1643
+ end
1644
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1645
+ raise e
1646
+ rescue StandardError => e
1647
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1648
+ end
1649
+
1578
1650
  # 获取源站组列表
1579
1651
 
1580
1652
  # @param request: Request instance for DescribeOriginGroup.
@@ -1599,6 +1671,30 @@ module TencentCloud
1599
1671
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1600
1672
  end
1601
1673
 
1674
+ # 查询负载均衡实例下源站组健康状态。负载均衡功能内测中,如您需要使用请 [联系我们](https://cloud.tencent.com/online-service)。
1675
+
1676
+ # @param request: Request instance for DescribeOriginGroupHealthStatus.
1677
+ # @type request: :class:`Tencentcloud::teo::V20220901::DescribeOriginGroupHealthStatusRequest`
1678
+ # @rtype: :class:`Tencentcloud::teo::V20220901::DescribeOriginGroupHealthStatusResponse`
1679
+ def DescribeOriginGroupHealthStatus(request)
1680
+ body = send_request('DescribeOriginGroupHealthStatus', request.serialize)
1681
+ response = JSON.parse(body)
1682
+ if response['Response'].key?('Error') == false
1683
+ model = DescribeOriginGroupHealthStatusResponse.new
1684
+ model.deserialize(response['Response'])
1685
+ model
1686
+ else
1687
+ code = response['Response']['Error']['Code']
1688
+ message = response['Response']['Error']['Message']
1689
+ reqid = response['Response']['RequestId']
1690
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1691
+ end
1692
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1693
+ raise e
1694
+ rescue StandardError => e
1695
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1696
+ end
1697
+
1602
1698
  # 查询源站防护信息
1603
1699
 
1604
1700
  # @param request: Request instance for DescribeOriginProtection.
@@ -2576,6 +2672,30 @@ module TencentCloud
2576
2672
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2577
2673
  end
2578
2674
 
2675
+ # 修改负载均衡实例配置。负载均衡功能内测中,如您需要使用请 [联系我们](https://cloud.tencent.com/online-service)。
2676
+
2677
+ # @param request: Request instance for ModifyLoadBalancer.
2678
+ # @type request: :class:`Tencentcloud::teo::V20220901::ModifyLoadBalancerRequest`
2679
+ # @rtype: :class:`Tencentcloud::teo::V20220901::ModifyLoadBalancerResponse`
2680
+ def ModifyLoadBalancer(request)
2681
+ body = send_request('ModifyLoadBalancer', request.serialize)
2682
+ response = JSON.parse(body)
2683
+ if response['Response'].key?('Error') == false
2684
+ model = ModifyLoadBalancerResponse.new
2685
+ model.deserialize(response['Response'])
2686
+ model
2687
+ else
2688
+ code = response['Response']['Error']['Code']
2689
+ message = response['Response']['Error']['Message']
2690
+ reqid = response['Response']['RequestId']
2691
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
2692
+ end
2693
+ rescue TencentCloud::Common::TencentCloudSDKException => e
2694
+ raise e
2695
+ rescue StandardError => e
2696
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2697
+ end
2698
+
2579
2699
  # 修改源站组配置,新提交的源站记录将会覆盖原有源站组中的源站记录。
2580
2700
 
2581
2701
  # @param request: Request instance for ModifyOriginGroup.
@@ -1640,7 +1640,7 @@ module TencentCloud
1640
1640
 
1641
1641
  # https 证书配置。
1642
1642
  class CertificateInfo < TencentCloud::Common::AbstractModel
1643
- # @param CertId: 证书 ID。
1643
+ # @param CertId: 证书 ID。来源于 SSL 侧,您可以前往 [SSL 证书列表](https://console.cloud.tencent.com/ssl) 查看 CertId
1644
1644
  # @type CertId: String
1645
1645
  # @param Alias: 证书备注名。
1646
1646
  # @type Alias: String
@@ -1733,6 +1733,40 @@ module TencentCloud
1733
1733
  end
1734
1734
  end
1735
1735
 
1736
+ # 各个健康检查区域下源站的健康状态。
1737
+ class CheckRegionHealthStatus < TencentCloud::Common::AbstractModel
1738
+ # @param Region: 健康检查区域,ISO-3166-1 两位字母代码。
1739
+ # @type Region: String
1740
+ # @param Healthy: 单健康检查区域下探测源站的健康状态,取值有:
1741
+ # <li>Healthy:健康;</li>
1742
+ # <li>Unhealthy:不健康;</li>
1743
+ # <li> Undetected:未探测到数据。</li>说明:单健康检查区域下所有源站为健康,则状态为健康,否则为不健康。
1744
+ # @type Healthy: String
1745
+ # @param OriginHealthStatus: 源站健康状态。
1746
+ # @type OriginHealthStatus: Array
1747
+
1748
+ attr_accessor :Region, :Healthy, :OriginHealthStatus
1749
+
1750
+ def initialize(region=nil, healthy=nil, originhealthstatus=nil)
1751
+ @Region = region
1752
+ @Healthy = healthy
1753
+ @OriginHealthStatus = originhealthstatus
1754
+ end
1755
+
1756
+ def deserialize(params)
1757
+ @Region = params['Region']
1758
+ @Healthy = params['Healthy']
1759
+ unless params['OriginHealthStatus'].nil?
1760
+ @OriginHealthStatus = []
1761
+ params['OriginHealthStatus'].each do |i|
1762
+ originhealthstatus_tmp = OriginHealthStatus.new
1763
+ originhealthstatus_tmp.deserialize(i)
1764
+ @OriginHealthStatus << originhealthstatus_tmp
1765
+ end
1766
+ end
1767
+ end
1768
+ end
1769
+
1736
1770
  # 回源时携带客户端IP所属地域信息,值的格式为ISO-3166-1两位字母代码。
1737
1771
  class ClientIpCountry < TencentCloud::Common::AbstractModel
1738
1772
  # @param Switch: 配置开关,取值有:
@@ -1762,8 +1796,7 @@ module TencentCloud
1762
1796
  # <li>on:开启;</li>
1763
1797
  # <li>off:关闭。</li>
1764
1798
  # @type Switch: String
1765
- # @param HeaderName: 回源时,存放客户端 IP 的请求头名称。
1766
- # 为空则使用默认值:X-Forwarded-IP。
1799
+ # @param HeaderName: 回源时,存放客户端 IP 的请求头名称。当 Switch 为 on 时,该参数必填。该参数不允许填写 X-Forwarded-For。
1767
1800
  # 注意:此字段可能返回 null,表示取不到有效值。
1768
1801
  # @type HeaderName: String
1769
1802
 
@@ -2583,6 +2616,81 @@ module TencentCloud
2583
2616
  end
2584
2617
  end
2585
2618
 
2619
+ # CreateLoadBalancer请求参数结构体
2620
+ class CreateLoadBalancerRequest < TencentCloud::Common::AbstractModel
2621
+ # @param ZoneId: 站点 ID。
2622
+ # @type ZoneId: String
2623
+ # @param Name: 实例名称,可输入 1-200 个字符,允许字符为 a-z,A-Z,0-9,_,-。
2624
+ # @type Name: String
2625
+ # @param Type: 实例类型,取值有:
2626
+ # <li>HTTP:HTTP 专用型,支持添加 HTTP 专用型和通用型源站组,仅支持被站点加速相关服务引用(如域名服务和规则引擎);</li>
2627
+ # <li>GENERAL:通用型,仅支持添加通用型源站组,能被站点加速服务(如域名服务和规则引擎)和四层代理引用。</li>
2628
+ # @type Type: String
2629
+ # @param OriginGroups: 源站组列表及其对应的容灾调度优先级。详情请参考 [快速创建负载均衡实例](https://cloud.tencent.com/document/product/1552/104223) 中的示例场景。
2630
+ # @type OriginGroups: Array
2631
+ # @param HealthChecker: 健康检查策略。详情请参考 [健康检查策略介绍](https://cloud.tencent.com/document/product/1552/104228)。不填写时,默认为不启用健康检查。
2632
+ # @type HealthChecker: :class:`Tencentcloud::Teo.v20220901.models.HealthChecker`
2633
+ # @param SteeringPolicy: 源站组间的流量调度策略,取值有:
2634
+ # <li>Pritory:按优先级顺序进行故障转移。</li>默认值为 Pritory。
2635
+ # @type SteeringPolicy: String
2636
+ # @param FailoverPolicy: 实际访问某源站失败时的请求重试策略,详情请参考 [请求重试策略介绍](https://cloud.tencent.com/document/product/1552/104227),取值有:
2637
+ # <li>OtherOriginGroup:单次请求失败后,请求优先重试下一优先级源站组;</li>
2638
+ # <li>OtherRecordInOriginGroup:单次请求失败后,请求优先重试同源站组内的其他源站。</li>默认值为 OtherRecordInOriginGroup。
2639
+ # @type FailoverPolicy: String
2640
+
2641
+ attr_accessor :ZoneId, :Name, :Type, :OriginGroups, :HealthChecker, :SteeringPolicy, :FailoverPolicy
2642
+
2643
+ def initialize(zoneid=nil, name=nil, type=nil, origingroups=nil, healthchecker=nil, steeringpolicy=nil, failoverpolicy=nil)
2644
+ @ZoneId = zoneid
2645
+ @Name = name
2646
+ @Type = type
2647
+ @OriginGroups = origingroups
2648
+ @HealthChecker = healthchecker
2649
+ @SteeringPolicy = steeringpolicy
2650
+ @FailoverPolicy = failoverpolicy
2651
+ end
2652
+
2653
+ def deserialize(params)
2654
+ @ZoneId = params['ZoneId']
2655
+ @Name = params['Name']
2656
+ @Type = params['Type']
2657
+ unless params['OriginGroups'].nil?
2658
+ @OriginGroups = []
2659
+ params['OriginGroups'].each do |i|
2660
+ origingroupinloadbalancer_tmp = OriginGroupInLoadBalancer.new
2661
+ origingroupinloadbalancer_tmp.deserialize(i)
2662
+ @OriginGroups << origingroupinloadbalancer_tmp
2663
+ end
2664
+ end
2665
+ unless params['HealthChecker'].nil?
2666
+ @HealthChecker = HealthChecker.new
2667
+ @HealthChecker.deserialize(params['HealthChecker'])
2668
+ end
2669
+ @SteeringPolicy = params['SteeringPolicy']
2670
+ @FailoverPolicy = params['FailoverPolicy']
2671
+ end
2672
+ end
2673
+
2674
+ # CreateLoadBalancer返回参数结构体
2675
+ class CreateLoadBalancerResponse < TencentCloud::Common::AbstractModel
2676
+ # @param InstanceId: 负载均衡实例 ID。
2677
+ # @type InstanceId: String
2678
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2679
+ # @type RequestId: String
2680
+
2681
+ attr_accessor :InstanceId, :RequestId
2682
+
2683
+ def initialize(instanceid=nil, requestid=nil)
2684
+ @InstanceId = instanceid
2685
+ @RequestId = requestid
2686
+ end
2687
+
2688
+ def deserialize(params)
2689
+ @InstanceId = params['InstanceId']
2690
+ @RequestId = params['RequestId']
2691
+ end
2692
+ end
2693
+
2586
2694
  # CreateOriginGroup请求参数结构体
2587
2695
  class CreateOriginGroupRequest < TencentCloud::Common::AbstractModel
2588
2696
  # @param ZoneId: 站点 ID
@@ -3409,6 +3517,28 @@ module TencentCloud
3409
3517
  end
3410
3518
  end
3411
3519
 
3520
+ # 负载均衡实例 HTTP/HTTPS 健康检查策略下可配置的自定义头部。
3521
+ class CustomizedHeader < TencentCloud::Common::AbstractModel
3522
+ # @param Key: 自定义头部 Key。
3523
+ # 注意:此字段可能返回 null,表示取不到有效值。
3524
+ # @type Key: String
3525
+ # @param Value: 自定义头部 Value。
3526
+ # 注意:此字段可能返回 null,表示取不到有效值。
3527
+ # @type Value: String
3528
+
3529
+ attr_accessor :Key, :Value
3530
+
3531
+ def initialize(key=nil, value=nil)
3532
+ @Key = key
3533
+ @Value = value
3534
+ end
3535
+
3536
+ def deserialize(params)
3537
+ @Key = params['Key']
3538
+ @Value = params['Value']
3539
+ end
3540
+ end
3541
+
3412
3542
  # DDoS配置
3413
3543
  class DDoS < TencentCloud::Common::AbstractModel
3414
3544
  # @param Switch: 开关,取值有:
@@ -3960,6 +4090,42 @@ module TencentCloud
3960
4090
  end
3961
4091
  end
3962
4092
 
4093
+ # DeleteLoadBalancer请求参数结构体
4094
+ class DeleteLoadBalancerRequest < TencentCloud::Common::AbstractModel
4095
+ # @param ZoneId: 站点 ID。
4096
+ # @type ZoneId: String
4097
+ # @param InstanceId: 负载均衡实例 ID。
4098
+ # @type InstanceId: String
4099
+
4100
+ attr_accessor :ZoneId, :InstanceId
4101
+
4102
+ def initialize(zoneid=nil, instanceid=nil)
4103
+ @ZoneId = zoneid
4104
+ @InstanceId = instanceid
4105
+ end
4106
+
4107
+ def deserialize(params)
4108
+ @ZoneId = params['ZoneId']
4109
+ @InstanceId = params['InstanceId']
4110
+ end
4111
+ end
4112
+
4113
+ # DeleteLoadBalancer返回参数结构体
4114
+ class DeleteLoadBalancerResponse < TencentCloud::Common::AbstractModel
4115
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
4116
+ # @type RequestId: String
4117
+
4118
+ attr_accessor :RequestId
4119
+
4120
+ def initialize(requestid=nil)
4121
+ @RequestId = requestid
4122
+ end
4123
+
4124
+ def deserialize(params)
4125
+ @RequestId = params['RequestId']
4126
+ end
4127
+ end
4128
+
3963
4129
  # DeleteOriginGroup请求参数结构体
3964
4130
  class DeleteOriginGroupRequest < TencentCloud::Common::AbstractModel
3965
4131
  # @param ZoneId: 站点 ID
@@ -5839,6 +6005,125 @@ module TencentCloud
5839
6005
  end
5840
6006
  end
5841
6007
 
6008
+ # DescribeLoadBalancerList请求参数结构体
6009
+ class DescribeLoadBalancerListRequest < TencentCloud::Common::AbstractModel
6010
+ # @param ZoneId: 站点 ID。
6011
+ # @type ZoneId: String
6012
+ # @param Offset: 分页查询偏移量,默认为 0。
6013
+ # @type Offset: Integer
6014
+ # @param Limit: 分页查询限制数目,默认值:20,最大值:100。
6015
+ # @type Limit: Integer
6016
+ # @param Filters: 过滤条件,Filters.Values 的上限为 20。该参数不填写时,返回当前 zone-id 下所有负载均衡实例信息。详细的过滤条件如下:
6017
+ # <li>InstanceName:按照负载均衡实例名称进行过滤;</li>
6018
+ # <li>InstanceId:按照负载均衡实例 ID 进行过滤。</li>
6019
+ # @type Filters: Array
6020
+
6021
+ attr_accessor :ZoneId, :Offset, :Limit, :Filters
6022
+
6023
+ def initialize(zoneid=nil, offset=nil, limit=nil, filters=nil)
6024
+ @ZoneId = zoneid
6025
+ @Offset = offset
6026
+ @Limit = limit
6027
+ @Filters = filters
6028
+ end
6029
+
6030
+ def deserialize(params)
6031
+ @ZoneId = params['ZoneId']
6032
+ @Offset = params['Offset']
6033
+ @Limit = params['Limit']
6034
+ unless params['Filters'].nil?
6035
+ @Filters = []
6036
+ params['Filters'].each do |i|
6037
+ filter_tmp = Filter.new
6038
+ filter_tmp.deserialize(i)
6039
+ @Filters << filter_tmp
6040
+ end
6041
+ end
6042
+ end
6043
+ end
6044
+
6045
+ # DescribeLoadBalancerList返回参数结构体
6046
+ class DescribeLoadBalancerListResponse < TencentCloud::Common::AbstractModel
6047
+ # @param TotalCount: 负载均衡实例总数。
6048
+ # @type TotalCount: Integer
6049
+ # @param LoadBalancerList: 负载均衡实例列表。
6050
+ # @type LoadBalancerList: Array
6051
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
6052
+ # @type RequestId: String
6053
+
6054
+ attr_accessor :TotalCount, :LoadBalancerList, :RequestId
6055
+
6056
+ def initialize(totalcount=nil, loadbalancerlist=nil, requestid=nil)
6057
+ @TotalCount = totalcount
6058
+ @LoadBalancerList = loadbalancerlist
6059
+ @RequestId = requestid
6060
+ end
6061
+
6062
+ def deserialize(params)
6063
+ @TotalCount = params['TotalCount']
6064
+ unless params['LoadBalancerList'].nil?
6065
+ @LoadBalancerList = []
6066
+ params['LoadBalancerList'].each do |i|
6067
+ loadbalancer_tmp = LoadBalancer.new
6068
+ loadbalancer_tmp.deserialize(i)
6069
+ @LoadBalancerList << loadbalancer_tmp
6070
+ end
6071
+ end
6072
+ @RequestId = params['RequestId']
6073
+ end
6074
+ end
6075
+
6076
+ # DescribeOriginGroupHealthStatus请求参数结构体
6077
+ class DescribeOriginGroupHealthStatusRequest < TencentCloud::Common::AbstractModel
6078
+ # @param ZoneId: 站点 ID。
6079
+ # @type ZoneId: String
6080
+ # @param LBInstanceId: 负载均衡实例 ID。
6081
+ # @type LBInstanceId: String
6082
+ # @param OriginGroupIds: 源站组 ID。不填写时默认获取负载均衡下所有源站组的健康状态。
6083
+ # @type OriginGroupIds: Array
6084
+
6085
+ attr_accessor :ZoneId, :LBInstanceId, :OriginGroupIds
6086
+
6087
+ def initialize(zoneid=nil, lbinstanceid=nil, origingroupids=nil)
6088
+ @ZoneId = zoneid
6089
+ @LBInstanceId = lbinstanceid
6090
+ @OriginGroupIds = origingroupids
6091
+ end
6092
+
6093
+ def deserialize(params)
6094
+ @ZoneId = params['ZoneId']
6095
+ @LBInstanceId = params['LBInstanceId']
6096
+ @OriginGroupIds = params['OriginGroupIds']
6097
+ end
6098
+ end
6099
+
6100
+ # DescribeOriginGroupHealthStatus返回参数结构体
6101
+ class DescribeOriginGroupHealthStatusResponse < TencentCloud::Common::AbstractModel
6102
+ # @param OriginGroupHealthStatusList: 源站组下源站的健康状态。
6103
+ # @type OriginGroupHealthStatusList: Array
6104
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
6105
+ # @type RequestId: String
6106
+
6107
+ attr_accessor :OriginGroupHealthStatusList, :RequestId
6108
+
6109
+ def initialize(origingrouphealthstatuslist=nil, requestid=nil)
6110
+ @OriginGroupHealthStatusList = origingrouphealthstatuslist
6111
+ @RequestId = requestid
6112
+ end
6113
+
6114
+ def deserialize(params)
6115
+ unless params['OriginGroupHealthStatusList'].nil?
6116
+ @OriginGroupHealthStatusList = []
6117
+ params['OriginGroupHealthStatusList'].each do |i|
6118
+ origingrouphealthstatusdetail_tmp = OriginGroupHealthStatusDetail.new
6119
+ origingrouphealthstatusdetail_tmp.deserialize(i)
6120
+ @OriginGroupHealthStatusList << origingrouphealthstatusdetail_tmp
6121
+ end
6122
+ end
6123
+ @RequestId = params['RequestId']
6124
+ end
6125
+ end
6126
+
5842
6127
  # DescribeOriginGroup请求参数结构体
5843
6128
  class DescribeOriginGroupRequest < TencentCloud::Common::AbstractModel
5844
6129
  # @param ZoneId: 站点ID,此参数必填。
@@ -8068,40 +8353,44 @@ module TencentCloud
8068
8353
  end
8069
8354
  end
8070
8355
 
8071
- # 缓存遵循源站配置
8356
+ # 缓存遵循源站配置。
8072
8357
  class FollowOrigin < TencentCloud::Common::AbstractModel
8073
8358
  # @param Switch: 遵循源站配置开关,取值有:
8074
8359
  # <li>on:开启;</li>
8075
8360
  # <li>off:关闭。</li>
8076
8361
  # @type Switch: String
8077
- # @param DefaultCacheTime: 源站未返回 Cache-Control 头时, 设置默认的缓存时间
8078
- # 注意:此字段可能返回 null,表示取不到有效值。
8079
- # @type DefaultCacheTime: Integer
8080
- # @param DefaultCache: 源站未返回 Cache-Control 头时, 设置缓存/不缓存
8362
+ # @param DefaultCache: 源站未返回 Cache-Control 头时,缓存/不缓存开关。当 Switch 为 on 时,此字段必填,否则此字段不生效。取值有:
8363
+ # <li>on:缓存;</li>
8364
+ # <li>off:不缓存。</li>
8081
8365
  # 注意:此字段可能返回 null,表示取不到有效值。
8082
8366
  # @type DefaultCache: String
8083
- # @param DefaultCacheStrategy: 源站未返回 Cache-Control 头时, 使用/不使用默认缓存策略
8367
+ # @param DefaultCacheStrategy: 源站未返回 Cache-Control 头时,使用/不使用默认缓存策略开关。当 DefaultCache 为 on 时,此字段必填,否则此字段不生效;当 DefaultCacheTime 不为 0 时,此字段必须为 off。取值有:
8368
+ # <li>on:使用默认缓存策略;</li>
8369
+ # <li>off:不使用默认缓存策略。</li>
8084
8370
  # 注意:此字段可能返回 null,表示取不到有效值。
8085
8371
  # @type DefaultCacheStrategy: String
8372
+ # @param DefaultCacheTime: 源站未返回 Cache-Control 头时,表示默认的缓存时间,单位为秒,取值:0~315360000。当 DefaultCache 为 on 时,此字段必填,否则此字段不生效;当 DefaultCacheStrategy 为 on 时, 此字段必须为 0。
8373
+ # 注意:此字段可能返回 null,表示取不到有效值。
8374
+ # @type DefaultCacheTime: Integer
8086
8375
 
8087
- attr_accessor :Switch, :DefaultCacheTime, :DefaultCache, :DefaultCacheStrategy
8376
+ attr_accessor :Switch, :DefaultCache, :DefaultCacheStrategy, :DefaultCacheTime
8088
8377
 
8089
- def initialize(switch=nil, defaultcachetime=nil, defaultcache=nil, defaultcachestrategy=nil)
8378
+ def initialize(switch=nil, defaultcache=nil, defaultcachestrategy=nil, defaultcachetime=nil)
8090
8379
  @Switch = switch
8091
- @DefaultCacheTime = defaultcachetime
8092
8380
  @DefaultCache = defaultcache
8093
8381
  @DefaultCacheStrategy = defaultcachestrategy
8382
+ @DefaultCacheTime = defaultcachetime
8094
8383
  end
8095
8384
 
8096
8385
  def deserialize(params)
8097
8386
  @Switch = params['Switch']
8098
- @DefaultCacheTime = params['DefaultCacheTime']
8099
8387
  @DefaultCache = params['DefaultCache']
8100
8388
  @DefaultCacheStrategy = params['DefaultCacheStrategy']
8389
+ @DefaultCacheTime = params['DefaultCacheTime']
8101
8390
  end
8102
8391
  end
8103
8392
 
8104
- # 访问协议强制https跳转配置
8393
+ # 访问协议强制 HTTPS 跳转配置。
8105
8394
  class ForceRedirect < TencentCloud::Common::AbstractModel
8106
8395
  # @param Switch: 访问强制跳转配置开关,取值有:
8107
8396
  # <li>on:开启;</li>
@@ -8363,6 +8652,86 @@ module TencentCloud
8363
8652
  end
8364
8653
  end
8365
8654
 
8655
+ # 负载均衡实例健康检查策略。
8656
+ class HealthChecker < TencentCloud::Common::AbstractModel
8657
+ # @param Type: 健康检查策略,取值有:
8658
+ # <li>HTTP;</li>
8659
+ # <li>HTTPS;</li>
8660
+ # <li>TCP;</li>
8661
+ # <li>UDP;</li>
8662
+ # <li>ICMP Ping;</li>
8663
+ # <li>NoCheck。</li>
8664
+ # 注意:NoCheck 表示不启用健康检查策略。
8665
+ # @type Type: String
8666
+ # @param Port: 检查端口。当 Type=HTTP 或 Type=HTTPS 或 Type=TCP 或 Type=UDP 时为必填。
8667
+ # @type Port: Integer
8668
+ # @param Interval: 检查频率,表示多久发起一次健康检查任务,单位为秒。可取值有:30,60,180,300 或 600。
8669
+ # @type Interval: Integer
8670
+ # @param Timeout: 每一次健康检查的超时时间,若健康检查消耗时间大于此值,则检查结果判定为”不健康“, 单位为秒,默认值为 5s,取值必须小于 Interval。
8671
+ # @type Timeout: Integer
8672
+ # @param HealthThreshold: 健康阈值,表示连续几次健康检查结果为"健康",则判断源站为"健康",单位为次,默认 3 次,最小取值 1 次。
8673
+ # @type HealthThreshold: Integer
8674
+ # @param CriticalThreshold: 不健康阈值,表示连续几次健康检查结果为"不健康",则判断源站为"不健康",单位为次,默认 2 次。
8675
+ # @type CriticalThreshold: Integer
8676
+ # @param Path: 该参数仅当 Type=HTTP 或 Type=HTTPS 时有效,表示探测路径,需要填写完整的 host/path,不包含协议部分,例如:www.example.com/test。
8677
+ # @type Path: String
8678
+ # @param Method: 该参数仅当 Type=HTTP 或 Type=HTTPS 时有效,表示请求方法,取值有:
8679
+ # <li>GET;</li>
8680
+ # <li>HEAD。</li>
8681
+ # @type Method: String
8682
+ # @param ExpectedCodes: 该参数仅当 Type=HTTP 或 Type=HTTPS 时有效,表示探测节点向源站发起健康检查时,响应哪些状态码可用于认定探测结果为健康。
8683
+ # @type ExpectedCodes: Array
8684
+ # @param Headers: 该参数仅当 Type=HTTP 或 Type=HTTPS 时有效,表示探测请求携带的自定义 HTTP 请求头,至多可配置 10 个。
8685
+ # @type Headers: Array
8686
+ # @param FollowRedirect: 该参数仅当 Type=HTTP 或 Type=HTTPS 时有效,表示是否启用遵循 301/302 重定向。启用后,301/302 默认为"健康"的状态码,默认跳转 3 次。
8687
+ # @type FollowRedirect: String
8688
+ # @param SendContext: 该参数仅当 Type=UDP 时有效,表示健康检查发送的内容。只允许 ASCII 可见字符,最大长度限制 500 个字符。
8689
+ # @type SendContext: String
8690
+ # @param RecvContext: 该参数仅当 Type=UDP 时有效,表示健康检查期望源站返回结果。只允许 ASCII 可见字符,最大长度限制 500 个字符。
8691
+ # @type RecvContext: String
8692
+
8693
+ attr_accessor :Type, :Port, :Interval, :Timeout, :HealthThreshold, :CriticalThreshold, :Path, :Method, :ExpectedCodes, :Headers, :FollowRedirect, :SendContext, :RecvContext
8694
+
8695
+ def initialize(type=nil, port=nil, interval=nil, timeout=nil, healththreshold=nil, criticalthreshold=nil, path=nil, method=nil, expectedcodes=nil, headers=nil, followredirect=nil, sendcontext=nil, recvcontext=nil)
8696
+ @Type = type
8697
+ @Port = port
8698
+ @Interval = interval
8699
+ @Timeout = timeout
8700
+ @HealthThreshold = healththreshold
8701
+ @CriticalThreshold = criticalthreshold
8702
+ @Path = path
8703
+ @Method = method
8704
+ @ExpectedCodes = expectedcodes
8705
+ @Headers = headers
8706
+ @FollowRedirect = followredirect
8707
+ @SendContext = sendcontext
8708
+ @RecvContext = recvcontext
8709
+ end
8710
+
8711
+ def deserialize(params)
8712
+ @Type = params['Type']
8713
+ @Port = params['Port']
8714
+ @Interval = params['Interval']
8715
+ @Timeout = params['Timeout']
8716
+ @HealthThreshold = params['HealthThreshold']
8717
+ @CriticalThreshold = params['CriticalThreshold']
8718
+ @Path = params['Path']
8719
+ @Method = params['Method']
8720
+ @ExpectedCodes = params['ExpectedCodes']
8721
+ unless params['Headers'].nil?
8722
+ @Headers = []
8723
+ params['Headers'].each do |i|
8724
+ customizedheader_tmp = CustomizedHeader.new
8725
+ customizedheader_tmp.deserialize(i)
8726
+ @Headers << customizedheader_tmp
8727
+ end
8728
+ end
8729
+ @FollowRedirect = params['FollowRedirect']
8730
+ @SendContext = params['SendContext']
8731
+ @RecvContext = params['RecvContext']
8732
+ end
8733
+ end
8734
+
8366
8735
  # Hsts配置
8367
8736
  class Hsts < TencentCloud::Common::AbstractModel
8368
8737
  # @param Switch: 是否开启,取值有:
@@ -8875,6 +9244,24 @@ module TencentCloud
8875
9244
  end
8876
9245
  end
8877
9246
 
9247
+ # 视频即时处理配置
9248
+ class JITVideoProcess < TencentCloud::Common::AbstractModel
9249
+ # @param Switch: 视频即时处理配置开关,取值有:
9250
+ # <li>on:开启;</li>
9251
+ # <li>off:关闭。</li>
9252
+ # @type Switch: String
9253
+
9254
+ attr_accessor :Switch
9255
+
9256
+ def initialize(switch=nil)
9257
+ @Switch = switch
9258
+ end
9259
+
9260
+ def deserialize(params)
9261
+ @Switch = params['Switch']
9262
+ end
9263
+ end
9264
+
8878
9265
  # 离线日志详细信息
8879
9266
  class L4OfflineLog < TencentCloud::Common::AbstractModel
8880
9267
  # @param ProxyId: 四层代理实例 ID。
@@ -9180,6 +9567,76 @@ module TencentCloud
9180
9567
  end
9181
9568
  end
9182
9569
 
9570
+ # 负载均衡实例信息。
9571
+ class LoadBalancer < TencentCloud::Common::AbstractModel
9572
+ # @param InstanceId: 实例 ID。
9573
+ # @type InstanceId: String
9574
+ # @param Name: 实例名称,可输入 1-200 个字符,允许字符为 a-z,A-Z,0-9,_,-。
9575
+ # @type Name: String
9576
+ # @param Type: 实例类型,取值有:
9577
+ # <li>HTTP:HTTP 专用型,支持添加 HTTP 专用型和通用型源站组,仅支持被站点加速相关服务引用(如域名服务和规则引擎);</li>
9578
+ # <li>GENERAL:通用型,仅支持添加通用型源站组,能被站点加速服务(如域名服务和规则引擎)和四层代理引用。</li>
9579
+ # @type Type: String
9580
+ # @param HealthChecker: 健康检查策略。详情请参考 [健康检查策略介绍](https://cloud.tencent.com/document/product/1552/104228)。
9581
+ # @type HealthChecker: :class:`Tencentcloud::Teo.v20220901.models.HealthChecker`
9582
+ # @param SteeringPolicy: 源站组间的流量调度策略,取值有:
9583
+ # <li>Pritory:按优先级顺序进行故障转移 。</li>
9584
+ # @type SteeringPolicy: String
9585
+ # @param FailoverPolicy: 实际访问某源站失败时的请求重试策略,详情请参考 [请求重试策略介绍](https://cloud.tencent.com/document/product/1552/104227),取值有:
9586
+ # <li>OtherOriginGroup:单次请求失败后,请求优先重试下一优先级源站组;</li>
9587
+ # <li>OtherRecordInOriginGroup:单次请求失败后,请求优先重试同源站组内的其他源站。</li>
9588
+ # @type FailoverPolicy: String
9589
+ # @param OriginGroupHealthStatus: 源站组健康状态。
9590
+ # @type OriginGroupHealthStatus: Array
9591
+ # @param Status: 负载均衡状态,取值有:
9592
+ # <li>Pending:部署中;</li>
9593
+ # <li>Deleting:删除中;</li>
9594
+ # <li>Running:已生效。</li>
9595
+ # @type Status: String
9596
+ # @param L4UsedList: 该负载均衡实例绑的定四层层代理实例的列表。
9597
+ # @type L4UsedList: Array
9598
+ # @param L7UsedList: 该负载均衡实例绑定的七层域名列表。
9599
+ # @type L7UsedList: Array
9600
+
9601
+ attr_accessor :InstanceId, :Name, :Type, :HealthChecker, :SteeringPolicy, :FailoverPolicy, :OriginGroupHealthStatus, :Status, :L4UsedList, :L7UsedList
9602
+
9603
+ def initialize(instanceid=nil, name=nil, type=nil, healthchecker=nil, steeringpolicy=nil, failoverpolicy=nil, origingrouphealthstatus=nil, status=nil, l4usedlist=nil, l7usedlist=nil)
9604
+ @InstanceId = instanceid
9605
+ @Name = name
9606
+ @Type = type
9607
+ @HealthChecker = healthchecker
9608
+ @SteeringPolicy = steeringpolicy
9609
+ @FailoverPolicy = failoverpolicy
9610
+ @OriginGroupHealthStatus = origingrouphealthstatus
9611
+ @Status = status
9612
+ @L4UsedList = l4usedlist
9613
+ @L7UsedList = l7usedlist
9614
+ end
9615
+
9616
+ def deserialize(params)
9617
+ @InstanceId = params['InstanceId']
9618
+ @Name = params['Name']
9619
+ @Type = params['Type']
9620
+ unless params['HealthChecker'].nil?
9621
+ @HealthChecker = HealthChecker.new
9622
+ @HealthChecker.deserialize(params['HealthChecker'])
9623
+ end
9624
+ @SteeringPolicy = params['SteeringPolicy']
9625
+ @FailoverPolicy = params['FailoverPolicy']
9626
+ unless params['OriginGroupHealthStatus'].nil?
9627
+ @OriginGroupHealthStatus = []
9628
+ params['OriginGroupHealthStatus'].each do |i|
9629
+ origingrouphealthstatus_tmp = OriginGroupHealthStatus.new
9630
+ origingrouphealthstatus_tmp.deserialize(i)
9631
+ @OriginGroupHealthStatus << origingrouphealthstatus_tmp
9632
+ end
9633
+ end
9634
+ @Status = params['Status']
9635
+ @L4UsedList = params['L4UsedList']
9636
+ @L7UsedList = params['L7UsedList']
9637
+ end
9638
+ end
9639
+
9183
9640
  # 实时日志投递的输出格式。您可以直接通过 FormatType 参数使用指定预设日志输出格式(JSON Lines / csv),也可以在预设日志输出格式基础上,通过其他参数来自定义变体输出格式。
9184
9641
  class LogFormat < TencentCloud::Common::AbstractModel
9185
9642
  # @param FormatType: 日志投递的预设输出格式类型,取值有:
@@ -9905,15 +10362,14 @@ module TencentCloud
9905
10362
  # <li>sslcert:配置 SSL 托管服务端证书;</li>
9906
10363
  # 不填写表示服务端证书保持原有配置。
9907
10364
  # @type Mode: String
9908
- # @param ServerCertInfo: SSL 证书配置,本参数仅在 mode 为 sslcert 时生效,传入对应证书的 CertId 即可。您可以前往 [SSL 证书列表](https://console.cloud.tencent.com/certoverview) 查看 CertId。
10365
+ # @param ServerCertInfo: SSL 证书配置,本参数仅在 mode 为 sslcert 时生效,传入对应证书的 CertId 即可。您可以前往 [SSL 证书列表](https://console.cloud.tencent.com/ssl) 查看 CertId。
9909
10366
  # @type ServerCertInfo: Array
9910
10367
  # @param ApplyType: 托管类型,取值有:
9911
10368
  # <li>none:不托管EO;</li>
9912
10369
  # <li>apply:托管EO</li>
9913
10370
  # 不填,默认取值为none。
9914
10371
  # @type ApplyType: String
9915
- # @param ClientCertInfo: 边缘双向认证配置。
9916
- # 不填写表示边缘双向认证保持原有配置。
10372
+ # @param ClientCertInfo: 在边缘双向认证场景下,该字段为客户端的 CA 证书,部署在 EO 的入口侧,用于客户端对 EO 节点进行认证。不填写表示保持原有配置。
9917
10373
  # @type ClientCertInfo: :class:`Tencentcloud::Teo.v20220901.models.MutualTLS`
9918
10374
 
9919
10375
  attr_accessor :ZoneId, :Hosts, :Mode, :ServerCertInfo, :ApplyType, :ClientCertInfo
@@ -10150,6 +10606,75 @@ module TencentCloud
10150
10606
  end
10151
10607
  end
10152
10608
 
10609
+ # ModifyLoadBalancer请求参数结构体
10610
+ class ModifyLoadBalancerRequest < TencentCloud::Common::AbstractModel
10611
+ # @param ZoneId: 站点 ID。
10612
+ # @type ZoneId: String
10613
+ # @param InstanceId: 负载均衡实例 ID。
10614
+ # @type InstanceId: String
10615
+ # @param Name: 实例名称,可输入 1-200 个字符,允许字符为 a-z,A-Z,0-9,_,-。不填写表示维持原有配置。
10616
+ # @type Name: String
10617
+ # @param OriginGroups: 源站组列表及其对应的容灾调度优先级。详情请参考 [快速创建负载均衡实例](https://cloud.tencent.com/document/product/1552/104223) 中的示例场景。不填写表示维持原有配置。
10618
+ # @type OriginGroups: Array
10619
+ # @param HealthChecker: 健康检查策略。详情请参考 [健康检查策略介绍](https://cloud.tencent.com/document/product/1552/104228)。不填写表示维持原有配置。
10620
+ # @type HealthChecker: :class:`Tencentcloud::Teo.v20220901.models.HealthChecker`
10621
+ # @param SteeringPolicy: 源站组间的流量调度策略,取值有:
10622
+ # <li>Pritory:按优先级顺序进行故障转移 。</li>不填写表示维持原有配置。
10623
+ # @type SteeringPolicy: String
10624
+ # @param FailoverPolicy: 实际访问某源站失败时的请求重试策略,详情请参考 [请求重试策略介绍](https://cloud.tencent.com/document/product/1552/104227),取值有:
10625
+ # <li>OtherOriginGroup:单次请求失败后,请求优先重试下一优先级源站组;</li>
10626
+ # <li>OtherRecordInOriginGroup:单次请求失败后,请求优先重试同源站组内的其他源站。</li>不填写表示维持原有配置。
10627
+ # @type FailoverPolicy: String
10628
+
10629
+ attr_accessor :ZoneId, :InstanceId, :Name, :OriginGroups, :HealthChecker, :SteeringPolicy, :FailoverPolicy
10630
+
10631
+ def initialize(zoneid=nil, instanceid=nil, name=nil, origingroups=nil, healthchecker=nil, steeringpolicy=nil, failoverpolicy=nil)
10632
+ @ZoneId = zoneid
10633
+ @InstanceId = instanceid
10634
+ @Name = name
10635
+ @OriginGroups = origingroups
10636
+ @HealthChecker = healthchecker
10637
+ @SteeringPolicy = steeringpolicy
10638
+ @FailoverPolicy = failoverpolicy
10639
+ end
10640
+
10641
+ def deserialize(params)
10642
+ @ZoneId = params['ZoneId']
10643
+ @InstanceId = params['InstanceId']
10644
+ @Name = params['Name']
10645
+ unless params['OriginGroups'].nil?
10646
+ @OriginGroups = []
10647
+ params['OriginGroups'].each do |i|
10648
+ origingroupinloadbalancer_tmp = OriginGroupInLoadBalancer.new
10649
+ origingroupinloadbalancer_tmp.deserialize(i)
10650
+ @OriginGroups << origingroupinloadbalancer_tmp
10651
+ end
10652
+ end
10653
+ unless params['HealthChecker'].nil?
10654
+ @HealthChecker = HealthChecker.new
10655
+ @HealthChecker.deserialize(params['HealthChecker'])
10656
+ end
10657
+ @SteeringPolicy = params['SteeringPolicy']
10658
+ @FailoverPolicy = params['FailoverPolicy']
10659
+ end
10660
+ end
10661
+
10662
+ # ModifyLoadBalancer返回参数结构体
10663
+ class ModifyLoadBalancerResponse < TencentCloud::Common::AbstractModel
10664
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
10665
+ # @type RequestId: String
10666
+
10667
+ attr_accessor :RequestId
10668
+
10669
+ def initialize(requestid=nil)
10670
+ @RequestId = requestid
10671
+ end
10672
+
10673
+ def deserialize(params)
10674
+ @RequestId = params['RequestId']
10675
+ end
10676
+ end
10677
+
10153
10678
  # ModifyOriginGroup请求参数结构体
10154
10679
  class ModifyOriginGroupRequest < TencentCloud::Common::AbstractModel
10155
10680
  # @param ZoneId: 站点 ID
@@ -10642,10 +11167,12 @@ module TencentCloud
10642
11167
  # @type ImageOptimize: :class:`Tencentcloud::Teo.v20220901.models.ImageOptimize`
10643
11168
  # @param StandardDebug: 标准 Debug 配置。
10644
11169
  # @type StandardDebug: :class:`Tencentcloud::Teo.v20220901.models.StandardDebug`
11170
+ # @param JITVideoProcess: 视频即时处理配置。不填写表示保持原有配置。
11171
+ # @type JITVideoProcess: :class:`Tencentcloud::Teo.v20220901.models.JITVideoProcess`
10645
11172
 
10646
- attr_accessor :ZoneId, :CacheConfig, :CacheKey, :MaxAge, :OfflineCache, :Quic, :PostMaxSize, :Compression, :UpstreamHttp2, :ForceRedirect, :Https, :Origin, :SmartRouting, :WebSocket, :ClientIpHeader, :CachePrefresh, :Ipv6, :ClientIpCountry, :Grpc, :ImageOptimize, :StandardDebug
11173
+ attr_accessor :ZoneId, :CacheConfig, :CacheKey, :MaxAge, :OfflineCache, :Quic, :PostMaxSize, :Compression, :UpstreamHttp2, :ForceRedirect, :Https, :Origin, :SmartRouting, :WebSocket, :ClientIpHeader, :CachePrefresh, :Ipv6, :ClientIpCountry, :Grpc, :ImageOptimize, :StandardDebug, :JITVideoProcess
10647
11174
 
10648
- def initialize(zoneid=nil, cacheconfig=nil, cachekey=nil, maxage=nil, offlinecache=nil, quic=nil, postmaxsize=nil, compression=nil, upstreamhttp2=nil, forceredirect=nil, https=nil, origin=nil, smartrouting=nil, websocket=nil, clientipheader=nil, cacheprefresh=nil, ipv6=nil, clientipcountry=nil, grpc=nil, imageoptimize=nil, standarddebug=nil)
11175
+ def initialize(zoneid=nil, cacheconfig=nil, cachekey=nil, maxage=nil, offlinecache=nil, quic=nil, postmaxsize=nil, compression=nil, upstreamhttp2=nil, forceredirect=nil, https=nil, origin=nil, smartrouting=nil, websocket=nil, clientipheader=nil, cacheprefresh=nil, ipv6=nil, clientipcountry=nil, grpc=nil, imageoptimize=nil, standarddebug=nil, jitvideoprocess=nil)
10649
11176
  @ZoneId = zoneid
10650
11177
  @CacheConfig = cacheconfig
10651
11178
  @CacheKey = cachekey
@@ -10667,6 +11194,7 @@ module TencentCloud
10667
11194
  @Grpc = grpc
10668
11195
  @ImageOptimize = imageoptimize
10669
11196
  @StandardDebug = standarddebug
11197
+ @JITVideoProcess = jitvideoprocess
10670
11198
  end
10671
11199
 
10672
11200
  def deserialize(params)
@@ -10751,6 +11279,10 @@ module TencentCloud
10751
11279
  @StandardDebug = StandardDebug.new
10752
11280
  @StandardDebug.deserialize(params['StandardDebug'])
10753
11281
  end
11282
+ unless params['JITVideoProcess'].nil?
11283
+ @JITVideoProcess = JITVideoProcess.new
11284
+ @JITVideoProcess.deserialize(params['JITVideoProcess'])
11285
+ end
10754
11286
  end
10755
11287
  end
10756
11288
 
@@ -10815,7 +11347,7 @@ module TencentCloud
10815
11347
  # <li>off:关闭。</li>
10816
11348
  # @type Switch: String
10817
11349
  # @param CertInfos: 双向认证证书列表。
10818
- # 注意:MutualTLS 在 ModifyHostsCertificate 作为入参使用时,该参数传入对应证书的 CertId 即可。您可以前往 [SSL 证书列表](https://console.cloud.tencent.com/certoverview) 查看 CertId。
11350
+ # 注意:MutualTLS 在 ModifyHostsCertificate 作为入参使用时,该参数传入对应证书的 CertId 即可。您可以前往 [SSL 证书列表](https://console.cloud.tencent.com/ssl) 查看 CertId。
10819
11351
  # @type CertInfos: Array
10820
11352
 
10821
11353
  attr_accessor :Switch, :CertInfos
@@ -11097,6 +11629,108 @@ module TencentCloud
11097
11629
  end
11098
11630
  end
11099
11631
 
11632
+ # 源站组健康状态。
11633
+ class OriginGroupHealthStatus < TencentCloud::Common::AbstractModel
11634
+ # @param OriginGroupID: 源站组 ID。
11635
+ # @type OriginGroupID: String
11636
+ # @param OriginGroupName: 源站组名。
11637
+ # @type OriginGroupName: String
11638
+ # @param OriginType: 源站组类型,取值有:
11639
+ # <li>HTTP:HTTP 专用型;</li>
11640
+ # <li>GENERAL:通用型。</li>
11641
+ # @type OriginType: String
11642
+ # @param Priority: 优先级。
11643
+ # @type Priority: String
11644
+ # @param OriginHealthStatus: 源站组里各源站的健康状态。
11645
+ # @type OriginHealthStatus: Array
11646
+
11647
+ attr_accessor :OriginGroupID, :OriginGroupName, :OriginType, :Priority, :OriginHealthStatus
11648
+
11649
+ def initialize(origingroupid=nil, origingroupname=nil, origintype=nil, priority=nil, originhealthstatus=nil)
11650
+ @OriginGroupID = origingroupid
11651
+ @OriginGroupName = origingroupname
11652
+ @OriginType = origintype
11653
+ @Priority = priority
11654
+ @OriginHealthStatus = originhealthstatus
11655
+ end
11656
+
11657
+ def deserialize(params)
11658
+ @OriginGroupID = params['OriginGroupID']
11659
+ @OriginGroupName = params['OriginGroupName']
11660
+ @OriginType = params['OriginType']
11661
+ @Priority = params['Priority']
11662
+ unless params['OriginHealthStatus'].nil?
11663
+ @OriginHealthStatus = []
11664
+ params['OriginHealthStatus'].each do |i|
11665
+ originhealthstatus_tmp = OriginHealthStatus.new
11666
+ originhealthstatus_tmp.deserialize(i)
11667
+ @OriginHealthStatus << originhealthstatus_tmp
11668
+ end
11669
+ end
11670
+ end
11671
+ end
11672
+
11673
+ # 源站组健康状态详情。
11674
+ class OriginGroupHealthStatusDetail < TencentCloud::Common::AbstractModel
11675
+ # @param OriginGroupId: 源站组 ID。
11676
+ # @type OriginGroupId: String
11677
+ # @param OriginHealthStatus: 根据所有探测区域的结果综合决策出来的源站组下各个源站的健康状态。超过一半的地域判定该源站不健康,则对应状态为不健康,否则为健康。
11678
+ # @type OriginHealthStatus: Array
11679
+ # @param CheckRegionHealthStatus: 各个健康检查区域下源站的健康状态。
11680
+ # @type CheckRegionHealthStatus: Array
11681
+
11682
+ attr_accessor :OriginGroupId, :OriginHealthStatus, :CheckRegionHealthStatus
11683
+
11684
+ def initialize(origingroupid=nil, originhealthstatus=nil, checkregionhealthstatus=nil)
11685
+ @OriginGroupId = origingroupid
11686
+ @OriginHealthStatus = originhealthstatus
11687
+ @CheckRegionHealthStatus = checkregionhealthstatus
11688
+ end
11689
+
11690
+ def deserialize(params)
11691
+ @OriginGroupId = params['OriginGroupId']
11692
+ unless params['OriginHealthStatus'].nil?
11693
+ @OriginHealthStatus = []
11694
+ params['OriginHealthStatus'].each do |i|
11695
+ originhealthstatus_tmp = OriginHealthStatus.new
11696
+ originhealthstatus_tmp.deserialize(i)
11697
+ @OriginHealthStatus << originhealthstatus_tmp
11698
+ end
11699
+ end
11700
+ unless params['CheckRegionHealthStatus'].nil?
11701
+ @CheckRegionHealthStatus = []
11702
+ params['CheckRegionHealthStatus'].each do |i|
11703
+ checkregionhealthstatus_tmp = CheckRegionHealthStatus.new
11704
+ checkregionhealthstatus_tmp.deserialize(i)
11705
+ @CheckRegionHealthStatus << checkregionhealthstatus_tmp
11706
+ end
11707
+ end
11708
+ end
11709
+ end
11710
+
11711
+ # 负载均衡实例中需要绑定的源站组和优先级关系。
11712
+ class OriginGroupInLoadBalancer < TencentCloud::Common::AbstractModel
11713
+ # @param Priority: 优先级,填写格式为 "priority_" + "数字",最高优先级为 "priority_1"。参考取值有:
11714
+ # <li>priority_1:第一优先级;</li>
11715
+ # <li>priority_2:第二优先级;</li>
11716
+ # <li>priority_3:第三优先级。</li>其他优先级可以将数字递增,最多可以递增至 "priority_10"。
11717
+ # @type Priority: String
11718
+ # @param OriginGroupId: 源站组 ID。
11719
+ # @type OriginGroupId: String
11720
+
11721
+ attr_accessor :Priority, :OriginGroupId
11722
+
11723
+ def initialize(priority=nil, origingroupid=nil)
11724
+ @Priority = priority
11725
+ @OriginGroupId = origingroupid
11726
+ end
11727
+
11728
+ def deserialize(params)
11729
+ @Priority = params['Priority']
11730
+ @OriginGroupId = params['OriginGroupId']
11731
+ end
11732
+ end
11733
+
11100
11734
  # 源站组引用服务。
11101
11735
  class OriginGroupReference < TencentCloud::Common::AbstractModel
11102
11736
  # @param InstanceType: 引用服务类型,取值有:
@@ -11125,6 +11759,29 @@ module TencentCloud
11125
11759
  end
11126
11760
  end
11127
11761
 
11762
+ # 源站组里的源站健康状态。
11763
+ class OriginHealthStatus < TencentCloud::Common::AbstractModel
11764
+ # @param Origin: 源站。
11765
+ # @type Origin: String
11766
+ # @param Healthy: 源站健康状态,取值有:
11767
+ # <li>Healthy:健康;</li>
11768
+ # <li>Unhealthy:不健康;</li>
11769
+ # <li>Undetected:未探测到数据。</li>
11770
+ # @type Healthy: String
11771
+
11772
+ attr_accessor :Origin, :Healthy
11773
+
11774
+ def initialize(origin=nil, healthy=nil)
11775
+ @Origin = origin
11776
+ @Healthy = healthy
11777
+ end
11778
+
11779
+ def deserialize(params)
11780
+ @Origin = params['Origin']
11781
+ @Healthy = params['Healthy']
11782
+ end
11783
+ end
11784
+
11128
11785
  # 加速域名源站信息。
11129
11786
  class OriginInfo < TencentCloud::Common::AbstractModel
11130
11787
  # @param OriginType: 源站类型,取值有:
@@ -12860,7 +13517,8 @@ module TencentCloud
12860
13517
 
12861
13518
  # https 服务端证书配置
12862
13519
  class ServerCertInfo < TencentCloud::Common::AbstractModel
12863
- # @param CertId: 服务器证书 ID。
13520
+ # @param CertId: 服务器证书 ID。来源于 SSL 侧,您可以前往 [SSL 证书列表](https://console.cloud.tencent.com/ssl) 查看 CertId
13521
+
12864
13522
  # 注意:此字段可能返回 null,表示取不到有效值。
12865
13523
  # @type CertId: String
12866
13524
  # @param Alias: 证书备注名。
@@ -13981,10 +14639,13 @@ module TencentCloud
13981
14639
  # @param StandardDebug: 标准 Debug 配置。
13982
14640
  # 注意:此字段可能返回 null,表示取不到有效值。
13983
14641
  # @type StandardDebug: :class:`Tencentcloud::Teo.v20220901.models.StandardDebug`
14642
+ # @param JITVideoProcess: 视频即时处理配置。
14643
+ # 注意:此字段可能返回 null,表示取不到有效值。
14644
+ # @type JITVideoProcess: :class:`Tencentcloud::Teo.v20220901.models.JITVideoProcess`
13984
14645
 
13985
- attr_accessor :ZoneName, :Area, :CacheKey, :Quic, :PostMaxSize, :Compression, :UpstreamHttp2, :ForceRedirect, :CacheConfig, :Origin, :SmartRouting, :MaxAge, :OfflineCache, :WebSocket, :ClientIpHeader, :CachePrefresh, :Ipv6, :Https, :ClientIpCountry, :Grpc, :ImageOptimize, :AccelerateMainland, :StandardDebug
14646
+ attr_accessor :ZoneName, :Area, :CacheKey, :Quic, :PostMaxSize, :Compression, :UpstreamHttp2, :ForceRedirect, :CacheConfig, :Origin, :SmartRouting, :MaxAge, :OfflineCache, :WebSocket, :ClientIpHeader, :CachePrefresh, :Ipv6, :Https, :ClientIpCountry, :Grpc, :ImageOptimize, :AccelerateMainland, :StandardDebug, :JITVideoProcess
13986
14647
 
13987
- def initialize(zonename=nil, area=nil, cachekey=nil, quic=nil, postmaxsize=nil, compression=nil, upstreamhttp2=nil, forceredirect=nil, cacheconfig=nil, origin=nil, smartrouting=nil, maxage=nil, offlinecache=nil, websocket=nil, clientipheader=nil, cacheprefresh=nil, ipv6=nil, https=nil, clientipcountry=nil, grpc=nil, imageoptimize=nil, acceleratemainland=nil, standarddebug=nil)
14648
+ def initialize(zonename=nil, area=nil, cachekey=nil, quic=nil, postmaxsize=nil, compression=nil, upstreamhttp2=nil, forceredirect=nil, cacheconfig=nil, origin=nil, smartrouting=nil, maxage=nil, offlinecache=nil, websocket=nil, clientipheader=nil, cacheprefresh=nil, ipv6=nil, https=nil, clientipcountry=nil, grpc=nil, imageoptimize=nil, acceleratemainland=nil, standarddebug=nil, jitvideoprocess=nil)
13988
14649
  @ZoneName = zonename
13989
14650
  @Area = area
13990
14651
  @CacheKey = cachekey
@@ -14008,6 +14669,7 @@ module TencentCloud
14008
14669
  @ImageOptimize = imageoptimize
14009
14670
  @AccelerateMainland = acceleratemainland
14010
14671
  @StandardDebug = standarddebug
14672
+ @JITVideoProcess = jitvideoprocess
14011
14673
  end
14012
14674
 
14013
14675
  def deserialize(params)
@@ -14097,6 +14759,10 @@ module TencentCloud
14097
14759
  @StandardDebug = StandardDebug.new
14098
14760
  @StandardDebug.deserialize(params['StandardDebug'])
14099
14761
  end
14762
+ unless params['JITVideoProcess'].nil?
14763
+ @JITVideoProcess = JITVideoProcess.new
14764
+ @JITVideoProcess.deserialize(params['JITVideoProcess'])
14765
+ end
14100
14766
  end
14101
14767
  end
14102
14768
 
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.930
4
+ version: 3.0.932
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-10-22 00:00:00.000000000 Z
11
+ date: 2024-10-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common