tencentcloud-sdk-clb 3.0.662 → 3.0.664
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20180317/client.rb +96 -0
- data/lib/v20180317/models.rb +290 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 39af6e8d19a18d7702c8baac6f68b36217c2268b
|
4
|
+
data.tar.gz: 3fec85fdfba5b35b700003977c432ac305369239
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d1429ba69ece5188879705e8a50c8d685ec9e3d127d50e5240e10ffb2bef1eac6b4713fdac94182aed9bc47c3fbfb8874b957da239880a2adcaf656bde5a1891
|
7
|
+
data.tar.gz: 9f60c51f750405cec053eb7489e7a269d8ac82fddf9cfa5b9c2e13dbb61ed5c65063a06558de3bc68efcccfb7d57a0bc269fee1dfa25f5df8535ace77d68944c
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.664
|
data/lib/v20180317/client.rb
CHANGED
@@ -1374,6 +1374,102 @@ module TencentCloud
|
|
1374
1374
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1375
1375
|
end
|
1376
1376
|
|
1377
|
+
# InquiryPriceCreateLoadBalancer接口查询创建负载均衡的价格。
|
1378
|
+
|
1379
|
+
# @param request: Request instance for InquiryPriceCreateLoadBalancer.
|
1380
|
+
# @type request: :class:`Tencentcloud::clb::V20180317::InquiryPriceCreateLoadBalancerRequest`
|
1381
|
+
# @rtype: :class:`Tencentcloud::clb::V20180317::InquiryPriceCreateLoadBalancerResponse`
|
1382
|
+
def InquiryPriceCreateLoadBalancer(request)
|
1383
|
+
body = send_request('InquiryPriceCreateLoadBalancer', request.serialize)
|
1384
|
+
response = JSON.parse(body)
|
1385
|
+
if response['Response'].key?('Error') == false
|
1386
|
+
model = InquiryPriceCreateLoadBalancerResponse.new
|
1387
|
+
model.deserialize(response['Response'])
|
1388
|
+
model
|
1389
|
+
else
|
1390
|
+
code = response['Response']['Error']['Code']
|
1391
|
+
message = response['Response']['Error']['Message']
|
1392
|
+
reqid = response['Response']['RequestId']
|
1393
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1394
|
+
end
|
1395
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1396
|
+
raise e
|
1397
|
+
rescue StandardError => e
|
1398
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1399
|
+
end
|
1400
|
+
|
1401
|
+
# InquiryPriceModifyLoadBalancer接口修改负载均衡配置询价。
|
1402
|
+
|
1403
|
+
# @param request: Request instance for InquiryPriceModifyLoadBalancer.
|
1404
|
+
# @type request: :class:`Tencentcloud::clb::V20180317::InquiryPriceModifyLoadBalancerRequest`
|
1405
|
+
# @rtype: :class:`Tencentcloud::clb::V20180317::InquiryPriceModifyLoadBalancerResponse`
|
1406
|
+
def InquiryPriceModifyLoadBalancer(request)
|
1407
|
+
body = send_request('InquiryPriceModifyLoadBalancer', request.serialize)
|
1408
|
+
response = JSON.parse(body)
|
1409
|
+
if response['Response'].key?('Error') == false
|
1410
|
+
model = InquiryPriceModifyLoadBalancerResponse.new
|
1411
|
+
model.deserialize(response['Response'])
|
1412
|
+
model
|
1413
|
+
else
|
1414
|
+
code = response['Response']['Error']['Code']
|
1415
|
+
message = response['Response']['Error']['Message']
|
1416
|
+
reqid = response['Response']['RequestId']
|
1417
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1418
|
+
end
|
1419
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1420
|
+
raise e
|
1421
|
+
rescue StandardError => e
|
1422
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1423
|
+
end
|
1424
|
+
|
1425
|
+
# InquiryPriceRefundLoadBalancer接口查询负载均衡退费价格。
|
1426
|
+
|
1427
|
+
# @param request: Request instance for InquiryPriceRefundLoadBalancer.
|
1428
|
+
# @type request: :class:`Tencentcloud::clb::V20180317::InquiryPriceRefundLoadBalancerRequest`
|
1429
|
+
# @rtype: :class:`Tencentcloud::clb::V20180317::InquiryPriceRefundLoadBalancerResponse`
|
1430
|
+
def InquiryPriceRefundLoadBalancer(request)
|
1431
|
+
body = send_request('InquiryPriceRefundLoadBalancer', request.serialize)
|
1432
|
+
response = JSON.parse(body)
|
1433
|
+
if response['Response'].key?('Error') == false
|
1434
|
+
model = InquiryPriceRefundLoadBalancerResponse.new
|
1435
|
+
model.deserialize(response['Response'])
|
1436
|
+
model
|
1437
|
+
else
|
1438
|
+
code = response['Response']['Error']['Code']
|
1439
|
+
message = response['Response']['Error']['Message']
|
1440
|
+
reqid = response['Response']['RequestId']
|
1441
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1442
|
+
end
|
1443
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1444
|
+
raise e
|
1445
|
+
rescue StandardError => e
|
1446
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1447
|
+
end
|
1448
|
+
|
1449
|
+
# InquiryPriceRenewLoadBalancer接口查询对负载均衡续费的价格,只支持预付费负载均衡续费。
|
1450
|
+
|
1451
|
+
# @param request: Request instance for InquiryPriceRenewLoadBalancer.
|
1452
|
+
# @type request: :class:`Tencentcloud::clb::V20180317::InquiryPriceRenewLoadBalancerRequest`
|
1453
|
+
# @rtype: :class:`Tencentcloud::clb::V20180317::InquiryPriceRenewLoadBalancerResponse`
|
1454
|
+
def InquiryPriceRenewLoadBalancer(request)
|
1455
|
+
body = send_request('InquiryPriceRenewLoadBalancer', request.serialize)
|
1456
|
+
response = JSON.parse(body)
|
1457
|
+
if response['Response'].key?('Error') == false
|
1458
|
+
model = InquiryPriceRenewLoadBalancerResponse.new
|
1459
|
+
model.deserialize(response['Response'])
|
1460
|
+
model
|
1461
|
+
else
|
1462
|
+
code = response['Response']['Error']['Code']
|
1463
|
+
message = response['Response']['Error']['Message']
|
1464
|
+
reqid = response['Response']['RequestId']
|
1465
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1466
|
+
end
|
1467
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1468
|
+
raise e
|
1469
|
+
rescue StandardError => e
|
1470
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1471
|
+
end
|
1472
|
+
|
1377
1473
|
# 用户手动配置原访问地址和重定向地址,系统自动将原访问地址的请求重定向至对应路径的目的地址。同一域名下可以配置多条路径作为重定向策略,实现http/https之间请求的自动跳转。设置重定向时,需满足如下约束条件:若A已经重定向至B,则A不能再重定向至C(除非先删除老的重定向关系,再建立新的重定向关系),B不能重定向至任何其它地址。
|
1378
1474
|
# 本接口为异步接口,本接口返回成功后需以返回的RequestID为入参,调用DescribeTaskStatus接口查询本次任务是否成功。
|
1379
1475
|
|
data/lib/v20180317/models.rb
CHANGED
@@ -4263,6 +4263,214 @@ module TencentCloud
|
|
4263
4263
|
end
|
4264
4264
|
end
|
4265
4265
|
|
4266
|
+
# InquiryPriceCreateLoadBalancer请求参数结构体
|
4267
|
+
class InquiryPriceCreateLoadBalancerRequest < TencentCloud::Common::AbstractModel
|
4268
|
+
# @param LoadBalancerType: 询价的负载均衡类型,OPEN为公网类型,INTERNAL为内网类型
|
4269
|
+
# @type LoadBalancerType: String
|
4270
|
+
# @param LoadBalancerChargeType: 询价的收费类型,POSTPAID为按量计费,"PREPAID"为预付费包年包月
|
4271
|
+
# @type LoadBalancerChargeType: String
|
4272
|
+
# @param LoadBalancerChargePrepaid: 询价的收费周期
|
4273
|
+
# @type LoadBalancerChargePrepaid: :class:`Tencentcloud::Clb.v20180317.models.LBChargePrepaid`
|
4274
|
+
# @param InternetAccessible: 询价的网络计费方式
|
4275
|
+
# @type InternetAccessible: :class:`Tencentcloud::Clb.v20180317.models.InternetAccessible`
|
4276
|
+
# @param GoodsNum: 询价的负载均衡实例个数,默认为1
|
4277
|
+
# @type GoodsNum: Integer
|
4278
|
+
# @param ZoneId: 指定可用区询价。如:ap-guangzhou-1
|
4279
|
+
# @type ZoneId: String
|
4280
|
+
# @param SlaType: 包年包月询价时传性能容量型规格,如:clb.c3.small。按量付费询价时传SLA
|
4281
|
+
# @type SlaType: String
|
4282
|
+
# @param AddressIPVersion: IP版本,可取值:IPV4、IPV6、IPv6FullChain,不区分大小写,默认值 IPV4。说明:取值为IPV6表示为IPV6 NAT64版本;取值为IPv6FullChain,表示为IPv6版本。
|
4283
|
+
# @type AddressIPVersion: String
|
4284
|
+
# @param VipIsp: 仅适用于公网负载均衡。CMCC | CTCC | CUCC,分别对应 移动 | 电信 | 联通,如果不指定本参数,则默认使用BGP。
|
4285
|
+
# @type VipIsp: String
|
4286
|
+
|
4287
|
+
attr_accessor :LoadBalancerType, :LoadBalancerChargeType, :LoadBalancerChargePrepaid, :InternetAccessible, :GoodsNum, :ZoneId, :SlaType, :AddressIPVersion, :VipIsp
|
4288
|
+
|
4289
|
+
def initialize(loadbalancertype=nil, loadbalancerchargetype=nil, loadbalancerchargeprepaid=nil, internetaccessible=nil, goodsnum=nil, zoneid=nil, slatype=nil, addressipversion=nil, vipisp=nil)
|
4290
|
+
@LoadBalancerType = loadbalancertype
|
4291
|
+
@LoadBalancerChargeType = loadbalancerchargetype
|
4292
|
+
@LoadBalancerChargePrepaid = loadbalancerchargeprepaid
|
4293
|
+
@InternetAccessible = internetaccessible
|
4294
|
+
@GoodsNum = goodsnum
|
4295
|
+
@ZoneId = zoneid
|
4296
|
+
@SlaType = slatype
|
4297
|
+
@AddressIPVersion = addressipversion
|
4298
|
+
@VipIsp = vipisp
|
4299
|
+
end
|
4300
|
+
|
4301
|
+
def deserialize(params)
|
4302
|
+
@LoadBalancerType = params['LoadBalancerType']
|
4303
|
+
@LoadBalancerChargeType = params['LoadBalancerChargeType']
|
4304
|
+
unless params['LoadBalancerChargePrepaid'].nil?
|
4305
|
+
@LoadBalancerChargePrepaid = LBChargePrepaid.new
|
4306
|
+
@LoadBalancerChargePrepaid.deserialize(params['LoadBalancerChargePrepaid'])
|
4307
|
+
end
|
4308
|
+
unless params['InternetAccessible'].nil?
|
4309
|
+
@InternetAccessible = InternetAccessible.new
|
4310
|
+
@InternetAccessible.deserialize(params['InternetAccessible'])
|
4311
|
+
end
|
4312
|
+
@GoodsNum = params['GoodsNum']
|
4313
|
+
@ZoneId = params['ZoneId']
|
4314
|
+
@SlaType = params['SlaType']
|
4315
|
+
@AddressIPVersion = params['AddressIPVersion']
|
4316
|
+
@VipIsp = params['VipIsp']
|
4317
|
+
end
|
4318
|
+
end
|
4319
|
+
|
4320
|
+
# InquiryPriceCreateLoadBalancer返回参数结构体
|
4321
|
+
class InquiryPriceCreateLoadBalancerResponse < TencentCloud::Common::AbstractModel
|
4322
|
+
# @param Price: 该参数表示对应的价格。
|
4323
|
+
# @type Price: :class:`Tencentcloud::Clb.v20180317.models.Price`
|
4324
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
4325
|
+
# @type RequestId: String
|
4326
|
+
|
4327
|
+
attr_accessor :Price, :RequestId
|
4328
|
+
|
4329
|
+
def initialize(price=nil, requestid=nil)
|
4330
|
+
@Price = price
|
4331
|
+
@RequestId = requestid
|
4332
|
+
end
|
4333
|
+
|
4334
|
+
def deserialize(params)
|
4335
|
+
unless params['Price'].nil?
|
4336
|
+
@Price = Price.new
|
4337
|
+
@Price.deserialize(params['Price'])
|
4338
|
+
end
|
4339
|
+
@RequestId = params['RequestId']
|
4340
|
+
end
|
4341
|
+
end
|
4342
|
+
|
4343
|
+
# InquiryPriceModifyLoadBalancer请求参数结构体
|
4344
|
+
class InquiryPriceModifyLoadBalancerRequest < TencentCloud::Common::AbstractModel
|
4345
|
+
# @param LoadBalancerId: 负载均衡实例ID
|
4346
|
+
# @type LoadBalancerId: String
|
4347
|
+
# @param InternetAccessible: 修改后的网络带宽信息
|
4348
|
+
# @type InternetAccessible: :class:`Tencentcloud::Clb.v20180317.models.InternetAccessible`
|
4349
|
+
|
4350
|
+
attr_accessor :LoadBalancerId, :InternetAccessible
|
4351
|
+
|
4352
|
+
def initialize(loadbalancerid=nil, internetaccessible=nil)
|
4353
|
+
@LoadBalancerId = loadbalancerid
|
4354
|
+
@InternetAccessible = internetaccessible
|
4355
|
+
end
|
4356
|
+
|
4357
|
+
def deserialize(params)
|
4358
|
+
@LoadBalancerId = params['LoadBalancerId']
|
4359
|
+
unless params['InternetAccessible'].nil?
|
4360
|
+
@InternetAccessible = InternetAccessible.new
|
4361
|
+
@InternetAccessible.deserialize(params['InternetAccessible'])
|
4362
|
+
end
|
4363
|
+
end
|
4364
|
+
end
|
4365
|
+
|
4366
|
+
# InquiryPriceModifyLoadBalancer返回参数结构体
|
4367
|
+
class InquiryPriceModifyLoadBalancerResponse < TencentCloud::Common::AbstractModel
|
4368
|
+
# @param Price: 描述价格信息
|
4369
|
+
# @type Price: :class:`Tencentcloud::Clb.v20180317.models.Price`
|
4370
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
4371
|
+
# @type RequestId: String
|
4372
|
+
|
4373
|
+
attr_accessor :Price, :RequestId
|
4374
|
+
|
4375
|
+
def initialize(price=nil, requestid=nil)
|
4376
|
+
@Price = price
|
4377
|
+
@RequestId = requestid
|
4378
|
+
end
|
4379
|
+
|
4380
|
+
def deserialize(params)
|
4381
|
+
unless params['Price'].nil?
|
4382
|
+
@Price = Price.new
|
4383
|
+
@Price.deserialize(params['Price'])
|
4384
|
+
end
|
4385
|
+
@RequestId = params['RequestId']
|
4386
|
+
end
|
4387
|
+
end
|
4388
|
+
|
4389
|
+
# InquiryPriceRefundLoadBalancer请求参数结构体
|
4390
|
+
class InquiryPriceRefundLoadBalancerRequest < TencentCloud::Common::AbstractModel
|
4391
|
+
# @param LoadBalancerId: 负载均衡实例ID
|
4392
|
+
# @type LoadBalancerId: String
|
4393
|
+
|
4394
|
+
attr_accessor :LoadBalancerId
|
4395
|
+
|
4396
|
+
def initialize(loadbalancerid=nil)
|
4397
|
+
@LoadBalancerId = loadbalancerid
|
4398
|
+
end
|
4399
|
+
|
4400
|
+
def deserialize(params)
|
4401
|
+
@LoadBalancerId = params['LoadBalancerId']
|
4402
|
+
end
|
4403
|
+
end
|
4404
|
+
|
4405
|
+
# InquiryPriceRefundLoadBalancer返回参数结构体
|
4406
|
+
class InquiryPriceRefundLoadBalancerResponse < TencentCloud::Common::AbstractModel
|
4407
|
+
# @param Price: 该参数表示对应的价格。
|
4408
|
+
# @type Price: :class:`Tencentcloud::Clb.v20180317.models.Price`
|
4409
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
4410
|
+
# @type RequestId: String
|
4411
|
+
|
4412
|
+
attr_accessor :Price, :RequestId
|
4413
|
+
|
4414
|
+
def initialize(price=nil, requestid=nil)
|
4415
|
+
@Price = price
|
4416
|
+
@RequestId = requestid
|
4417
|
+
end
|
4418
|
+
|
4419
|
+
def deserialize(params)
|
4420
|
+
unless params['Price'].nil?
|
4421
|
+
@Price = Price.new
|
4422
|
+
@Price.deserialize(params['Price'])
|
4423
|
+
end
|
4424
|
+
@RequestId = params['RequestId']
|
4425
|
+
end
|
4426
|
+
end
|
4427
|
+
|
4428
|
+
# InquiryPriceRenewLoadBalancer请求参数结构体
|
4429
|
+
class InquiryPriceRenewLoadBalancerRequest < TencentCloud::Common::AbstractModel
|
4430
|
+
# @param LoadBalancerId: 负载均衡实例ID
|
4431
|
+
# @type LoadBalancerId: String
|
4432
|
+
# @param LoadBalancerChargePrepaid: 续费周期
|
4433
|
+
# @type LoadBalancerChargePrepaid: :class:`Tencentcloud::Clb.v20180317.models.LBChargePrepaid`
|
4434
|
+
|
4435
|
+
attr_accessor :LoadBalancerId, :LoadBalancerChargePrepaid
|
4436
|
+
|
4437
|
+
def initialize(loadbalancerid=nil, loadbalancerchargeprepaid=nil)
|
4438
|
+
@LoadBalancerId = loadbalancerid
|
4439
|
+
@LoadBalancerChargePrepaid = loadbalancerchargeprepaid
|
4440
|
+
end
|
4441
|
+
|
4442
|
+
def deserialize(params)
|
4443
|
+
@LoadBalancerId = params['LoadBalancerId']
|
4444
|
+
unless params['LoadBalancerChargePrepaid'].nil?
|
4445
|
+
@LoadBalancerChargePrepaid = LBChargePrepaid.new
|
4446
|
+
@LoadBalancerChargePrepaid.deserialize(params['LoadBalancerChargePrepaid'])
|
4447
|
+
end
|
4448
|
+
end
|
4449
|
+
end
|
4450
|
+
|
4451
|
+
# InquiryPriceRenewLoadBalancer返回参数结构体
|
4452
|
+
class InquiryPriceRenewLoadBalancerResponse < TencentCloud::Common::AbstractModel
|
4453
|
+
# @param Price: 表示续费价格
|
4454
|
+
# @type Price: :class:`Tencentcloud::Clb.v20180317.models.Price`
|
4455
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
4456
|
+
# @type RequestId: String
|
4457
|
+
|
4458
|
+
attr_accessor :Price, :RequestId
|
4459
|
+
|
4460
|
+
def initialize(price=nil, requestid=nil)
|
4461
|
+
@Price = price
|
4462
|
+
@RequestId = requestid
|
4463
|
+
end
|
4464
|
+
|
4465
|
+
def deserialize(params)
|
4466
|
+
unless params['Price'].nil?
|
4467
|
+
@Price = Price.new
|
4468
|
+
@Price.deserialize(params['Price'])
|
4469
|
+
end
|
4470
|
+
@RequestId = params['RequestId']
|
4471
|
+
end
|
4472
|
+
end
|
4473
|
+
|
4266
4474
|
# 网络计费模式,最大出带宽
|
4267
4475
|
class InternetAccessible < TencentCloud::Common::AbstractModel
|
4268
4476
|
# @param InternetChargeType: TRAFFIC_POSTPAID_BY_HOUR 按流量按小时后计费 ; BANDWIDTH_POSTPAID_BY_HOUR 按带宽按小时后计费;
|
@@ -4295,6 +4503,50 @@ module TencentCloud
|
|
4295
4503
|
end
|
4296
4504
|
end
|
4297
4505
|
|
4506
|
+
# 描述了单项的价格信息
|
4507
|
+
class ItemPrice < TencentCloud::Common::AbstractModel
|
4508
|
+
# @param UnitPrice: 后付费单价,单位:元。
|
4509
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4510
|
+
# @type UnitPrice: Float
|
4511
|
+
# @param ChargeUnit: 后续计价单元,可取值范围:
|
4512
|
+
# HOUR:表示计价单元是按每小时来计算。当前涉及该计价单元的场景有:实例按小时后付费(POSTPAID_BY_HOUR)、带宽按小时后付费(BANDWIDTH_POSTPAID_BY_HOUR);
|
4513
|
+
# GB:表示计价单元是按每GB来计算。当前涉及该计价单元的场景有:流量按小时后付费(TRAFFIC_POSTPAID_BY_HOUR)。
|
4514
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4515
|
+
# @type ChargeUnit: String
|
4516
|
+
# @param OriginalPrice: 预支费用的原价,单位:元。
|
4517
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4518
|
+
# @type OriginalPrice: Float
|
4519
|
+
# @param DiscountPrice: 预支费用的折扣价,单位:元。
|
4520
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4521
|
+
# @type DiscountPrice: Float
|
4522
|
+
# @param UnitPriceDiscount: 后付费的折扣单价,单位:元
|
4523
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4524
|
+
# @type UnitPriceDiscount: Float
|
4525
|
+
# @param Discount: 折扣,如20.0代表2折。
|
4526
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4527
|
+
# @type Discount: Float
|
4528
|
+
|
4529
|
+
attr_accessor :UnitPrice, :ChargeUnit, :OriginalPrice, :DiscountPrice, :UnitPriceDiscount, :Discount
|
4530
|
+
|
4531
|
+
def initialize(unitprice=nil, chargeunit=nil, originalprice=nil, discountprice=nil, unitpricediscount=nil, discount=nil)
|
4532
|
+
@UnitPrice = unitprice
|
4533
|
+
@ChargeUnit = chargeunit
|
4534
|
+
@OriginalPrice = originalprice
|
4535
|
+
@DiscountPrice = discountprice
|
4536
|
+
@UnitPriceDiscount = unitpricediscount
|
4537
|
+
@Discount = discount
|
4538
|
+
end
|
4539
|
+
|
4540
|
+
def deserialize(params)
|
4541
|
+
@UnitPrice = params['UnitPrice']
|
4542
|
+
@ChargeUnit = params['ChargeUnit']
|
4543
|
+
@OriginalPrice = params['OriginalPrice']
|
4544
|
+
@DiscountPrice = params['DiscountPrice']
|
4545
|
+
@UnitPriceDiscount = params['UnitPriceDiscount']
|
4546
|
+
@Discount = params['Discount']
|
4547
|
+
end
|
4548
|
+
end
|
4549
|
+
|
4298
4550
|
# lb实例包年包月相关配置属性
|
4299
4551
|
class LBChargePrepaid < TencentCloud::Common::AbstractModel
|
4300
4552
|
# @param RenewFlag: 续费类型:AUTO_RENEW 自动续费, MANUAL_RENEW 手动续费
|
@@ -4426,7 +4678,7 @@ module TencentCloud
|
|
4426
4678
|
# @param SessionExpireTime: 会话保持时间
|
4427
4679
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
4428
4680
|
# @type SessionExpireTime: Integer
|
4429
|
-
# @param SniSwitch: 是否开启SNI
|
4681
|
+
# @param SniSwitch: 是否开启SNI特性,1:表示开启,0:表示不开启(本参数仅对于HTTPS监听器有意义)
|
4430
4682
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
4431
4683
|
# @type SniSwitch: Integer
|
4432
4684
|
# @param Rules: 监听器下的全部转发规则(本参数仅对于HTTP/HTTPS监听器有意义)
|
@@ -5133,7 +5385,7 @@ module TencentCloud
|
|
5133
5385
|
# @param Zones: 内网负载均衡实例所在可用区,由白名单CLB_Internal_Zone控制
|
5134
5386
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
5135
5387
|
# @type Zones: Array
|
5136
|
-
# @param SniSwitch: 是否开启SNI
|
5388
|
+
# @param SniSwitch: 是否开启SNI特性,1:表示开启,0:表示不开启(本参数仅对于HTTPS监听器有意义)。
|
5137
5389
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
5138
5390
|
# @type SniSwitch: Integer
|
5139
5391
|
# @param LoadBalancerDomain: 负载均衡实例的域名。
|
@@ -6284,6 +6536,42 @@ module TencentCloud
|
|
6284
6536
|
end
|
6285
6537
|
end
|
6286
6538
|
|
6539
|
+
# 表示负载均衡的价格
|
6540
|
+
class Price < TencentCloud::Common::AbstractModel
|
6541
|
+
# @param InstancePrice: 描述了实例价格。
|
6542
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6543
|
+
# @type InstancePrice: :class:`Tencentcloud::Clb.v20180317.models.ItemPrice`
|
6544
|
+
# @param BandwidthPrice: 描述了网络价格。
|
6545
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6546
|
+
# @type BandwidthPrice: :class:`Tencentcloud::Clb.v20180317.models.ItemPrice`
|
6547
|
+
# @param LcuPrice: 描述了lcu价格。
|
6548
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6549
|
+
# @type LcuPrice: :class:`Tencentcloud::Clb.v20180317.models.ItemPrice`
|
6550
|
+
|
6551
|
+
attr_accessor :InstancePrice, :BandwidthPrice, :LcuPrice
|
6552
|
+
|
6553
|
+
def initialize(instanceprice=nil, bandwidthprice=nil, lcuprice=nil)
|
6554
|
+
@InstancePrice = instanceprice
|
6555
|
+
@BandwidthPrice = bandwidthprice
|
6556
|
+
@LcuPrice = lcuprice
|
6557
|
+
end
|
6558
|
+
|
6559
|
+
def deserialize(params)
|
6560
|
+
unless params['InstancePrice'].nil?
|
6561
|
+
@InstancePrice = ItemPrice.new
|
6562
|
+
@InstancePrice.deserialize(params['InstancePrice'])
|
6563
|
+
end
|
6564
|
+
unless params['BandwidthPrice'].nil?
|
6565
|
+
@BandwidthPrice = ItemPrice.new
|
6566
|
+
@BandwidthPrice.deserialize(params['BandwidthPrice'])
|
6567
|
+
end
|
6568
|
+
unless params['LcuPrice'].nil?
|
6569
|
+
@LcuPrice = ItemPrice.new
|
6570
|
+
@LcuPrice.deserialize(params['LcuPrice'])
|
6571
|
+
end
|
6572
|
+
end
|
6573
|
+
end
|
6574
|
+
|
6287
6575
|
# 描述配额信息,所有配额均指当前地域下的配额。
|
6288
6576
|
class Quota < TencentCloud::Common::AbstractModel
|
6289
6577
|
# @param QuotaId: 配额名称,取值范围:
|
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.
|
4
|
+
version: 3.0.664
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-09-
|
11
|
+
date: 2023-09-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|