tencentcloud-sdk-tione 3.0.1021 → 3.0.1022
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 +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20211111/models.rb +30 -6
- 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: 8064e20ae209040df5f202314847a3dd73cda1c3
|
4
|
+
data.tar.gz: 505e04624b26f0b4c459191a8c98cdd108143e63
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2549db103b49479723b88ff84530798172c1786b8dc94585aa581f70524a21fe600b58566c2430267ff29a5e222b7719e88870fde0554e3103352c8d7f84ba2e
|
7
|
+
data.tar.gz: 165e37cc08fc3eed0bc02611ffca80c5becf44a9ba9f6d08ef079e18534ae059dff33a53fedaae7012c114d4866dc7e646970aac011082c9d9321c69c4eefb50
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.1022
|
data/lib/v20211111/models.rb
CHANGED
@@ -523,10 +523,14 @@ module TencentCloud
|
|
523
523
|
# @type DeployType: String
|
524
524
|
# @param InstancePerReplicas: 单副本下的实例数,仅在部署类型为DIST时生效,默认1
|
525
525
|
# @type InstancePerReplicas: Integer
|
526
|
+
# @param TerminationGracePeriodSeconds: 30
|
527
|
+
# @type TerminationGracePeriodSeconds: Integer
|
528
|
+
# @param PreStopCommand: ["sleep","60"]
|
529
|
+
# @type PreStopCommand: Array
|
526
530
|
|
527
|
-
attr_accessor :ServiceGroupId, :ServiceGroupName, :ServiceDescription, :ChargeType, :ResourceGroupId, :ModelInfo, :ImageInfo, :Env, :Resources, :InstanceType, :ScaleMode, :Replicas, :HorizontalPodAutoscaler, :LogEnable, :LogConfig, :AuthorizationEnable, :Tags, :NewVersion, :CronScaleJobs, :ScaleStrategy, :HybridBillingPrepaidReplicas, :CreateSource, :ModelHotUpdateEnable, :ScheduledAction, :VolumeMount, :ServiceLimit, :CallbackUrl, :ModelTurboEnable, :ServiceCategory, :Command, :ServiceEIP, :CommandBase64, :ServicePort, :DeployType, :InstancePerReplicas
|
531
|
+
attr_accessor :ServiceGroupId, :ServiceGroupName, :ServiceDescription, :ChargeType, :ResourceGroupId, :ModelInfo, :ImageInfo, :Env, :Resources, :InstanceType, :ScaleMode, :Replicas, :HorizontalPodAutoscaler, :LogEnable, :LogConfig, :AuthorizationEnable, :Tags, :NewVersion, :CronScaleJobs, :ScaleStrategy, :HybridBillingPrepaidReplicas, :CreateSource, :ModelHotUpdateEnable, :ScheduledAction, :VolumeMount, :ServiceLimit, :CallbackUrl, :ModelTurboEnable, :ServiceCategory, :Command, :ServiceEIP, :CommandBase64, :ServicePort, :DeployType, :InstancePerReplicas, :TerminationGracePeriodSeconds, :PreStopCommand
|
528
532
|
|
529
|
-
def initialize(servicegroupid=nil, servicegroupname=nil, servicedescription=nil, chargetype=nil, resourcegroupid=nil, modelinfo=nil, imageinfo=nil, env=nil, resources=nil, instancetype=nil, scalemode=nil, replicas=nil, horizontalpodautoscaler=nil, logenable=nil, logconfig=nil, authorizationenable=nil, tags=nil, newversion=nil, cronscalejobs=nil, scalestrategy=nil, hybridbillingprepaidreplicas=nil, createsource=nil, modelhotupdateenable=nil, scheduledaction=nil, volumemount=nil, servicelimit=nil, callbackurl=nil, modelturboenable=nil, servicecategory=nil, command=nil, serviceeip=nil, commandbase64=nil, serviceport=nil, deploytype=nil, instanceperreplicas=nil)
|
533
|
+
def initialize(servicegroupid=nil, servicegroupname=nil, servicedescription=nil, chargetype=nil, resourcegroupid=nil, modelinfo=nil, imageinfo=nil, env=nil, resources=nil, instancetype=nil, scalemode=nil, replicas=nil, horizontalpodautoscaler=nil, logenable=nil, logconfig=nil, authorizationenable=nil, tags=nil, newversion=nil, cronscalejobs=nil, scalestrategy=nil, hybridbillingprepaidreplicas=nil, createsource=nil, modelhotupdateenable=nil, scheduledaction=nil, volumemount=nil, servicelimit=nil, callbackurl=nil, modelturboenable=nil, servicecategory=nil, command=nil, serviceeip=nil, commandbase64=nil, serviceport=nil, deploytype=nil, instanceperreplicas=nil, terminationgraceperiodseconds=nil, prestopcommand=nil)
|
530
534
|
@ServiceGroupId = servicegroupid
|
531
535
|
@ServiceGroupName = servicegroupname
|
532
536
|
@ServiceDescription = servicedescription
|
@@ -562,6 +566,8 @@ module TencentCloud
|
|
562
566
|
@ServicePort = serviceport
|
563
567
|
@DeployType = deploytype
|
564
568
|
@InstancePerReplicas = instanceperreplicas
|
569
|
+
@TerminationGracePeriodSeconds = terminationgraceperiodseconds
|
570
|
+
@PreStopCommand = prestopcommand
|
565
571
|
end
|
566
572
|
|
567
573
|
def deserialize(params)
|
@@ -648,6 +654,8 @@ module TencentCloud
|
|
648
654
|
@ServicePort = params['ServicePort']
|
649
655
|
@DeployType = params['DeployType']
|
650
656
|
@InstancePerReplicas = params['InstancePerReplicas']
|
657
|
+
@TerminationGracePeriodSeconds = params['TerminationGracePeriodSeconds']
|
658
|
+
@PreStopCommand = params['PreStopCommand']
|
651
659
|
end
|
652
660
|
end
|
653
661
|
|
@@ -4573,10 +4581,14 @@ module TencentCloud
|
|
4573
4581
|
# @type ServicePort: Integer
|
4574
4582
|
# @param InstancePerReplicas: 单副本下的实例数,仅在部署类型为DIST时生效,默认1
|
4575
4583
|
# @type InstancePerReplicas: Integer
|
4584
|
+
# @param TerminationGracePeriodSeconds: 30
|
4585
|
+
# @type TerminationGracePeriodSeconds: Integer
|
4586
|
+
# @param PreStopCommand: ["sleep","60"]
|
4587
|
+
# @type PreStopCommand: Array
|
4576
4588
|
|
4577
|
-
attr_accessor :ServiceId, :ModelInfo, :ImageInfo, :Env, :Resources, :InstanceType, :ScaleMode, :Replicas, :HorizontalPodAutoscaler, :LogEnable, :LogConfig, :ServiceAction, :ServiceDescription, :ScaleStrategy, :CronScaleJobs, :HybridBillingPrepaidReplicas, :ModelHotUpdateEnable, :ScheduledAction, :ServiceLimit, :VolumeMount, :ModelTurboEnable, :Command, :ServiceEIP, :CommandBase64, :ServicePort, :InstancePerReplicas
|
4589
|
+
attr_accessor :ServiceId, :ModelInfo, :ImageInfo, :Env, :Resources, :InstanceType, :ScaleMode, :Replicas, :HorizontalPodAutoscaler, :LogEnable, :LogConfig, :ServiceAction, :ServiceDescription, :ScaleStrategy, :CronScaleJobs, :HybridBillingPrepaidReplicas, :ModelHotUpdateEnable, :ScheduledAction, :ServiceLimit, :VolumeMount, :ModelTurboEnable, :Command, :ServiceEIP, :CommandBase64, :ServicePort, :InstancePerReplicas, :TerminationGracePeriodSeconds, :PreStopCommand
|
4578
4590
|
|
4579
|
-
def initialize(serviceid=nil, modelinfo=nil, imageinfo=nil, env=nil, resources=nil, instancetype=nil, scalemode=nil, replicas=nil, horizontalpodautoscaler=nil, logenable=nil, logconfig=nil, serviceaction=nil, servicedescription=nil, scalestrategy=nil, cronscalejobs=nil, hybridbillingprepaidreplicas=nil, modelhotupdateenable=nil, scheduledaction=nil, servicelimit=nil, volumemount=nil, modelturboenable=nil, command=nil, serviceeip=nil, commandbase64=nil, serviceport=nil, instanceperreplicas=nil)
|
4591
|
+
def initialize(serviceid=nil, modelinfo=nil, imageinfo=nil, env=nil, resources=nil, instancetype=nil, scalemode=nil, replicas=nil, horizontalpodautoscaler=nil, logenable=nil, logconfig=nil, serviceaction=nil, servicedescription=nil, scalestrategy=nil, cronscalejobs=nil, hybridbillingprepaidreplicas=nil, modelhotupdateenable=nil, scheduledaction=nil, servicelimit=nil, volumemount=nil, modelturboenable=nil, command=nil, serviceeip=nil, commandbase64=nil, serviceport=nil, instanceperreplicas=nil, terminationgraceperiodseconds=nil, prestopcommand=nil)
|
4580
4592
|
@ServiceId = serviceid
|
4581
4593
|
@ModelInfo = modelinfo
|
4582
4594
|
@ImageInfo = imageinfo
|
@@ -4603,6 +4615,8 @@ module TencentCloud
|
|
4603
4615
|
@CommandBase64 = commandbase64
|
4604
4616
|
@ServicePort = serviceport
|
4605
4617
|
@InstancePerReplicas = instanceperreplicas
|
4618
|
+
@TerminationGracePeriodSeconds = terminationgraceperiodseconds
|
4619
|
+
@PreStopCommand = prestopcommand
|
4606
4620
|
end
|
4607
4621
|
|
4608
4622
|
def deserialize(params)
|
@@ -4673,6 +4687,8 @@ module TencentCloud
|
|
4673
4687
|
@CommandBase64 = params['CommandBase64']
|
4674
4688
|
@ServicePort = params['ServicePort']
|
4675
4689
|
@InstancePerReplicas = params['InstancePerReplicas']
|
4690
|
+
@TerminationGracePeriodSeconds = params['TerminationGracePeriodSeconds']
|
4691
|
+
@PreStopCommand = params['PreStopCommand']
|
4676
4692
|
end
|
4677
4693
|
end
|
4678
4694
|
|
@@ -6328,15 +6344,19 @@ module TencentCloud
|
|
6328
6344
|
# @param ServicePort: 服务端口,默认为8501
|
6329
6345
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
6330
6346
|
# @type ServicePort: Integer
|
6347
|
+
# @param TerminationGracePeriodSeconds: 服务的优雅退出时限。单位为秒,默认值为30,最小为1
|
6348
|
+
# @type TerminationGracePeriodSeconds: Integer
|
6349
|
+
# @param PreStopCommand: 服务实例停止前执行的命令,执行完毕或执行时间超过优雅退出时限后实例结束
|
6350
|
+
# @type PreStopCommand: Array
|
6331
6351
|
|
6332
|
-
attr_accessor :Replicas, :ImageInfo, :Env, :Resources, :InstanceType, :ModelInfo, :LogEnable, :LogConfig, :AuthorizationEnable, :HorizontalPodAutoscaler, :Status, :Weight, :ResourceTotal, :OldReplicas, :HybridBillingPrepaidReplicas, :OldHybridBillingPrepaidReplicas, :ModelHotUpdateEnable, :InstanceAlias, :ScaleMode, :CronScaleJobs, :ScaleStrategy, :ScheduledAction, :PodList, :Pods, :PodInfos, :ServiceLimit, :ModelTurboEnable, :VolumeMount, :InferCodeInfo, :Command, :ServiceEIP, :ServicePort
|
6352
|
+
attr_accessor :Replicas, :ImageInfo, :Env, :Resources, :InstanceType, :ModelInfo, :LogEnable, :LogConfig, :AuthorizationEnable, :HorizontalPodAutoscaler, :Status, :Weight, :ResourceTotal, :OldReplicas, :HybridBillingPrepaidReplicas, :OldHybridBillingPrepaidReplicas, :ModelHotUpdateEnable, :InstanceAlias, :ScaleMode, :CronScaleJobs, :ScaleStrategy, :ScheduledAction, :PodList, :Pods, :PodInfos, :ServiceLimit, :ModelTurboEnable, :VolumeMount, :InferCodeInfo, :Command, :ServiceEIP, :ServicePort, :TerminationGracePeriodSeconds, :PreStopCommand
|
6333
6353
|
extend Gem::Deprecate
|
6334
6354
|
deprecate :PodList, :none, 2025, 3
|
6335
6355
|
deprecate :PodList=, :none, 2025, 3
|
6336
6356
|
deprecate :Pods, :none, 2025, 3
|
6337
6357
|
deprecate :Pods=, :none, 2025, 3
|
6338
6358
|
|
6339
|
-
def initialize(replicas=nil, imageinfo=nil, env=nil, resources=nil, instancetype=nil, modelinfo=nil, logenable=nil, logconfig=nil, authorizationenable=nil, horizontalpodautoscaler=nil, status=nil, weight=nil, resourcetotal=nil, oldreplicas=nil, hybridbillingprepaidreplicas=nil, oldhybridbillingprepaidreplicas=nil, modelhotupdateenable=nil, instancealias=nil, scalemode=nil, cronscalejobs=nil, scalestrategy=nil, scheduledaction=nil, podlist=nil, pods=nil, podinfos=nil, servicelimit=nil, modelturboenable=nil, volumemount=nil, infercodeinfo=nil, command=nil, serviceeip=nil, serviceport=nil)
|
6359
|
+
def initialize(replicas=nil, imageinfo=nil, env=nil, resources=nil, instancetype=nil, modelinfo=nil, logenable=nil, logconfig=nil, authorizationenable=nil, horizontalpodautoscaler=nil, status=nil, weight=nil, resourcetotal=nil, oldreplicas=nil, hybridbillingprepaidreplicas=nil, oldhybridbillingprepaidreplicas=nil, modelhotupdateenable=nil, instancealias=nil, scalemode=nil, cronscalejobs=nil, scalestrategy=nil, scheduledaction=nil, podlist=nil, pods=nil, podinfos=nil, servicelimit=nil, modelturboenable=nil, volumemount=nil, infercodeinfo=nil, command=nil, serviceeip=nil, serviceport=nil, terminationgraceperiodseconds=nil, prestopcommand=nil)
|
6340
6360
|
@Replicas = replicas
|
6341
6361
|
@ImageInfo = imageinfo
|
6342
6362
|
@Env = env
|
@@ -6369,6 +6389,8 @@ module TencentCloud
|
|
6369
6389
|
@Command = command
|
6370
6390
|
@ServiceEIP = serviceeip
|
6371
6391
|
@ServicePort = serviceport
|
6392
|
+
@TerminationGracePeriodSeconds = terminationgraceperiodseconds
|
6393
|
+
@PreStopCommand = prestopcommand
|
6372
6394
|
end
|
6373
6395
|
|
6374
6396
|
def deserialize(params)
|
@@ -6461,6 +6483,8 @@ module TencentCloud
|
|
6461
6483
|
@ServiceEIP.deserialize(params['ServiceEIP'])
|
6462
6484
|
end
|
6463
6485
|
@ServicePort = params['ServicePort']
|
6486
|
+
@TerminationGracePeriodSeconds = params['TerminationGracePeriodSeconds']
|
6487
|
+
@PreStopCommand = params['PreStopCommand']
|
6464
6488
|
end
|
6465
6489
|
end
|
6466
6490
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-tione
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.1022
|
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-03-
|
11
|
+
date: 2025-03-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|