tencentcloud-sdk-tione 3.0.613 → 3.0.614

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/VERSION +1 -1
  3. data/lib/v20211111/models.rb +138 -102
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 034293ee97b83c8038e1ee71ae8b5450d8745b9a
4
- data.tar.gz: b3a41eb8699de21140de3355502b2ae51d032705
3
+ metadata.gz: d307f0016c8d7f50cd0245cbd6fb1de566c49857
4
+ data.tar.gz: ce0436229bde6638c58efae00a8e722df4ff88c4
5
5
  SHA512:
6
- metadata.gz: 6d7267810f3217051273a0647212ba2b490ccc80392da8021b301997f025aa9ca7f961a75da87d7d73cefcb1e50b6fe23e4b773f6e4ec72f215f28992f657a28
7
- data.tar.gz: 4e9221994e0f9a3ab9a55586bdfe8a79404eb27124c118b4feb8cdab34af052c9db742029ac2ef4703051a04d4677c63ca2ed0c9111e867b9cc139b922008641
6
+ metadata.gz: ad62156e9cdb870dbb37d4622c32f9382537a140b19ae06af8668c70c6372965b19666d3fd24653f46299b73c47104f7fd5c31ea99ada137a766277ca356df38
7
+ data.tar.gz: f10d33d4bb881fc2f73a239d4fe92c1b153e24d5d29ea5bf89c5b2f397baa1389a4925e3c59fbe9de5e231ffe49ee8df8033989a036c3efa375504348adcaf5c
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.613
1
+ 3.0.614
@@ -1070,10 +1070,14 @@ module TencentCloud
1070
1070
  # @type ServiceLimit: :class:`Tencentcloud::Tione.v20211111.models.ServiceLimit`
1071
1071
  # @param CallbackUrl: 回调地址,用于回调创建服务状态信息,回调格式&内容详情见:[TI-ONE 接口回调说明](https://cloud.tencent.com/document/product/851/84292)
1072
1072
  # @type CallbackUrl: String
1073
+ # @param ModelTurboEnable: 是否开启模型的加速, 仅对StableDiffusion(动态加速)格式的模型有效。
1074
+ # @type ModelTurboEnable: Boolean
1075
+ # @param ServiceCategory: 服务分类
1076
+ # @type ServiceCategory: String
1073
1077
 
1074
- 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
1078
+ 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
1075
1079
 
1076
- 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)
1080
+ 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)
1077
1081
  @ServiceGroupId = servicegroupid
1078
1082
  @ServiceGroupName = servicegroupname
1079
1083
  @ServiceDescription = servicedescription
@@ -1101,6 +1105,8 @@ module TencentCloud
1101
1105
  @VolumeMount = volumemount
1102
1106
  @ServiceLimit = servicelimit
1103
1107
  @CallbackUrl = callbackurl
1108
+ @ModelTurboEnable = modelturboenable
1109
+ @ServiceCategory = servicecategory
1104
1110
  end
1105
1111
 
1106
1112
  def deserialize(params)
@@ -1176,6 +1182,8 @@ module TencentCloud
1176
1182
  @ServiceLimit.deserialize(params['ServiceLimit'])
1177
1183
  end
1178
1184
  @CallbackUrl = params['CallbackUrl']
1185
+ @ModelTurboEnable = params['ModelTurboEnable']
1186
+ @ServiceCategory = params['ServiceCategory']
1179
1187
  end
1180
1188
  end
1181
1189
 
@@ -3745,16 +3753,20 @@ module TencentCloud
3745
3753
 
3746
3754
  # DescribeModelServiceHotUpdated返回参数结构体
3747
3755
  class DescribeModelServiceHotUpdatedResponse < TencentCloud::Common::AbstractModel
3756
+ # @param ModelTurboFlag: 模型加速标志位.Allowed 允许模型加速. Forbidden 禁止模型加速
3757
+ # @type ModelTurboFlag: String
3748
3758
  # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3749
3759
  # @type RequestId: String
3750
3760
 
3751
- attr_accessor :RequestId
3761
+ attr_accessor :ModelTurboFlag, :RequestId
3752
3762
 
3753
- def initialize(requestid=nil)
3763
+ def initialize(modelturboflag=nil, requestid=nil)
3764
+ @ModelTurboFlag = modelturboflag
3754
3765
  @RequestId = requestid
3755
3766
  end
3756
3767
 
3757
3768
  def deserialize(params)
3769
+ @ModelTurboFlag = params['ModelTurboFlag']
3758
3770
  @RequestId = params['RequestId']
3759
3771
  end
3760
3772
  end
@@ -4779,10 +4791,13 @@ module TencentCloud
4779
4791
  # @param PipelineArgs: Stable Diffusion 模型优化参数
4780
4792
  # 注意:此字段可能返回 null,表示取不到有效值。
4781
4793
  # @type PipelineArgs: String
4794
+ # @param LoraScale: Stable Diffusion 模型优化参数,控制Lora模型的影响效果
4795
+ # 注意:此字段可能返回 null,表示取不到有效值。
4796
+ # @type LoraScale: String
4782
4797
 
4783
- attr_accessor :MaxNNZ, :SlotNum, :CpuCachePercentage, :GpuCachePercentage, :EnableDistributed, :MinBlockSizePt, :MinBlockSizeTf, :PipelineArgs
4798
+ attr_accessor :MaxNNZ, :SlotNum, :CpuCachePercentage, :GpuCachePercentage, :EnableDistributed, :MinBlockSizePt, :MinBlockSizeTf, :PipelineArgs, :LoraScale
4784
4799
 
4785
- def initialize(maxnnz=nil, slotnum=nil, cpucachepercentage=nil, gpucachepercentage=nil, enabledistributed=nil, minblocksizept=nil, minblocksizetf=nil, pipelineargs=nil)
4800
+ def initialize(maxnnz=nil, slotnum=nil, cpucachepercentage=nil, gpucachepercentage=nil, enabledistributed=nil, minblocksizept=nil, minblocksizetf=nil, pipelineargs=nil, lorascale=nil)
4786
4801
  @MaxNNZ = maxnnz
4787
4802
  @SlotNum = slotnum
4788
4803
  @CpuCachePercentage = cpucachepercentage
@@ -4791,6 +4806,7 @@ module TencentCloud
4791
4806
  @MinBlockSizePt = minblocksizept
4792
4807
  @MinBlockSizeTf = minblocksizetf
4793
4808
  @PipelineArgs = pipelineargs
4809
+ @LoraScale = lorascale
4794
4810
  end
4795
4811
 
4796
4812
  def deserialize(params)
@@ -4802,6 +4818,7 @@ module TencentCloud
4802
4818
  @MinBlockSizePt = params['MinBlockSizePt']
4803
4819
  @MinBlockSizeTf = params['MinBlockSizeTf']
4804
4820
  @PipelineArgs = params['PipelineArgs']
4821
+ @LoraScale = params['LoraScale']
4805
4822
  end
4806
4823
  end
4807
4824
 
@@ -5347,10 +5364,13 @@ module TencentCloud
5347
5364
  # @param ModelType: 默认为 NORMAL, 已加速模型: ACCELERATE, 自动学习模型 AUTO_ML
5348
5365
  # 注意:此字段可能返回 null,表示取不到有效值。
5349
5366
  # @type ModelType: String
5367
+ # @param ModelFormat: 模型格式
5368
+ # 注意:此字段可能返回 null,表示取不到有效值。
5369
+ # @type ModelFormat: String
5350
5370
 
5351
- attr_accessor :ModelVersionId, :ModelId, :ModelName, :ModelVersion, :ModelSource, :CosPathInfo, :AlgorithmFramework, :ModelType
5371
+ attr_accessor :ModelVersionId, :ModelId, :ModelName, :ModelVersion, :ModelSource, :CosPathInfo, :AlgorithmFramework, :ModelType, :ModelFormat
5352
5372
 
5353
- def initialize(modelversionid=nil, modelid=nil, modelname=nil, modelversion=nil, modelsource=nil, cospathinfo=nil, algorithmframework=nil, modeltype=nil)
5373
+ def initialize(modelversionid=nil, modelid=nil, modelname=nil, modelversion=nil, modelsource=nil, cospathinfo=nil, algorithmframework=nil, modeltype=nil, modelformat=nil)
5354
5374
  @ModelVersionId = modelversionid
5355
5375
  @ModelId = modelid
5356
5376
  @ModelName = modelname
@@ -5359,6 +5379,7 @@ module TencentCloud
5359
5379
  @CosPathInfo = cospathinfo
5360
5380
  @AlgorithmFramework = algorithmframework
5361
5381
  @ModelType = modeltype
5382
+ @ModelFormat = modelformat
5362
5383
  end
5363
5384
 
5364
5385
  def deserialize(params)
@@ -5373,6 +5394,7 @@ module TencentCloud
5373
5394
  end
5374
5395
  @AlgorithmFramework = params['AlgorithmFramework']
5375
5396
  @ModelType = params['ModelType']
5397
+ @ModelFormat = params['ModelFormat']
5376
5398
  end
5377
5399
  end
5378
5400
 
@@ -5518,10 +5540,12 @@ module TencentCloud
5518
5540
  # @type ServiceLimit: :class:`Tencentcloud::Tione.v20211111.models.ServiceLimit`
5519
5541
  # @param VolumeMount: 挂载配置,目前只支持CFS
5520
5542
  # @type VolumeMount: :class:`Tencentcloud::Tione.v20211111.models.VolumeMount`
5543
+ # @param ModelTurboEnable: 是否开启模型的加速, 仅对StableDiffusion(动态加速)格式的模型有效。默认不开启
5544
+ # @type ModelTurboEnable: Boolean
5521
5545
 
5522
- attr_accessor :ServiceId, :ModelInfo, :ImageInfo, :Env, :Resources, :InstanceType, :ScaleMode, :Replicas, :HorizontalPodAutoscaler, :LogEnable, :LogConfig, :ServiceAction, :ServiceDescription, :ScaleStrategy, :CronScaleJobs, :HybridBillingPrepaidReplicas, :ModelHotUpdateEnable, :ScheduledAction, :ServiceLimit, :VolumeMount
5546
+ attr_accessor :ServiceId, :ModelInfo, :ImageInfo, :Env, :Resources, :InstanceType, :ScaleMode, :Replicas, :HorizontalPodAutoscaler, :LogEnable, :LogConfig, :ServiceAction, :ServiceDescription, :ScaleStrategy, :CronScaleJobs, :HybridBillingPrepaidReplicas, :ModelHotUpdateEnable, :ScheduledAction, :ServiceLimit, :VolumeMount, :ModelTurboEnable
5523
5547
 
5524
- 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)
5548
+ 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)
5525
5549
  @ServiceId = serviceid
5526
5550
  @ModelInfo = modelinfo
5527
5551
  @ImageInfo = imageinfo
@@ -5542,6 +5566,7 @@ module TencentCloud
5542
5566
  @ScheduledAction = scheduledaction
5543
5567
  @ServiceLimit = servicelimit
5544
5568
  @VolumeMount = volumemount
5569
+ @ModelTurboEnable = modelturboenable
5545
5570
  end
5546
5571
 
5547
5572
  def deserialize(params)
@@ -5603,6 +5628,7 @@ module TencentCloud
5603
5628
  @VolumeMount = VolumeMount.new
5604
5629
  @VolumeMount.deserialize(params['VolumeMount'])
5605
5630
  end
5631
+ @ModelTurboEnable = params['ModelTurboEnable']
5606
5632
  end
5607
5633
  end
5608
5634
 
@@ -6394,6 +6420,9 @@ module TencentCloud
6394
6420
  # @param ServiceDescription: 服务描述
6395
6421
  # 注意:此字段可能返回 null,表示取不到有效值。
6396
6422
  # @type ServiceDescription: String
6423
+ # @param ServiceInfo: 服务的详细信息
6424
+ # 注意:此字段可能返回 null,表示取不到有效值。
6425
+ # @type ServiceInfo: :class:`Tencentcloud::Tione.v20211111.models.ServiceInfo`
6397
6426
  # @param ClusterId: 集群id
6398
6427
  # 注意:此字段可能返回 null,表示取不到有效值。
6399
6428
  # @type ClusterId: String
@@ -6409,6 +6438,15 @@ module TencentCloud
6409
6438
  # @param ResourceGroupId: 包年包月服务的资源组id,按量计费的服务为空
6410
6439
  # 注意:此字段可能返回 null,表示取不到有效值。
6411
6440
  # @type ResourceGroupId: String
6441
+ # @param ResourceGroupName: 包年包月服务对应的资源组名字
6442
+ # 注意:此字段可能返回 null,表示取不到有效值。
6443
+ # @type ResourceGroupName: String
6444
+ # @param Tags: 服务的标签
6445
+ # 注意:此字段可能返回 null,表示取不到有效值。
6446
+ # @type Tags: Array
6447
+ # @param IngressName: 服务所在的 ingress 的 name
6448
+ # 注意:此字段可能返回 null,表示取不到有效值。
6449
+ # @type IngressName: String
6412
6450
  # @param CreatedBy: 创建者
6413
6451
  # 注意:此字段可能返回 null,表示取不到有效值。
6414
6452
  # @type CreatedBy: String
@@ -6427,26 +6465,18 @@ module TencentCloud
6427
6465
  # @param AppId: app_id
6428
6466
  # 注意:此字段可能返回 null,表示取不到有效值。
6429
6467
  # @type AppId: Integer
6430
- # @param Version: 版本号
6431
- # 注意:此字段可能返回 null,表示取不到有效值。
6432
- # @type Version: String
6433
- # @param LatestVersion: 服务组下服务的最高版本号
6434
- # 注意:此字段可能返回 null,表示取不到有效值。
6435
- # @type LatestVersion: String
6436
- # @param ServiceInfo: 服务的详细信息
6437
- # 注意:此字段可能返回 null,表示取不到有效值。
6438
- # @type ServiceInfo: :class:`Tencentcloud::Tione.v20211111.models.ServiceInfo`
6439
6468
  # @param BusinessStatus: 服务的业务状态
6440
6469
  # 注意:此字段可能返回 null,表示取不到有效值。
6441
6470
  # @type BusinessStatus: String
6442
- # @param CreateSource: 服务的创建来源
6443
- # AUTO_ML: 来自自动学习的一键发布
6444
- # DEFAULT: 其他来源
6471
+ # @param ServiceLimit: 已废弃
6445
6472
  # 注意:此字段可能返回 null,表示取不到有效值。
6446
- # @type CreateSource: String
6447
- # @param BillingInfo: 费用信息
6473
+ # @type ServiceLimit: :class:`Tencentcloud::Tione.v20211111.models.ServiceLimit`
6474
+ # @param ScheduledAction: 已废弃
6448
6475
  # 注意:此字段可能返回 null,表示取不到有效值。
6449
- # @type BillingInfo: String
6476
+ # @type ScheduledAction: :class:`Tencentcloud::Tione.v20211111.models.ScheduledAction`
6477
+ # @param CreateFailedReason: 服务创建失败的原因,创建成功后该字段为默认值 CREATE_SUCCEED
6478
+ # 注意:此字段可能返回 null,表示取不到有效值。
6479
+ # @type CreateFailedReason: String
6450
6480
  # @param Status: 服务状态
6451
6481
  # CREATING 创建中
6452
6482
  # CREATE_FAILED 创建失败
@@ -6458,60 +6488,56 @@ module TencentCloud
6458
6488
  # Waiting 就绪中
6459
6489
  # 注意:此字段可能返回 null,表示取不到有效值。
6460
6490
  # @type Status: String
6491
+ # @param BillingInfo: 费用信息
6492
+ # 注意:此字段可能返回 null,表示取不到有效值。
6493
+ # @type BillingInfo: String
6461
6494
  # @param Weight: 模型权重
6462
6495
  # 注意:此字段可能返回 null,表示取不到有效值。
6463
6496
  # @type Weight: Integer
6464
- # @param IngressName: 服务所在的 ingress 的 name
6465
- # 注意:此字段可能返回 null,表示取不到有效值。
6466
- # @type IngressName: String
6467
- # @param ServiceLimit: 服务限速限流相关配置
6468
- # 注意:此字段可能返回 null,表示取不到有效值。
6469
- # @type ServiceLimit: :class:`Tencentcloud::Tione.v20211111.models.ServiceLimit`
6470
- # @param ScheduledAction: 定时停止的配置
6471
- # 注意:此字段可能返回 null,表示取不到有效值。
6472
- # @type ScheduledAction: :class:`Tencentcloud::Tione.v20211111.models.ScheduledAction`
6473
- # @param CreateFailedReason: 服务创建失败的原因,创建成功后该字段为默认值 CREATE_SUCCEED
6497
+ # @param CreateSource: 服务的创建来源
6498
+ # AUTO_ML: 来自自动学习的一键发布
6499
+ # DEFAULT: 其他来源
6474
6500
  # 注意:此字段可能返回 null,表示取不到有效值。
6475
- # @type CreateFailedReason: String
6476
- # @param ResourceGroupName: 包年包月服务对应的资源组名字
6501
+ # @type CreateSource: String
6502
+ # @param Version: 版本号
6477
6503
  # 注意:此字段可能返回 null,表示取不到有效值。
6478
- # @type ResourceGroupName: String
6479
- # @param Tags: 服务的标签
6504
+ # @type Version: String
6505
+ # @param LatestVersion: 服务组下服务的最高版本号
6480
6506
  # 注意:此字段可能返回 null,表示取不到有效值。
6481
- # @type Tags: Array
6507
+ # @type LatestVersion: String
6482
6508
 
6483
- attr_accessor :ServiceGroupId, :ServiceId, :ServiceGroupName, :ServiceDescription, :ClusterId, :Region, :Namespace, :ChargeType, :ResourceGroupId, :CreatedBy, :CreateTime, :UpdateTime, :Uin, :SubUin, :AppId, :Version, :LatestVersion, :ServiceInfo, :BusinessStatus, :CreateSource, :BillingInfo, :Status, :Weight, :IngressName, :ServiceLimit, :ScheduledAction, :CreateFailedReason, :ResourceGroupName, :Tags
6509
+ 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
6484
6510
 
6485
- def initialize(servicegroupid=nil, serviceid=nil, servicegroupname=nil, servicedescription=nil, clusterid=nil, region=nil, namespace=nil, chargetype=nil, resourcegroupid=nil, createdby=nil, createtime=nil, updatetime=nil, uin=nil, subuin=nil, appid=nil, version=nil, latestversion=nil, serviceinfo=nil, businessstatus=nil, createsource=nil, billinginfo=nil, status=nil, weight=nil, ingressname=nil, servicelimit=nil, scheduledaction=nil, createfailedreason=nil, resourcegroupname=nil, tags=nil)
6511
+ 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)
6486
6512
  @ServiceGroupId = servicegroupid
6487
6513
  @ServiceId = serviceid
6488
6514
  @ServiceGroupName = servicegroupname
6489
6515
  @ServiceDescription = servicedescription
6516
+ @ServiceInfo = serviceinfo
6490
6517
  @ClusterId = clusterid
6491
6518
  @Region = region
6492
6519
  @Namespace = namespace
6493
6520
  @ChargeType = chargetype
6494
6521
  @ResourceGroupId = resourcegroupid
6522
+ @ResourceGroupName = resourcegroupname
6523
+ @Tags = tags
6524
+ @IngressName = ingressname
6495
6525
  @CreatedBy = createdby
6496
6526
  @CreateTime = createtime
6497
6527
  @UpdateTime = updatetime
6498
6528
  @Uin = uin
6499
6529
  @SubUin = subuin
6500
6530
  @AppId = appid
6501
- @Version = version
6502
- @LatestVersion = latestversion
6503
- @ServiceInfo = serviceinfo
6504
6531
  @BusinessStatus = businessstatus
6505
- @CreateSource = createsource
6506
- @BillingInfo = billinginfo
6507
- @Status = status
6508
- @Weight = weight
6509
- @IngressName = ingressname
6510
6532
  @ServiceLimit = servicelimit
6511
6533
  @ScheduledAction = scheduledaction
6512
6534
  @CreateFailedReason = createfailedreason
6513
- @ResourceGroupName = resourcegroupname
6514
- @Tags = tags
6535
+ @Status = status
6536
+ @BillingInfo = billinginfo
6537
+ @Weight = weight
6538
+ @CreateSource = createsource
6539
+ @Version = version
6540
+ @LatestVersion = latestversion
6515
6541
  end
6516
6542
 
6517
6543
  def deserialize(params)
@@ -6519,29 +6545,32 @@ module TencentCloud
6519
6545
  @ServiceId = params['ServiceId']
6520
6546
  @ServiceGroupName = params['ServiceGroupName']
6521
6547
  @ServiceDescription = params['ServiceDescription']
6548
+ unless params['ServiceInfo'].nil?
6549
+ @ServiceInfo = ServiceInfo.new
6550
+ @ServiceInfo.deserialize(params['ServiceInfo'])
6551
+ end
6522
6552
  @ClusterId = params['ClusterId']
6523
6553
  @Region = params['Region']
6524
6554
  @Namespace = params['Namespace']
6525
6555
  @ChargeType = params['ChargeType']
6526
6556
  @ResourceGroupId = params['ResourceGroupId']
6557
+ @ResourceGroupName = params['ResourceGroupName']
6558
+ unless params['Tags'].nil?
6559
+ @Tags = []
6560
+ params['Tags'].each do |i|
6561
+ tag_tmp = Tag.new
6562
+ tag_tmp.deserialize(i)
6563
+ @Tags << tag_tmp
6564
+ end
6565
+ end
6566
+ @IngressName = params['IngressName']
6527
6567
  @CreatedBy = params['CreatedBy']
6528
6568
  @CreateTime = params['CreateTime']
6529
6569
  @UpdateTime = params['UpdateTime']
6530
6570
  @Uin = params['Uin']
6531
6571
  @SubUin = params['SubUin']
6532
6572
  @AppId = params['AppId']
6533
- @Version = params['Version']
6534
- @LatestVersion = params['LatestVersion']
6535
- unless params['ServiceInfo'].nil?
6536
- @ServiceInfo = ServiceInfo.new
6537
- @ServiceInfo.deserialize(params['ServiceInfo'])
6538
- end
6539
6573
  @BusinessStatus = params['BusinessStatus']
6540
- @CreateSource = params['CreateSource']
6541
- @BillingInfo = params['BillingInfo']
6542
- @Status = params['Status']
6543
- @Weight = params['Weight']
6544
- @IngressName = params['IngressName']
6545
6574
  unless params['ServiceLimit'].nil?
6546
6575
  @ServiceLimit = ServiceLimit.new
6547
6576
  @ServiceLimit.deserialize(params['ServiceLimit'])
@@ -6551,15 +6580,12 @@ module TencentCloud
6551
6580
  @ScheduledAction.deserialize(params['ScheduledAction'])
6552
6581
  end
6553
6582
  @CreateFailedReason = params['CreateFailedReason']
6554
- @ResourceGroupName = params['ResourceGroupName']
6555
- unless params['Tags'].nil?
6556
- @Tags = []
6557
- params['Tags'].each do |i|
6558
- tag_tmp = Tag.new
6559
- tag_tmp.deserialize(i)
6560
- @Tags << tag_tmp
6561
- end
6562
- end
6583
+ @Status = params['Status']
6584
+ @BillingInfo = params['BillingInfo']
6585
+ @Weight = params['Weight']
6586
+ @CreateSource = params['CreateSource']
6587
+ @Version = params['Version']
6588
+ @LatestVersion = params['LatestVersion']
6563
6589
  end
6564
6590
  end
6565
6591
 
@@ -6827,32 +6853,35 @@ module TencentCloud
6827
6853
  # @param ModelHotUpdateEnable: 是否开启模型的热更新。默认不开启
6828
6854
  # 注意:此字段可能返回 null,表示取不到有效值。
6829
6855
  # @type ModelHotUpdateEnable: Boolean
6830
- # @param Pods: Pod列表信息
6856
+ # @param ScaleMode: 实例数量调节方式,默认为手动
6857
+ # 支持:自动 - "AUTO", 手动 - "MANUAL"
6831
6858
  # 注意:此字段可能返回 null,表示取不到有效值。
6832
- # @type Pods: :class:`Tencentcloud::Tione.v20211111.models.Pod`
6833
- # @param PodInfos: Pod列表信息
6859
+ # @type ScaleMode: String
6860
+ # @param CronScaleJobs: 定时伸缩任务
6834
6861
  # 注意:此字段可能返回 null,表示取不到有效值。
6835
- # @type PodInfos: Array
6862
+ # @type CronScaleJobs: Array
6836
6863
  # @param ScaleStrategy: 定时伸缩策略
6837
6864
  # 注意:此字段可能返回 null,表示取不到有效值。
6838
6865
  # @type ScaleStrategy: String
6839
- # @param CronScaleJobs: 定时伸缩任务
6866
+ # @param ScheduledAction: 定时停止的配置
6840
6867
  # 注意:此字段可能返回 null,表示取不到有效值。
6841
- # @type CronScaleJobs: Array
6842
- # @param ScaleMode: 实例数量调节方式,默认为手动
6843
- # 支持:自动 - "AUTO", 手动 - "MANUAL"
6868
+ # @type ScheduledAction: String
6869
+ # @param Pods: Pod列表信息
6844
6870
  # 注意:此字段可能返回 null,表示取不到有效值。
6845
- # @type ScaleMode: String
6871
+ # @type Pods: :class:`Tencentcloud::Tione.v20211111.models.Pod`
6872
+ # @param PodInfos: Pod列表信息
6873
+ # 注意:此字段可能返回 null,表示取不到有效值。
6874
+ # @type PodInfos: Array
6846
6875
  # @param ServiceLimit: 服务限速限流相关配置
6847
6876
  # 注意:此字段可能返回 null,表示取不到有效值。
6848
6877
  # @type ServiceLimit: :class:`Tencentcloud::Tione.v20211111.models.ServiceLimit`
6849
- # @param ScheduledAction: 定时停止的配置
6878
+ # @param ModelTurboEnable: 是否开启模型的加速, 仅对StableDiffusion(动态加速)格式的模型有效。
6850
6879
  # 注意:此字段可能返回 null,表示取不到有效值。
6851
- # @type ScheduledAction: String
6880
+ # @type ModelTurboEnable: Boolean
6852
6881
 
6853
- attr_accessor :Replicas, :ImageInfo, :Env, :Resources, :InstanceType, :ModelInfo, :LogEnable, :LogConfig, :AuthorizationEnable, :HorizontalPodAutoscaler, :Status, :Weight, :PodList, :ResourceTotal, :OldReplicas, :HybridBillingPrepaidReplicas, :OldHybridBillingPrepaidReplicas, :ModelHotUpdateEnable, :Pods, :PodInfos, :ScaleStrategy, :CronScaleJobs, :ScaleMode, :ServiceLimit, :ScheduledAction
6882
+ attr_accessor :Replicas, :ImageInfo, :Env, :Resources, :InstanceType, :ModelInfo, :LogEnable, :LogConfig, :AuthorizationEnable, :HorizontalPodAutoscaler, :Status, :Weight, :PodList, :ResourceTotal, :OldReplicas, :HybridBillingPrepaidReplicas, :OldHybridBillingPrepaidReplicas, :ModelHotUpdateEnable, :ScaleMode, :CronScaleJobs, :ScaleStrategy, :ScheduledAction, :Pods, :PodInfos, :ServiceLimit, :ModelTurboEnable
6854
6883
 
6855
- 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, podlist=nil, resourcetotal=nil, oldreplicas=nil, hybridbillingprepaidreplicas=nil, oldhybridbillingprepaidreplicas=nil, modelhotupdateenable=nil, pods=nil, podinfos=nil, scalestrategy=nil, cronscalejobs=nil, scalemode=nil, servicelimit=nil, scheduledaction=nil)
6884
+ 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, podlist=nil, resourcetotal=nil, oldreplicas=nil, hybridbillingprepaidreplicas=nil, oldhybridbillingprepaidreplicas=nil, modelhotupdateenable=nil, scalemode=nil, cronscalejobs=nil, scalestrategy=nil, scheduledaction=nil, pods=nil, podinfos=nil, servicelimit=nil, modelturboenable=nil)
6856
6885
  @Replicas = replicas
6857
6886
  @ImageInfo = imageinfo
6858
6887
  @Env = env
@@ -6871,13 +6900,14 @@ module TencentCloud
6871
6900
  @HybridBillingPrepaidReplicas = hybridbillingprepaidreplicas
6872
6901
  @OldHybridBillingPrepaidReplicas = oldhybridbillingprepaidreplicas
6873
6902
  @ModelHotUpdateEnable = modelhotupdateenable
6903
+ @ScaleMode = scalemode
6904
+ @CronScaleJobs = cronscalejobs
6905
+ @ScaleStrategy = scalestrategy
6906
+ @ScheduledAction = scheduledaction
6874
6907
  @Pods = pods
6875
6908
  @PodInfos = podinfos
6876
- @ScaleStrategy = scalestrategy
6877
- @CronScaleJobs = cronscalejobs
6878
- @ScaleMode = scalemode
6879
6909
  @ServiceLimit = servicelimit
6880
- @ScheduledAction = scheduledaction
6910
+ @ModelTurboEnable = modelturboenable
6881
6911
  end
6882
6912
 
6883
6913
  def deserialize(params)
@@ -6927,6 +6957,17 @@ module TencentCloud
6927
6957
  @HybridBillingPrepaidReplicas = params['HybridBillingPrepaidReplicas']
6928
6958
  @OldHybridBillingPrepaidReplicas = params['OldHybridBillingPrepaidReplicas']
6929
6959
  @ModelHotUpdateEnable = params['ModelHotUpdateEnable']
6960
+ @ScaleMode = params['ScaleMode']
6961
+ unless params['CronScaleJobs'].nil?
6962
+ @CronScaleJobs = []
6963
+ params['CronScaleJobs'].each do |i|
6964
+ cronscalejob_tmp = CronScaleJob.new
6965
+ cronscalejob_tmp.deserialize(i)
6966
+ @CronScaleJobs << cronscalejob_tmp
6967
+ end
6968
+ end
6969
+ @ScaleStrategy = params['ScaleStrategy']
6970
+ @ScheduledAction = params['ScheduledAction']
6930
6971
  unless params['Pods'].nil?
6931
6972
  @Pods = Pod.new
6932
6973
  @Pods.deserialize(params['Pods'])
@@ -6939,21 +6980,11 @@ module TencentCloud
6939
6980
  @PodInfos << pod_tmp
6940
6981
  end
6941
6982
  end
6942
- @ScaleStrategy = params['ScaleStrategy']
6943
- unless params['CronScaleJobs'].nil?
6944
- @CronScaleJobs = []
6945
- params['CronScaleJobs'].each do |i|
6946
- cronscalejob_tmp = CronScaleJob.new
6947
- cronscalejob_tmp.deserialize(i)
6948
- @CronScaleJobs << cronscalejob_tmp
6949
- end
6950
- end
6951
- @ScaleMode = params['ScaleMode']
6952
6983
  unless params['ServiceLimit'].nil?
6953
6984
  @ServiceLimit = ServiceLimit.new
6954
6985
  @ServiceLimit.deserialize(params['ServiceLimit'])
6955
6986
  end
6956
- @ScheduledAction = params['ScheduledAction']
6987
+ @ModelTurboEnable = params['ModelTurboEnable']
6957
6988
  end
6958
6989
  end
6959
6990
 
@@ -8230,10 +8261,13 @@ module TencentCloud
8230
8261
  # @type StatefulSetCondition: Array
8231
8262
  # @param Conditions: 工作负载历史的状况信息
8232
8263
  # @type Conditions: Array
8264
+ # @param Reason: 状态异常时,展示原因
8265
+ # 注意:此字段可能返回 null,表示取不到有效值。
8266
+ # @type Reason: String
8233
8267
 
8234
- attr_accessor :Replicas, :UpdatedReplicas, :ReadyReplicas, :AvailableReplicas, :UnavailableReplicas, :Status, :StatefulSetCondition, :Conditions
8268
+ attr_accessor :Replicas, :UpdatedReplicas, :ReadyReplicas, :AvailableReplicas, :UnavailableReplicas, :Status, :StatefulSetCondition, :Conditions, :Reason
8235
8269
 
8236
- def initialize(replicas=nil, updatedreplicas=nil, readyreplicas=nil, availablereplicas=nil, unavailablereplicas=nil, status=nil, statefulsetcondition=nil, conditions=nil)
8270
+ def initialize(replicas=nil, updatedreplicas=nil, readyreplicas=nil, availablereplicas=nil, unavailablereplicas=nil, status=nil, statefulsetcondition=nil, conditions=nil, reason=nil)
8237
8271
  @Replicas = replicas
8238
8272
  @UpdatedReplicas = updatedreplicas
8239
8273
  @ReadyReplicas = readyreplicas
@@ -8242,6 +8276,7 @@ module TencentCloud
8242
8276
  @Status = status
8243
8277
  @StatefulSetCondition = statefulsetcondition
8244
8278
  @Conditions = conditions
8279
+ @Reason = reason
8245
8280
  end
8246
8281
 
8247
8282
  def deserialize(params)
@@ -8267,6 +8302,7 @@ module TencentCloud
8267
8302
  @Conditions << statefulsetcondition_tmp
8268
8303
  end
8269
8304
  end
8305
+ @Reason = params['Reason']
8270
8306
  end
8271
8307
  end
8272
8308
 
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.613
4
+ version: 3.0.614
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-07-14 00:00:00.000000000 Z
11
+ date: 2023-07-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common