tencentcloud-sdk-tione 3.0.1153 → 3.0.1161

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 9fce13c7b71fbc47d68bcd6a5c6429d4ff4d695a
4
- data.tar.gz: ad4e28b443cc6c797d724234aa2154157ea35e53
3
+ metadata.gz: 9025d9fecc6612fa5bb0efb564383fb0c18859c4
4
+ data.tar.gz: 549cddcbd8bdaeb1cb49de4807303d6cb0ddccd6
5
5
  SHA512:
6
- metadata.gz: d6c1020fc4b134d23a4eb476169f25bf4743510dc9bfeb2c142742eee3b44e4b76b8135f1abcc1455157b0e0d27b2b1fb24923a051875027ede85830f5e792e2
7
- data.tar.gz: b9d2839f14778d23b8c9b00db4f9dda6342715d3465a9e7814bb223ccc3fc9b3ff2566b0a2317c65c69e241746d1d3efea732394cd6baf8a020bad25bbd49137
6
+ metadata.gz: 2edcdef82a189385a5fc78cae36421d308ec279897471fd3273ee8a3667d88ef1542aa9d2687f0d297625fced41de06c5f353b96f32987e9280bf1d5a0c046f8
7
+ data.tar.gz: 271b7d323a58429cc3b850d31765b10383eb96297226df4d81e75e212b683f40fb42a62e3566e09773a0f22e0c975787fe0e9c3ea6da5c49cd5310985e206e7c
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.1153
1
+ 3.0.1161
@@ -80,6 +80,30 @@ module TencentCloud
80
80
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
81
81
  end
82
82
 
83
+ # 创建任务式建模训练任务,Notebook,在线服务和批量预测任务日志下载任务API
84
+
85
+ # @param request: Request instance for CreateExport.
86
+ # @type request: :class:`Tencentcloud::tione::V20211111::CreateExportRequest`
87
+ # @rtype: :class:`Tencentcloud::tione::V20211111::CreateExportResponse`
88
+ def CreateExport(request)
89
+ body = send_request('CreateExport', request.serialize)
90
+ response = JSON.parse(body)
91
+ if response['Response'].key?('Error') == false
92
+ model = CreateExportResponse.new
93
+ model.deserialize(response['Response'])
94
+ model
95
+ else
96
+ code = response['Response']['Error']['Code']
97
+ message = response['Response']['Error']['Message']
98
+ reqid = response['Response']['RequestId']
99
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
100
+ end
101
+ rescue TencentCloud::Common::TencentCloudSDKException => e
102
+ raise e
103
+ rescue StandardError => e
104
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
105
+ end
106
+
83
107
  # 用于创建、发布一个新的模型服务
84
108
 
85
109
  # @param request: Request instance for CreateModelService.
@@ -248,6 +272,30 @@ module TencentCloud
248
272
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
249
273
  end
250
274
 
275
+ # 删除任务式建模训练任务,Notebook,在线服务和批量预测任务日志导出任务API
276
+
277
+ # @param request: Request instance for DeleteExport.
278
+ # @type request: :class:`Tencentcloud::tione::V20211111::DeleteExportRequest`
279
+ # @rtype: :class:`Tencentcloud::tione::V20211111::DeleteExportResponse`
280
+ def DeleteExport(request)
281
+ body = send_request('DeleteExport', request.serialize)
282
+ response = JSON.parse(body)
283
+ if response['Response'].key?('Error') == false
284
+ model = DeleteExportResponse.new
285
+ model.deserialize(response['Response'])
286
+ model
287
+ else
288
+ code = response['Response']['Error']['Code']
289
+ message = response['Response']['Error']['Message']
290
+ reqid = response['Response']['RequestId']
291
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
292
+ end
293
+ rescue TencentCloud::Common::TencentCloudSDKException => e
294
+ raise e
295
+ rescue StandardError => e
296
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
297
+ end
298
+
251
299
  # 根据服务id删除模型服务
252
300
 
253
301
  # @param request: Request instance for DeleteModelService.
@@ -608,6 +656,30 @@ module TencentCloud
608
656
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
609
657
  end
610
658
 
659
+ # 查看任务式建模训练任务,Notebook,在线服务和批量预测任务日志下载任务状态API
660
+
661
+ # @param request: Request instance for DescribeExport.
662
+ # @type request: :class:`Tencentcloud::tione::V20211111::DescribeExportRequest`
663
+ # @rtype: :class:`Tencentcloud::tione::V20211111::DescribeExportResponse`
664
+ def DescribeExport(request)
665
+ body = send_request('DescribeExport', request.serialize)
666
+ response = JSON.parse(body)
667
+ if response['Response'].key?('Error') == false
668
+ model = DescribeExportResponse.new
669
+ model.deserialize(response['Response'])
670
+ model
671
+ else
672
+ code = response['Response']['Error']['Code']
673
+ message = response['Response']['Error']['Message']
674
+ reqid = response['Response']['RequestId']
675
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
676
+ end
677
+ rescue TencentCloud::Common::TencentCloudSDKException => e
678
+ raise e
679
+ rescue StandardError => e
680
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
681
+ end
682
+
611
683
  # 已废弃,收敛到统一接口
612
684
 
613
685
  # 查询推理镜像模板
@@ -562,6 +562,78 @@ module TencentCloud
562
562
  end
563
563
  end
564
564
 
565
+ # CreateExport请求参数结构体
566
+ class CreateExportRequest < TencentCloud::Common::AbstractModel
567
+ # @param Service: 服务类型,TRAIN为任务式建模, NOTEBOOK为Notebook, INFER为在线服务, BATCH为批量预测枚举值:- TRAIN- NOTEBOOK- INFER- BATCH
568
+ # @type Service: String
569
+ # @param ServiceId: 服务ID,和Service参数对应,不同Service的服务ID获取方式不同,具体如下:- Service类型为TRAIN: 调用[DescribeTrainingTask接口](/document/product/851/75089)查询训练任务详情,ServiceId为接口返回值中Response.TrainingTaskDetail.LatestInstanceId- Service类型为NOTEBOOK: 调用[DescribeNotebook接口](/document/product/851/95662)查询Notebook详情,ServiceId为接口返回值中Response.NotebookDetail.PodName- Service类型为INFER: 调用[DescribeModelServiceGroup接口](/document/product/851/82285)查询服务组详情,ServiceId为接口返回值中Response.ServiceGroup.Services.ServiceId- Service类型为BATCH: 调用[DescribeBatchTask接口](/document/product/851/80180)查询跑批任务详情,ServiceId为接口返回值中Response.BatchTaskDetail.LatestInstanceId
570
+ # @type ServiceId: String
571
+ # @param StartTime: 日志查询开始时间(RFC3339格式的时间字符串),默认值为当前时间的前一个小时
572
+ # @type StartTime: String
573
+ # @param EndTime: 日志查询结束时间(RFC3339格式的时间字符串),开始时间和结束时间必须同时填或同时不填,默认值为当前时间
574
+ # @type EndTime: String
575
+ # @param Format: 日志导出数据格式。json,csv,默认为csv
576
+ # @type Format: String
577
+ # @param PodName: Pod的名称,即需要查询服务对应的Pod,和Service参数对应,不同Service的PodName获取方式不同,具体如下:- Service类型为TRAIN: 调用[DescribeTrainingTaskPods接口](/document/product/851/75088)查询训练任务pod列表,PodName为接口返回值中Response.PodNames- Service类型为NOTEBOOK: 调用[DescribeNotebook接口](/document/product/851/95662)查询Notebook详情,PodName为接口返回值中Response.NotebookDetail.PodName- Service类型为INFER: 调用[DescribeModelService接口](/document/product/851/82287)查询单个服务详情,PodName为接口返回值中Response.Service.ServiceInfo.PodInfos- Service类型为BATCH: 调用[DescribeBatchTask接口](/document/product/851/80180)查询跑批任务详情,PodName为接口返回值中Response.BatchTaskDetail. PodList注:支持结尾通配符*
578
+ # @type PodName: String
579
+ # @param JobCategory: 描述任务的类型
580
+ # @type JobCategory: String
581
+ # @param InstanceType: 实例的类型
582
+ # @type InstanceType: String
583
+ # @param InstanceId: 查实例Id
584
+ # @type InstanceId: String
585
+ # @param Type: 日志类型: PLATFORM_INIT, PLATFORM_SANITY_CHECK, USER
586
+ # @type Type: String
587
+
588
+ attr_accessor :Service, :ServiceId, :StartTime, :EndTime, :Format, :PodName, :JobCategory, :InstanceType, :InstanceId, :Type
589
+
590
+ def initialize(service=nil, serviceid=nil, starttime=nil, endtime=nil, format=nil, podname=nil, jobcategory=nil, instancetype=nil, instanceid=nil, type=nil)
591
+ @Service = service
592
+ @ServiceId = serviceid
593
+ @StartTime = starttime
594
+ @EndTime = endtime
595
+ @Format = format
596
+ @PodName = podname
597
+ @JobCategory = jobcategory
598
+ @InstanceType = instancetype
599
+ @InstanceId = instanceid
600
+ @Type = type
601
+ end
602
+
603
+ def deserialize(params)
604
+ @Service = params['Service']
605
+ @ServiceId = params['ServiceId']
606
+ @StartTime = params['StartTime']
607
+ @EndTime = params['EndTime']
608
+ @Format = params['Format']
609
+ @PodName = params['PodName']
610
+ @JobCategory = params['JobCategory']
611
+ @InstanceType = params['InstanceType']
612
+ @InstanceId = params['InstanceId']
613
+ @Type = params['Type']
614
+ end
615
+ end
616
+
617
+ # CreateExport返回参数结构体
618
+ class CreateExportResponse < TencentCloud::Common::AbstractModel
619
+ # @param ExportId: 日志下载任务的ID
620
+ # @type ExportId: String
621
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
622
+ # @type RequestId: String
623
+
624
+ attr_accessor :ExportId, :RequestId
625
+
626
+ def initialize(exportid=nil, requestid=nil)
627
+ @ExportId = exportid
628
+ @RequestId = requestid
629
+ end
630
+
631
+ def deserialize(params)
632
+ @ExportId = params['ExportId']
633
+ @RequestId = params['RequestId']
634
+ end
635
+ end
636
+
565
637
  # CreateModelServiceAuthToken请求参数结构体
566
638
  class CreateModelServiceAuthTokenRequest < TencentCloud::Common::AbstractModel
567
639
  # @param ServiceGroupId: 服务组 id
@@ -2106,6 +2178,38 @@ module TencentCloud
2106
2178
  end
2107
2179
  end
2108
2180
 
2181
+ # DeleteExport请求参数结构体
2182
+ class DeleteExportRequest < TencentCloud::Common::AbstractModel
2183
+ # @param ExportId: 日志下载任务的ID
2184
+ # @type ExportId: String
2185
+
2186
+ attr_accessor :ExportId
2187
+
2188
+ def initialize(exportid=nil)
2189
+ @ExportId = exportid
2190
+ end
2191
+
2192
+ def deserialize(params)
2193
+ @ExportId = params['ExportId']
2194
+ end
2195
+ end
2196
+
2197
+ # DeleteExport返回参数结构体
2198
+ class DeleteExportResponse < TencentCloud::Common::AbstractModel
2199
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2200
+ # @type RequestId: String
2201
+
2202
+ attr_accessor :RequestId
2203
+
2204
+ def initialize(requestid=nil)
2205
+ @RequestId = requestid
2206
+ end
2207
+
2208
+ def deserialize(params)
2209
+ @RequestId = params['RequestId']
2210
+ end
2211
+ end
2212
+
2109
2213
  # DeleteModelServiceAuthToken请求参数结构体
2110
2214
  class DeleteModelServiceAuthTokenRequest < TencentCloud::Common::AbstractModel
2111
2215
  # @param ServiceGroupId: 服务组 id
@@ -2939,6 +3043,62 @@ module TencentCloud
2939
3043
  end
2940
3044
  end
2941
3045
 
3046
+ # DescribeExport请求参数结构体
3047
+ class DescribeExportRequest < TencentCloud::Common::AbstractModel
3048
+ # @param ExportId: 日志下载任务的ID
3049
+ # @type ExportId: String
3050
+
3051
+ attr_accessor :ExportId
3052
+
3053
+ def initialize(exportid=nil)
3054
+ @ExportId = exportid
3055
+ end
3056
+
3057
+ def deserialize(params)
3058
+ @ExportId = params['ExportId']
3059
+ end
3060
+ end
3061
+
3062
+ # DescribeExport返回参数结构体
3063
+ class DescribeExportResponse < TencentCloud::Common::AbstractModel
3064
+ # @param ExportId: 日志下载任务的ID
3065
+ # @type ExportId: String
3066
+ # @param FileName: 日志下载文件名
3067
+ # @type FileName: String
3068
+ # @param CosPath: 日志导出路径,有效期一个小时,请尽快使用该路径下载。
3069
+ # @type CosPath: String
3070
+ # @param CreateTime: 下载任务创建时间
3071
+ # @type CreateTime: String
3072
+ # @param FileSize: 日志文件大小
3073
+ # @type FileSize: String
3074
+ # @param Status: 日志下载状态。Processing:导出正在进行中,Completed:导出完成,Failed:导出失败,Expired:日志导出已过期(三天有效期), Queuing 排队中
3075
+ # @type Status: String
3076
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
3077
+ # @type RequestId: String
3078
+
3079
+ attr_accessor :ExportId, :FileName, :CosPath, :CreateTime, :FileSize, :Status, :RequestId
3080
+
3081
+ def initialize(exportid=nil, filename=nil, cospath=nil, createtime=nil, filesize=nil, status=nil, requestid=nil)
3082
+ @ExportId = exportid
3083
+ @FileName = filename
3084
+ @CosPath = cospath
3085
+ @CreateTime = createtime
3086
+ @FileSize = filesize
3087
+ @Status = status
3088
+ @RequestId = requestid
3089
+ end
3090
+
3091
+ def deserialize(params)
3092
+ @ExportId = params['ExportId']
3093
+ @FileName = params['FileName']
3094
+ @CosPath = params['CosPath']
3095
+ @CreateTime = params['CreateTime']
3096
+ @FileSize = params['FileSize']
3097
+ @Status = params['Status']
3098
+ @RequestId = params['RequestId']
3099
+ end
3100
+ end
3101
+
2942
3102
  # DescribeInferTemplates请求参数结构体
2943
3103
  class DescribeInferTemplatesRequest < TencentCloud::Common::AbstractModel
2944
3104
 
@@ -6486,8 +6646,8 @@ module TencentCloud
6486
6646
 
6487
6647
  attr_accessor :Name, :Uid, :ChargeType, :Phase, :IP, :CreateTime, :Containers, :ContainerInfos, :CrossTenantENIInfo, :Status, :StartScheduleTime, :Message, :NodeIP, :NodeId, :ResourceGroupId, :ResourceGroupName, :ResourceInfo
6488
6648
  extend Gem::Deprecate
6489
- deprecate :Containers, :none, 2025, 10
6490
- deprecate :Containers=, :none, 2025, 10
6649
+ deprecate :Containers, :none, 2025, 11
6650
+ deprecate :Containers=, :none, 2025, 11
6491
6651
 
6492
6652
  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)
6493
6653
  @Name = name
@@ -7371,10 +7531,10 @@ module TencentCloud
7371
7531
 
7372
7532
  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
7373
7533
  extend Gem::Deprecate
7374
- deprecate :ServiceLimit, :none, 2025, 10
7375
- deprecate :ServiceLimit=, :none, 2025, 10
7376
- deprecate :ScheduledAction, :none, 2025, 10
7377
- deprecate :ScheduledAction=, :none, 2025, 10
7534
+ deprecate :ServiceLimit, :none, 2025, 11
7535
+ deprecate :ServiceLimit=, :none, 2025, 11
7536
+ deprecate :ScheduledAction, :none, 2025, 11
7537
+ deprecate :ScheduledAction=, :none, 2025, 11
7378
7538
 
7379
7539
  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)
7380
7540
  @ServiceGroupId = servicegroupid
@@ -7920,10 +8080,10 @@ module TencentCloud
7920
8080
 
7921
8081
  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
7922
8082
  extend Gem::Deprecate
7923
- deprecate :PodList, :none, 2025, 10
7924
- deprecate :PodList=, :none, 2025, 10
7925
- deprecate :Pods, :none, 2025, 10
7926
- deprecate :Pods=, :none, 2025, 10
8083
+ deprecate :PodList, :none, 2025, 11
8084
+ deprecate :PodList=, :none, 2025, 11
8085
+ deprecate :Pods, :none, 2025, 11
8086
+ deprecate :Pods=, :none, 2025, 11
7927
8087
 
7928
8088
  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)
7929
8089
  @Replicas = replicas
@@ -9193,8 +9353,8 @@ module TencentCloud
9193
9353
 
9194
9354
  attr_accessor :Replicas, :UpdatedReplicas, :ReadyReplicas, :AvailableReplicas, :UnavailableReplicas, :Status, :StatefulSetCondition, :Conditions, :Reason
9195
9355
  extend Gem::Deprecate
9196
- deprecate :StatefulSetCondition, :none, 2025, 10
9197
- deprecate :StatefulSetCondition=, :none, 2025, 10
9356
+ deprecate :StatefulSetCondition, :none, 2025, 11
9357
+ deprecate :StatefulSetCondition=, :none, 2025, 11
9198
9358
 
9199
9359
  def initialize(replicas=nil, updatedreplicas=nil, readyreplicas=nil, availablereplicas=nil, unavailablereplicas=nil, status=nil, statefulsetcondition=nil, conditions=nil, reason=nil)
9200
9360
  @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.1153
4
+ version: 3.0.1161
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-10-15 00:00:00.000000000 Z
11
+ date: 2025-11-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common
@@ -34,10 +34,10 @@ extensions: []
34
34
  extra_rdoc_files: []
35
35
  files:
36
36
  - lib/tencentcloud-sdk-tione.rb
37
- - lib/v20191022/models.rb
38
37
  - lib/v20191022/client.rb
39
- - lib/v20211111/models.rb
38
+ - lib/v20191022/models.rb
40
39
  - lib/v20211111/client.rb
40
+ - lib/v20211111/models.rb
41
41
  - lib/VERSION
42
42
  homepage: https://github.com/TencentCloud/tencentcloud-sdk-ruby
43
43
  licenses: