tencentcloud-sdk-tione 3.0.1115 → 3.0.1138
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 +188 -32
- 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: 63e012c7f7b84aa3e9cf78b9686553af9278d776
|
4
|
+
data.tar.gz: 9043690802507ae64ec00caa4f295ae7b3d4e638
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 832f0abd642daecef97e7afc0d2deb17556a1a903c0d1d248e2ee7a8af710efc85ce7adb83fca530f31735a996fbc42cf2bd29019b318c6d969672060b66476a
|
7
|
+
data.tar.gz: ac708129f3bcdebb364a1618a4bd82f318d7531b314a0f645a0fa94ec5ac1c598b1a2dcf75f3833a8bfc992c77be381282c6452d62d827917bf0b250176e4587
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.1138
|
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
|
-
deprecate :Containers, :none, 2025,
|
6460
|
-
deprecate :Containers=, :none, 2025,
|
6489
|
+
deprecate :Containers, :none, 2025, 9
|
6490
|
+
deprecate :Containers=, :none, 2025, 9
|
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
|
|
@@ -6555,6 +6596,30 @@ module TencentCloud
|
|
6555
6596
|
end
|
6556
6597
|
end
|
6557
6598
|
|
6599
|
+
# SSH pod访问信息
|
6600
|
+
class PodSSHInfo < TencentCloud::Common::AbstractModel
|
6601
|
+
# @param Host: pod访问ip
|
6602
|
+
# @type Host: String
|
6603
|
+
# @param Port: pod ssh访问端口
|
6604
|
+
# @type Port: Integer
|
6605
|
+
# @param LoginCommand: ssh访问命令
|
6606
|
+
# @type LoginCommand: String
|
6607
|
+
|
6608
|
+
attr_accessor :Host, :Port, :LoginCommand
|
6609
|
+
|
6610
|
+
def initialize(host=nil, port=nil, logincommand=nil)
|
6611
|
+
@Host = host
|
6612
|
+
@Port = port
|
6613
|
+
@LoginCommand = logincommand
|
6614
|
+
end
|
6615
|
+
|
6616
|
+
def deserialize(params)
|
6617
|
+
@Host = params['Host']
|
6618
|
+
@Port = params['Port']
|
6619
|
+
@LoginCommand = params['LoginCommand']
|
6620
|
+
end
|
6621
|
+
end
|
6622
|
+
|
6558
6623
|
# 私有连接信息
|
6559
6624
|
class PrivateLinkInfo < TencentCloud::Common::AbstractModel
|
6560
6625
|
# @param VpcId: 私有连接所在的VPCID
|
@@ -6674,12 +6739,21 @@ module TencentCloud
|
|
6674
6739
|
|
6675
6740
|
# 公有云数据源结构
|
6676
6741
|
class PublicDataSourceFS < TencentCloud::Common::AbstractModel
|
6742
|
+
# @param DataSourceId: 数据源id
|
6743
|
+
# @type DataSourceId: String
|
6744
|
+
# @param SubPath: 相对数据源子路径
|
6745
|
+
# @type SubPath: String
|
6677
6746
|
|
6747
|
+
attr_accessor :DataSourceId, :SubPath
|
6678
6748
|
|
6679
|
-
def initialize()
|
6749
|
+
def initialize(datasourceid=nil, subpath=nil)
|
6750
|
+
@DataSourceId = datasourceid
|
6751
|
+
@SubPath = subpath
|
6680
6752
|
end
|
6681
6753
|
|
6682
6754
|
def deserialize(params)
|
6755
|
+
@DataSourceId = params['DataSourceId']
|
6756
|
+
@SubPath = params['SubPath']
|
6683
6757
|
end
|
6684
6758
|
end
|
6685
6759
|
|
@@ -6888,7 +6962,7 @@ module TencentCloud
|
|
6888
6962
|
# @type FreeInstance: Integer
|
6889
6963
|
# @param TotalInstance: 总节点个数(所有节点)
|
6890
6964
|
# @type TotalInstance: Integer
|
6891
|
-
# @param UsedResource:
|
6965
|
+
# @param UsedResource: 资源组已用的资源
|
6892
6966
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
6893
6967
|
# @type UsedResource: :class:`Tencentcloud::Tione.v20211111.models.GroupResource`
|
6894
6968
|
# @param TotalResource: 资源组总资源
|
@@ -6946,6 +7020,26 @@ module TencentCloud
|
|
6946
7020
|
end
|
6947
7021
|
end
|
6948
7022
|
|
7023
|
+
# 在线服务中服务的资源组简略信息结构
|
7024
|
+
class ResourceGroupInfo < TencentCloud::Common::AbstractModel
|
7025
|
+
# @param ResourceGroupId: 资源组 id
|
7026
|
+
# @type ResourceGroupId: String
|
7027
|
+
# @param ResourceGroupName: 资源组名称
|
7028
|
+
# @type ResourceGroupName: String
|
7029
|
+
|
7030
|
+
attr_accessor :ResourceGroupId, :ResourceGroupName
|
7031
|
+
|
7032
|
+
def initialize(resourcegroupid=nil, resourcegroupname=nil)
|
7033
|
+
@ResourceGroupId = resourcegroupid
|
7034
|
+
@ResourceGroupName = resourcegroupname
|
7035
|
+
end
|
7036
|
+
|
7037
|
+
def deserialize(params)
|
7038
|
+
@ResourceGroupId = params['ResourceGroupId']
|
7039
|
+
@ResourceGroupName = params['ResourceGroupName']
|
7040
|
+
end
|
7041
|
+
end
|
7042
|
+
|
6949
7043
|
# 描述资源信息
|
6950
7044
|
class ResourceInfo < TencentCloud::Common::AbstractModel
|
6951
7045
|
# @param Cpu: 处理器资源, 单位为1/1000核
|
@@ -7073,15 +7167,19 @@ module TencentCloud
|
|
7073
7167
|
# @param IsAddressChanged: 登录地址是否改变
|
7074
7168
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
7075
7169
|
# @type IsAddressChanged: Boolean
|
7170
|
+
# @param PodSSHInfo: POD访问信息
|
7171
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
7172
|
+
# @type PodSSHInfo: :class:`Tencentcloud::Tione.v20211111.models.PodSSHInfo`
|
7076
7173
|
|
7077
|
-
attr_accessor :Enable, :PublicKey, :Port, :LoginCommand, :IsAddressChanged
|
7174
|
+
attr_accessor :Enable, :PublicKey, :Port, :LoginCommand, :IsAddressChanged, :PodSSHInfo
|
7078
7175
|
|
7079
|
-
def initialize(enable=nil, publickey=nil, port=nil, logincommand=nil, isaddresschanged=nil)
|
7176
|
+
def initialize(enable=nil, publickey=nil, port=nil, logincommand=nil, isaddresschanged=nil, podsshinfo=nil)
|
7080
7177
|
@Enable = enable
|
7081
7178
|
@PublicKey = publickey
|
7082
7179
|
@Port = port
|
7083
7180
|
@LoginCommand = logincommand
|
7084
7181
|
@IsAddressChanged = isaddresschanged
|
7182
|
+
@PodSSHInfo = podsshinfo
|
7085
7183
|
end
|
7086
7184
|
|
7087
7185
|
def deserialize(params)
|
@@ -7090,6 +7188,10 @@ module TencentCloud
|
|
7090
7188
|
@Port = params['Port']
|
7091
7189
|
@LoginCommand = params['LoginCommand']
|
7092
7190
|
@IsAddressChanged = params['IsAddressChanged']
|
7191
|
+
unless params['PodSSHInfo'].nil?
|
7192
|
+
@PodSSHInfo = PodSSHInfo.new
|
7193
|
+
@PodSSHInfo.deserialize(params['PodSSHInfo'])
|
7194
|
+
end
|
7093
7195
|
end
|
7094
7196
|
end
|
7095
7197
|
|
@@ -7113,6 +7215,22 @@ module TencentCloud
|
|
7113
7215
|
end
|
7114
7216
|
end
|
7115
7217
|
|
7218
|
+
# 服务的调度策略配置
|
7219
|
+
class SchedulingPolicy < TencentCloud::Common::AbstractModel
|
7220
|
+
# @param CrossResourceGroupScheduling: 是否启用了跨资源组调度开关
|
7221
|
+
# @type CrossResourceGroupScheduling: Boolean
|
7222
|
+
|
7223
|
+
attr_accessor :CrossResourceGroupScheduling
|
7224
|
+
|
7225
|
+
def initialize(crossresourcegroupscheduling=nil)
|
7226
|
+
@CrossResourceGroupScheduling = crossresourcegroupscheduling
|
7227
|
+
end
|
7228
|
+
|
7229
|
+
def deserialize(params)
|
7230
|
+
@CrossResourceGroupScheduling = params['CrossResourceGroupScheduling']
|
7231
|
+
end
|
7232
|
+
end
|
7233
|
+
|
7116
7234
|
# 表格数据集表头信息
|
7117
7235
|
class SchemaInfo < TencentCloud::Common::AbstractModel
|
7118
7236
|
# @param Name: 长度30字符内
|
@@ -7246,15 +7364,19 @@ module TencentCloud
|
|
7246
7364
|
# @type MonitorSource: String
|
7247
7365
|
# @param SubUinName: 服务创建者的子账号名称
|
7248
7366
|
# @type SubUinName: String
|
7367
|
+
# @param SchedulingPolicy: 服务的调度策略
|
7368
|
+
# @type SchedulingPolicy: :class:`Tencentcloud::Tione.v20211111.models.SchedulingPolicy`
|
7369
|
+
# @param ExternalResourceGroups: 外部的资源组信息,表示借调了哪些资源组的资源
|
7370
|
+
# @type ExternalResourceGroups: Array
|
7249
7371
|
|
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
|
7372
|
+
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
7373
|
extend Gem::Deprecate
|
7252
|
-
deprecate :ServiceLimit, :none, 2025,
|
7253
|
-
deprecate :ServiceLimit=, :none, 2025,
|
7254
|
-
deprecate :ScheduledAction, :none, 2025,
|
7255
|
-
deprecate :ScheduledAction=, :none, 2025,
|
7374
|
+
deprecate :ServiceLimit, :none, 2025, 9
|
7375
|
+
deprecate :ServiceLimit=, :none, 2025, 9
|
7376
|
+
deprecate :ScheduledAction, :none, 2025, 9
|
7377
|
+
deprecate :ScheduledAction=, :none, 2025, 9
|
7256
7378
|
|
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)
|
7379
|
+
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
7380
|
@ServiceGroupId = servicegroupid
|
7259
7381
|
@ServiceId = serviceid
|
7260
7382
|
@ServiceGroupName = servicegroupname
|
@@ -7290,6 +7412,8 @@ module TencentCloud
|
|
7290
7412
|
@InstancePerReplicas = instanceperreplicas
|
7291
7413
|
@MonitorSource = monitorsource
|
7292
7414
|
@SubUinName = subuinname
|
7415
|
+
@SchedulingPolicy = schedulingpolicy
|
7416
|
+
@ExternalResourceGroups = externalresourcegroups
|
7293
7417
|
end
|
7294
7418
|
|
7295
7419
|
def deserialize(params)
|
@@ -7344,6 +7468,18 @@ module TencentCloud
|
|
7344
7468
|
@InstancePerReplicas = params['InstancePerReplicas']
|
7345
7469
|
@MonitorSource = params['MonitorSource']
|
7346
7470
|
@SubUinName = params['SubUinName']
|
7471
|
+
unless params['SchedulingPolicy'].nil?
|
7472
|
+
@SchedulingPolicy = SchedulingPolicy.new
|
7473
|
+
@SchedulingPolicy.deserialize(params['SchedulingPolicy'])
|
7474
|
+
end
|
7475
|
+
unless params['ExternalResourceGroups'].nil?
|
7476
|
+
@ExternalResourceGroups = []
|
7477
|
+
params['ExternalResourceGroups'].each do |i|
|
7478
|
+
resourcegroupinfo_tmp = ResourceGroupInfo.new
|
7479
|
+
resourcegroupinfo_tmp.deserialize(i)
|
7480
|
+
@ExternalResourceGroups << resourcegroupinfo_tmp
|
7481
|
+
end
|
7482
|
+
end
|
7347
7483
|
end
|
7348
7484
|
end
|
7349
7485
|
|
@@ -7777,15 +7913,19 @@ module TencentCloud
|
|
7777
7913
|
# @type HealthProbe: :class:`Tencentcloud::Tione.v20211111.models.HealthProbe`
|
7778
7914
|
# @param RollingUpdate: 滚动更新配置
|
7779
7915
|
# @type RollingUpdate: :class:`Tencentcloud::Tione.v20211111.models.RollingUpdate`
|
7916
|
+
# @param InstancePerReplicas: 单副本下的实例数,仅在部署类型为DIST、ROLE时生效,默认1
|
7917
|
+
# @type InstancePerReplicas: Integer
|
7918
|
+
# @param VolumeMounts: 批量数据盘挂载配置
|
7919
|
+
# @type VolumeMounts: Array
|
7780
7920
|
|
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
|
7921
|
+
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
7922
|
extend Gem::Deprecate
|
7783
|
-
deprecate :PodList, :none, 2025,
|
7784
|
-
deprecate :PodList=, :none, 2025,
|
7785
|
-
deprecate :Pods, :none, 2025,
|
7786
|
-
deprecate :Pods=, :none, 2025,
|
7923
|
+
deprecate :PodList, :none, 2025, 9
|
7924
|
+
deprecate :PodList=, :none, 2025, 9
|
7925
|
+
deprecate :Pods, :none, 2025, 9
|
7926
|
+
deprecate :Pods=, :none, 2025, 9
|
7787
7927
|
|
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)
|
7928
|
+
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
7929
|
@Replicas = replicas
|
7790
7930
|
@ImageInfo = imageinfo
|
7791
7931
|
@Env = env
|
@@ -7823,6 +7963,8 @@ module TencentCloud
|
|
7823
7963
|
@GrpcEnable = grpcenable
|
7824
7964
|
@HealthProbe = healthprobe
|
7825
7965
|
@RollingUpdate = rollingupdate
|
7966
|
+
@InstancePerReplicas = instanceperreplicas
|
7967
|
+
@VolumeMounts = volumemounts
|
7826
7968
|
end
|
7827
7969
|
|
7828
7970
|
def deserialize(params)
|
@@ -7929,6 +8071,15 @@ module TencentCloud
|
|
7929
8071
|
@RollingUpdate = RollingUpdate.new
|
7930
8072
|
@RollingUpdate.deserialize(params['RollingUpdate'])
|
7931
8073
|
end
|
8074
|
+
@InstancePerReplicas = params['InstancePerReplicas']
|
8075
|
+
unless params['VolumeMounts'].nil?
|
8076
|
+
@VolumeMounts = []
|
8077
|
+
params['VolumeMounts'].each do |i|
|
8078
|
+
volumemount_tmp = VolumeMount.new
|
8079
|
+
volumemount_tmp.deserialize(i)
|
8080
|
+
@VolumeMounts << volumemount_tmp
|
8081
|
+
end
|
8082
|
+
end
|
7932
8083
|
end
|
7933
8084
|
end
|
7934
8085
|
|
@@ -8991,12 +9142,16 @@ module TencentCloud
|
|
8991
9142
|
# @type CFSConfig: :class:`Tencentcloud::Tione.v20211111.models.CFSConfig`
|
8992
9143
|
# @param VolumeSourceType: 挂载源类型,CFS、COS,默认为CFS
|
8993
9144
|
# @type VolumeSourceType: String
|
9145
|
+
# @param MountPath: 自定义容器内挂载路径
|
9146
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
9147
|
+
# @type MountPath: String
|
8994
9148
|
|
8995
|
-
attr_accessor :CFSConfig, :VolumeSourceType
|
9149
|
+
attr_accessor :CFSConfig, :VolumeSourceType, :MountPath
|
8996
9150
|
|
8997
|
-
def initialize(cfsconfig=nil, volumesourcetype=nil)
|
9151
|
+
def initialize(cfsconfig=nil, volumesourcetype=nil, mountpath=nil)
|
8998
9152
|
@CFSConfig = cfsconfig
|
8999
9153
|
@VolumeSourceType = volumesourcetype
|
9154
|
+
@MountPath = mountpath
|
9000
9155
|
end
|
9001
9156
|
|
9002
9157
|
def deserialize(params)
|
@@ -9005,6 +9160,7 @@ module TencentCloud
|
|
9005
9160
|
@CFSConfig.deserialize(params['CFSConfig'])
|
9006
9161
|
end
|
9007
9162
|
@VolumeSourceType = params['VolumeSourceType']
|
9163
|
+
@MountPath = params['MountPath']
|
9008
9164
|
end
|
9009
9165
|
end
|
9010
9166
|
|
@@ -9037,8 +9193,8 @@ module TencentCloud
|
|
9037
9193
|
|
9038
9194
|
attr_accessor :Replicas, :UpdatedReplicas, :ReadyReplicas, :AvailableReplicas, :UnavailableReplicas, :Status, :StatefulSetCondition, :Conditions, :Reason
|
9039
9195
|
extend Gem::Deprecate
|
9040
|
-
deprecate :StatefulSetCondition, :none, 2025,
|
9041
|
-
deprecate :StatefulSetCondition=, :none, 2025,
|
9196
|
+
deprecate :StatefulSetCondition, :none, 2025, 9
|
9197
|
+
deprecate :StatefulSetCondition=, :none, 2025, 9
|
9042
9198
|
|
9043
9199
|
def initialize(replicas=nil, updatedreplicas=nil, readyreplicas=nil, availablereplicas=nil, unavailablereplicas=nil, status=nil, statefulsetcondition=nil, conditions=nil, reason=nil)
|
9044
9200
|
@Replicas = replicas
|
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.1138
|
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-
|
11
|
+
date: 2025-09-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|