tencentcloud-sdk-clb 3.0.1054 → 3.0.1055

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 49f6518fcaf80cb53167d3c78e65b5be0ecf4b43
4
- data.tar.gz: 60c0ead1f723db2e9182b87c3668c755e8a13e0a
3
+ metadata.gz: 20d5c01d3b219824476caa6fb02c1b19e75b7dd2
4
+ data.tar.gz: 042bb5bf52756019b1aacefe1445d005c7ceb3b8
5
5
  SHA512:
6
- metadata.gz: b6aa4d6675d4d50ff2b34ce43fe70a2a7bcc69e04355f4ac399742262990f299d25fd0d60f8ec89e2a6d28ab4c7cdbeb718638d76b7cb41448bcbbe8ff904f0f
7
- data.tar.gz: 55baa40f294b2356e1957dd055135e7d30d1226ec6b5249597252e83cd97a7db9c41c22c79267cf2c147dee7eabb484507fe26172ef5834dde31c9d57f477b72
6
+ metadata.gz: 8c235cf7057277cb356ab41eabe72522c8ee0cf77f126f2a87de45153068011844f4cabd799ae7be6f6df8b62bb909923cb6b031f5cc8ca5f12538fadf903b79
7
+ data.tar.gz: 37560658d42c6784b0e63b407f2ce8aabdcf3ce2768eca080c4e384ef3fc17a3e0d149f0ff68e7f0143fc7592d839786de55c2f2bcf91e640dd021c82b66e4cd
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.1054
1
+ 3.0.1055
@@ -78,7 +78,11 @@ module TencentCloud
78
78
  end
79
79
 
80
80
  # 本接口(AssociateTargetGroups)用来将目标组绑定到负载均衡的监听器(四层协议)或转发规则(七层协议)上。
81
- # 本接口为异步接口,本接口返回成功后需以返回的 RequestID 为入参,调用 DescribeTaskStatus 接口查询本次任务是否成功。
81
+ # 本接口为异步接口,本接口返回成功后需以返回的 RequestID 为入参,调用 [DescribeTaskStatus](https://cloud.tencent.com/document/product/214/30683) 接口查询本次任务是否成功。
82
+ # 限制说明:
83
+ # - 四层监听器绑定旧版目标组需要监听器开启后端目标组。
84
+ # - 七层绑定目标组,数据结构 TargetGroupAssosication 中 LocationId 为必填项。
85
+ # - 负载均衡的 VPC 需要和目标组的 VPC 一致。
82
86
 
83
87
  # @param request: Request instance for AssociateTargetGroups.
84
88
  # @type request: :class:`Tencentcloud::clb::V20180317::AssociateTargetGroupsRequest`
@@ -343,7 +347,7 @@ module TencentCloud
343
347
  end
344
348
 
345
349
  # 针对SnatPro负载均衡,这个接口用于添加SnatIp,如果负载均衡没有开启SnatPro,添加SnatIp后会自动开启。
346
- # 本接口为异步接口,接口返回成功后,需以得到的 RequestID 为入参,调用 DescribeTaskStatus 接口查询本次任务是否成功。
350
+ # 本接口为异步接口,接口返回成功后,需以得到的 RequestID 为入参,调用 [DescribeTaskStatus](https://cloud.tencent.com/document/product/214/30683) 接口查询本次任务是否成功。
347
351
 
348
352
  # @param request: Request instance for CreateLoadBalancerSnatIps.
349
353
  # @type request: :class:`Tencentcloud::clb::V20180317::CreateLoadBalancerSnatIpsRequest`
@@ -368,7 +372,7 @@ module TencentCloud
368
372
  end
369
373
 
370
374
  # CreateRule 接口用于在一个已存在的负载均衡七层监听器下创建转发规则,七层监听器中,后端服务必须绑定到规则上而非监听器上。
371
- # 本接口为异步接口,本接口返回成功后需以返回的RequestID为入参,调用DescribeTaskStatus接口查询本次任务是否成功。
375
+ # 本接口为异步接口,本接口返回成功后需以返回的RequestID为入参,调用 [DescribeTaskStatus](https://cloud.tencent.com/document/product/214/30683) 接口查询本次任务是否成功。
372
376
 
373
377
  # @param request: Request instance for CreateRule.
374
378
  # @type request: :class:`Tencentcloud::clb::V20180317::CreateRuleRequest`
@@ -540,7 +544,7 @@ module TencentCloud
540
544
  end
541
545
 
542
546
  # 这个接口用于删除SnatPro的负载均衡的SnatIp。
543
- # 本接口为异步接口,接口返回成功后,需以得到的 RequestID 为入参,调用 DescribeTaskStatus 接口查询本次任务是否成功。
547
+ # 本接口为异步接口,接口返回成功后,需以得到的 RequestID 为入参,调用 [DescribeTaskStatus](https://cloud.tencent.com/document/product/214/30683) 接口查询本次任务是否成功。
544
548
 
545
549
  # @param request: Request instance for DeleteLoadBalancerSnatIps.
546
550
  # @type request: :class:`Tencentcloud::clb::V20180317::DeleteLoadBalancerSnatIpsRequest`
@@ -614,7 +618,7 @@ module TencentCloud
614
618
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
615
619
  end
616
620
 
617
- # 删除目标组
621
+ # 删除目标组,支持批量删除目标组,单次最多批量删除 20 个目标组。
618
622
 
619
623
  # @param request: Request instance for DeleteTargetGroups.
620
624
  # @type request: :class:`Tencentcloud::clb::V20180317::DeleteTargetGroupsRequest`
@@ -1469,6 +1473,7 @@ module TencentCloud
1469
1473
 
1470
1474
  # 解除规则的目标组关联关系。
1471
1475
  # 本接口为异步接口,本接口返回成功后需以返回的 RequestID 为入参,调用 DescribeTaskStatus 接口查询本次任务是否成功。
1476
+ # 当解绑七层转发规则时,LocationId 为必填项。
1472
1477
 
1473
1478
  # @param request: Request instance for DisassociateTargetGroups.
1474
1479
  # @type request: :class:`Tencentcloud::clb::V20180317::DisassociateTargetGroupsRequest`
@@ -1540,7 +1545,7 @@ module TencentCloud
1540
1545
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1541
1546
  end
1542
1547
 
1543
- # InquiryPriceRefundLoadBalancer接口查询负载均衡退费价格。
1548
+ # InquiryPriceRefundLoadBalancer接口查询负载均衡退费价格,只支持预付费类型的负载均衡实例。
1544
1549
 
1545
1550
  # @param request: Request instance for InquiryPriceRefundLoadBalancer.
1546
1551
  # @type request: :class:`Tencentcloud::clb::V20180317::InquiryPriceRefundLoadBalancerRequest`
@@ -1738,6 +1743,8 @@ module TencentCloud
1738
1743
  end
1739
1744
 
1740
1745
  # 修改负载均衡转发规则上所绑定的云函数。
1746
+ # 限制说明:
1747
+ # - 仅支持绑定“Event 函数”类型的云函数。
1741
1748
 
1742
1749
  # @param request: Request instance for ModifyFunctionTargets.
1743
1750
  # @type request: :class:`Tencentcloud::clb::V20180317::ModifyFunctionTargetsRequest`
@@ -2048,6 +2055,7 @@ module TencentCloud
2048
2055
  # - 目前仅 IPv4、IPv6 NAT64 版本的负载均衡支持绑定 SCF,IPv6 版本的暂不支持。
2049
2056
  # - 仅七层(HTTP、HTTPS)监听器支持绑定 SCF,四层(TCP、UDP、TCP SSL)监听器和七层 QUIC 监听器不支持。
2050
2057
  # - CLB 绑定 SCF 仅支持绑定“Event 函数”类型的云函数。
2058
+ # - 一个转发规则只支持绑定一个云函数。
2051
2059
 
2052
2060
  # @param request: Request instance for RegisterFunctionTargets.
2053
2061
  # @type request: :class:`Tencentcloud::clb::V20180317::RegisterFunctionTargetsRequest`
@@ -2097,7 +2105,7 @@ module TencentCloud
2097
2105
  end
2098
2106
 
2099
2107
  # RegisterTargets 接口用来将一台或多台后端服务绑定到负载均衡的监听器(或7层转发规则),在此之前您需要先行创建相关的4层监听器或7层转发规则。对于四层监听器(TCP、UDP),只需指定监听器ID即可,对于七层监听器(HTTP、HTTPS),还需通过LocationId或者Domain+Url指定转发规则。
2100
- # 本接口为异步接口,本接口返回成功后需以返回的RequestID为入参,调用DescribeTaskStatus接口查询本次任务是否成功。
2108
+ # 本接口为异步接口,本接口返回成功后需以返回的RequestID为入参,调用 [DescribeTaskStatus](https://cloud.tencent.com/document/product/214/30683) 接口查询本次任务是否成功。
2101
2109
 
2102
2110
  # @param request: Request instance for RegisterTargets.
2103
2111
  # @type request: :class:`Tencentcloud::clb::V20180317::RegisterTargetsRequest`
@@ -2220,7 +2228,7 @@ module TencentCloud
2220
2228
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2221
2229
  end
2222
2230
 
2223
- # SetLoadBalancerSecurityGroups 接口支持对一个公网负载均衡实例执行设置(绑定、解绑)安全组操作。查询一个负载均衡实例目前已绑定的安全组,可使用 DescribeLoadBalancers 接口。本接口是set语义,
2231
+ # SetLoadBalancerSecurityGroups 接口支持对一个公网负载均衡实例执行设置(绑定、解绑)安全组操作。查询一个负载均衡实例目前已绑定的安全组,可使用 [DescribeLoadBalancers](https://cloud.tencent.com/document/product/1108/48459) 接口。本接口是set语义,
2224
2232
  # 绑定操作时,入参需要传入负载均衡实例要绑定的所有安全组(已绑定的+新增绑定的)。
2225
2233
  # 解绑操作时,入参需要传入负载均衡实例执行解绑后所绑定的所有安全组;如果要解绑所有安全组,可不传此参数,或传入空数组。注意:内网 CLB 绑定 EIP 后,CLB 上的安全组对来自 EIP 的流量不生效,对来自内网 CLB 的流量生效。
2226
2234
 
@@ -2272,7 +2280,7 @@ module TencentCloud
2272
2280
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2273
2281
  end
2274
2282
 
2275
- # 绑定或解绑一个安全组到多个公网负载均衡实例。注意:内网负载均衡不支持绑定安全组。
2283
+ # 绑定或解绑一个安全组到多个公网负载均衡实例。
2276
2284
 
2277
2285
  # @param request: Request instance for SetSecurityGroupForLoadbalancers.
2278
2286
  # @type request: :class:`Tencentcloud::clb::V20180317::SetSecurityGroupForLoadbalancersRequest`
@@ -106,7 +106,8 @@ module TencentCloud
106
106
 
107
107
  # AssociateTargetGroups请求参数结构体
108
108
  class AssociateTargetGroupsRequest < TencentCloud::Common::AbstractModel
109
- # @param Associations: 绑定的关系数组。一次请求最多支持20个。
109
+ # @param Associations: 绑定的关系数组,目标组类型需要一致。
110
+ # 一次请求最多支持20个。
110
111
  # @type Associations: Array
111
112
 
112
113
  attr_accessor :Associations
@@ -727,9 +728,9 @@ module TencentCloud
727
728
  # @type CertKey: String
728
729
  # @param CertContent: 上传服务端证书的内容,如果没有 CertId,则此项必传。
729
730
  # @type CertContent: String
730
- # @param CertCaName: 上传客户端 CA 证书的名称,如果 SSLMode=mutual,如果没有 CertCaId,则此项必传。
731
+ # @param CertCaName: 上传客户端 CA 证书的名称,如果 SSLMode=MUTUAL,如果没有 CertCaId,则此项必传。
731
732
  # @type CertCaName: String
732
- # @param CertCaContent: 上传客户端证书的内容,如果 SSLMode=mutual,如果没有 CertCaId,则此项必传。
733
+ # @param CertCaContent: 上传客户端证书的内容,如果 SSLMode=MUTUAL,如果没有 CertCaId,则此项必传。
733
734
  # @type CertCaContent: String
734
735
 
735
736
  attr_accessor :SSLMode, :SSLVerifyClient, :CertId, :CertCaId, :CertName, :CertKey, :CertContent, :CertCaName, :CertCaContent
@@ -1351,15 +1352,17 @@ module TencentCloud
1351
1352
  class ConfigListItem < TencentCloud::Common::AbstractModel
1352
1353
  # @param UconfigId: 配置ID
1353
1354
  # @type UconfigId: String
1354
- # @param ConfigType: 配置类型
1355
+ # @param ConfigType: 配置类型, 可选值:CLB(实例维度配置), SERVER(服务维度配置),LOCATION(规则维度配置)
1355
1356
  # @type ConfigType: String
1356
1357
  # @param ConfigName: 配置名字
1357
1358
  # @type ConfigName: String
1358
1359
  # @param ConfigContent: 配置内容
1359
1360
  # @type ConfigContent: String
1360
- # @param CreateTimestamp: 增加配置时间
1361
+ # @param CreateTimestamp: 配置的创建时间。
1362
+ # 格式:YYYY-MM-DD HH:mm:ss
1361
1363
  # @type CreateTimestamp: String
1362
- # @param UpdateTimestamp: 修改配置时间
1364
+ # @param UpdateTimestamp: 配置的修改时间。
1365
+ # 格式:YYYY-MM-DD HH:mm:ss
1363
1366
  # @type UpdateTimestamp: String
1364
1367
 
1365
1368
  attr_accessor :UconfigId, :ConfigType, :ConfigName, :ConfigContent, :CreateTimestamp, :UpdateTimestamp
@@ -1760,9 +1763,9 @@ module TencentCloud
1760
1763
 
1761
1764
  # CreateLoadBalancerSnatIps请求参数结构体
1762
1765
  class CreateLoadBalancerSnatIpsRequest < TencentCloud::Common::AbstractModel
1763
- # @param LoadBalancerId: 负载均衡唯一性ID,例如:lb-12345678。
1766
+ # @param LoadBalancerId: 负载均衡唯一性ID,可以通过 [DescribeLoadBalancers](https://cloud.tencent.com/document/product/214/30685) 接口查询。例如:lb-12345678。
1764
1767
  # @type LoadBalancerId: String
1765
- # @param SnatIps: 添加的SnatIp信息,可指定IP申请,或者指定子网自动申请。单个CLB实例可申请的默认上限为10个。
1768
+ # @param SnatIps: 添加的SnatIp信息,可指定IP申请,或者指定子网自动申请。可以通过 [DescribeSubnets](https://cloud.tencent.com/document/api/215/15784) 查询获取,单个CLB实例可申请的默认上限为10个。
1766
1769
  # @type SnatIps: Array
1767
1770
  # @param Number: 添加的SnatIp的个数,可与SnatIps一起使用,但若指定IP时,则不能指定创建的SnatIp个数。默认值为1,数量上限与用户配置有关,默认上限为10。
1768
1771
  # @type Number: Integer
@@ -1807,9 +1810,9 @@ module TencentCloud
1807
1810
 
1808
1811
  # CreateRule请求参数结构体
1809
1812
  class CreateRuleRequest < TencentCloud::Common::AbstractModel
1810
- # @param LoadBalancerId: 负载均衡实例 ID
1813
+ # @param LoadBalancerId: 负载均衡实例 ID,可以通过 [DescribeLoadBalancers](https://cloud.tencent.com/document/product/214/30685) 接口获取
1811
1814
  # @type LoadBalancerId: String
1812
- # @param ListenerId: 监听器 ID
1815
+ # @param ListenerId: 监听器 ID,可以通过 [DescribeListeners](https://cloud.tencent.com/document/product/214/30686) 接口获取
1813
1816
  # @type ListenerId: String
1814
1817
  # @param Rules: 新建转发规则的信息。
1815
1818
  # @type Rules: Array
@@ -1877,13 +1880,18 @@ module TencentCloud
1877
1880
  # <li>取值范围[0, 100]</li>
1878
1881
  # <li>设置该值后,添加后端服务到目标组时, 若后端服务不单独设置权重, 则使用这里的默认权重。 </li>
1879
1882
  # </ul>
1883
+ # v1 目标组类型不支持设置 Weight 参数。
1880
1884
  # @type Weight: Integer
1881
1885
  # @param FullListenSwitch: 全监听目标组标识,为true表示是全监听目标组,false表示不是全监听目标组。
1882
1886
  # @type FullListenSwitch: Boolean
1887
+ # @param KeepaliveEnable: 是否开启长连接,此参数仅适用于HTTP/HTTPS目标组,0:关闭;1:开启, 默认关闭。
1888
+ # @type KeepaliveEnable: Boolean
1889
+ # @param SessionExpireTime: 会话保持时间,单位:秒。可选值:30~3600,默认 0,表示不开启。TCP/UDP目标组不支持该参数。
1890
+ # @type SessionExpireTime: Integer
1883
1891
 
1884
- attr_accessor :TargetGroupName, :VpcId, :Port, :TargetGroupInstances, :Type, :Protocol, :Tags, :Weight, :FullListenSwitch
1892
+ attr_accessor :TargetGroupName, :VpcId, :Port, :TargetGroupInstances, :Type, :Protocol, :Tags, :Weight, :FullListenSwitch, :KeepaliveEnable, :SessionExpireTime
1885
1893
 
1886
- def initialize(targetgroupname=nil, vpcid=nil, port=nil, targetgroupinstances=nil, type=nil, protocol=nil, tags=nil, weight=nil, fulllistenswitch=nil)
1894
+ def initialize(targetgroupname=nil, vpcid=nil, port=nil, targetgroupinstances=nil, type=nil, protocol=nil, tags=nil, weight=nil, fulllistenswitch=nil, keepaliveenable=nil, sessionexpiretime=nil)
1887
1895
  @TargetGroupName = targetgroupname
1888
1896
  @VpcId = vpcid
1889
1897
  @Port = port
@@ -1893,6 +1901,8 @@ module TencentCloud
1893
1901
  @Tags = tags
1894
1902
  @Weight = weight
1895
1903
  @FullListenSwitch = fulllistenswitch
1904
+ @KeepaliveEnable = keepaliveenable
1905
+ @SessionExpireTime = sessionexpiretime
1896
1906
  end
1897
1907
 
1898
1908
  def deserialize(params)
@@ -1919,6 +1929,8 @@ module TencentCloud
1919
1929
  end
1920
1930
  @Weight = params['Weight']
1921
1931
  @FullListenSwitch = params['FullListenSwitch']
1932
+ @KeepaliveEnable = params['KeepaliveEnable']
1933
+ @SessionExpireTime = params['SessionExpireTime']
1922
1934
  end
1923
1935
  end
1924
1936
 
@@ -1950,7 +1962,7 @@ module TencentCloud
1950
1962
  # @type PartitionCount: Integer
1951
1963
  # @param TopicType: 日志类型,ACCESS:访问日志,HEALTH:健康检查日志,默认ACCESS。
1952
1964
  # @type TopicType: String
1953
- # @param Period: 存储时间,单位天
1965
+ # @param Period: 存储时间,单位天,默认为 30。
1954
1966
  # - 日志接入标准存储时,支持1至3600天,值为3640时代表永久保存。
1955
1967
  # - 日志接入低频存储时,支持7至3600天,值为3640时代表永久保存。
1956
1968
  # @type Period: Integer
@@ -2183,9 +2195,9 @@ module TencentCloud
2183
2195
 
2184
2196
  # DeleteLoadBalancerSnatIps请求参数结构体
2185
2197
  class DeleteLoadBalancerSnatIpsRequest < TencentCloud::Common::AbstractModel
2186
- # @param LoadBalancerId: 负载均衡唯一ID,例如:lb-12345678。
2198
+ # @param LoadBalancerId: 负载均衡唯一ID,可以通过 [DescribeLoadBalancers](https://cloud.tencent.com/document/product/1108/48459) 接口查询。例如:lb-12345678。
2187
2199
  # @type LoadBalancerId: String
2188
- # @param Ips: 删除SnatIp地址数组。
2200
+ # @param Ips: 删除SnatIp地址数组,最大支持删除数量为20个。
2189
2201
  # @type Ips: Array
2190
2202
 
2191
2203
  attr_accessor :LoadBalancerId, :Ips
@@ -2415,7 +2427,7 @@ module TencentCloud
2415
2427
  class DeregisterTargetGroupInstancesRequest < TencentCloud::Common::AbstractModel
2416
2428
  # @param TargetGroupId: 目标组ID。
2417
2429
  # @type TargetGroupId: String
2418
- # @param TargetGroupInstances: 待解绑的服务器信息。
2430
+ # @param TargetGroupInstances: 待解绑的服务器信息,支持批量解除绑定,单次批量解除数量最多为20个。
2419
2431
  # @type TargetGroupInstances: Array
2420
2432
 
2421
2433
  attr_accessor :TargetGroupId, :TargetGroupInstances
@@ -3066,17 +3078,25 @@ module TencentCloud
3066
3078
  class DescribeCustomizedConfigListRequest < TencentCloud::Common::AbstractModel
3067
3079
  # @param ConfigType: 配置类型:CLB 负载均衡维度。 SERVER 域名维度。 LOCATION 规则维度。
3068
3080
  # @type ConfigType: String
3069
- # @param Offset: 拉取页偏移,默认值0
3081
+ # @param Offset: 拉取页偏移,默认值0
3070
3082
  # @type Offset: Integer
3071
- # @param Limit: 拉取数目,默认值20
3083
+ # @param Limit: 拉取数目,默认值20
3072
3084
  # @type Limit: Integer
3073
3085
  # @param ConfigName: 拉取指定配置名字,模糊匹配。
3074
3086
  # @type ConfigName: String
3075
- # @param UconfigIds: 配置ID
3087
+ # @param UconfigIds: 配置ID,可以通过 [DescribeCustomizedConfigList](https://cloud.tencent.com/document/api/214/60009) 接口查询。
3076
3088
  # @type UconfigIds: Array
3077
3089
  # @param Filters: 过滤条件如下:
3078
- # <li> loadbalancer-id - String - 是否必填:否 - (过滤条件)按照 负载均衡ID 过滤,如:"lb-12345678"。</li>
3079
- # <li> vip - String - 是否必填:否 - (过滤条件)按照 负载均衡Vip 过滤,如:"1.1.1.1","2204::22:3"。</li>
3090
+ # - loadbalancer-id
3091
+ # 按照【负载均衡 ID】进行过滤。实例计费模式例如:lb-9vxezxza。
3092
+ # 类型:String
3093
+ # 必选:否
3094
+ # 获取方式:[DescribeLoadBalancers](https://cloud.tencent.com/document/product/1108/48459)
3095
+ # - vip
3096
+ # 按照【负载均衡VIP】进行过滤。网络计费模式例如:"1.1.1.1","2204::22:3"。
3097
+ # 类型:String
3098
+ # 必选:否
3099
+ # 获取方式:[DescribeLoadBalancers](https://cloud.tencent.com/document/product/1108/48459)
3080
3100
  # @type Filters: Array
3081
3101
 
3082
3102
  attr_accessor :ConfigType, :Offset, :Limit, :ConfigName, :UconfigIds, :Filters
@@ -3375,7 +3395,8 @@ module TencentCloud
3375
3395
 
3376
3396
  # DescribeLoadBalancerListByCertId请求参数结构体
3377
3397
  class DescribeLoadBalancerListByCertIdRequest < TencentCloud::Common::AbstractModel
3378
- # @param CertIds: 服务端证书的ID,或客户端证书的ID
3398
+ # @param CertIds: 服务端证书的ID,或客户端证书的ID。可以通过 [DescribeCertificate](https://cloud.tencent.com/document/api/400/41674) 接口查询。
3399
+ # 数组最大长度为20。
3379
3400
  # @type CertIds: Array
3380
3401
 
3381
3402
  attr_accessor :CertIds
@@ -3850,8 +3871,20 @@ module TencentCloud
3850
3871
  # @param Offset: 返回可用区资源列表起始偏移量,默认0。
3851
3872
  # @type Offset: Integer
3852
3873
  # @param Filters: 查询可用区资源列表条件,详细的过滤条件如下:
3853
- # <li>master-zone -- String - 是否必填:否 - (过滤条件)按照 地区 类型过滤,如:"ap-guangzhou-2"。</li><li>ip-version -- String - 是否必填:否 - (过滤条件)按照 IP 类型过滤,可选值:"IPv4"、"IPv6"、"IPv6_Nat"。</li>
3854
- # <li> isp -- String - 是否必填:否 - (过滤条件)按照 Isp 类型过滤,如:"BGP","CMCC","CUCC","CTCC"。</li>
3874
+ # - master-zone
3875
+ # 按照【地域可用区】进行过滤,例如:ap-guangzhou-2。
3876
+ # 类型:String
3877
+ # 必选:否
3878
+ # - ip-version
3879
+ # 按照【IP 类型】进行过滤,例如:IPv4。
3880
+ # 类型:String
3881
+ # 必选:否
3882
+ # 可选项:IPv4、IPv6、IPv6_Nat
3883
+ # - isp
3884
+ # 按照【ISP 类型】进行过滤,例如:BGP。
3885
+ # 类型:String
3886
+ # 必选:否
3887
+ # 可选项:BGP、CMCC(中国移动)、CUCC(中国联通)、CTCC(中国电信)、BGP_PRO、INTERNAL(内网)
3855
3888
  # @type Filters: Array
3856
3889
 
3857
3890
  attr_accessor :Limit, :Offset, :Filters
@@ -3960,7 +3993,7 @@ module TencentCloud
3960
3993
 
3961
3994
  # DescribeTargetGroupInstances请求参数结构体
3962
3995
  class DescribeTargetGroupInstancesRequest < TencentCloud::Common::AbstractModel
3963
- # @param Filters: 过滤条件,当前仅支持TargetGroupId,BindIP,InstanceId过滤。
3996
+ # @param Filters: 过滤条件,当前支持按照 TargetGroupId,BindIP,InstanceId 多个条件组合过滤。
3964
3997
  # @type Filters: Array
3965
3998
  # @param Limit: 显示数量限制,默认20。
3966
3999
  # @type Limit: Integer
@@ -4098,7 +4131,7 @@ module TencentCloud
4098
4131
  # @type Limit: Integer
4099
4132
  # @param Offset: 显示的偏移起始量。
4100
4133
  # @type Offset: Integer
4101
- # @param Filters: 过滤条件数组,与TargetGroupIds互斥,支持TargetGroupVpcIdTargetGroupName
4134
+ # @param Filters: 过滤条件数组,与TargetGroupIds互斥,支持 TargetGroupVpcId(私有网络 ID)和 TargetGroupName(目标组名称)以及 Tag(标签)。
4102
4135
  # @type Filters: Array
4103
4136
 
4104
4137
  attr_accessor :TargetGroupIds, :Limit, :Offset, :Filters
@@ -4372,7 +4405,7 @@ module TencentCloud
4372
4405
 
4373
4406
  # DisassociateTargetGroups请求参数结构体
4374
4407
  class DisassociateTargetGroupsRequest < TencentCloud::Common::AbstractModel
4375
- # @param Associations: 待解绑的规则关系数组。
4408
+ # @param Associations: 待解绑的规则关系数组,支持批量解绑多个监听器,单次批量解除最多20个。
4376
4409
  # @type Associations: Array
4377
4410
 
4378
4411
  attr_accessor :Associations
@@ -4765,7 +4798,7 @@ module TencentCloud
4765
4798
 
4766
4799
  # InquiryPriceModifyLoadBalancer请求参数结构体
4767
4800
  class InquiryPriceModifyLoadBalancerRequest < TencentCloud::Common::AbstractModel
4768
- # @param LoadBalancerId: 负载均衡实例ID
4801
+ # @param LoadBalancerId: 负载均衡实例 ID,可以通过 [DescribeLoadBalancers](https://cloud.tencent.com/document/product/1108/48459) 接口查询。
4769
4802
  # @type LoadBalancerId: String
4770
4803
  # @param InternetAccessible: 修改后的网络带宽信息
4771
4804
  # @type InternetAccessible: :class:`Tencentcloud::Clb.v20180317.models.InternetAccessible`
@@ -4850,7 +4883,7 @@ module TencentCloud
4850
4883
 
4851
4884
  # InquiryPriceRenewLoadBalancer请求参数结构体
4852
4885
  class InquiryPriceRenewLoadBalancerRequest < TencentCloud::Common::AbstractModel
4853
- # @param LoadBalancerId: 负载均衡实例ID
4886
+ # @param LoadBalancerId: 负载均衡实例 ID,可以通过 [DescribeLoadBalancers](https://cloud.tencent.com/document/product/1108/48459) 接口查询。
4854
4887
  # @type LoadBalancerId: String
4855
4888
  # @param LoadBalancerChargePrepaid: 续费周期
4856
4889
  # @type LoadBalancerChargePrepaid: :class:`Tencentcloud::Clb.v20180317.models.LBChargePrepaid`
@@ -5031,8 +5064,10 @@ module TencentCloud
5031
5064
  # 查询类型
5032
5065
  class LbRsItem < TencentCloud::Common::AbstractModel
5033
5066
  # @param VpcId: vpc的字符串id,只支持字符串id。
5067
+ # 可以通过 [DescribeVpcs](https://cloud.tencent.com/document/api/215/15778) 接口查询。
5034
5068
  # @type VpcId: String
5035
- # @param PrivateIp: 需要查询后端的内网ip,可以是cvm和弹性网卡。
5069
+ # @param PrivateIp: 需要查询后端的内网 IP,可以是 CVM 和弹性网卡。
5070
+ # 可以通过 [DescribeAddresses](https://cloud.tencent.com/document/product/215/16702) 接口查询。
5036
5071
  # @type PrivateIp: String
5037
5072
 
5038
5073
  attr_accessor :VpcId, :PrivateIp
@@ -5396,9 +5431,9 @@ module TencentCloud
5396
5431
  # @type VpcId: String
5397
5432
  # @param OpenBgp: 高防 LB 的标识,1:高防负载均衡 0:非高防负载均衡。
5398
5433
  # @type OpenBgp: Integer
5399
- # @param Snat: 2016 年 12 月份之前的传统型内网负载均衡都是开启了 snat 的。
5434
+ # @param Snat: 是否开启 SNAT,在 2016 年 12 月份之前的传统型内网负载均衡都是开启了 SNAT 的。
5400
5435
  # @type Snat: Boolean
5401
- # @param Isolation: 0:表示未被隔离,1:表示被隔离。
5436
+ # @param Isolation: 是否被隔离,0:表示未被隔离,1:表示被隔离。
5402
5437
  # @type Isolation: Integer
5403
5438
  # @param Log: 用户开启日志的信息,日志只有公网属性创建了 HTTP 、HTTPS 监听器的负载均衡才会有日志。
5404
5439
  # 注意:此字段可能返回 null,表示取不到有效值。
@@ -6327,7 +6362,7 @@ module TencentCloud
6327
6362
  # @type LoadBalancerId: String
6328
6363
  # @param ListenerId: 负载均衡监听器ID。
6329
6364
  # @type ListenerId: String
6330
- # @param FunctionTargets: 要修改的后端云函数服务列表。
6365
+ # @param FunctionTargets: 要修改的后端云函数服务列表,仅支持 Event 函数类型。
6331
6366
  # @type FunctionTargets: Array
6332
6367
  # @param LocationId: 转发规则的ID,当绑定机器到七层转发规则时,必须提供此参数或Domain+Url两者之一。
6333
6368
  # @type LocationId: String
@@ -6575,6 +6610,7 @@ module TencentCloud
6575
6610
  # ModifyLoadBalancerMixIpTarget请求参数结构体
6576
6611
  class ModifyLoadBalancerMixIpTargetRequest < TencentCloud::Common::AbstractModel
6577
6612
  # @param LoadBalancerIds: 负载均衡实例ID数组,默认支持20个负载均衡实例ID。
6613
+ # 可以通过 [DescribeLoadBalancers](https://cloud.tencent.com/document/product/1108/48459) 接口查询。
6578
6614
  # @type LoadBalancerIds: Array
6579
6615
  # @param MixIpTarget: 开启/关闭IPv6FullChain负载均衡7层监听器支持混绑IPv4/IPv6目标特性。
6580
6616
  # @type MixIpTarget: Boolean
@@ -6653,7 +6689,8 @@ module TencentCloud
6653
6689
 
6654
6690
  # ModifyLoadBalancersProject请求参数结构体
6655
6691
  class ModifyLoadBalancersProjectRequest < TencentCloud::Common::AbstractModel
6656
- # @param LoadBalancerIds: 一个或多个待操作的负载均衡实例ID
6692
+ # @param LoadBalancerIds: 一个或多个待操作的负载均衡实例ID,可以通过 [DescribeLoadBalancers](https://cloud.tencent.com/document/product/1108/48459) 接口查询。
6693
+ # 列表支持最大长度为20。
6657
6694
  # @type LoadBalancerIds: Array
6658
6695
  # @param ProjectId: 项目ID。可以通过 [DescribeProject](https://cloud.tencent.com/document/api/651/78725) 接口获取。
6659
6696
  # @type ProjectId: Integer
@@ -6780,15 +6817,22 @@ module TencentCloud
6780
6817
  # <li>取值范围[0, 100]</li>
6781
6818
  # <li>设置该值后,添加后端服务到目标组时, 若后端服务不单独设置权重, 则使用这里的默认权重。 </li>
6782
6819
  # </ul>
6820
+ # v1目标组类型不支持设置Weight参数。
6783
6821
  # @type Weight: Integer
6822
+ # @param KeepaliveEnable: 是否开启长连接,此参数仅适用于HTTP/HTTPS目标组,true:关闭;false:开启, 默认关闭。
6823
+ # @type KeepaliveEnable: Boolean
6824
+ # @param SessionExpireTime: 会话保持时间,单位:秒。可选值:30~3600,默认 0,表示不开启。TCP/UDP目标组不支持该参数。
6825
+ # @type SessionExpireTime: Integer
6784
6826
 
6785
- attr_accessor :TargetGroupId, :TargetGroupName, :Port, :Weight
6827
+ attr_accessor :TargetGroupId, :TargetGroupName, :Port, :Weight, :KeepaliveEnable, :SessionExpireTime
6786
6828
 
6787
- def initialize(targetgroupid=nil, targetgroupname=nil, port=nil, weight=nil)
6829
+ def initialize(targetgroupid=nil, targetgroupname=nil, port=nil, weight=nil, keepaliveenable=nil, sessionexpiretime=nil)
6788
6830
  @TargetGroupId = targetgroupid
6789
6831
  @TargetGroupName = targetgroupname
6790
6832
  @Port = port
6791
6833
  @Weight = weight
6834
+ @KeepaliveEnable = keepaliveenable
6835
+ @SessionExpireTime = sessionexpiretime
6792
6836
  end
6793
6837
 
6794
6838
  def deserialize(params)
@@ -6796,6 +6840,8 @@ module TencentCloud
6796
6840
  @TargetGroupName = params['TargetGroupName']
6797
6841
  @Port = params['Port']
6798
6842
  @Weight = params['Weight']
6843
+ @KeepaliveEnable = params['KeepaliveEnable']
6844
+ @SessionExpireTime = params['SessionExpireTime']
6799
6845
  end
6800
6846
  end
6801
6847
 
@@ -6819,7 +6865,7 @@ module TencentCloud
6819
6865
  class ModifyTargetGroupInstancesPortRequest < TencentCloud::Common::AbstractModel
6820
6866
  # @param TargetGroupId: 目标组ID。
6821
6867
  # @type TargetGroupId: String
6822
- # @param TargetGroupInstances: 待修改端口的服务器数组。
6868
+ # @param TargetGroupInstances: 待修改端口的服务器数组,在这个接口 NewPort 和 Port 为必填项。
6823
6869
  # @type TargetGroupInstances: Array
6824
6870
 
6825
6871
  attr_accessor :TargetGroupId, :TargetGroupInstances
@@ -6862,7 +6908,7 @@ module TencentCloud
6862
6908
  class ModifyTargetGroupInstancesWeightRequest < TencentCloud::Common::AbstractModel
6863
6909
  # @param TargetGroupId: 目标组ID。
6864
6910
  # @type TargetGroupId: String
6865
- # @param TargetGroupInstances: 待修改权重的服务器数组。
6911
+ # @param TargetGroupInstances: 待修改权重的服务器数组,在这个接口 Port 为必填项。
6866
6912
  # @type TargetGroupInstances: Array
6867
6913
 
6868
6914
  attr_accessor :TargetGroupId, :TargetGroupInstances
@@ -7127,8 +7173,9 @@ module TencentCloud
7127
7173
  # <li> TOTAL_LISTENER_QUOTA:一个CLB下的监听器配额 </li>
7128
7174
  # <li> TOTAL_LISTENER_RULE_QUOTA:一个监听器下的转发规则配额 </li>
7129
7175
  # <li> TOTAL_TARGET_BIND_QUOTA:一条转发规则下可绑定设备的配额 </li>
7130
- # <li> TOTAL_SNAP_IP_QUOTA: 一个CLB实例下跨地域2.0的SNAT IP配额 </li>
7176
+ # <li> TOTAL_SNAT_IP_QUOTA: 一个CLB实例下跨地域2.0的SNAT IP配额 </li>
7131
7177
  # <li>TOTAL_ISP_CLB_QUOTA:用户当前地域下的三网CLB配额 </li>
7178
+ # <li>TOTAL_FULL_PORT_RANGE_LISTENER_QUOTA:一个CLB实例下的单个协议全端口段监听器配额</li>
7132
7179
  # @type QuotaId: String
7133
7180
  # @param QuotaCurrent: 当前使用数量,为 null 时表示无意义。
7134
7181
  # 注意:此字段可能返回 null,表示取不到有效值。
@@ -7214,7 +7261,7 @@ module TencentCloud
7214
7261
  class RegisterTargetGroupInstancesRequest < TencentCloud::Common::AbstractModel
7215
7262
  # @param TargetGroupId: 目标组ID
7216
7263
  # @type TargetGroupId: String
7217
- # @param TargetGroupInstances: 服务器实例数组
7264
+ # @param TargetGroupInstances: 服务器实例数组,服务器和目标组的 VPC 需相同。
7218
7265
  # @type TargetGroupInstances: Array
7219
7266
 
7220
7267
  attr_accessor :TargetGroupId, :TargetGroupInstances
@@ -7261,7 +7308,7 @@ module TencentCloud
7261
7308
  # @type ListenerId: String
7262
7309
  # @param Targets: 待绑定的后端服务列表,数组长度最大支持20。
7263
7310
  # @type Targets: Array
7264
- # @param LocationId: 转发规则的ID,当绑定后端服务到七层转发规则时,必须提供此参数或Domain+Url两者之一。
7311
+ # @param LocationId: 转发规则的ID,可以通过 [DescribeListeners](https://cloud.tencent.com/document/product/214/30686) 接口获取,当绑定后端服务到七层转发规则时,必须提供此参数或Domain+Url两者之一。
7265
7312
  # @type LocationId: String
7266
7313
  # @param Domain: 目标转发规则的域名,提供LocationId参数时本参数不生效。
7267
7314
  # @type Domain: String
@@ -7657,7 +7704,7 @@ module TencentCloud
7657
7704
  # @param Scheduler: 规则的请求转发方式,可选值:WRR、LEAST_CONN、IP_HASH
7658
7705
  # 分别表示按权重轮询、最小连接数、按IP哈希, 默认为 WRR。
7659
7706
  # @type Scheduler: String
7660
- # @param ForwardType: 负载均衡与后端服务之间的转发协议,目前支持 HTTP/HTTPS/GRPC/TRPC,TRPC暂未对外开放,默认HTTP。
7707
+ # @param ForwardType: 负载均衡与后端服务之间的转发协议,目前支持 HTTP/HTTPS/GRPC/GRPCS/TRPC,TRPC暂未对外开放,默认HTTP。
7661
7708
  # @type ForwardType: String
7662
7709
  # @param DefaultServer: 是否将该域名设为默认域名,注意,一个监听器下只能设置一个默认域名。
7663
7710
  # @type DefaultServer: Boolean
@@ -7942,7 +7989,7 @@ module TencentCloud
7942
7989
  # SetCustomizedConfigForLoadBalancer请求参数结构体
7943
7990
  class SetCustomizedConfigForLoadBalancerRequest < TencentCloud::Common::AbstractModel
7944
7991
  # @param OperationType: 操作类型。
7945
- # - ADD:添加
7992
+ # - ADD:创建
7946
7993
  # - DELETE:删除
7947
7994
  # - UPDATE:修改
7948
7995
  # - BIND:绑定
@@ -7950,11 +7997,13 @@ module TencentCloud
7950
7997
  # @type OperationType: String
7951
7998
  # @param UconfigId: 个性化配置ID。除了创建个性化配置外,必传此字段,如:pz-1234abcd
7952
7999
  # @type UconfigId: String
7953
- # @param ConfigContent: 个性化配置内容。创建个性化配置或修改个性化配置的内容时,必传此字段
8000
+ # @param ConfigContent: 个性化配置内容。创建个性化配置或修改个性化配置的内容时,必传此字段。
8001
+ # 具体限制查看 [七层个性化配置](https://cloud.tencent.com/document/product/214/15171)
7954
8002
  # @type ConfigContent: String
7955
- # @param ConfigName: 个性化配置名称。创建个性化配置或修改个性化配置的名字时,必传此字段
8003
+ # @param ConfigName: 个性化配置名称。创建个性化配置或修改个性化配置的名字时,必传此字段。
7956
8004
  # @type ConfigName: String
7957
- # @param LoadBalancerIds: 负载均衡实例ID。绑定解绑时,必传此字段
8005
+ # @param LoadBalancerIds: 负载均衡实例ID。绑定解绑时,必传此字段。
8006
+ # 可以通过 [DescribeLoadBalancers](https://cloud.tencent.com/document/product/1108/48459) 接口查询。
7958
8007
  # @type LoadBalancerIds: Array
7959
8008
 
7960
8009
  attr_accessor :OperationType, :UconfigId, :ConfigContent, :ConfigName, :LoadBalancerIds
@@ -7998,7 +8047,7 @@ module TencentCloud
7998
8047
 
7999
8048
  # SetLoadBalancerClsLog请求参数结构体
8000
8049
  class SetLoadBalancerClsLogRequest < TencentCloud::Common::AbstractModel
8001
- # @param LoadBalancerId: 负载均衡实例 ID
8050
+ # @param LoadBalancerId: 负载均衡实例 ID,可以通过 [DescribeLoadBalancers](https://cloud.tencent.com/document/product/1108/48459) 接口查询。
8002
8051
  # @type LoadBalancerId: String
8003
8052
  # @param LogSetId: 日志服务(CLS)的日志集 ID。
8004
8053
  # <li>增加和更新日志主题时可调用 [DescribeLogsets](https://cloud.tencent.com/document/product/614/58624) 接口获取日志集 ID。</li>
@@ -8049,9 +8098,10 @@ module TencentCloud
8049
8098
 
8050
8099
  # SetLoadBalancerSecurityGroups请求参数结构体
8051
8100
  class SetLoadBalancerSecurityGroupsRequest < TencentCloud::Common::AbstractModel
8052
- # @param LoadBalancerId: 负载均衡实例 ID
8101
+ # @param LoadBalancerId: 负载均衡实例 ID,可以通过 [DescribeLoadBalancers](https://cloud.tencent.com/document/product/1108/48459) 接口查询。
8053
8102
  # @type LoadBalancerId: String
8054
8103
  # @param SecurityGroups: 安全组ID构成的数组,一个负载均衡实例最多可绑定50个安全组,如果要解绑所有安全组,可不传此参数。
8104
+ # 可以通过 [DescribeSecurityGroups](https://cloud.tencent.com/document/product/215/15808) 接口查询。
8055
8105
  # @type SecurityGroups: Array
8056
8106
 
8057
8107
  attr_accessor :LoadBalancerId, :SecurityGroups
@@ -8125,12 +8175,13 @@ module TencentCloud
8125
8175
 
8126
8176
  # SetSecurityGroupForLoadbalancers请求参数结构体
8127
8177
  class SetSecurityGroupForLoadbalancersRequest < TencentCloud::Common::AbstractModel
8128
- # @param SecurityGroup: 安全组ID,如 sg-12345678
8178
+ # @param SecurityGroup: 安全组ID,如 sg-12345678。可以通过 [DescribeSecurityGroups](https://cloud.tencent.com/document/product/215/15808) 接口获取。
8129
8179
  # @type SecurityGroup: String
8130
8180
  # @param OperationType: ADD 绑定安全组;
8131
8181
  # DEL 解绑安全组
8132
8182
  # @type OperationType: String
8133
- # @param LoadBalancerIds: 负载均衡实例ID数组
8183
+ # @param LoadBalancerIds: 负载均衡实例ID数组,可以通过 [DescribeLoadBalancers](https://cloud.tencent.com/document/product/1108/48459) 接口查询。
8184
+ # 列表支持的最大长度为20。
8134
8185
  # @type LoadBalancerIds: Array
8135
8186
 
8136
8187
  attr_accessor :SecurityGroup, :OperationType, :LoadBalancerIds
@@ -8166,7 +8217,8 @@ module TencentCloud
8166
8217
 
8167
8218
  # 升级为性能容量型参数
8168
8219
  class SlaUpdateParam < TencentCloud::Common::AbstractModel
8169
- # @param LoadBalancerId: lb的字符串ID
8220
+ # @param LoadBalancerId: 负载均衡实例 ID
8221
+ # 可以通过 [DescribeLoadBalancers](https://cloud.tencent.com/document/product/1108/48459) 接口查询。
8170
8222
  # @type LoadBalancerId: String
8171
8223
  # @param SlaType: 性能容量型规格,取值范围:
8172
8224
  # <li> clb.c2.medium:标准型规格 </li>
@@ -8474,8 +8526,8 @@ module TencentCloud
8474
8526
  # @param Port: 目标组实例的端口,全监听目标组不支持传此字段。
8475
8527
  # @type Port: Integer
8476
8528
  # @param Weight: 目标组实例的权重
8477
-
8478
8529
  # v2目标组需要配置权重,调用CreateTargetGroup接口创建目标组时该参数与创建接口中的Weight参数必填其一。
8530
+ # 取值范围:0-100
8479
8531
  # @type Weight: Integer
8480
8532
  # @param NewPort: 目标组实例的新端口,全监听目标组不支持传此字段。
8481
8533
  # @type NewPort: Integer
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-clb
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.1054
4
+ version: 3.0.1055
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-05-07 00:00:00.000000000 Z
11
+ date: 2025-05-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common