tencentcloud-sdk-clb 3.0.440 → 3.0.441

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/VERSION +1 -1
  3. data/lib/v20180317/models.rb +95 -12
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 79df5b2fcc7a8f2967ac8d806af5d99a4b357c35
4
- data.tar.gz: 4d271cac177fdc0d4c0fda6a9db1145b0e45a835
3
+ metadata.gz: a5569e21f32d33617e89be5f4b4e12146d5ed324
4
+ data.tar.gz: 8d531dd0aab8309c9509c727988f3f7a8e5e0b8d
5
5
  SHA512:
6
- metadata.gz: 4398f4a7fd6a97e9477c4e39dc8cae57946e1687cfe94b04b09d5f343787a4685d61630f97bf776e78ebc37568aba98de8bf03157bf62640735d611b5a01225e
7
- data.tar.gz: 8ac541470a8bd7e9cd3df29ecf214da86321a8c055569cd82081803ea29a798f182618e21587b3777d3d4d92eb9b98f795a03146eff52ce15ef02398d44cb779
6
+ metadata.gz: c92cfeeb57b5712fd3d34efbb3dba58380a71470a8b45191d7e1d305febd9aada3e2df1c7e5a4a23e6bff958d5e6fada9234434c81f5d05c52d03f2d34180f1b
7
+ data.tar.gz: 33b96c38432526bb2a22968a4069b677a620ee1fa5357732f2ca0a4b8137bda233aace5393bfaf0954c563474f4da1196725b306e7e34ca7a6fdcafc5a3c14ae
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.440
1
+ 3.0.441
@@ -511,6 +511,34 @@ module TencentCloud
511
511
  end
512
512
  end
513
513
 
514
+ # 证书信息
515
+ class CertInfo < TencentCloud::Common::AbstractModel
516
+ # @param CertId: 证书 ID,如果不填写此项则必须上传证书内容,包括CertName, CertContent,若为服务端证书必须包含CertKey。
517
+ # @type CertId: String
518
+ # @param CertName: 上传证书的名称,如果没有 CertId,则此项必传。
519
+ # @type CertName: String
520
+ # @param CertContent: 上传证书的公钥,如果没有 CertId,则此项必传。
521
+ # @type CertContent: String
522
+ # @param CertKey: 上传服务端证书的私钥,如果没有 CertId,则此项必传。
523
+ # @type CertKey: String
524
+
525
+ attr_accessor :CertId, :CertName, :CertContent, :CertKey
526
+
527
+ def initialize(certid=nil, certname=nil, certcontent=nil, certkey=nil)
528
+ @CertId = certid
529
+ @CertName = certname
530
+ @CertContent = certcontent
531
+ @CertKey = certkey
532
+ end
533
+
534
+ def deserialize(params)
535
+ @CertId = params['CertId']
536
+ @CertName = params['CertName']
537
+ @CertContent = params['CertContent']
538
+ @CertKey = params['CertKey']
539
+ end
540
+ end
541
+
514
542
  # 证书信息
515
543
  class CertificateInput < TencentCloud::Common::AbstractModel
516
544
  # @param SSLMode: 认证类型,UNIDIRECTIONAL:单向认证,MUTUAL:双向认证
@@ -1208,7 +1236,7 @@ module TencentCloud
1208
1236
  # @type ListenerNames: Array
1209
1237
  # @param HealthCheck: 健康检查相关参数,此参数仅适用于TCP/UDP/TCP_SSL监听器。
1210
1238
  # @type HealthCheck: :class:`Tencentcloud::Clb.v20180317.models.HealthCheck`
1211
- # @param Certificate: 证书相关信息,此参数仅适用于TCP_SSL监听器和未开启SNI特性的HTTPS监听器。
1239
+ # @param Certificate: 证书相关信息,此参数仅适用于TCP_SSL监听器和未开启SNI特性的HTTPS监听器。此参数和MultiCertInfo不能同时传入。
1212
1240
  # @type Certificate: :class:`Tencentcloud::Clb.v20180317.models.CertificateInput`
1213
1241
  # @param SessionExpireTime: 会话保持时间,单位:秒。可选值:30~3600,默认 0,表示不开启。此参数仅适用于TCP/UDP监听器。
1214
1242
  # @type SessionExpireTime: Integer
@@ -1227,10 +1255,12 @@ module TencentCloud
1227
1255
  # @type EndPort: Integer
1228
1256
  # @param DeregisterTargetRst: 解绑后端目标时,是否发RST给客户端,此参数仅适用于TCP监听器。
1229
1257
  # @type DeregisterTargetRst: Boolean
1258
+ # @param MultiCertInfo: 证书信息,支持同时传入不同算法类型的多本服务端证书;此参数仅适用于未开启SNI特性的HTTPS监听器。此参数和Certificate不能同时传入。
1259
+ # @type MultiCertInfo: :class:`Tencentcloud::Clb.v20180317.models.MultiCertInfo`
1230
1260
 
1231
- attr_accessor :LoadBalancerId, :Ports, :Protocol, :ListenerNames, :HealthCheck, :Certificate, :SessionExpireTime, :Scheduler, :SniSwitch, :TargetType, :SessionType, :KeepaliveEnable, :EndPort, :DeregisterTargetRst
1261
+ attr_accessor :LoadBalancerId, :Ports, :Protocol, :ListenerNames, :HealthCheck, :Certificate, :SessionExpireTime, :Scheduler, :SniSwitch, :TargetType, :SessionType, :KeepaliveEnable, :EndPort, :DeregisterTargetRst, :MultiCertInfo
1232
1262
 
1233
- def initialize(loadbalancerid=nil, ports=nil, protocol=nil, listenernames=nil, healthcheck=nil, certificate=nil, sessionexpiretime=nil, scheduler=nil, sniswitch=nil, targettype=nil, sessiontype=nil, keepaliveenable=nil, endport=nil, deregistertargetrst=nil)
1263
+ def initialize(loadbalancerid=nil, ports=nil, protocol=nil, listenernames=nil, healthcheck=nil, certificate=nil, sessionexpiretime=nil, scheduler=nil, sniswitch=nil, targettype=nil, sessiontype=nil, keepaliveenable=nil, endport=nil, deregistertargetrst=nil, multicertinfo=nil)
1234
1264
  @LoadBalancerId = loadbalancerid
1235
1265
  @Ports = ports
1236
1266
  @Protocol = protocol
@@ -1245,6 +1275,7 @@ module TencentCloud
1245
1275
  @KeepaliveEnable = keepaliveenable
1246
1276
  @EndPort = endport
1247
1277
  @DeregisterTargetRst = deregistertargetrst
1278
+ @MultiCertInfo = multicertinfo
1248
1279
  end
1249
1280
 
1250
1281
  def deserialize(params)
@@ -1268,6 +1299,10 @@ module TencentCloud
1268
1299
  @KeepaliveEnable = params['KeepaliveEnable']
1269
1300
  @EndPort = params['EndPort']
1270
1301
  @DeregisterTargetRst = params['DeregisterTargetRst']
1302
+ unless params['MultiCertInfo'].nil?
1303
+ @MultiCertInfo = MultiCertInfo.new
1304
+ @MultiCertInfo.deserialize(params['MultiCertInfo'])
1305
+ end
1271
1306
  end
1272
1307
  end
1273
1308
 
@@ -5201,7 +5236,7 @@ module TencentCloud
5201
5236
  # @type Domain: String
5202
5237
  # @param NewDomain: 要修改的新域名。NewDomain和NewDomains只能传一个。
5203
5238
  # @type NewDomain: String
5204
- # @param Certificate: 域名相关的证书信息,注意,仅对启用SNI的监听器适用。
5239
+ # @param Certificate: 域名相关的证书信息,注意,仅对启用SNI的监听器适用,不可和MultiCertInfo 同时传入。
5205
5240
  # @type Certificate: :class:`Tencentcloud::Clb.v20180317.models.CertificateInput`
5206
5241
  # @param Http2: 是否开启Http2,注意,只有HTTPS域名才能开启Http2。
5207
5242
  # @type Http2: Boolean
@@ -5211,10 +5246,12 @@ module TencentCloud
5211
5246
  # @type NewDefaultServerDomain: String
5212
5247
  # @param NewDomains: 要修改的新域名列表。NewDomain和NewDomains只能传一个。
5213
5248
  # @type NewDomains: Array
5249
+ # @param MultiCertInfo: 域名相关的证书信息,注意,仅对启用SNI的监听器适用;支持同时传入多本算法类型不同的服务器证书,不可和MultiCertInfo 同时传入。
5250
+ # @type MultiCertInfo: :class:`Tencentcloud::Clb.v20180317.models.MultiCertInfo`
5214
5251
 
5215
- attr_accessor :LoadBalancerId, :ListenerId, :Domain, :NewDomain, :Certificate, :Http2, :DefaultServer, :NewDefaultServerDomain, :NewDomains
5252
+ attr_accessor :LoadBalancerId, :ListenerId, :Domain, :NewDomain, :Certificate, :Http2, :DefaultServer, :NewDefaultServerDomain, :NewDomains, :MultiCertInfo
5216
5253
 
5217
- def initialize(loadbalancerid=nil, listenerid=nil, domain=nil, newdomain=nil, certificate=nil, http2=nil, defaultserver=nil, newdefaultserverdomain=nil, newdomains=nil)
5254
+ def initialize(loadbalancerid=nil, listenerid=nil, domain=nil, newdomain=nil, certificate=nil, http2=nil, defaultserver=nil, newdefaultserverdomain=nil, newdomains=nil, multicertinfo=nil)
5218
5255
  @LoadBalancerId = loadbalancerid
5219
5256
  @ListenerId = listenerid
5220
5257
  @Domain = domain
@@ -5224,6 +5261,7 @@ module TencentCloud
5224
5261
  @DefaultServer = defaultserver
5225
5262
  @NewDefaultServerDomain = newdefaultserverdomain
5226
5263
  @NewDomains = newdomains
5264
+ @MultiCertInfo = multicertinfo
5227
5265
  end
5228
5266
 
5229
5267
  def deserialize(params)
@@ -5239,6 +5277,10 @@ module TencentCloud
5239
5277
  @DefaultServer = params['DefaultServer']
5240
5278
  @NewDefaultServerDomain = params['NewDefaultServerDomain']
5241
5279
  @NewDomains = params['NewDomains']
5280
+ unless params['MultiCertInfo'].nil?
5281
+ @MultiCertInfo = MultiCertInfo.new
5282
+ @MultiCertInfo.deserialize(params['MultiCertInfo'])
5283
+ end
5242
5284
  end
5243
5285
  end
5244
5286
 
@@ -5314,7 +5356,7 @@ module TencentCloud
5314
5356
  # @type SessionExpireTime: Integer
5315
5357
  # @param HealthCheck: 健康检查相关参数,此参数仅适用于TCP/UDP/TCP_SSL监听器。
5316
5358
  # @type HealthCheck: :class:`Tencentcloud::Clb.v20180317.models.HealthCheck`
5317
- # @param Certificate: 证书相关信息,此参数仅适用于HTTPS/TCP_SSL监听器。
5359
+ # @param Certificate: 证书相关信息,此参数仅适用于HTTPS/TCP_SSL监听器;此参数和MultiCertInfo不能同时传入。
5318
5360
  # @type Certificate: :class:`Tencentcloud::Clb.v20180317.models.CertificateInput`
5319
5361
  # @param Scheduler: 监听器转发的方式。可选值:WRR、LEAST_CONN
5320
5362
  # 分别表示按权重轮询、最小连接数, 默认为 WRR。
@@ -5329,10 +5371,12 @@ module TencentCloud
5329
5371
  # @type DeregisterTargetRst: Boolean
5330
5372
  # @param SessionType: 会话保持类型。NORMAL表示默认会话保持类型。QUIC_CID表示根据Quic Connection ID做会话保持。QUIC_CID只支持UDP协议。
5331
5373
  # @type SessionType: String
5374
+ # @param MultiCertInfo: 证书信息,支持同时传入不同算法类型的多本服务端证书;此参数仅适用于未开启SNI特性的HTTPS监听器。此参数和Certificate不能同时传入。
5375
+ # @type MultiCertInfo: :class:`Tencentcloud::Clb.v20180317.models.MultiCertInfo`
5332
5376
 
5333
- attr_accessor :LoadBalancerId, :ListenerId, :ListenerName, :SessionExpireTime, :HealthCheck, :Certificate, :Scheduler, :SniSwitch, :TargetType, :KeepaliveEnable, :DeregisterTargetRst, :SessionType
5377
+ attr_accessor :LoadBalancerId, :ListenerId, :ListenerName, :SessionExpireTime, :HealthCheck, :Certificate, :Scheduler, :SniSwitch, :TargetType, :KeepaliveEnable, :DeregisterTargetRst, :SessionType, :MultiCertInfo
5334
5378
 
5335
- def initialize(loadbalancerid=nil, listenerid=nil, listenername=nil, sessionexpiretime=nil, healthcheck=nil, certificate=nil, scheduler=nil, sniswitch=nil, targettype=nil, keepaliveenable=nil, deregistertargetrst=nil, sessiontype=nil)
5379
+ def initialize(loadbalancerid=nil, listenerid=nil, listenername=nil, sessionexpiretime=nil, healthcheck=nil, certificate=nil, scheduler=nil, sniswitch=nil, targettype=nil, keepaliveenable=nil, deregistertargetrst=nil, sessiontype=nil, multicertinfo=nil)
5336
5380
  @LoadBalancerId = loadbalancerid
5337
5381
  @ListenerId = listenerid
5338
5382
  @ListenerName = listenername
@@ -5345,6 +5389,7 @@ module TencentCloud
5345
5389
  @KeepaliveEnable = keepaliveenable
5346
5390
  @DeregisterTargetRst = deregistertargetrst
5347
5391
  @SessionType = sessiontype
5392
+ @MultiCertInfo = multicertinfo
5348
5393
  end
5349
5394
 
5350
5395
  def deserialize(params)
@@ -5366,6 +5411,10 @@ module TencentCloud
5366
5411
  @KeepaliveEnable = params['KeepaliveEnable']
5367
5412
  @DeregisterTargetRst = params['DeregisterTargetRst']
5368
5413
  @SessionType = params['SessionType']
5414
+ unless params['MultiCertInfo'].nil?
5415
+ @MultiCertInfo = MultiCertInfo.new
5416
+ @MultiCertInfo.deserialize(params['MultiCertInfo'])
5417
+ end
5369
5418
  end
5370
5419
  end
5371
5420
 
@@ -5851,6 +5900,33 @@ module TencentCloud
5851
5900
  end
5852
5901
  end
5853
5902
 
5903
+ # CLB监听器或规则绑定的多证书信息
5904
+ class MultiCertInfo < TencentCloud::Common::AbstractModel
5905
+ # @param SSLMode: 认证类型,UNIDIRECTIONAL:单向认证,MUTUAL:双向认证
5906
+ # @type SSLMode: String
5907
+ # @param CertList: 监听器或规则证书列表,单双向认证,多本服务端证书算法类型不能重复;若SSLMode为双向认证,证书列表必须包含一本ca证书。
5908
+ # @type CertList: Array
5909
+
5910
+ attr_accessor :SSLMode, :CertList
5911
+
5912
+ def initialize(sslmode=nil, certlist=nil)
5913
+ @SSLMode = sslmode
5914
+ @CertList = certlist
5915
+ end
5916
+
5917
+ def deserialize(params)
5918
+ @SSLMode = params['SSLMode']
5919
+ unless params['CertList'].nil?
5920
+ @CertList = []
5921
+ params['CertList'].each do |i|
5922
+ certinfo_tmp = CertInfo.new
5923
+ certinfo_tmp.deserialize(i)
5924
+ @CertList << certinfo_tmp
5925
+ end
5926
+ end
5927
+ end
5928
+ end
5929
+
5854
5930
  # 描述配额信息,所有配额均指当前地域下的配额。
5855
5931
  class Quota < TencentCloud::Common::AbstractModel
5856
5932
  # @param QuotaId: 配额名称,取值范围:
@@ -6249,7 +6325,7 @@ module TencentCloud
6249
6325
  # @type SessionExpireTime: Integer
6250
6326
  # @param HealthCheck: 健康检查信息。详情请参见:[健康检查](https://cloud.tencent.com/document/product/214/6097)
6251
6327
  # @type HealthCheck: :class:`Tencentcloud::Clb.v20180317.models.HealthCheck`
6252
- # @param Certificate: 证书信息
6328
+ # @param Certificate: 证书信息;此参数和MultiCertInfo不能同时传入。
6253
6329
  # @type Certificate: :class:`Tencentcloud::Clb.v20180317.models.CertificateInput`
6254
6330
  # @param Scheduler: 规则的请求转发方式,可选值:WRR、LEAST_CONN、IP_HASH
6255
6331
  # 分别表示按权重轮询、最小连接数、按IP哈希, 默认为 WRR。
@@ -6270,10 +6346,12 @@ module TencentCloud
6270
6346
  # @type Quic: Boolean
6271
6347
  # @param Domains: 转发规则的域名列表。每个域名的长度限制为:1~80。Domain和Domains只需要传一个,单域名规则传Domain,多域名规则传Domains。
6272
6348
  # @type Domains: Array
6349
+ # @param MultiCertInfo: 证书信息,支持同时传入不同算法类型的多本服务端证书;此参数和Certificate不能同时传入。
6350
+ # @type MultiCertInfo: :class:`Tencentcloud::Clb.v20180317.models.MultiCertInfo`
6273
6351
 
6274
- attr_accessor :Url, :Domain, :SessionExpireTime, :HealthCheck, :Certificate, :Scheduler, :ForwardType, :DefaultServer, :Http2, :TargetType, :TrpcCallee, :TrpcFunc, :Quic, :Domains
6352
+ attr_accessor :Url, :Domain, :SessionExpireTime, :HealthCheck, :Certificate, :Scheduler, :ForwardType, :DefaultServer, :Http2, :TargetType, :TrpcCallee, :TrpcFunc, :Quic, :Domains, :MultiCertInfo
6275
6353
 
6276
- def initialize(url=nil, domain=nil, sessionexpiretime=nil, healthcheck=nil, certificate=nil, scheduler=nil, forwardtype=nil, defaultserver=nil, http2=nil, targettype=nil, trpccallee=nil, trpcfunc=nil, quic=nil, domains=nil)
6354
+ def initialize(url=nil, domain=nil, sessionexpiretime=nil, healthcheck=nil, certificate=nil, scheduler=nil, forwardtype=nil, defaultserver=nil, http2=nil, targettype=nil, trpccallee=nil, trpcfunc=nil, quic=nil, domains=nil, multicertinfo=nil)
6277
6355
  @Url = url
6278
6356
  @Domain = domain
6279
6357
  @SessionExpireTime = sessionexpiretime
@@ -6288,6 +6366,7 @@ module TencentCloud
6288
6366
  @TrpcFunc = trpcfunc
6289
6367
  @Quic = quic
6290
6368
  @Domains = domains
6369
+ @MultiCertInfo = multicertinfo
6291
6370
  end
6292
6371
 
6293
6372
  def deserialize(params)
@@ -6311,6 +6390,10 @@ module TencentCloud
6311
6390
  @TrpcFunc = params['TrpcFunc']
6312
6391
  @Quic = params['Quic']
6313
6392
  @Domains = params['Domains']
6393
+ unless params['MultiCertInfo'].nil?
6394
+ @MultiCertInfo = MultiCertInfo.new
6395
+ @MultiCertInfo.deserialize(params['MultiCertInfo'])
6396
+ end
6314
6397
  end
6315
6398
  end
6316
6399
 
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.440
4
+ version: 3.0.441
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-10-31 00:00:00.000000000 Z
11
+ date: 2022-11-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common