tencentcloud-sdk-tione 3.0.1057 → 3.0.1058

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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/VERSION +1 -1
  3. data/lib/v20211111/models.rb +119 -8
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4b0f9663b689d37831898a3d19a60ba5e7b938bd
4
- data.tar.gz: 466f8f612f40312424d8c9a264e36af969064633
3
+ metadata.gz: bf7616ff3cee9f009d471fedb3baf94a54d14ae8
4
+ data.tar.gz: 9cba237e8f79d5de07f3ed7333fa1ddf7890bc8a
5
5
  SHA512:
6
- metadata.gz: a748212a3bb863a7c9309e0474abba0c6b40e0d762ce1f2d1473ddf4ed2e7cc73d5b87d26ec61e02997a55a544942e927937503bfbc5d173f2febfb1f658674e
7
- data.tar.gz: 3b2cd48927e907e9a8a21a8b2d3b35b7dc387543fe0d51d97df04e7110dc79131716c048cfc0e428e79ea0ef8d450773887a14cdf291bacfa2067a159b38d41f
6
+ metadata.gz: 84283a91b240a4dee690686eacc9ae90f6618cbff99cde36244be2e01a5e5e43e861881bef263f02db92b6cde78c5843e6003e772c8244e946e564cc37c288b9
7
+ data.tar.gz: f3c62ebdcef47defb76169f033b169333a804b8544fc68c542382fa41cbcc9ae267577066661351545030a454cd996ce06a47cced47090f3b77a09231df7500e
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.1057
1
+ 3.0.1058
@@ -3752,6 +3752,22 @@ module TencentCloud
3752
3752
  end
3753
3753
  end
3754
3754
 
3755
+ # 执行命令探针检查行为
3756
+ class ExecAction < TencentCloud::Common::AbstractModel
3757
+ # @param Command: 执行命令列表
3758
+ # @type Command: Array
3759
+
3760
+ attr_accessor :Command
3761
+
3762
+ def initialize(command=nil)
3763
+ @Command = command
3764
+ end
3765
+
3766
+ def deserialize(params)
3767
+ @Command = params['Command']
3768
+ end
3769
+ end
3770
+
3755
3771
  # 过滤器
3756
3772
  class Filter < TencentCloud::Common::AbstractModel
3757
3773
  # @param Name: 过滤字段名称
@@ -3915,15 +3931,19 @@ module TencentCloud
3915
3931
  class HTTPGetAction < TencentCloud::Common::AbstractModel
3916
3932
  # @param Path: http 路径
3917
3933
  # @type Path: String
3934
+ # @param Port: 调用端口
3935
+ # @type Port: Integer
3918
3936
 
3919
- attr_accessor :Path
3937
+ attr_accessor :Path, :Port
3920
3938
 
3921
- def initialize(path=nil)
3939
+ def initialize(path=nil, port=nil)
3922
3940
  @Path = path
3941
+ @Port = port
3923
3942
  end
3924
3943
 
3925
3944
  def deserialize(params)
3926
3945
  @Path = params['Path']
3946
+ @Port = params['Port']
3927
3947
  end
3928
3948
  end
3929
3949
 
@@ -5805,6 +5825,26 @@ module TencentCloud
5805
5825
  end
5806
5826
  end
5807
5827
 
5828
+ # 用于表示百分比或数量
5829
+ class NumOrPercent < TencentCloud::Common::AbstractModel
5830
+ # @param Type: Num,Percent ,分别表示数量和百分比,默认为 Num
5831
+ # @type Type: String
5832
+ # @param Value: 数值
5833
+ # @type Value: Integer
5834
+
5835
+ attr_accessor :Type, :Value
5836
+
5837
+ def initialize(type=nil, value=nil)
5838
+ @Type = type
5839
+ @Value = value
5840
+ end
5841
+
5842
+ def deserialize(params)
5843
+ @Type = params['Type']
5844
+ @Value = params['Value']
5845
+ end
5846
+ end
5847
+
5808
5848
  # 键值对
5809
5849
  class Option < TencentCloud::Common::AbstractModel
5810
5850
  # @param Name: 指标名
@@ -6031,11 +6071,20 @@ module TencentCloud
6031
6071
  class ProbeAction < TencentCloud::Common::AbstractModel
6032
6072
  # @param HTTPGet: http get 行为
6033
6073
  # @type HTTPGet: :class:`Tencentcloud::Tione.v20211111.models.HTTPGetAction`
6074
+ # @param Exec: 执行命令检查 行为
6075
+ # @type Exec: :class:`Tencentcloud::Tione.v20211111.models.ExecAction`
6076
+ # @param TCPSocket: tcp socket 检查行为
6077
+ # @type TCPSocket: :class:`Tencentcloud::Tione.v20211111.models.TCPSocketAction`
6078
+ # @param ActionType: 探针类型,默认 HTTPGet,可选值:HTTPGet、Exec、TCPSocket
6079
+ # @type ActionType: String
6034
6080
 
6035
- attr_accessor :HTTPGet
6081
+ attr_accessor :HTTPGet, :Exec, :TCPSocket, :ActionType
6036
6082
 
6037
- def initialize(httpget=nil)
6083
+ def initialize(httpget=nil, exec=nil, tcpsocket=nil, actiontype=nil)
6038
6084
  @HTTPGet = httpget
6085
+ @Exec = exec
6086
+ @TCPSocket = tcpsocket
6087
+ @ActionType = actiontype
6039
6088
  end
6040
6089
 
6041
6090
  def deserialize(params)
@@ -6043,6 +6092,15 @@ module TencentCloud
6043
6092
  @HTTPGet = HTTPGetAction.new
6044
6093
  @HTTPGet.deserialize(params['HTTPGet'])
6045
6094
  end
6095
+ unless params['Exec'].nil?
6096
+ @Exec = ExecAction.new
6097
+ @Exec.deserialize(params['Exec'])
6098
+ end
6099
+ unless params['TCPSocket'].nil?
6100
+ @TCPSocket = TCPSocketAction.new
6101
+ @TCPSocket.deserialize(params['TCPSocket'])
6102
+ end
6103
+ @ActionType = params['ActionType']
6046
6104
  end
6047
6105
  end
6048
6106
 
@@ -6393,6 +6451,32 @@ module TencentCloud
6393
6451
  end
6394
6452
  end
6395
6453
 
6454
+ # 滚动更新策略
6455
+ class RollingUpdate < TencentCloud::Common::AbstractModel
6456
+ # @param MaxUnavailable: 滚动更新的最大不可用
6457
+ # @type MaxUnavailable: :class:`Tencentcloud::Tione.v20211111.models.NumOrPercent`
6458
+ # @param MaxSurge: 滚动更新的最大新增实例
6459
+ # @type MaxSurge: :class:`Tencentcloud::Tione.v20211111.models.NumOrPercent`
6460
+
6461
+ attr_accessor :MaxUnavailable, :MaxSurge
6462
+
6463
+ def initialize(maxunavailable=nil, maxsurge=nil)
6464
+ @MaxUnavailable = maxunavailable
6465
+ @MaxSurge = maxsurge
6466
+ end
6467
+
6468
+ def deserialize(params)
6469
+ unless params['MaxUnavailable'].nil?
6470
+ @MaxUnavailable = NumOrPercent.new
6471
+ @MaxUnavailable.deserialize(params['MaxUnavailable'])
6472
+ end
6473
+ unless params['MaxSurge'].nil?
6474
+ @MaxSurge = NumOrPercent.new
6475
+ @MaxSurge.deserialize(params['MaxSurge'])
6476
+ end
6477
+ end
6478
+ end
6479
+
6396
6480
  # notebook ssh端口配置
6397
6481
  class SSHConfig < TencentCloud::Common::AbstractModel
6398
6482
  # @param Enable: 是否开启ssh
@@ -6907,10 +6991,12 @@ module TencentCloud
6907
6991
  # @type AuthorizationEnable: Boolean
6908
6992
  # @param AuthTokens: 限流鉴权 token 列表
6909
6993
  # @type AuthTokens: Array
6994
+ # @param MonitorSource: 用于监控的创建来源字段
6995
+ # @type MonitorSource: String
6910
6996
 
6911
- attr_accessor :ServiceGroupId, :ServiceGroupName, :CreatedBy, :CreateTime, :UpdateTime, :Uin, :ServiceCount, :RunningServiceCount, :Services, :Status, :Tags, :LatestVersion, :BusinessStatus, :BillingInfo, :CreateSource, :WeightUpdateStatus, :ReplicasCount, :AvailableReplicasCount, :SubUin, :AppId, :AuthorizationEnable, :AuthTokens
6997
+ attr_accessor :ServiceGroupId, :ServiceGroupName, :CreatedBy, :CreateTime, :UpdateTime, :Uin, :ServiceCount, :RunningServiceCount, :Services, :Status, :Tags, :LatestVersion, :BusinessStatus, :BillingInfo, :CreateSource, :WeightUpdateStatus, :ReplicasCount, :AvailableReplicasCount, :SubUin, :AppId, :AuthorizationEnable, :AuthTokens, :MonitorSource
6912
6998
 
6913
- def initialize(servicegroupid=nil, servicegroupname=nil, createdby=nil, createtime=nil, updatetime=nil, uin=nil, servicecount=nil, runningservicecount=nil, services=nil, status=nil, tags=nil, latestversion=nil, businessstatus=nil, billinginfo=nil, createsource=nil, weightupdatestatus=nil, replicascount=nil, availablereplicascount=nil, subuin=nil, appid=nil, authorizationenable=nil, authtokens=nil)
6999
+ def initialize(servicegroupid=nil, servicegroupname=nil, createdby=nil, createtime=nil, updatetime=nil, uin=nil, servicecount=nil, runningservicecount=nil, services=nil, status=nil, tags=nil, latestversion=nil, businessstatus=nil, billinginfo=nil, createsource=nil, weightupdatestatus=nil, replicascount=nil, availablereplicascount=nil, subuin=nil, appid=nil, authorizationenable=nil, authtokens=nil, monitorsource=nil)
6914
7000
  @ServiceGroupId = servicegroupid
6915
7001
  @ServiceGroupName = servicegroupname
6916
7002
  @CreatedBy = createdby
@@ -6933,6 +7019,7 @@ module TencentCloud
6933
7019
  @AppId = appid
6934
7020
  @AuthorizationEnable = authorizationenable
6935
7021
  @AuthTokens = authtokens
7022
+ @MonitorSource = monitorsource
6936
7023
  end
6937
7024
 
6938
7025
  def deserialize(params)
@@ -6979,6 +7066,7 @@ module TencentCloud
6979
7066
  @AuthTokens << authtoken_tmp
6980
7067
  end
6981
7068
  end
7069
+ @MonitorSource = params['MonitorSource']
6982
7070
  end
6983
7071
  end
6984
7072
 
@@ -7095,15 +7183,17 @@ module TencentCloud
7095
7183
  # @type GrpcEnable: Boolean
7096
7184
  # @param HealthProbe: 健康探针
7097
7185
  # @type HealthProbe: :class:`Tencentcloud::Tione.v20211111.models.HealthProbe`
7186
+ # @param RollingUpdate: 滚动更新配置
7187
+ # @type RollingUpdate: :class:`Tencentcloud::Tione.v20211111.models.RollingUpdate`
7098
7188
 
7099
- 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, :GrpcEnable, :HealthProbe
7189
+ 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, :GrpcEnable, :HealthProbe, :RollingUpdate
7100
7190
  extend Gem::Deprecate
7101
7191
  deprecate :PodList, :none, 2025, 5
7102
7192
  deprecate :PodList=, :none, 2025, 5
7103
7193
  deprecate :Pods, :none, 2025, 5
7104
7194
  deprecate :Pods=, :none, 2025, 5
7105
7195
 
7106
- 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, grpcenable=nil, healthprobe=nil)
7196
+ 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, grpcenable=nil, healthprobe=nil, rollingupdate=nil)
7107
7197
  @Replicas = replicas
7108
7198
  @ImageInfo = imageinfo
7109
7199
  @Env = env
@@ -7140,6 +7230,7 @@ module TencentCloud
7140
7230
  @PreStopCommand = prestopcommand
7141
7231
  @GrpcEnable = grpcenable
7142
7232
  @HealthProbe = healthprobe
7233
+ @RollingUpdate = rollingupdate
7143
7234
  end
7144
7235
 
7145
7236
  def deserialize(params)
@@ -7242,6 +7333,10 @@ module TencentCloud
7242
7333
  @HealthProbe = HealthProbe.new
7243
7334
  @HealthProbe.deserialize(params['HealthProbe'])
7244
7335
  end
7336
+ unless params['RollingUpdate'].nil?
7337
+ @RollingUpdate = RollingUpdate.new
7338
+ @RollingUpdate.deserialize(params['RollingUpdate'])
7339
+ end
7245
7340
  end
7246
7341
  end
7247
7342
 
@@ -7609,6 +7704,22 @@ module TencentCloud
7609
7704
  end
7610
7705
  end
7611
7706
 
7707
+ # tcp socket 健康探针检查行为
7708
+ class TCPSocketAction < TencentCloud::Common::AbstractModel
7709
+ # @param Port: 调用端口
7710
+ # @type Port: Integer
7711
+
7712
+ attr_accessor :Port
7713
+
7714
+ def initialize(port=nil)
7715
+ @Port = port
7716
+ end
7717
+
7718
+ def deserialize(params)
7719
+ @Port = params['Port']
7720
+ end
7721
+ end
7722
+
7612
7723
  # 太极服务的调用信息
7613
7724
  class TJCallInfo < TencentCloud::Common::AbstractModel
7614
7725
  # @param HttpAddr: 调用地址
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.1057
4
+ version: 3.0.1058
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-12 00:00:00.000000000 Z
11
+ date: 2025-05-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common