tencentcloud-sdk-tione 3.0.1045 → 3.0.1046

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 +272 -12
  4. metadata +4 -4
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7484bea55e94f543e30de32af72ed6944a821e5b
4
- data.tar.gz: c1369b666abafcf49910426894d013540816bf03
3
+ metadata.gz: 482fd63697c3e6de26994e2b073db881325df196
4
+ data.tar.gz: 67f750875bbcfd7849bec18102ce977db84d2cbe
5
5
  SHA512:
6
- metadata.gz: 59dd7664833788567222a6b52fa09fa878294232ab8c05fed436b752e029acb7f30056d6379c1f14e91f97a3962cdd3e243e9a6a1f77298392c27d139611d86c
7
- data.tar.gz: d666dea1716c3a5330fc280c3545bd134316ca5b216890699018c6da263af94a046bb4d6aa8987ca338d7b58d2a89eccaf24138a20cb0ad0b46ed608a77667ff
6
+ metadata.gz: cbe0ea074d611800efa9f258653bcc7191d08378998623927e602b606892bb200f97c1e1075ff0e3d77a0b687e52fe363c5f7d495c2ad9b1886a9468637f1cfc
7
+ data.tar.gz: d799998cceadaf70291765c7ec586d37e277ff6c1b6c715f3b88f3d76143951935e4c3693726eb2b9bc847ad6c61a7e11955a96b3c3b8e78619b98b26616be34
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.1045
1
+ 3.0.1046
@@ -17,6 +17,88 @@
17
17
  module TencentCloud
18
18
  module Tione
19
19
  module V20211111
20
+ # 在线服务的 AuthToken 数据
21
+ class AuthToken < TencentCloud::Common::AbstractModel
22
+ # @param Base: AuthToken 基础信息
23
+ # @type Base: :class:`Tencentcloud::Tione.v20211111.models.AuthTokenBase`
24
+ # @param Limits: AuthToken 限流数组
25
+ # @type Limits: Array
26
+
27
+ attr_accessor :Base, :Limits
28
+
29
+ def initialize(base=nil, limits=nil)
30
+ @Base = base
31
+ @Limits = limits
32
+ end
33
+
34
+ def deserialize(params)
35
+ unless params['Base'].nil?
36
+ @Base = AuthTokenBase.new
37
+ @Base.deserialize(params['Base'])
38
+ end
39
+ unless params['Limits'].nil?
40
+ @Limits = []
41
+ params['Limits'].each do |i|
42
+ authtokenlimit_tmp = AuthTokenLimit.new
43
+ authtokenlimit_tmp.deserialize(i)
44
+ @Limits << authtokenlimit_tmp
45
+ end
46
+ end
47
+ end
48
+ end
49
+
50
+ # AuthToken 的基础信息
51
+ class AuthTokenBase < TencentCloud::Common::AbstractModel
52
+ # @param Value: token 值
53
+ # @type Value: String
54
+ # @param Name: token 别名
55
+ # @type Name: String
56
+ # @param Description: token 描述
57
+ # @type Description: String
58
+ # @param CreateTime: token 创建时间
59
+ # @type CreateTime: String
60
+ # @param Status: token状态
61
+ # @type Status: String
62
+
63
+ attr_accessor :Value, :Name, :Description, :CreateTime, :Status
64
+
65
+ def initialize(value=nil, name=nil, description=nil, createtime=nil, status=nil)
66
+ @Value = value
67
+ @Name = name
68
+ @Description = description
69
+ @CreateTime = createtime
70
+ @Status = status
71
+ end
72
+
73
+ def deserialize(params)
74
+ @Value = params['Value']
75
+ @Name = params['Name']
76
+ @Description = params['Description']
77
+ @CreateTime = params['CreateTime']
78
+ @Status = params['Status']
79
+ end
80
+ end
81
+
82
+ # AuthToken 限流信息
83
+ class AuthTokenLimit < TencentCloud::Common::AbstractModel
84
+ # @param Strategy: 限频策略:PerMinute 每分钟限频;PerDay 每日限频
85
+ # @type Strategy: String
86
+ # @param Max: 上限值
87
+ # @type Max: Integer
88
+
89
+ attr_accessor :Strategy, :Max
90
+
91
+ def initialize(strategy=nil, max=nil)
92
+ @Strategy = strategy
93
+ @Max = max
94
+ end
95
+
96
+ def deserialize(params)
97
+ @Strategy = params['Strategy']
98
+ @Max = params['Max']
99
+ end
100
+ end
101
+
20
102
  # CBS存储配置
21
103
  class CBSConfig < TencentCloud::Common::AbstractModel
22
104
  # @param VolumeSizeInGB: 存储大小
@@ -547,10 +629,14 @@ module TencentCloud
547
629
  # @type TerminationGracePeriodSeconds: Integer
548
630
  # @param PreStopCommand: ["sleep","60"]
549
631
  # @type PreStopCommand: Array
632
+ # @param GrpcEnable: 是否启用 grpc 端口
633
+ # @type GrpcEnable: Boolean
634
+ # @param HealthProbe: 健康探针
635
+ # @type HealthProbe: :class:`Tencentcloud::Tione.v20211111.models.HealthProbe`
550
636
 
551
- 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
637
+ 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, :GrpcEnable, :HealthProbe
552
638
 
553
- 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)
639
+ 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, grpcenable=nil, healthprobe=nil)
554
640
  @ServiceGroupId = servicegroupid
555
641
  @ServiceGroupName = servicegroupname
556
642
  @ServiceDescription = servicedescription
@@ -588,6 +674,8 @@ module TencentCloud
588
674
  @InstancePerReplicas = instanceperreplicas
589
675
  @TerminationGracePeriodSeconds = terminationgraceperiodseconds
590
676
  @PreStopCommand = prestopcommand
677
+ @GrpcEnable = grpcenable
678
+ @HealthProbe = healthprobe
591
679
  end
592
680
 
593
681
  def deserialize(params)
@@ -676,6 +764,11 @@ module TencentCloud
676
764
  @InstancePerReplicas = params['InstancePerReplicas']
677
765
  @TerminationGracePeriodSeconds = params['TerminationGracePeriodSeconds']
678
766
  @PreStopCommand = params['PreStopCommand']
767
+ @GrpcEnable = params['GrpcEnable']
768
+ unless params['HealthProbe'].nil?
769
+ @HealthProbe = HealthProbe.new
770
+ @HealthProbe.deserialize(params['HealthProbe'])
771
+ end
679
772
  end
680
773
  end
681
774
 
@@ -3818,6 +3911,55 @@ module TencentCloud
3818
3911
  end
3819
3912
  end
3820
3913
 
3914
+ # http get 行为
3915
+ class HTTPGetAction < TencentCloud::Common::AbstractModel
3916
+ # @param Path: http 路径
3917
+ # @type Path: String
3918
+
3919
+ attr_accessor :Path
3920
+
3921
+ def initialize(path=nil)
3922
+ @Path = path
3923
+ end
3924
+
3925
+ def deserialize(params)
3926
+ @Path = params['Path']
3927
+ end
3928
+ end
3929
+
3930
+ # 健康探针
3931
+ class HealthProbe < TencentCloud::Common::AbstractModel
3932
+ # @param LivenessProbe: 存活探针
3933
+ # @type LivenessProbe: :class:`Tencentcloud::Tione.v20211111.models.Probe`
3934
+ # @param ReadinessProbe: 就绪探针
3935
+ # @type ReadinessProbe: :class:`Tencentcloud::Tione.v20211111.models.Probe`
3936
+ # @param StartupProbe: 启动探针
3937
+ # @type StartupProbe: :class:`Tencentcloud::Tione.v20211111.models.Probe`
3938
+
3939
+ attr_accessor :LivenessProbe, :ReadinessProbe, :StartupProbe
3940
+
3941
+ def initialize(livenessprobe=nil, readinessprobe=nil, startupprobe=nil)
3942
+ @LivenessProbe = livenessprobe
3943
+ @ReadinessProbe = readinessprobe
3944
+ @StartupProbe = startupprobe
3945
+ end
3946
+
3947
+ def deserialize(params)
3948
+ unless params['LivenessProbe'].nil?
3949
+ @LivenessProbe = Probe.new
3950
+ @LivenessProbe.deserialize(params['LivenessProbe'])
3951
+ end
3952
+ unless params['ReadinessProbe'].nil?
3953
+ @ReadinessProbe = Probe.new
3954
+ @ReadinessProbe.deserialize(params['ReadinessProbe'])
3955
+ end
3956
+ unless params['StartupProbe'].nil?
3957
+ @StartupProbe = Probe.new
3958
+ @StartupProbe.deserialize(params['StartupProbe'])
3959
+ end
3960
+ end
3961
+ end
3962
+
3821
3963
  # hpa的描述
3822
3964
  class HorizontalPodAutoscaler < TencentCloud::Common::AbstractModel
3823
3965
  # @param MinReplicas: 最小实例数
@@ -5028,10 +5170,14 @@ module TencentCloud
5028
5170
  # @type TerminationGracePeriodSeconds: Integer
5029
5171
  # @param PreStopCommand: ["sleep","60"]
5030
5172
  # @type PreStopCommand: Array
5173
+ # @param GrpcEnable: 是否启动grpc端口
5174
+ # @type GrpcEnable: Boolean
5175
+ # @param HealthProbe: 健康探针
5176
+ # @type HealthProbe: :class:`Tencentcloud::Tione.v20211111.models.HealthProbe`
5031
5177
 
5032
- 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
5178
+ 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, :GrpcEnable, :HealthProbe
5033
5179
 
5034
- 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)
5180
+ 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, grpcenable=nil, healthprobe=nil)
5035
5181
  @ServiceId = serviceid
5036
5182
  @ModelInfo = modelinfo
5037
5183
  @ImageInfo = imageinfo
@@ -5060,6 +5206,8 @@ module TencentCloud
5060
5206
  @InstancePerReplicas = instanceperreplicas
5061
5207
  @TerminationGracePeriodSeconds = terminationgraceperiodseconds
5062
5208
  @PreStopCommand = prestopcommand
5209
+ @GrpcEnable = grpcenable
5210
+ @HealthProbe = healthprobe
5063
5211
  end
5064
5212
 
5065
5213
  def deserialize(params)
@@ -5132,6 +5280,11 @@ module TencentCloud
5132
5280
  @InstancePerReplicas = params['InstancePerReplicas']
5133
5281
  @TerminationGracePeriodSeconds = params['TerminationGracePeriodSeconds']
5134
5282
  @PreStopCommand = params['PreStopCommand']
5283
+ @GrpcEnable = params['GrpcEnable']
5284
+ unless params['HealthProbe'].nil?
5285
+ @HealthProbe = HealthProbe.new
5286
+ @HealthProbe.deserialize(params['HealthProbe'])
5287
+ end
5135
5288
  end
5136
5289
  end
5137
5290
 
@@ -5768,15 +5921,18 @@ module TencentCloud
5768
5921
  # @param State: 私有连接状态
5769
5922
  # 注意:此字段可能返回 null,表示取不到有效值。
5770
5923
  # @type State: String
5924
+ # @param InnerGrpcAddr: grpc内网调用地址
5925
+ # @type InnerGrpcAddr: Array
5771
5926
 
5772
- attr_accessor :VpcId, :SubnetId, :InnerHttpAddr, :InnerHttpsAddr, :State
5927
+ attr_accessor :VpcId, :SubnetId, :InnerHttpAddr, :InnerHttpsAddr, :State, :InnerGrpcAddr
5773
5928
 
5774
- def initialize(vpcid=nil, subnetid=nil, innerhttpaddr=nil, innerhttpsaddr=nil, state=nil)
5929
+ def initialize(vpcid=nil, subnetid=nil, innerhttpaddr=nil, innerhttpsaddr=nil, state=nil, innergrpcaddr=nil)
5775
5930
  @VpcId = vpcid
5776
5931
  @SubnetId = subnetid
5777
5932
  @InnerHttpAddr = innerhttpaddr
5778
5933
  @InnerHttpsAddr = innerhttpsaddr
5779
5934
  @State = state
5935
+ @InnerGrpcAddr = innergrpcaddr
5780
5936
  end
5781
5937
 
5782
5938
  def deserialize(params)
@@ -5785,6 +5941,65 @@ module TencentCloud
5785
5941
  @InnerHttpAddr = params['InnerHttpAddr']
5786
5942
  @InnerHttpsAddr = params['InnerHttpsAddr']
5787
5943
  @State = params['State']
5944
+ @InnerGrpcAddr = params['InnerGrpcAddr']
5945
+ end
5946
+ end
5947
+
5948
+ # 探针结构信息
5949
+ class Probe < TencentCloud::Common::AbstractModel
5950
+ # @param ProbeAction: 探针行为
5951
+ # @type ProbeAction: :class:`Tencentcloud::Tione.v20211111.models.ProbeAction`
5952
+ # @param InitialDelaySeconds: 等待服务启动的延迟
5953
+ # @type InitialDelaySeconds: Integer
5954
+ # @param PeriodSeconds: 轮询检查时间间隔
5955
+ # @type PeriodSeconds: Integer
5956
+ # @param TimeoutSeconds: 检查超时时长
5957
+ # @type TimeoutSeconds: Integer
5958
+ # @param FailureThreshold: 检测失败认定次数
5959
+ # @type FailureThreshold: Integer
5960
+ # @param SuccessThreshold: 检测成功认定次数,就绪默认 3,存活/启动默认 1
5961
+ # @type SuccessThreshold: Integer
5962
+
5963
+ attr_accessor :ProbeAction, :InitialDelaySeconds, :PeriodSeconds, :TimeoutSeconds, :FailureThreshold, :SuccessThreshold
5964
+
5965
+ def initialize(probeaction=nil, initialdelayseconds=nil, periodseconds=nil, timeoutseconds=nil, failurethreshold=nil, successthreshold=nil)
5966
+ @ProbeAction = probeaction
5967
+ @InitialDelaySeconds = initialdelayseconds
5968
+ @PeriodSeconds = periodseconds
5969
+ @TimeoutSeconds = timeoutseconds
5970
+ @FailureThreshold = failurethreshold
5971
+ @SuccessThreshold = successthreshold
5972
+ end
5973
+
5974
+ def deserialize(params)
5975
+ unless params['ProbeAction'].nil?
5976
+ @ProbeAction = ProbeAction.new
5977
+ @ProbeAction.deserialize(params['ProbeAction'])
5978
+ end
5979
+ @InitialDelaySeconds = params['InitialDelaySeconds']
5980
+ @PeriodSeconds = params['PeriodSeconds']
5981
+ @TimeoutSeconds = params['TimeoutSeconds']
5982
+ @FailureThreshold = params['FailureThreshold']
5983
+ @SuccessThreshold = params['SuccessThreshold']
5984
+ end
5985
+ end
5986
+
5987
+ # 探针行为
5988
+ class ProbeAction < TencentCloud::Common::AbstractModel
5989
+ # @param HTTPGet: http get 行为
5990
+ # @type HTTPGet: :class:`Tencentcloud::Tione.v20211111.models.HTTPGetAction`
5991
+
5992
+ attr_accessor :HTTPGet
5993
+
5994
+ def initialize(httpget=nil)
5995
+ @HTTPGet = httpget
5996
+ end
5997
+
5998
+ def deserialize(params)
5999
+ unless params['HTTPGet'].nil?
6000
+ @HTTPGet = HTTPGetAction.new
6001
+ @HTTPGet.deserialize(params['HTTPGet'])
6002
+ end
5788
6003
  end
5789
6004
  end
5790
6005
 
@@ -6483,14 +6698,23 @@ module TencentCloud
6483
6698
  # @param AuthToken: 鉴权token,仅当AuthorizationEnable为true时有效
6484
6699
  # 注意:此字段可能返回 null,表示取不到有效值。
6485
6700
  # @type AuthToken: String
6701
+ # @param AuthTokens: LLM token 列表
6702
+ # @type AuthTokens: Array
6703
+ # @param EnableLimit: 是否开启限流
6704
+ # @type EnableLimit: Boolean
6705
+ # @param GrpcHost: 访问grpc时需携带的虚拟Host
6706
+ # @type GrpcHost: String
6486
6707
 
6487
- attr_accessor :ServiceGroupId, :InternetEndpoint, :AuthorizationEnable, :AuthToken
6708
+ attr_accessor :ServiceGroupId, :InternetEndpoint, :AuthorizationEnable, :AuthToken, :AuthTokens, :EnableLimit, :GrpcHost
6488
6709
 
6489
- def initialize(servicegroupid=nil, internetendpoint=nil, authorizationenable=nil, authtoken=nil)
6710
+ def initialize(servicegroupid=nil, internetendpoint=nil, authorizationenable=nil, authtoken=nil, authtokens=nil, enablelimit=nil, grpchost=nil)
6490
6711
  @ServiceGroupId = servicegroupid
6491
6712
  @InternetEndpoint = internetendpoint
6492
6713
  @AuthorizationEnable = authorizationenable
6493
6714
  @AuthToken = authtoken
6715
+ @AuthTokens = authtokens
6716
+ @EnableLimit = enablelimit
6717
+ @GrpcHost = grpchost
6494
6718
  end
6495
6719
 
6496
6720
  def deserialize(params)
@@ -6498,6 +6722,16 @@ module TencentCloud
6498
6722
  @InternetEndpoint = params['InternetEndpoint']
6499
6723
  @AuthorizationEnable = params['AuthorizationEnable']
6500
6724
  @AuthToken = params['AuthToken']
6725
+ unless params['AuthTokens'].nil?
6726
+ @AuthTokens = []
6727
+ params['AuthTokens'].each do |i|
6728
+ authtoken_tmp = AuthToken.new
6729
+ authtoken_tmp.deserialize(i)
6730
+ @AuthTokens << authtoken_tmp
6731
+ end
6732
+ end
6733
+ @EnableLimit = params['EnableLimit']
6734
+ @GrpcHost = params['GrpcHost']
6501
6735
  end
6502
6736
  end
6503
6737
 
@@ -6626,10 +6860,14 @@ module TencentCloud
6626
6860
  # @type SubUin: String
6627
6861
  # @param AppId: 服务组的app_id
6628
6862
  # @type AppId: Integer
6863
+ # @param AuthorizationEnable: 是否开启鉴权
6864
+ # @type AuthorizationEnable: Boolean
6865
+ # @param AuthTokens: 限流鉴权 token 列表
6866
+ # @type AuthTokens: Array
6629
6867
 
6630
- attr_accessor :ServiceGroupId, :ServiceGroupName, :CreatedBy, :CreateTime, :UpdateTime, :Uin, :ServiceCount, :RunningServiceCount, :Services, :Status, :Tags, :LatestVersion, :BusinessStatus, :BillingInfo, :CreateSource, :WeightUpdateStatus, :ReplicasCount, :AvailableReplicasCount, :SubUin, :AppId
6868
+ attr_accessor :ServiceGroupId, :ServiceGroupName, :CreatedBy, :CreateTime, :UpdateTime, :Uin, :ServiceCount, :RunningServiceCount, :Services, :Status, :Tags, :LatestVersion, :BusinessStatus, :BillingInfo, :CreateSource, :WeightUpdateStatus, :ReplicasCount, :AvailableReplicasCount, :SubUin, :AppId, :AuthorizationEnable, :AuthTokens
6631
6869
 
6632
- 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)
6870
+ 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)
6633
6871
  @ServiceGroupId = servicegroupid
6634
6872
  @ServiceGroupName = servicegroupname
6635
6873
  @CreatedBy = createdby
@@ -6650,6 +6888,8 @@ module TencentCloud
6650
6888
  @AvailableReplicasCount = availablereplicascount
6651
6889
  @SubUin = subuin
6652
6890
  @AppId = appid
6891
+ @AuthorizationEnable = authorizationenable
6892
+ @AuthTokens = authtokens
6653
6893
  end
6654
6894
 
6655
6895
  def deserialize(params)
@@ -6687,6 +6927,15 @@ module TencentCloud
6687
6927
  @AvailableReplicasCount = params['AvailableReplicasCount']
6688
6928
  @SubUin = params['SubUin']
6689
6929
  @AppId = params['AppId']
6930
+ @AuthorizationEnable = params['AuthorizationEnable']
6931
+ unless params['AuthTokens'].nil?
6932
+ @AuthTokens = []
6933
+ params['AuthTokens'].each do |i|
6934
+ authtoken_tmp = AuthToken.new
6935
+ authtoken_tmp.deserialize(i)
6936
+ @AuthTokens << authtoken_tmp
6937
+ end
6938
+ end
6690
6939
  end
6691
6940
  end
6692
6941
 
@@ -6799,15 +7048,19 @@ module TencentCloud
6799
7048
  # @type TerminationGracePeriodSeconds: Integer
6800
7049
  # @param PreStopCommand: 服务实例停止前执行的命令,执行完毕或执行时间超过优雅退出时限后实例结束
6801
7050
  # @type PreStopCommand: Array
7051
+ # @param GrpcEnable: 是否启用grpc端口
7052
+ # @type GrpcEnable: Boolean
7053
+ # @param HealthProbe: 健康探针
7054
+ # @type HealthProbe: :class:`Tencentcloud::Tione.v20211111.models.HealthProbe`
6802
7055
 
6803
- 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
7056
+ 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
6804
7057
  extend Gem::Deprecate
6805
7058
  deprecate :PodList, :none, 2025, 4
6806
7059
  deprecate :PodList=, :none, 2025, 4
6807
7060
  deprecate :Pods, :none, 2025, 4
6808
7061
  deprecate :Pods=, :none, 2025, 4
6809
7062
 
6810
- 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)
7063
+ 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)
6811
7064
  @Replicas = replicas
6812
7065
  @ImageInfo = imageinfo
6813
7066
  @Env = env
@@ -6842,6 +7095,8 @@ module TencentCloud
6842
7095
  @ServicePort = serviceport
6843
7096
  @TerminationGracePeriodSeconds = terminationgraceperiodseconds
6844
7097
  @PreStopCommand = prestopcommand
7098
+ @GrpcEnable = grpcenable
7099
+ @HealthProbe = healthprobe
6845
7100
  end
6846
7101
 
6847
7102
  def deserialize(params)
@@ -6939,6 +7194,11 @@ module TencentCloud
6939
7194
  @ServicePort = params['ServicePort']
6940
7195
  @TerminationGracePeriodSeconds = params['TerminationGracePeriodSeconds']
6941
7196
  @PreStopCommand = params['PreStopCommand']
7197
+ @GrpcEnable = params['GrpcEnable']
7198
+ unless params['HealthProbe'].nil?
7199
+ @HealthProbe = HealthProbe.new
7200
+ @HealthProbe.deserialize(params['HealthProbe'])
7201
+ end
6942
7202
  end
6943
7203
  end
6944
7204
 
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.1045
4
+ version: 3.0.1046
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-04-23 00:00:00.000000000 Z
11
+ date: 2025-04-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common
@@ -33,11 +33,11 @@ executables: []
33
33
  extensions: []
34
34
  extra_rdoc_files: []
35
35
  files:
36
+ - lib/v20211111/client.rb
37
+ - lib/v20211111/models.rb
36
38
  - lib/tencentcloud-sdk-tione.rb
37
39
  - lib/v20191022/client.rb
38
40
  - lib/v20191022/models.rb
39
- - lib/v20211111/client.rb
40
- - lib/v20211111/models.rb
41
41
  - lib/VERSION
42
42
  homepage: https://github.com/TencentCloud/tencentcloud-sdk-ruby
43
43
  licenses: