tencentcloud-sdk-tione 3.0.1074 → 3.0.1085

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: 0fdbba77e7cdebe7ad3d915dc2af8e9c075ded9f
4
- data.tar.gz: 2f7356d5c23a00903582a14ac85038be62b4be43
3
+ metadata.gz: 7df88065db7215bb689e09e015385a8989c851ee
4
+ data.tar.gz: 2f780e5df91bc5d8063f868de34d1a9933e693ef
5
5
  SHA512:
6
- metadata.gz: df564f279eb132d64e498137a5ded3a95626f0675ffb4c1b0399dd5e97e23c0c8510944dfe3e1bd6a89190b20aa9232fbd3771a041f32ee772f35c9857d3d96a
7
- data.tar.gz: e671f561d615e6eca09bca6eb7f69759aa69910d0e4a2f76012bba0a6e7d9718f6734cac0c5def3c066594f69df1b1e04ae0e46614ce4d9a2bae09ca30b5e8a6
6
+ metadata.gz: 437691878c628e8e21c737cf298c8fdef9892647cea3c08e071003f2a49bb11ce1f3516193b6a83484b8919cee949a78b8ff21ef5d9e4c152f20371cb4f43afa
7
+ data.tar.gz: cd17a471413d77e8eafbb9c2bd7c40e0a5ee2c2567df74123731d77e6e0cd0b0ce2ab93b3ead74e41a32a5ff87cb6dc0d44804a7c819b743f20d5f88e4b2125f
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.1074
1
+ 3.0.1085
@@ -104,6 +104,30 @@ module TencentCloud
104
104
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
105
105
  end
106
106
 
107
+ # 创建一个 AuthToken
108
+
109
+ # @param request: Request instance for CreateModelServiceAuthToken.
110
+ # @type request: :class:`Tencentcloud::tione::V20211111::CreateModelServiceAuthTokenRequest`
111
+ # @rtype: :class:`Tencentcloud::tione::V20211111::CreateModelServiceAuthTokenResponse`
112
+ def CreateModelServiceAuthToken(request)
113
+ body = send_request('CreateModelServiceAuthToken', request.serialize)
114
+ response = JSON.parse(body)
115
+ if response['Response'].key?('Error') == false
116
+ model = CreateModelServiceAuthTokenResponse.new
117
+ model.deserialize(response['Response'])
118
+ model
119
+ else
120
+ code = response['Response']['Error']['Code']
121
+ message = response['Response']['Error']['Message']
122
+ reqid = response['Response']['RequestId']
123
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
124
+ end
125
+ rescue TencentCloud::Common::TencentCloudSDKException => e
126
+ raise e
127
+ rescue StandardError => e
128
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
129
+ end
130
+
107
131
  # 创建Notebook
108
132
 
109
133
  # @param request: Request instance for CreateNotebook.
@@ -248,6 +272,30 @@ module TencentCloud
248
272
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
249
273
  end
250
274
 
275
+ # 删除一个 AuthToken
276
+
277
+ # @param request: Request instance for DeleteModelServiceAuthToken.
278
+ # @type request: :class:`Tencentcloud::tione::V20211111::DeleteModelServiceAuthTokenRequest`
279
+ # @rtype: :class:`Tencentcloud::tione::V20211111::DeleteModelServiceAuthTokenResponse`
280
+ def DeleteModelServiceAuthToken(request)
281
+ body = send_request('DeleteModelServiceAuthToken', request.serialize)
282
+ response = JSON.parse(body)
283
+ if response['Response'].key?('Error') == false
284
+ model = DeleteModelServiceAuthTokenResponse.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 DeleteModelServiceGroup.
@@ -970,6 +1018,54 @@ module TencentCloud
970
1018
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
971
1019
  end
972
1020
 
1021
+ # 修改一个 AuthToken
1022
+
1023
+ # @param request: Request instance for ModifyModelServiceAuthToken.
1024
+ # @type request: :class:`Tencentcloud::tione::V20211111::ModifyModelServiceAuthTokenRequest`
1025
+ # @rtype: :class:`Tencentcloud::tione::V20211111::ModifyModelServiceAuthTokenResponse`
1026
+ def ModifyModelServiceAuthToken(request)
1027
+ body = send_request('ModifyModelServiceAuthToken', request.serialize)
1028
+ response = JSON.parse(body)
1029
+ if response['Response'].key?('Error') == false
1030
+ model = ModifyModelServiceAuthTokenResponse.new
1031
+ model.deserialize(response['Response'])
1032
+ model
1033
+ else
1034
+ code = response['Response']['Error']['Code']
1035
+ message = response['Response']['Error']['Message']
1036
+ reqid = response['Response']['RequestId']
1037
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1038
+ end
1039
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1040
+ raise e
1041
+ rescue StandardError => e
1042
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1043
+ end
1044
+
1045
+ # 修改服务鉴权配置
1046
+
1047
+ # @param request: Request instance for ModifyModelServiceAuthorization.
1048
+ # @type request: :class:`Tencentcloud::tione::V20211111::ModifyModelServiceAuthorizationRequest`
1049
+ # @rtype: :class:`Tencentcloud::tione::V20211111::ModifyModelServiceAuthorizationResponse`
1050
+ def ModifyModelServiceAuthorization(request)
1051
+ body = send_request('ModifyModelServiceAuthorization', request.serialize)
1052
+ response = JSON.parse(body)
1053
+ if response['Response'].key?('Error') == false
1054
+ model = ModifyModelServiceAuthorizationResponse.new
1055
+ model.deserialize(response['Response'])
1056
+ model
1057
+ else
1058
+ code = response['Response']['Error']['Code']
1059
+ message = response['Response']['Error']['Message']
1060
+ reqid = response['Response']['RequestId']
1061
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1062
+ end
1063
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1064
+ raise e
1065
+ rescue StandardError => e
1066
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1067
+ end
1068
+
973
1069
  # 修改Notebook标签
974
1070
 
975
1071
  # @param request: Request instance for ModifyNotebookTags.
@@ -530,6 +530,46 @@ module TencentCloud
530
530
  end
531
531
  end
532
532
 
533
+ # CreateModelServiceAuthToken请求参数结构体
534
+ class CreateModelServiceAuthTokenRequest < TencentCloud::Common::AbstractModel
535
+ # @param ServiceGroupId: 服务组 id
536
+ # @type ServiceGroupId: String
537
+ # @param Name: token 名称
538
+ # @type Name: String
539
+ # @param Description: Description 描述
540
+ # @type Description: String
541
+
542
+ attr_accessor :ServiceGroupId, :Name, :Description
543
+
544
+ def initialize(servicegroupid=nil, name=nil, description=nil)
545
+ @ServiceGroupId = servicegroupid
546
+ @Name = name
547
+ @Description = description
548
+ end
549
+
550
+ def deserialize(params)
551
+ @ServiceGroupId = params['ServiceGroupId']
552
+ @Name = params['Name']
553
+ @Description = params['Description']
554
+ end
555
+ end
556
+
557
+ # CreateModelServiceAuthToken返回参数结构体
558
+ class CreateModelServiceAuthTokenResponse < TencentCloud::Common::AbstractModel
559
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
560
+ # @type RequestId: String
561
+
562
+ attr_accessor :RequestId
563
+
564
+ def initialize(requestid=nil)
565
+ @RequestId = requestid
566
+ end
567
+
568
+ def deserialize(params)
569
+ @RequestId = params['RequestId']
570
+ end
571
+ end
572
+
533
573
  # CreateModelService请求参数结构体
534
574
  class CreateModelServiceRequest < TencentCloud::Common::AbstractModel
535
575
  # @param ServiceGroupId: 新增版本时需要填写
@@ -2023,6 +2063,42 @@ module TencentCloud
2023
2063
  end
2024
2064
  end
2025
2065
 
2066
+ # DeleteModelServiceAuthToken请求参数结构体
2067
+ class DeleteModelServiceAuthTokenRequest < TencentCloud::Common::AbstractModel
2068
+ # @param ServiceGroupId: 服务组 id
2069
+ # @type ServiceGroupId: String
2070
+ # @param AuthTokenValue: token 值
2071
+ # @type AuthTokenValue: String
2072
+
2073
+ attr_accessor :ServiceGroupId, :AuthTokenValue
2074
+
2075
+ def initialize(servicegroupid=nil, authtokenvalue=nil)
2076
+ @ServiceGroupId = servicegroupid
2077
+ @AuthTokenValue = authtokenvalue
2078
+ end
2079
+
2080
+ def deserialize(params)
2081
+ @ServiceGroupId = params['ServiceGroupId']
2082
+ @AuthTokenValue = params['AuthTokenValue']
2083
+ end
2084
+ end
2085
+
2086
+ # DeleteModelServiceAuthToken返回参数结构体
2087
+ class DeleteModelServiceAuthTokenResponse < TencentCloud::Common::AbstractModel
2088
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2089
+ # @type RequestId: String
2090
+
2091
+ attr_accessor :RequestId
2092
+
2093
+ def initialize(requestid=nil)
2094
+ @RequestId = requestid
2095
+ end
2096
+
2097
+ def deserialize(params)
2098
+ @RequestId = params['RequestId']
2099
+ end
2100
+ end
2101
+
2026
2102
  # DeleteModelServiceGroup请求参数结构体
2027
2103
  class DeleteModelServiceGroupRequest < TencentCloud::Common::AbstractModel
2028
2104
  # @param ServiceGroupId: 服务id
@@ -5283,6 +5359,85 @@ module TencentCloud
5283
5359
  end
5284
5360
  end
5285
5361
 
5362
+ # ModifyModelServiceAuthToken请求参数结构体
5363
+ class ModifyModelServiceAuthTokenRequest < TencentCloud::Common::AbstractModel
5364
+ # @param ServiceGroupId: 服务组 id
5365
+ # @type ServiceGroupId: String
5366
+ # @param NeedReset: 是否需要重置,如果为 true,重置 token 值
5367
+ # @type NeedReset: Boolean
5368
+ # @param AuthToken: AuthToken 数据
5369
+ # @type AuthToken: :class:`Tencentcloud::Tione.v20211111.models.AuthToken`
5370
+
5371
+ attr_accessor :ServiceGroupId, :NeedReset, :AuthToken
5372
+
5373
+ def initialize(servicegroupid=nil, needreset=nil, authtoken=nil)
5374
+ @ServiceGroupId = servicegroupid
5375
+ @NeedReset = needreset
5376
+ @AuthToken = authtoken
5377
+ end
5378
+
5379
+ def deserialize(params)
5380
+ @ServiceGroupId = params['ServiceGroupId']
5381
+ @NeedReset = params['NeedReset']
5382
+ unless params['AuthToken'].nil?
5383
+ @AuthToken = AuthToken.new
5384
+ @AuthToken.deserialize(params['AuthToken'])
5385
+ end
5386
+ end
5387
+ end
5388
+
5389
+ # ModifyModelServiceAuthToken返回参数结构体
5390
+ class ModifyModelServiceAuthTokenResponse < TencentCloud::Common::AbstractModel
5391
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
5392
+ # @type RequestId: String
5393
+
5394
+ attr_accessor :RequestId
5395
+
5396
+ def initialize(requestid=nil)
5397
+ @RequestId = requestid
5398
+ end
5399
+
5400
+ def deserialize(params)
5401
+ @RequestId = params['RequestId']
5402
+ end
5403
+ end
5404
+
5405
+ # ModifyModelServiceAuthorization请求参数结构体
5406
+ class ModifyModelServiceAuthorizationRequest < TencentCloud::Common::AbstractModel
5407
+ # @param ServiceGroupId: 服务组Id
5408
+ # @type ServiceGroupId: String
5409
+ # @param AuthorizationEnable: 是否开启鉴权,true表示开启
5410
+ # @type AuthorizationEnable: Boolean
5411
+
5412
+ attr_accessor :ServiceGroupId, :AuthorizationEnable
5413
+
5414
+ def initialize(servicegroupid=nil, authorizationenable=nil)
5415
+ @ServiceGroupId = servicegroupid
5416
+ @AuthorizationEnable = authorizationenable
5417
+ end
5418
+
5419
+ def deserialize(params)
5420
+ @ServiceGroupId = params['ServiceGroupId']
5421
+ @AuthorizationEnable = params['AuthorizationEnable']
5422
+ end
5423
+ end
5424
+
5425
+ # ModifyModelServiceAuthorization返回参数结构体
5426
+ class ModifyModelServiceAuthorizationResponse < TencentCloud::Common::AbstractModel
5427
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
5428
+ # @type RequestId: String
5429
+
5430
+ attr_accessor :RequestId
5431
+
5432
+ def initialize(requestid=nil)
5433
+ @RequestId = requestid
5434
+ end
5435
+
5436
+ def deserialize(params)
5437
+ @RequestId = params['RequestId']
5438
+ end
5439
+ end
5440
+
5286
5441
  # ModifyModelService请求参数结构体
5287
5442
  class ModifyModelServiceRequest < TencentCloud::Common::AbstractModel
5288
5443
  # @param ServiceId: 服务id
@@ -6096,8 +6251,8 @@ module TencentCloud
6096
6251
 
6097
6252
  attr_accessor :Name, :Uid, :ChargeType, :Phase, :IP, :CreateTime, :Containers, :ContainerInfos, :CrossTenantENIInfo, :Status, :StartScheduleTime, :Message
6098
6253
  extend Gem::Deprecate
6099
- deprecate :Containers, :none, 2025, 5
6100
- deprecate :Containers=, :none, 2025, 5
6254
+ deprecate :Containers, :none, 2025, 6
6255
+ deprecate :Containers=, :none, 2025, 6
6101
6256
 
6102
6257
  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)
6103
6258
  @Name = name
@@ -6874,10 +7029,10 @@ module TencentCloud
6874
7029
 
6875
7030
  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
6876
7031
  extend Gem::Deprecate
6877
- deprecate :ServiceLimit, :none, 2025, 5
6878
- deprecate :ServiceLimit=, :none, 2025, 5
6879
- deprecate :ScheduledAction, :none, 2025, 5
6880
- deprecate :ScheduledAction=, :none, 2025, 5
7032
+ deprecate :ServiceLimit, :none, 2025, 6
7033
+ deprecate :ServiceLimit=, :none, 2025, 6
7034
+ deprecate :ScheduledAction, :none, 2025, 6
7035
+ deprecate :ScheduledAction=, :none, 2025, 6
6881
7036
 
6882
7037
  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)
6883
7038
  @ServiceGroupId = servicegroupid
@@ -7403,10 +7558,10 @@ module TencentCloud
7403
7558
 
7404
7559
  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
7405
7560
  extend Gem::Deprecate
7406
- deprecate :PodList, :none, 2025, 5
7407
- deprecate :PodList=, :none, 2025, 5
7408
- deprecate :Pods, :none, 2025, 5
7409
- deprecate :Pods=, :none, 2025, 5
7561
+ deprecate :PodList, :none, 2025, 6
7562
+ deprecate :PodList=, :none, 2025, 6
7563
+ deprecate :Pods, :none, 2025, 6
7564
+ deprecate :Pods=, :none, 2025, 6
7410
7565
 
7411
7566
  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)
7412
7567
  @Replicas = replicas
@@ -8660,8 +8815,8 @@ module TencentCloud
8660
8815
 
8661
8816
  attr_accessor :Replicas, :UpdatedReplicas, :ReadyReplicas, :AvailableReplicas, :UnavailableReplicas, :Status, :StatefulSetCondition, :Conditions, :Reason
8662
8817
  extend Gem::Deprecate
8663
- deprecate :StatefulSetCondition, :none, 2025, 5
8664
- deprecate :StatefulSetCondition=, :none, 2025, 5
8818
+ deprecate :StatefulSetCondition, :none, 2025, 6
8819
+ deprecate :StatefulSetCondition=, :none, 2025, 6
8665
8820
 
8666
8821
  def initialize(replicas=nil, updatedreplicas=nil, readyreplicas=nil, availablereplicas=nil, unavailablereplicas=nil, status=nil, statefulsetcondition=nil, conditions=nil, reason=nil)
8667
8822
  @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.1074
4
+ version: 3.0.1085
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-06-04 00:00:00.000000000 Z
11
+ date: 2025-06-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common