tencentcloud-sdk-tione 3.0.1089 → 3.0.1092
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/client.rb +24 -0
- data/lib/v20211111/models.rb +197 -13
- 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: 259ecb33a3ee5e16b74607b940ea76d4113d679f
|
4
|
+
data.tar.gz: 55904c8ca54fcdeacc9e5e6014d56d208448fa19
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 79d2b16019cebf25a10de2f2409b6ddad0deebf0b33a49a8735e85a968e44d8473f510f66be360834121f68eab7a4131034a5f990e5cddd9a33aad5227f18204
|
7
|
+
data.tar.gz: 9d097daffcf7eb240d1d7dcbd172c9dd4b7ae10a09b565cb4a39b649a30e1a7f5cb56f3cf49366fe2b943e8d3a4b6ab20edc73ff22877b809968019c719cccb1
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.1092
|
data/lib/v20211111/client.rb
CHANGED
@@ -874,6 +874,30 @@ module TencentCloud
|
|
874
874
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
875
875
|
end
|
876
876
|
|
877
|
+
# 查询平台镜像信息
|
878
|
+
|
879
|
+
# @param request: Request instance for DescribePlatformImages.
|
880
|
+
# @type request: :class:`Tencentcloud::tione::V20211111::DescribePlatformImagesRequest`
|
881
|
+
# @rtype: :class:`Tencentcloud::tione::V20211111::DescribePlatformImagesResponse`
|
882
|
+
def DescribePlatformImages(request)
|
883
|
+
body = send_request('DescribePlatformImages', request.serialize)
|
884
|
+
response = JSON.parse(body)
|
885
|
+
if response['Response'].key?('Error') == false
|
886
|
+
model = DescribePlatformImagesResponse.new
|
887
|
+
model.deserialize(response['Response'])
|
888
|
+
model
|
889
|
+
else
|
890
|
+
code = response['Response']['Error']['Code']
|
891
|
+
message = response['Response']['Error']['Message']
|
892
|
+
reqid = response['Response']['RequestId']
|
893
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
894
|
+
end
|
895
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
896
|
+
raise e
|
897
|
+
rescue StandardError => e
|
898
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
899
|
+
end
|
900
|
+
|
877
901
|
# 查询模型版本
|
878
902
|
|
879
903
|
# @param request: Request instance for DescribeTrainingModelVersion.
|
data/lib/v20211111/models.rb
CHANGED
@@ -17,6 +17,38 @@
|
|
17
17
|
module TencentCloud
|
18
18
|
module Tione
|
19
19
|
module V20211111
|
20
|
+
# 镜像属性
|
21
|
+
class Attribute < TencentCloud::Common::AbstractModel
|
22
|
+
# @param Type: 为‘List’时属性值取Values 否则取Value
|
23
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
24
|
+
# @type Type: String
|
25
|
+
# @param Key: 属性key
|
26
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
27
|
+
# @type Key: String
|
28
|
+
# @param Value: 属性值
|
29
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
30
|
+
# @type Value: String
|
31
|
+
# @param Values: 属性值列表
|
32
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
33
|
+
# @type Values: Array
|
34
|
+
|
35
|
+
attr_accessor :Type, :Key, :Value, :Values
|
36
|
+
|
37
|
+
def initialize(type=nil, key=nil, value=nil, values=nil)
|
38
|
+
@Type = type
|
39
|
+
@Key = key
|
40
|
+
@Value = value
|
41
|
+
@Values = values
|
42
|
+
end
|
43
|
+
|
44
|
+
def deserialize(params)
|
45
|
+
@Type = params['Type']
|
46
|
+
@Key = params['Key']
|
47
|
+
@Value = params['Value']
|
48
|
+
@Values = params['Values']
|
49
|
+
end
|
50
|
+
end
|
51
|
+
|
20
52
|
# 在线服务的 AuthToken 数据
|
21
53
|
class AuthToken < TencentCloud::Common::AbstractModel
|
22
54
|
# @param Base: AuthToken 基础信息
|
@@ -3631,6 +3663,68 @@ module TencentCloud
|
|
3631
3663
|
end
|
3632
3664
|
end
|
3633
3665
|
|
3666
|
+
# DescribePlatformImages请求参数结构体
|
3667
|
+
class DescribePlatformImagesRequest < TencentCloud::Common::AbstractModel
|
3668
|
+
# @param Filters: 过滤器, Name支持ImageId/ImageName/SupportDataPipeline/AllowSaveAllContent/ImageRange,其中ImageRange支持枚举值Train,Inference,Notebook
|
3669
|
+
# @type Filters: Array
|
3670
|
+
# @param Offset: 偏移信息
|
3671
|
+
# @type Offset: Integer
|
3672
|
+
# @param Limit: 返回数量, 默认100
|
3673
|
+
# @type Limit: Integer
|
3674
|
+
|
3675
|
+
attr_accessor :Filters, :Offset, :Limit
|
3676
|
+
|
3677
|
+
def initialize(filters=nil, offset=nil, limit=nil)
|
3678
|
+
@Filters = filters
|
3679
|
+
@Offset = offset
|
3680
|
+
@Limit = limit
|
3681
|
+
end
|
3682
|
+
|
3683
|
+
def deserialize(params)
|
3684
|
+
unless params['Filters'].nil?
|
3685
|
+
@Filters = []
|
3686
|
+
params['Filters'].each do |i|
|
3687
|
+
filter_tmp = Filter.new
|
3688
|
+
filter_tmp.deserialize(i)
|
3689
|
+
@Filters << filter_tmp
|
3690
|
+
end
|
3691
|
+
end
|
3692
|
+
@Offset = params['Offset']
|
3693
|
+
@Limit = params['Limit']
|
3694
|
+
end
|
3695
|
+
end
|
3696
|
+
|
3697
|
+
# DescribePlatformImages返回参数结构体
|
3698
|
+
class DescribePlatformImagesResponse < TencentCloud::Common::AbstractModel
|
3699
|
+
# @param TotalCount: 数量
|
3700
|
+
# @type TotalCount: Integer
|
3701
|
+
# @param PlatformImageInfos: 镜像列表
|
3702
|
+
# @type PlatformImageInfos: Array
|
3703
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
3704
|
+
# @type RequestId: String
|
3705
|
+
|
3706
|
+
attr_accessor :TotalCount, :PlatformImageInfos, :RequestId
|
3707
|
+
|
3708
|
+
def initialize(totalcount=nil, platformimageinfos=nil, requestid=nil)
|
3709
|
+
@TotalCount = totalcount
|
3710
|
+
@PlatformImageInfos = platformimageinfos
|
3711
|
+
@RequestId = requestid
|
3712
|
+
end
|
3713
|
+
|
3714
|
+
def deserialize(params)
|
3715
|
+
@TotalCount = params['TotalCount']
|
3716
|
+
unless params['PlatformImageInfos'].nil?
|
3717
|
+
@PlatformImageInfos = []
|
3718
|
+
params['PlatformImageInfos'].each do |i|
|
3719
|
+
platformimageinfo_tmp = PlatformImageInfo.new
|
3720
|
+
platformimageinfo_tmp.deserialize(i)
|
3721
|
+
@PlatformImageInfos << platformimageinfo_tmp
|
3722
|
+
end
|
3723
|
+
end
|
3724
|
+
@RequestId = params['RequestId']
|
3725
|
+
end
|
3726
|
+
end
|
3727
|
+
|
3634
3728
|
# DescribeTrainingModelVersion请求参数结构体
|
3635
3729
|
class DescribeTrainingModelVersionRequest < TencentCloud::Common::AbstractModel
|
3636
3730
|
# @param TrainingModelVersionId: 模型版本ID
|
@@ -4593,9 +4687,10 @@ module TencentCloud
|
|
4593
4687
|
# DEPLOYING: 部署中
|
4594
4688
|
# RUNNING: 运行中
|
4595
4689
|
# DEPLOY_FAILED: 部署失败
|
4596
|
-
#
|
4690
|
+
# RELEASING 释放中
|
4597
4691
|
# RELEASED:已释放
|
4598
4692
|
# EXCEPTION:异常
|
4693
|
+
# DEBT_OR_EXPIRED: 欠费过期
|
4599
4694
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
4600
4695
|
# @type InstanceStatus: String
|
4601
4696
|
# @param SubUin: 创建人
|
@@ -6213,6 +6308,95 @@ module TencentCloud
|
|
6213
6308
|
end
|
6214
6309
|
end
|
6215
6310
|
|
6311
|
+
# 平台镜像信息详情
|
6312
|
+
class PlatformImageInfo < TencentCloud::Common::AbstractModel
|
6313
|
+
# @param Framework: 框架名
|
6314
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6315
|
+
# @type Framework: String
|
6316
|
+
# @param ImageType: 镜像类型: ccr or tcr
|
6317
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6318
|
+
# @type ImageType: String
|
6319
|
+
# @param ImageUrl: 镜像地址
|
6320
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6321
|
+
# @type ImageUrl: String
|
6322
|
+
# @param RegistryRegion: TCR镜像示例所属地域
|
6323
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6324
|
+
# @type RegistryRegion: String
|
6325
|
+
# @param RegistryId: TCR镜像所属实例ID
|
6326
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6327
|
+
# @type RegistryId: String
|
6328
|
+
# @param ImageName: 镜像名称
|
6329
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6330
|
+
# @type ImageName: String
|
6331
|
+
# @param ImageId: 镜像Id
|
6332
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6333
|
+
# @type ImageId: String
|
6334
|
+
# @param FrameworkVersion: 框架版本
|
6335
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6336
|
+
# @type FrameworkVersion: String
|
6337
|
+
# @param SupportGpuList: 支持的gpu列表
|
6338
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6339
|
+
# @type SupportGpuList: Array
|
6340
|
+
# @param Description: 描述信息
|
6341
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6342
|
+
# @type Description: String
|
6343
|
+
# @param ExtraAttributes: 业务属性
|
6344
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6345
|
+
# @type ExtraAttributes: Array
|
6346
|
+
# @param ImageRange: 镜像适用场景Train/Inference/Notebook
|
6347
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6348
|
+
# @type ImageRange: Array
|
6349
|
+
# @param SupportDistributedDeploy: 是否支持分布式部署
|
6350
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6351
|
+
# @type SupportDistributedDeploy: Boolean
|
6352
|
+
# @param RegionScope: 支持的地域 all(所有地域)/autonomous(自动驾驶地域)/general(通用地域)
|
6353
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6354
|
+
# @type RegionScope: String
|
6355
|
+
|
6356
|
+
attr_accessor :Framework, :ImageType, :ImageUrl, :RegistryRegion, :RegistryId, :ImageName, :ImageId, :FrameworkVersion, :SupportGpuList, :Description, :ExtraAttributes, :ImageRange, :SupportDistributedDeploy, :RegionScope
|
6357
|
+
|
6358
|
+
def initialize(framework=nil, imagetype=nil, imageurl=nil, registryregion=nil, registryid=nil, imagename=nil, imageid=nil, frameworkversion=nil, supportgpulist=nil, description=nil, extraattributes=nil, imagerange=nil, supportdistributeddeploy=nil, regionscope=nil)
|
6359
|
+
@Framework = framework
|
6360
|
+
@ImageType = imagetype
|
6361
|
+
@ImageUrl = imageurl
|
6362
|
+
@RegistryRegion = registryregion
|
6363
|
+
@RegistryId = registryid
|
6364
|
+
@ImageName = imagename
|
6365
|
+
@ImageId = imageid
|
6366
|
+
@FrameworkVersion = frameworkversion
|
6367
|
+
@SupportGpuList = supportgpulist
|
6368
|
+
@Description = description
|
6369
|
+
@ExtraAttributes = extraattributes
|
6370
|
+
@ImageRange = imagerange
|
6371
|
+
@SupportDistributedDeploy = supportdistributeddeploy
|
6372
|
+
@RegionScope = regionscope
|
6373
|
+
end
|
6374
|
+
|
6375
|
+
def deserialize(params)
|
6376
|
+
@Framework = params['Framework']
|
6377
|
+
@ImageType = params['ImageType']
|
6378
|
+
@ImageUrl = params['ImageUrl']
|
6379
|
+
@RegistryRegion = params['RegistryRegion']
|
6380
|
+
@RegistryId = params['RegistryId']
|
6381
|
+
@ImageName = params['ImageName']
|
6382
|
+
@ImageId = params['ImageId']
|
6383
|
+
@FrameworkVersion = params['FrameworkVersion']
|
6384
|
+
@SupportGpuList = params['SupportGpuList']
|
6385
|
+
@Description = params['Description']
|
6386
|
+
unless params['ExtraAttributes'].nil?
|
6387
|
+
@ExtraAttributes = []
|
6388
|
+
params['ExtraAttributes'].each do |i|
|
6389
|
+
attribute_tmp = Attribute.new
|
6390
|
+
attribute_tmp.deserialize(i)
|
6391
|
+
@ExtraAttributes << attribute_tmp
|
6392
|
+
end
|
6393
|
+
end
|
6394
|
+
@ImageRange = params['ImageRange']
|
6395
|
+
@SupportDistributedDeploy = params['SupportDistributedDeploy']
|
6396
|
+
@RegionScope = params['RegionScope']
|
6397
|
+
end
|
6398
|
+
end
|
6399
|
+
|
6216
6400
|
# Pod信息展示
|
6217
6401
|
class Pod < TencentCloud::Common::AbstractModel
|
6218
6402
|
# @param Name: pod名
|
@@ -6253,8 +6437,8 @@ module TencentCloud
|
|
6253
6437
|
|
6254
6438
|
attr_accessor :Name, :Uid, :ChargeType, :Phase, :IP, :CreateTime, :Containers, :ContainerInfos, :CrossTenantENIInfo, :Status, :StartScheduleTime, :Message, :NodeIP
|
6255
6439
|
extend Gem::Deprecate
|
6256
|
-
deprecate :Containers, :none, 2025,
|
6257
|
-
deprecate :Containers=, :none, 2025,
|
6440
|
+
deprecate :Containers, :none, 2025, 7
|
6441
|
+
deprecate :Containers=, :none, 2025, 7
|
6258
6442
|
|
6259
6443
|
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)
|
6260
6444
|
@Name = name
|
@@ -7033,10 +7217,10 @@ module TencentCloud
|
|
7033
7217
|
|
7034
7218
|
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
|
7035
7219
|
extend Gem::Deprecate
|
7036
|
-
deprecate :ServiceLimit, :none, 2025,
|
7037
|
-
deprecate :ServiceLimit=, :none, 2025,
|
7038
|
-
deprecate :ScheduledAction, :none, 2025,
|
7039
|
-
deprecate :ScheduledAction=, :none, 2025,
|
7220
|
+
deprecate :ServiceLimit, :none, 2025, 7
|
7221
|
+
deprecate :ServiceLimit=, :none, 2025, 7
|
7222
|
+
deprecate :ScheduledAction, :none, 2025, 7
|
7223
|
+
deprecate :ScheduledAction=, :none, 2025, 7
|
7040
7224
|
|
7041
7225
|
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)
|
7042
7226
|
@ServiceGroupId = servicegroupid
|
@@ -7562,10 +7746,10 @@ module TencentCloud
|
|
7562
7746
|
|
7563
7747
|
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
|
7564
7748
|
extend Gem::Deprecate
|
7565
|
-
deprecate :PodList, :none, 2025,
|
7566
|
-
deprecate :PodList=, :none, 2025,
|
7567
|
-
deprecate :Pods, :none, 2025,
|
7568
|
-
deprecate :Pods=, :none, 2025,
|
7749
|
+
deprecate :PodList, :none, 2025, 7
|
7750
|
+
deprecate :PodList=, :none, 2025, 7
|
7751
|
+
deprecate :Pods, :none, 2025, 7
|
7752
|
+
deprecate :Pods=, :none, 2025, 7
|
7569
7753
|
|
7570
7754
|
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)
|
7571
7755
|
@Replicas = replicas
|
@@ -8819,8 +9003,8 @@ module TencentCloud
|
|
8819
9003
|
|
8820
9004
|
attr_accessor :Replicas, :UpdatedReplicas, :ReadyReplicas, :AvailableReplicas, :UnavailableReplicas, :Status, :StatefulSetCondition, :Conditions, :Reason
|
8821
9005
|
extend Gem::Deprecate
|
8822
|
-
deprecate :StatefulSetCondition, :none, 2025,
|
8823
|
-
deprecate :StatefulSetCondition=, :none, 2025,
|
9006
|
+
deprecate :StatefulSetCondition, :none, 2025, 7
|
9007
|
+
deprecate :StatefulSetCondition=, :none, 2025, 7
|
8824
9008
|
|
8825
9009
|
def initialize(replicas=nil, updatedreplicas=nil, readyreplicas=nil, availablereplicas=nil, unavailablereplicas=nil, status=nil, statefulsetcondition=nil, conditions=nil, reason=nil)
|
8826
9010
|
@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.1092
|
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-07-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|