tencentcloud-sdk-tione 3.0.1115 → 3.0.1127
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 +142 -18
- 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: fac42af0b49503708d8fe91d15d20ff21790372f
|
4
|
+
data.tar.gz: 58374abcd254eb8e33bf96c6c43c294ca856634c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ac0c27c2a8e60eb7e2054458a9cd891d04a6bac9aeeece340b0c1242f8424d9302e50852577ef2c565d8406e76741a64a4d71c98caef01ffe0673efe99c1cdef
|
7
|
+
data.tar.gz: 5504b2694e9c70622c43d4d460dc2fce4ddd52e7759f1b1a54e1dc383c865b39bf04e3ca55fb19202933693928051dc14b58ece87c1237a25810b90d085f718c
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.1127
|
data/lib/v20211111/models.rb
CHANGED
@@ -697,9 +697,9 @@ module TencentCloud
|
|
697
697
|
# @type DeployType: String
|
698
698
|
# @param InstancePerReplicas: 单副本下的实例数,仅在部署类型为DIST时生效,默认1
|
699
699
|
# @type InstancePerReplicas: Integer
|
700
|
-
# @param TerminationGracePeriodSeconds: 30
|
700
|
+
# @param TerminationGracePeriodSeconds: 服务的优雅退出时限。单位为秒,默认值为30,最小为1
|
701
701
|
# @type TerminationGracePeriodSeconds: Integer
|
702
|
-
# @param PreStopCommand:
|
702
|
+
# @param PreStopCommand: 服务实例停止前执行的命令,执行完毕或执行时间超过优雅退出时限后实例结束
|
703
703
|
# @type PreStopCommand: Array
|
704
704
|
# @param GrpcEnable: 是否启用 grpc 端口
|
705
705
|
# @type GrpcEnable: Boolean
|
@@ -709,10 +709,12 @@ module TencentCloud
|
|
709
709
|
# @type RollingUpdate: :class:`Tencentcloud::Tione.v20211111.models.RollingUpdate`
|
710
710
|
# @param Sidecar: sidecar配置
|
711
711
|
# @type Sidecar: :class:`Tencentcloud::Tione.v20211111.models.SidecarSpec`
|
712
|
+
# @param VolumeMounts: 数据盘批量挂载配置,当前仅支持CFS,仅针对“模型来源-资源组缓存”。
|
713
|
+
# @type VolumeMounts: Array
|
712
714
|
|
713
|
-
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, :RollingUpdate, :Sidecar
|
715
|
+
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, :RollingUpdate, :Sidecar, :VolumeMounts
|
714
716
|
|
715
|
-
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, rollingupdate=nil, sidecar=nil)
|
717
|
+
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, rollingupdate=nil, sidecar=nil, volumemounts=nil)
|
716
718
|
@ServiceGroupId = servicegroupid
|
717
719
|
@ServiceGroupName = servicegroupname
|
718
720
|
@ServiceDescription = servicedescription
|
@@ -754,6 +756,7 @@ module TencentCloud
|
|
754
756
|
@HealthProbe = healthprobe
|
755
757
|
@RollingUpdate = rollingupdate
|
756
758
|
@Sidecar = sidecar
|
759
|
+
@VolumeMounts = volumemounts
|
757
760
|
end
|
758
761
|
|
759
762
|
def deserialize(params)
|
@@ -855,6 +858,14 @@ module TencentCloud
|
|
855
858
|
@Sidecar = SidecarSpec.new
|
856
859
|
@Sidecar.deserialize(params['Sidecar'])
|
857
860
|
end
|
861
|
+
unless params['VolumeMounts'].nil?
|
862
|
+
@VolumeMounts = []
|
863
|
+
params['VolumeMounts'].each do |i|
|
864
|
+
volumemount_tmp = VolumeMount.new
|
865
|
+
volumemount_tmp.deserialize(i)
|
866
|
+
@VolumeMounts << volumemount_tmp
|
867
|
+
end
|
868
|
+
end
|
858
869
|
end
|
859
870
|
end
|
860
871
|
|
@@ -5625,9 +5636,9 @@ module TencentCloud
|
|
5625
5636
|
# @type ServicePort: Integer
|
5626
5637
|
# @param InstancePerReplicas: 单副本下的实例数,仅在部署类型为DIST时生效,默认1
|
5627
5638
|
# @type InstancePerReplicas: Integer
|
5628
|
-
# @param TerminationGracePeriodSeconds: 30
|
5639
|
+
# @param TerminationGracePeriodSeconds: 服务的优雅退出时限。单位为秒,默认值为30,最小为1
|
5629
5640
|
# @type TerminationGracePeriodSeconds: Integer
|
5630
|
-
# @param PreStopCommand:
|
5641
|
+
# @param PreStopCommand: 服务实例停止前执行的命令,执行完毕或执行时间超过优雅退出时限后实例结束
|
5631
5642
|
# @type PreStopCommand: Array
|
5632
5643
|
# @param GrpcEnable: 是否启动grpc端口
|
5633
5644
|
# @type GrpcEnable: Boolean
|
@@ -5639,10 +5650,12 @@ module TencentCloud
|
|
5639
5650
|
# @type Sidecar: :class:`Tencentcloud::Tione.v20211111.models.SidecarSpec`
|
5640
5651
|
# @param ResourceGroupId: 资源组 id
|
5641
5652
|
# @type ResourceGroupId: String
|
5653
|
+
# @param VolumeMounts: 数据盘批量挂载配置,当前仅支持CFS,仅针对“模型来源-资源组缓存”。
|
5654
|
+
# @type VolumeMounts: Array
|
5642
5655
|
|
5643
|
-
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, :RollingUpdate, :Sidecar, :ResourceGroupId
|
5656
|
+
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, :RollingUpdate, :Sidecar, :ResourceGroupId, :VolumeMounts
|
5644
5657
|
|
5645
|
-
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, rollingupdate=nil, sidecar=nil, resourcegroupid=nil)
|
5658
|
+
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, rollingupdate=nil, sidecar=nil, resourcegroupid=nil, volumemounts=nil)
|
5646
5659
|
@ServiceId = serviceid
|
5647
5660
|
@ModelInfo = modelinfo
|
5648
5661
|
@ImageInfo = imageinfo
|
@@ -5676,6 +5689,7 @@ module TencentCloud
|
|
5676
5689
|
@RollingUpdate = rollingupdate
|
5677
5690
|
@Sidecar = sidecar
|
5678
5691
|
@ResourceGroupId = resourcegroupid
|
5692
|
+
@VolumeMounts = volumemounts
|
5679
5693
|
end
|
5680
5694
|
|
5681
5695
|
def deserialize(params)
|
@@ -5762,6 +5776,14 @@ module TencentCloud
|
|
5762
5776
|
@Sidecar.deserialize(params['Sidecar'])
|
5763
5777
|
end
|
5764
5778
|
@ResourceGroupId = params['ResourceGroupId']
|
5779
|
+
unless params['VolumeMounts'].nil?
|
5780
|
+
@VolumeMounts = []
|
5781
|
+
params['VolumeMounts'].each do |i|
|
5782
|
+
volumemount_tmp = VolumeMount.new
|
5783
|
+
volumemount_tmp.deserialize(i)
|
5784
|
+
@VolumeMounts << volumemount_tmp
|
5785
|
+
end
|
5786
|
+
end
|
5765
5787
|
end
|
5766
5788
|
end
|
5767
5789
|
|
@@ -6453,13 +6475,21 @@ module TencentCloud
|
|
6453
6475
|
# @type Message: String
|
6454
6476
|
# @param NodeIP: 当前实例所在的节点 IP
|
6455
6477
|
# @type NodeIP: String
|
6478
|
+
# @param NodeId: 当前实例所在节点id
|
6479
|
+
# @type NodeId: String
|
6480
|
+
# @param ResourceGroupId: 当时实例所属资源组 id
|
6481
|
+
# @type ResourceGroupId: String
|
6482
|
+
# @param ResourceGroupName: 资源组名称
|
6483
|
+
# @type ResourceGroupName: String
|
6484
|
+
# @param ResourceInfo: 实例的资源占用信息
|
6485
|
+
# @type ResourceInfo: :class:`Tencentcloud::Tione.v20211111.models.ResourceInfo`
|
6456
6486
|
|
6457
|
-
attr_accessor :Name, :Uid, :ChargeType, :Phase, :IP, :CreateTime, :Containers, :ContainerInfos, :CrossTenantENIInfo, :Status, :StartScheduleTime, :Message, :NodeIP
|
6487
|
+
attr_accessor :Name, :Uid, :ChargeType, :Phase, :IP, :CreateTime, :Containers, :ContainerInfos, :CrossTenantENIInfo, :Status, :StartScheduleTime, :Message, :NodeIP, :NodeId, :ResourceGroupId, :ResourceGroupName, :ResourceInfo
|
6458
6488
|
extend Gem::Deprecate
|
6459
6489
|
deprecate :Containers, :none, 2025, 8
|
6460
6490
|
deprecate :Containers=, :none, 2025, 8
|
6461
6491
|
|
6462
|
-
def initialize(name=nil, uid=nil, chargetype=nil, phase=nil, ip=nil, createtime=nil, containers=nil, containerinfos=nil, crosstenanteniinfo=nil, status=nil, startscheduletime=nil, message=nil, nodeip=nil)
|
6492
|
+
def initialize(name=nil, uid=nil, chargetype=nil, phase=nil, ip=nil, createtime=nil, containers=nil, containerinfos=nil, crosstenanteniinfo=nil, status=nil, startscheduletime=nil, message=nil, nodeip=nil, nodeid=nil, resourcegroupid=nil, resourcegroupname=nil, resourceinfo=nil)
|
6463
6493
|
@Name = name
|
6464
6494
|
@Uid = uid
|
6465
6495
|
@ChargeType = chargetype
|
@@ -6473,6 +6503,10 @@ module TencentCloud
|
|
6473
6503
|
@StartScheduleTime = startscheduletime
|
6474
6504
|
@Message = message
|
6475
6505
|
@NodeIP = nodeip
|
6506
|
+
@NodeId = nodeid
|
6507
|
+
@ResourceGroupId = resourcegroupid
|
6508
|
+
@ResourceGroupName = resourcegroupname
|
6509
|
+
@ResourceInfo = resourceinfo
|
6476
6510
|
end
|
6477
6511
|
|
6478
6512
|
def deserialize(params)
|
@@ -6502,6 +6536,13 @@ module TencentCloud
|
|
6502
6536
|
@StartScheduleTime = params['StartScheduleTime']
|
6503
6537
|
@Message = params['Message']
|
6504
6538
|
@NodeIP = params['NodeIP']
|
6539
|
+
@NodeId = params['NodeId']
|
6540
|
+
@ResourceGroupId = params['ResourceGroupId']
|
6541
|
+
@ResourceGroupName = params['ResourceGroupName']
|
6542
|
+
unless params['ResourceInfo'].nil?
|
6543
|
+
@ResourceInfo = ResourceInfo.new
|
6544
|
+
@ResourceInfo.deserialize(params['ResourceInfo'])
|
6545
|
+
end
|
6505
6546
|
end
|
6506
6547
|
end
|
6507
6548
|
|
@@ -6674,12 +6715,21 @@ module TencentCloud
|
|
6674
6715
|
|
6675
6716
|
# 公有云数据源结构
|
6676
6717
|
class PublicDataSourceFS < TencentCloud::Common::AbstractModel
|
6718
|
+
# @param DataSourceId: 数据源id
|
6719
|
+
# @type DataSourceId: String
|
6720
|
+
# @param SubPath: 相对数据源子路径
|
6721
|
+
# @type SubPath: String
|
6677
6722
|
|
6723
|
+
attr_accessor :DataSourceId, :SubPath
|
6678
6724
|
|
6679
|
-
def initialize()
|
6725
|
+
def initialize(datasourceid=nil, subpath=nil)
|
6726
|
+
@DataSourceId = datasourceid
|
6727
|
+
@SubPath = subpath
|
6680
6728
|
end
|
6681
6729
|
|
6682
6730
|
def deserialize(params)
|
6731
|
+
@DataSourceId = params['DataSourceId']
|
6732
|
+
@SubPath = params['SubPath']
|
6683
6733
|
end
|
6684
6734
|
end
|
6685
6735
|
|
@@ -6888,7 +6938,7 @@ module TencentCloud
|
|
6888
6938
|
# @type FreeInstance: Integer
|
6889
6939
|
# @param TotalInstance: 总节点个数(所有节点)
|
6890
6940
|
# @type TotalInstance: Integer
|
6891
|
-
# @param UsedResource:
|
6941
|
+
# @param UsedResource: 资源组已用的资源
|
6892
6942
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
6893
6943
|
# @type UsedResource: :class:`Tencentcloud::Tione.v20211111.models.GroupResource`
|
6894
6944
|
# @param TotalResource: 资源组总资源
|
@@ -6946,6 +6996,26 @@ module TencentCloud
|
|
6946
6996
|
end
|
6947
6997
|
end
|
6948
6998
|
|
6999
|
+
# 在线服务中服务的资源组简略信息结构
|
7000
|
+
class ResourceGroupInfo < TencentCloud::Common::AbstractModel
|
7001
|
+
# @param ResourceGroupId: 资源组 id
|
7002
|
+
# @type ResourceGroupId: String
|
7003
|
+
# @param ResourceGroupName: 资源组名称
|
7004
|
+
# @type ResourceGroupName: String
|
7005
|
+
|
7006
|
+
attr_accessor :ResourceGroupId, :ResourceGroupName
|
7007
|
+
|
7008
|
+
def initialize(resourcegroupid=nil, resourcegroupname=nil)
|
7009
|
+
@ResourceGroupId = resourcegroupid
|
7010
|
+
@ResourceGroupName = resourcegroupname
|
7011
|
+
end
|
7012
|
+
|
7013
|
+
def deserialize(params)
|
7014
|
+
@ResourceGroupId = params['ResourceGroupId']
|
7015
|
+
@ResourceGroupName = params['ResourceGroupName']
|
7016
|
+
end
|
7017
|
+
end
|
7018
|
+
|
6949
7019
|
# 描述资源信息
|
6950
7020
|
class ResourceInfo < TencentCloud::Common::AbstractModel
|
6951
7021
|
# @param Cpu: 处理器资源, 单位为1/1000核
|
@@ -7113,6 +7183,22 @@ module TencentCloud
|
|
7113
7183
|
end
|
7114
7184
|
end
|
7115
7185
|
|
7186
|
+
# 服务的调度策略配置
|
7187
|
+
class SchedulingPolicy < TencentCloud::Common::AbstractModel
|
7188
|
+
# @param CrossResourceGroupScheduling: 是否启用了跨资源组调度开关
|
7189
|
+
# @type CrossResourceGroupScheduling: Boolean
|
7190
|
+
|
7191
|
+
attr_accessor :CrossResourceGroupScheduling
|
7192
|
+
|
7193
|
+
def initialize(crossresourcegroupscheduling=nil)
|
7194
|
+
@CrossResourceGroupScheduling = crossresourcegroupscheduling
|
7195
|
+
end
|
7196
|
+
|
7197
|
+
def deserialize(params)
|
7198
|
+
@CrossResourceGroupScheduling = params['CrossResourceGroupScheduling']
|
7199
|
+
end
|
7200
|
+
end
|
7201
|
+
|
7116
7202
|
# 表格数据集表头信息
|
7117
7203
|
class SchemaInfo < TencentCloud::Common::AbstractModel
|
7118
7204
|
# @param Name: 长度30字符内
|
@@ -7246,15 +7332,19 @@ module TencentCloud
|
|
7246
7332
|
# @type MonitorSource: String
|
7247
7333
|
# @param SubUinName: 服务创建者的子账号名称
|
7248
7334
|
# @type SubUinName: String
|
7335
|
+
# @param SchedulingPolicy: 服务的调度策略
|
7336
|
+
# @type SchedulingPolicy: :class:`Tencentcloud::Tione.v20211111.models.SchedulingPolicy`
|
7337
|
+
# @param ExternalResourceGroups: 外部的资源组信息,表示借调了哪些资源组的资源
|
7338
|
+
# @type ExternalResourceGroups: Array
|
7249
7339
|
|
7250
|
-
attr_accessor :ServiceGroupId, :ServiceId, :ServiceGroupName, :ServiceDescription, :ServiceInfo, :ClusterId, :Region, :Namespace, :ChargeType, :ResourceGroupId, :ResourceGroupName, :Tags, :IngressName, :CreatedBy, :CreateTime, :UpdateTime, :Uin, :SubUin, :AppId, :BusinessStatus, :ServiceLimit, :ScheduledAction, :CreateFailedReason, :Status, :BillingInfo, :Weight, :CreateSource, :Version, :LatestVersion, :ResourceGroupSWType, :ArchiveStatus, :DeployType, :InstancePerReplicas, :MonitorSource, :SubUinName
|
7340
|
+
attr_accessor :ServiceGroupId, :ServiceId, :ServiceGroupName, :ServiceDescription, :ServiceInfo, :ClusterId, :Region, :Namespace, :ChargeType, :ResourceGroupId, :ResourceGroupName, :Tags, :IngressName, :CreatedBy, :CreateTime, :UpdateTime, :Uin, :SubUin, :AppId, :BusinessStatus, :ServiceLimit, :ScheduledAction, :CreateFailedReason, :Status, :BillingInfo, :Weight, :CreateSource, :Version, :LatestVersion, :ResourceGroupSWType, :ArchiveStatus, :DeployType, :InstancePerReplicas, :MonitorSource, :SubUinName, :SchedulingPolicy, :ExternalResourceGroups
|
7251
7341
|
extend Gem::Deprecate
|
7252
7342
|
deprecate :ServiceLimit, :none, 2025, 8
|
7253
7343
|
deprecate :ServiceLimit=, :none, 2025, 8
|
7254
7344
|
deprecate :ScheduledAction, :none, 2025, 8
|
7255
7345
|
deprecate :ScheduledAction=, :none, 2025, 8
|
7256
7346
|
|
7257
|
-
def initialize(servicegroupid=nil, serviceid=nil, servicegroupname=nil, servicedescription=nil, serviceinfo=nil, clusterid=nil, region=nil, namespace=nil, chargetype=nil, resourcegroupid=nil, resourcegroupname=nil, tags=nil, ingressname=nil, createdby=nil, createtime=nil, updatetime=nil, uin=nil, subuin=nil, appid=nil, businessstatus=nil, servicelimit=nil, scheduledaction=nil, createfailedreason=nil, status=nil, billinginfo=nil, weight=nil, createsource=nil, version=nil, latestversion=nil, resourcegroupswtype=nil, archivestatus=nil, deploytype=nil, instanceperreplicas=nil, monitorsource=nil, subuinname=nil)
|
7347
|
+
def initialize(servicegroupid=nil, serviceid=nil, servicegroupname=nil, servicedescription=nil, serviceinfo=nil, clusterid=nil, region=nil, namespace=nil, chargetype=nil, resourcegroupid=nil, resourcegroupname=nil, tags=nil, ingressname=nil, createdby=nil, createtime=nil, updatetime=nil, uin=nil, subuin=nil, appid=nil, businessstatus=nil, servicelimit=nil, scheduledaction=nil, createfailedreason=nil, status=nil, billinginfo=nil, weight=nil, createsource=nil, version=nil, latestversion=nil, resourcegroupswtype=nil, archivestatus=nil, deploytype=nil, instanceperreplicas=nil, monitorsource=nil, subuinname=nil, schedulingpolicy=nil, externalresourcegroups=nil)
|
7258
7348
|
@ServiceGroupId = servicegroupid
|
7259
7349
|
@ServiceId = serviceid
|
7260
7350
|
@ServiceGroupName = servicegroupname
|
@@ -7290,6 +7380,8 @@ module TencentCloud
|
|
7290
7380
|
@InstancePerReplicas = instanceperreplicas
|
7291
7381
|
@MonitorSource = monitorsource
|
7292
7382
|
@SubUinName = subuinname
|
7383
|
+
@SchedulingPolicy = schedulingpolicy
|
7384
|
+
@ExternalResourceGroups = externalresourcegroups
|
7293
7385
|
end
|
7294
7386
|
|
7295
7387
|
def deserialize(params)
|
@@ -7344,6 +7436,18 @@ module TencentCloud
|
|
7344
7436
|
@InstancePerReplicas = params['InstancePerReplicas']
|
7345
7437
|
@MonitorSource = params['MonitorSource']
|
7346
7438
|
@SubUinName = params['SubUinName']
|
7439
|
+
unless params['SchedulingPolicy'].nil?
|
7440
|
+
@SchedulingPolicy = SchedulingPolicy.new
|
7441
|
+
@SchedulingPolicy.deserialize(params['SchedulingPolicy'])
|
7442
|
+
end
|
7443
|
+
unless params['ExternalResourceGroups'].nil?
|
7444
|
+
@ExternalResourceGroups = []
|
7445
|
+
params['ExternalResourceGroups'].each do |i|
|
7446
|
+
resourcegroupinfo_tmp = ResourceGroupInfo.new
|
7447
|
+
resourcegroupinfo_tmp.deserialize(i)
|
7448
|
+
@ExternalResourceGroups << resourcegroupinfo_tmp
|
7449
|
+
end
|
7450
|
+
end
|
7347
7451
|
end
|
7348
7452
|
end
|
7349
7453
|
|
@@ -7777,15 +7881,19 @@ module TencentCloud
|
|
7777
7881
|
# @type HealthProbe: :class:`Tencentcloud::Tione.v20211111.models.HealthProbe`
|
7778
7882
|
# @param RollingUpdate: 滚动更新配置
|
7779
7883
|
# @type RollingUpdate: :class:`Tencentcloud::Tione.v20211111.models.RollingUpdate`
|
7884
|
+
# @param InstancePerReplicas: 单副本下的实例数,仅在部署类型为DIST、ROLE时生效,默认1
|
7885
|
+
# @type InstancePerReplicas: Integer
|
7886
|
+
# @param VolumeMounts: 批量数据盘挂载配置
|
7887
|
+
# @type VolumeMounts: Array
|
7780
7888
|
|
7781
|
-
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
|
7889
|
+
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, :InstancePerReplicas, :VolumeMounts
|
7782
7890
|
extend Gem::Deprecate
|
7783
7891
|
deprecate :PodList, :none, 2025, 8
|
7784
7892
|
deprecate :PodList=, :none, 2025, 8
|
7785
7893
|
deprecate :Pods, :none, 2025, 8
|
7786
7894
|
deprecate :Pods=, :none, 2025, 8
|
7787
7895
|
|
7788
|
-
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)
|
7896
|
+
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, instanceperreplicas=nil, volumemounts=nil)
|
7789
7897
|
@Replicas = replicas
|
7790
7898
|
@ImageInfo = imageinfo
|
7791
7899
|
@Env = env
|
@@ -7823,6 +7931,8 @@ module TencentCloud
|
|
7823
7931
|
@GrpcEnable = grpcenable
|
7824
7932
|
@HealthProbe = healthprobe
|
7825
7933
|
@RollingUpdate = rollingupdate
|
7934
|
+
@InstancePerReplicas = instanceperreplicas
|
7935
|
+
@VolumeMounts = volumemounts
|
7826
7936
|
end
|
7827
7937
|
|
7828
7938
|
def deserialize(params)
|
@@ -7929,6 +8039,15 @@ module TencentCloud
|
|
7929
8039
|
@RollingUpdate = RollingUpdate.new
|
7930
8040
|
@RollingUpdate.deserialize(params['RollingUpdate'])
|
7931
8041
|
end
|
8042
|
+
@InstancePerReplicas = params['InstancePerReplicas']
|
8043
|
+
unless params['VolumeMounts'].nil?
|
8044
|
+
@VolumeMounts = []
|
8045
|
+
params['VolumeMounts'].each do |i|
|
8046
|
+
volumemount_tmp = VolumeMount.new
|
8047
|
+
volumemount_tmp.deserialize(i)
|
8048
|
+
@VolumeMounts << volumemount_tmp
|
8049
|
+
end
|
8050
|
+
end
|
7932
8051
|
end
|
7933
8052
|
end
|
7934
8053
|
|
@@ -8991,12 +9110,16 @@ module TencentCloud
|
|
8991
9110
|
# @type CFSConfig: :class:`Tencentcloud::Tione.v20211111.models.CFSConfig`
|
8992
9111
|
# @param VolumeSourceType: 挂载源类型,CFS、COS,默认为CFS
|
8993
9112
|
# @type VolumeSourceType: String
|
9113
|
+
# @param MountPath: 自定义容器内挂载路径
|
9114
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
9115
|
+
# @type MountPath: String
|
8994
9116
|
|
8995
|
-
attr_accessor :CFSConfig, :VolumeSourceType
|
9117
|
+
attr_accessor :CFSConfig, :VolumeSourceType, :MountPath
|
8996
9118
|
|
8997
|
-
def initialize(cfsconfig=nil, volumesourcetype=nil)
|
9119
|
+
def initialize(cfsconfig=nil, volumesourcetype=nil, mountpath=nil)
|
8998
9120
|
@CFSConfig = cfsconfig
|
8999
9121
|
@VolumeSourceType = volumesourcetype
|
9122
|
+
@MountPath = mountpath
|
9000
9123
|
end
|
9001
9124
|
|
9002
9125
|
def deserialize(params)
|
@@ -9005,6 +9128,7 @@ module TencentCloud
|
|
9005
9128
|
@CFSConfig.deserialize(params['CFSConfig'])
|
9006
9129
|
end
|
9007
9130
|
@VolumeSourceType = params['VolumeSourceType']
|
9131
|
+
@MountPath = params['MountPath']
|
9008
9132
|
end
|
9009
9133
|
end
|
9010
9134
|
|
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.1127
|
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-08-
|
11
|
+
date: 2025-08-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|