tencentcloud-sdk-tione 3.0.1143 → 3.0.1160
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 +72 -0
- data/lib/v20211111/models.rb +106 -12
- metadata +4 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: fd1dd4cd9fecb9c2d1512d4e1275ecae64cd353b
|
|
4
|
+
data.tar.gz: 5950af2db7ff46b6a91bf894a0ac9e40cafe4dd7
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 28bf0868e0dbdfef111dc19aa65ecaa4db7e7f5ca70f342568dfa591bca39d47364ca5f3e360dc3d912860a30e8375bd53f98bd439d43e8e376b327d5f413db8
|
|
7
|
+
data.tar.gz: 944eeb7fcdc656e98741f7ac3329717b501853399e4e6f5a14ca4f52946e99d86abf06a2e5bc6ed09258f1c4021ef154a5a961f95f67cb1ca8fa46096f3c63d7
|
data/lib/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
3.0.
|
|
1
|
+
3.0.1160
|
data/lib/v20211111/client.rb
CHANGED
|
@@ -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
|
# 查询推理镜像模板
|
data/lib/v20211111/models.rb
CHANGED
|
@@ -562,6 +562,33 @@ module TencentCloud
|
|
|
562
562
|
end
|
|
563
563
|
end
|
|
564
564
|
|
|
565
|
+
# CreateExport请求参数结构体
|
|
566
|
+
class CreateExportRequest < TencentCloud::Common::AbstractModel
|
|
567
|
+
|
|
568
|
+
|
|
569
|
+
def initialize()
|
|
570
|
+
end
|
|
571
|
+
|
|
572
|
+
def deserialize(params)
|
|
573
|
+
end
|
|
574
|
+
end
|
|
575
|
+
|
|
576
|
+
# CreateExport返回参数结构体
|
|
577
|
+
class CreateExportResponse < TencentCloud::Common::AbstractModel
|
|
578
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
579
|
+
# @type RequestId: String
|
|
580
|
+
|
|
581
|
+
attr_accessor :RequestId
|
|
582
|
+
|
|
583
|
+
def initialize(requestid=nil)
|
|
584
|
+
@RequestId = requestid
|
|
585
|
+
end
|
|
586
|
+
|
|
587
|
+
def deserialize(params)
|
|
588
|
+
@RequestId = params['RequestId']
|
|
589
|
+
end
|
|
590
|
+
end
|
|
591
|
+
|
|
565
592
|
# CreateModelServiceAuthToken请求参数结构体
|
|
566
593
|
class CreateModelServiceAuthTokenRequest < TencentCloud::Common::AbstractModel
|
|
567
594
|
# @param ServiceGroupId: 服务组 id
|
|
@@ -2106,6 +2133,38 @@ module TencentCloud
|
|
|
2106
2133
|
end
|
|
2107
2134
|
end
|
|
2108
2135
|
|
|
2136
|
+
# DeleteExport请求参数结构体
|
|
2137
|
+
class DeleteExportRequest < TencentCloud::Common::AbstractModel
|
|
2138
|
+
# @param ExportId: 日志下载任务的ID
|
|
2139
|
+
# @type ExportId: String
|
|
2140
|
+
|
|
2141
|
+
attr_accessor :ExportId
|
|
2142
|
+
|
|
2143
|
+
def initialize(exportid=nil)
|
|
2144
|
+
@ExportId = exportid
|
|
2145
|
+
end
|
|
2146
|
+
|
|
2147
|
+
def deserialize(params)
|
|
2148
|
+
@ExportId = params['ExportId']
|
|
2149
|
+
end
|
|
2150
|
+
end
|
|
2151
|
+
|
|
2152
|
+
# DeleteExport返回参数结构体
|
|
2153
|
+
class DeleteExportResponse < TencentCloud::Common::AbstractModel
|
|
2154
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
2155
|
+
# @type RequestId: String
|
|
2156
|
+
|
|
2157
|
+
attr_accessor :RequestId
|
|
2158
|
+
|
|
2159
|
+
def initialize(requestid=nil)
|
|
2160
|
+
@RequestId = requestid
|
|
2161
|
+
end
|
|
2162
|
+
|
|
2163
|
+
def deserialize(params)
|
|
2164
|
+
@RequestId = params['RequestId']
|
|
2165
|
+
end
|
|
2166
|
+
end
|
|
2167
|
+
|
|
2109
2168
|
# DeleteModelServiceAuthToken请求参数结构体
|
|
2110
2169
|
class DeleteModelServiceAuthTokenRequest < TencentCloud::Common::AbstractModel
|
|
2111
2170
|
# @param ServiceGroupId: 服务组 id
|
|
@@ -2939,6 +2998,41 @@ module TencentCloud
|
|
|
2939
2998
|
end
|
|
2940
2999
|
end
|
|
2941
3000
|
|
|
3001
|
+
# DescribeExport请求参数结构体
|
|
3002
|
+
class DescribeExportRequest < TencentCloud::Common::AbstractModel
|
|
3003
|
+
|
|
3004
|
+
|
|
3005
|
+
def initialize()
|
|
3006
|
+
end
|
|
3007
|
+
|
|
3008
|
+
def deserialize(params)
|
|
3009
|
+
end
|
|
3010
|
+
end
|
|
3011
|
+
|
|
3012
|
+
# DescribeExport返回参数结构体
|
|
3013
|
+
class DescribeExportResponse < TencentCloud::Common::AbstractModel
|
|
3014
|
+
# @param FileSize: 日志文件大小
|
|
3015
|
+
# @type FileSize: String
|
|
3016
|
+
# @param Status: 日志下载状态。Processing:导出正在进行中,Completed:导出完成,Failed:导出失败,Expired:日志导出已过期(三天有效期), Queuing 排队中
|
|
3017
|
+
# @type Status: String
|
|
3018
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
3019
|
+
# @type RequestId: String
|
|
3020
|
+
|
|
3021
|
+
attr_accessor :FileSize, :Status, :RequestId
|
|
3022
|
+
|
|
3023
|
+
def initialize(filesize=nil, status=nil, requestid=nil)
|
|
3024
|
+
@FileSize = filesize
|
|
3025
|
+
@Status = status
|
|
3026
|
+
@RequestId = requestid
|
|
3027
|
+
end
|
|
3028
|
+
|
|
3029
|
+
def deserialize(params)
|
|
3030
|
+
@FileSize = params['FileSize']
|
|
3031
|
+
@Status = params['Status']
|
|
3032
|
+
@RequestId = params['RequestId']
|
|
3033
|
+
end
|
|
3034
|
+
end
|
|
3035
|
+
|
|
2942
3036
|
# DescribeInferTemplates请求参数结构体
|
|
2943
3037
|
class DescribeInferTemplatesRequest < TencentCloud::Common::AbstractModel
|
|
2944
3038
|
|
|
@@ -6486,8 +6580,8 @@ module TencentCloud
|
|
|
6486
6580
|
|
|
6487
6581
|
attr_accessor :Name, :Uid, :ChargeType, :Phase, :IP, :CreateTime, :Containers, :ContainerInfos, :CrossTenantENIInfo, :Status, :StartScheduleTime, :Message, :NodeIP, :NodeId, :ResourceGroupId, :ResourceGroupName, :ResourceInfo
|
|
6488
6582
|
extend Gem::Deprecate
|
|
6489
|
-
deprecate :Containers, :none, 2025,
|
|
6490
|
-
deprecate :Containers=, :none, 2025,
|
|
6583
|
+
deprecate :Containers, :none, 2025, 10
|
|
6584
|
+
deprecate :Containers=, :none, 2025, 10
|
|
6491
6585
|
|
|
6492
6586
|
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
6587
|
@Name = name
|
|
@@ -7371,10 +7465,10 @@ module TencentCloud
|
|
|
7371
7465
|
|
|
7372
7466
|
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
7467
|
extend Gem::Deprecate
|
|
7374
|
-
deprecate :ServiceLimit, :none, 2025,
|
|
7375
|
-
deprecate :ServiceLimit=, :none, 2025,
|
|
7376
|
-
deprecate :ScheduledAction, :none, 2025,
|
|
7377
|
-
deprecate :ScheduledAction=, :none, 2025,
|
|
7468
|
+
deprecate :ServiceLimit, :none, 2025, 10
|
|
7469
|
+
deprecate :ServiceLimit=, :none, 2025, 10
|
|
7470
|
+
deprecate :ScheduledAction, :none, 2025, 10
|
|
7471
|
+
deprecate :ScheduledAction=, :none, 2025, 10
|
|
7378
7472
|
|
|
7379
7473
|
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
7474
|
@ServiceGroupId = servicegroupid
|
|
@@ -7920,10 +8014,10 @@ module TencentCloud
|
|
|
7920
8014
|
|
|
7921
8015
|
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
8016
|
extend Gem::Deprecate
|
|
7923
|
-
deprecate :PodList, :none, 2025,
|
|
7924
|
-
deprecate :PodList=, :none, 2025,
|
|
7925
|
-
deprecate :Pods, :none, 2025,
|
|
7926
|
-
deprecate :Pods=, :none, 2025,
|
|
8017
|
+
deprecate :PodList, :none, 2025, 10
|
|
8018
|
+
deprecate :PodList=, :none, 2025, 10
|
|
8019
|
+
deprecate :Pods, :none, 2025, 10
|
|
8020
|
+
deprecate :Pods=, :none, 2025, 10
|
|
7927
8021
|
|
|
7928
8022
|
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
8023
|
@Replicas = replicas
|
|
@@ -9193,8 +9287,8 @@ module TencentCloud
|
|
|
9193
9287
|
|
|
9194
9288
|
attr_accessor :Replicas, :UpdatedReplicas, :ReadyReplicas, :AvailableReplicas, :UnavailableReplicas, :Status, :StatefulSetCondition, :Conditions, :Reason
|
|
9195
9289
|
extend Gem::Deprecate
|
|
9196
|
-
deprecate :StatefulSetCondition, :none, 2025,
|
|
9197
|
-
deprecate :StatefulSetCondition=, :none, 2025,
|
|
9290
|
+
deprecate :StatefulSetCondition, :none, 2025, 10
|
|
9291
|
+
deprecate :StatefulSetCondition=, :none, 2025, 10
|
|
9198
9292
|
|
|
9199
9293
|
def initialize(replicas=nil, updatedreplicas=nil, readyreplicas=nil, availablereplicas=nil, unavailablereplicas=nil, status=nil, statefulsetcondition=nil, conditions=nil, reason=nil)
|
|
9200
9294
|
@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.1160
|
|
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-10-28 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: tencentcloud-sdk-common
|
|
@@ -33,11 +33,11 @@ executables: []
|
|
|
33
33
|
extensions: []
|
|
34
34
|
extra_rdoc_files: []
|
|
35
35
|
files:
|
|
36
|
-
- lib/v20211111/client.rb
|
|
37
36
|
- lib/v20211111/models.rb
|
|
37
|
+
- lib/v20211111/client.rb
|
|
38
38
|
- lib/tencentcloud-sdk-tione.rb
|
|
39
|
-
- lib/v20191022/client.rb
|
|
40
39
|
- lib/v20191022/models.rb
|
|
40
|
+
- lib/v20191022/client.rb
|
|
41
41
|
- lib/VERSION
|
|
42
42
|
homepage: https://github.com/TencentCloud/tencentcloud-sdk-ruby
|
|
43
43
|
licenses:
|