tencentcloud-sdk-tione 3.0.826 → 3.0.827

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 +59 -11
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 9e31c96c0d7504bee00c6a4404c6102b3dc94a88
4
- data.tar.gz: dcba777bda29b5b6e47200b9827afc092505e509
3
+ metadata.gz: 586b33bff97e5f7b7b59001b757ba416f95a7ecf
4
+ data.tar.gz: 243534df9793948d0ae278a2a5f5bc3ee60db787
5
5
  SHA512:
6
- metadata.gz: 62b03d3fa19b7c19129eed527d7450b457a930b982dc79ed9324a6621b5bd80fd03089a4ca8d656d0bc9786790161d5b02e21ce0fdd2a3d83862bfe9d980f758
7
- data.tar.gz: e87d91e157d2ec005b8f13f79df41b428e5f907b01f9f073ac1ba7f6b7da84131d82f75a19a087ca2ddc4e3a0ff3195b16679211ef1f95583a08b262054ee94f
6
+ metadata.gz: 801751525fbf166e398a5220004e1874cb1eec9fc34e8d9b5c86240421efb87cf983c491751521b83609aae285b62c081b29e10a565344aa07fa243fbaf5b3e7
7
+ data.tar.gz: 0a0d277badb1ac7735b8da1245f2651187bdb7895fbce99faad9fc273158584dcdee8358a75dff14476fc4df1afa3de5f49474cedbda9737b26d7346f8054f16
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.826
1
+ 3.0.827
@@ -1229,12 +1229,14 @@ module TencentCloud
1229
1229
  # @type Command: String
1230
1230
  # @param ServiceEIP: 是否开启TIONE内网访问外部,此功能仅支持后付费机型与从TIONE平台购买的预付费机型;使用从CVM选择资源组时此配置不生效。
1231
1231
  # @type ServiceEIP: :class:`Tencentcloud::Tione.v20211111.models.ServiceEIP`
1232
- # @param CommandBase64: 服务的启动命令,以base64格式进行输入
1232
+ # @param CommandBase64: 服务的启动命令,以base64格式进行输入,与Command同时配置时,仅当前参数生效
1233
1233
  # @type CommandBase64: String
1234
+ # @param ServicePort: 服务端口,仅在非内置镜像时生效,默认8501。不支持输入8501-8510,6006,9092
1235
+ # @type ServicePort: Integer
1234
1236
 
1235
- 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, :Command, :ServiceEIP, :CommandBase64
1237
+ 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, :Command, :ServiceEIP, :CommandBase64, :ServicePort
1236
1238
 
1237
- 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, command=nil, serviceeip=nil, commandbase64=nil)
1239
+ 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, command=nil, serviceeip=nil, commandbase64=nil, serviceport=nil)
1238
1240
  @ServiceGroupId = servicegroupid
1239
1241
  @ServiceGroupName = servicegroupname
1240
1242
  @ServiceDescription = servicedescription
@@ -1267,6 +1269,7 @@ module TencentCloud
1267
1269
  @Command = command
1268
1270
  @ServiceEIP = serviceeip
1269
1271
  @CommandBase64 = commandbase64
1272
+ @ServicePort = serviceport
1270
1273
  end
1271
1274
 
1272
1275
  def deserialize(params)
@@ -1350,6 +1353,7 @@ module TencentCloud
1350
1353
  @ServiceEIP.deserialize(params['ServiceEIP'])
1351
1354
  end
1352
1355
  @CommandBase64 = params['CommandBase64']
1356
+ @ServicePort = params['ServicePort']
1353
1357
  end
1354
1358
  end
1355
1359
 
@@ -6155,7 +6159,7 @@ module TencentCloud
6155
6159
 
6156
6160
  # 镜像描述信息
6157
6161
  class ImageInfo < TencentCloud::Common::AbstractModel
6158
- # @param ImageType: 镜像类型:TCR为腾讯云TCR镜像; CCR为腾讯云TCR个人版镜像,PreSet为平台预置镜像
6162
+ # @param ImageType: 镜像类型:TCR为腾讯云TCR镜像; CCR为腾讯云TCR个人版镜像,PreSet为平台预置镜像,CUSTOM为第三方自定义镜像
6159
6163
  # @type ImageType: String
6160
6164
  # @param ImageUrl: 镜像地址
6161
6165
  # @type ImageUrl: String
@@ -6174,10 +6178,13 @@ module TencentCloud
6174
6178
  # @param SupportDataPipeline: 是否支持数据构建
6175
6179
  # 注意:此字段可能返回 null,表示取不到有效值。
6176
6180
  # @type SupportDataPipeline: Boolean
6181
+ # @param ImageSecret: 镜像仓库用户名密码信息(仅当ImageType为CUSTOM第三方镜像的时候需要)
6182
+ # 注意:此字段可能返回 null,表示取不到有效值。
6183
+ # @type ImageSecret: :class:`Tencentcloud::Tione.v20211111.models.ImageSecret`
6177
6184
 
6178
- attr_accessor :ImageType, :ImageUrl, :RegistryRegion, :RegistryId, :AllowSaveAllContent, :ImageName, :SupportDataPipeline
6185
+ attr_accessor :ImageType, :ImageUrl, :RegistryRegion, :RegistryId, :AllowSaveAllContent, :ImageName, :SupportDataPipeline, :ImageSecret
6179
6186
 
6180
- def initialize(imagetype=nil, imageurl=nil, registryregion=nil, registryid=nil, allowsaveallcontent=nil, imagename=nil, supportdatapipeline=nil)
6187
+ def initialize(imagetype=nil, imageurl=nil, registryregion=nil, registryid=nil, allowsaveallcontent=nil, imagename=nil, supportdatapipeline=nil, imagesecret=nil)
6181
6188
  @ImageType = imagetype
6182
6189
  @ImageUrl = imageurl
6183
6190
  @RegistryRegion = registryregion
@@ -6185,6 +6192,7 @@ module TencentCloud
6185
6192
  @AllowSaveAllContent = allowsaveallcontent
6186
6193
  @ImageName = imagename
6187
6194
  @SupportDataPipeline = supportdatapipeline
6195
+ @ImageSecret = imagesecret
6188
6196
  end
6189
6197
 
6190
6198
  def deserialize(params)
@@ -6195,6 +6203,37 @@ module TencentCloud
6195
6203
  @AllowSaveAllContent = params['AllowSaveAllContent']
6196
6204
  @ImageName = params['ImageName']
6197
6205
  @SupportDataPipeline = params['SupportDataPipeline']
6206
+ unless params['ImageSecret'].nil?
6207
+ @ImageSecret = ImageSecret.new
6208
+ @ImageSecret.deserialize(params['ImageSecret'])
6209
+ end
6210
+ end
6211
+ end
6212
+
6213
+ # 自定义镜像仓库凭据
6214
+ class ImageSecret < TencentCloud::Common::AbstractModel
6215
+ # @param KeyId: 用于加密密码的KMS公钥ID
6216
+ # 注意:此字段可能返回 null,表示取不到有效值。
6217
+ # @type KeyId: String
6218
+ # @param Username: 用户名
6219
+ # 注意:此字段可能返回 null,表示取不到有效值。
6220
+ # @type Username: String
6221
+ # @param Password: 密码,base64编码; 当keyId不为空时,密码是加密后的
6222
+ # 注意:此字段可能返回 null,表示取不到有效值。
6223
+ # @type Password: String
6224
+
6225
+ attr_accessor :KeyId, :Username, :Password
6226
+
6227
+ def initialize(keyid=nil, username=nil, password=nil)
6228
+ @KeyId = keyid
6229
+ @Username = username
6230
+ @Password = password
6231
+ end
6232
+
6233
+ def deserialize(params)
6234
+ @KeyId = params['KeyId']
6235
+ @Username = params['Username']
6236
+ @Password = params['Password']
6198
6237
  end
6199
6238
  end
6200
6239
 
@@ -7234,12 +7273,14 @@ module TencentCloud
7234
7273
  # @type Command: String
7235
7274
  # @param ServiceEIP: 是否开启TIONE内网访问外部,此功能仅支持后付费机型与从TIONE平台购买的预付费机型;使用从CVM选择资源组时此配置不生效。
7236
7275
  # @type ServiceEIP: :class:`Tencentcloud::Tione.v20211111.models.ServiceEIP`
7237
- # @param CommandBase64: 服务的启动命令,以base64格式进行输入
7276
+ # @param CommandBase64: 服务的启动命令,以base64格式进行输入,与Command同时配置时,仅当前参数生效
7238
7277
  # @type CommandBase64: String
7278
+ # @param ServicePort: 服务端口,仅在非内置镜像时生效,默认8501。不支持输入8501-8510,6006,9092
7279
+ # @type ServicePort: Integer
7239
7280
 
7240
- attr_accessor :ServiceId, :ModelInfo, :ImageInfo, :Env, :Resources, :InstanceType, :ScaleMode, :Replicas, :HorizontalPodAutoscaler, :LogEnable, :LogConfig, :ServiceAction, :ServiceDescription, :ScaleStrategy, :CronScaleJobs, :HybridBillingPrepaidReplicas, :ModelHotUpdateEnable, :ScheduledAction, :ServiceLimit, :VolumeMount, :ModelTurboEnable, :Command, :ServiceEIP, :CommandBase64
7281
+ attr_accessor :ServiceId, :ModelInfo, :ImageInfo, :Env, :Resources, :InstanceType, :ScaleMode, :Replicas, :HorizontalPodAutoscaler, :LogEnable, :LogConfig, :ServiceAction, :ServiceDescription, :ScaleStrategy, :CronScaleJobs, :HybridBillingPrepaidReplicas, :ModelHotUpdateEnable, :ScheduledAction, :ServiceLimit, :VolumeMount, :ModelTurboEnable, :Command, :ServiceEIP, :CommandBase64, :ServicePort
7241
7282
 
7242
- 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, command=nil, serviceeip=nil, commandbase64=nil)
7283
+ 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, command=nil, serviceeip=nil, commandbase64=nil, serviceport=nil)
7243
7284
  @ServiceId = serviceid
7244
7285
  @ModelInfo = modelinfo
7245
7286
  @ImageInfo = imageinfo
@@ -7264,6 +7305,7 @@ module TencentCloud
7264
7305
  @Command = command
7265
7306
  @ServiceEIP = serviceeip
7266
7307
  @CommandBase64 = commandbase64
7308
+ @ServicePort = serviceport
7267
7309
  end
7268
7310
 
7269
7311
  def deserialize(params)
@@ -7332,6 +7374,7 @@ module TencentCloud
7332
7374
  @ServiceEIP.deserialize(params['ServiceEIP'])
7333
7375
  end
7334
7376
  @CommandBase64 = params['CommandBase64']
7377
+ @ServicePort = params['ServicePort']
7335
7378
  end
7336
7379
  end
7337
7380
 
@@ -9584,15 +9627,18 @@ module TencentCloud
9584
9627
  # @param ServiceEIP: 开启TIONE内网访问外部设置
9585
9628
  # 注意:此字段可能返回 null,表示取不到有效值。
9586
9629
  # @type ServiceEIP: :class:`Tencentcloud::Tione.v20211111.models.ServiceEIP`
9630
+ # @param ServicePort: 服务端口,默认为8501
9631
+ # 注意:此字段可能返回 null,表示取不到有效值。
9632
+ # @type ServicePort: Integer
9587
9633
 
9588
- attr_accessor :Replicas, :ImageInfo, :Env, :Resources, :InstanceType, :ModelInfo, :LogEnable, :LogConfig, :AuthorizationEnable, :HorizontalPodAutoscaler, :Status, :Weight, :ResourceTotal, :OldReplicas, :HybridBillingPrepaidReplicas, :OldHybridBillingPrepaidReplicas, :ModelHotUpdateEnable, :ScaleMode, :CronScaleJobs, :ScaleStrategy, :ScheduledAction, :PodList, :Pods, :PodInfos, :ServiceLimit, :ModelTurboEnable, :VolumeMount, :InferCodeInfo, :Command, :ServiceEIP
9634
+ attr_accessor :Replicas, :ImageInfo, :Env, :Resources, :InstanceType, :ModelInfo, :LogEnable, :LogConfig, :AuthorizationEnable, :HorizontalPodAutoscaler, :Status, :Weight, :ResourceTotal, :OldReplicas, :HybridBillingPrepaidReplicas, :OldHybridBillingPrepaidReplicas, :ModelHotUpdateEnable, :ScaleMode, :CronScaleJobs, :ScaleStrategy, :ScheduledAction, :PodList, :Pods, :PodInfos, :ServiceLimit, :ModelTurboEnable, :VolumeMount, :InferCodeInfo, :Command, :ServiceEIP, :ServicePort
9589
9635
  extend Gem::Deprecate
9590
9636
  deprecate :PodList, :none, 2024, 5
9591
9637
  deprecate :PodList=, :none, 2024, 5
9592
9638
  deprecate :Pods, :none, 2024, 5
9593
9639
  deprecate :Pods=, :none, 2024, 5
9594
9640
 
9595
- 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, 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)
9641
+ 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, 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)
9596
9642
  @Replicas = replicas
9597
9643
  @ImageInfo = imageinfo
9598
9644
  @Env = env
@@ -9623,6 +9669,7 @@ module TencentCloud
9623
9669
  @InferCodeInfo = infercodeinfo
9624
9670
  @Command = command
9625
9671
  @ServiceEIP = serviceeip
9672
+ @ServicePort = serviceport
9626
9673
  end
9627
9674
 
9628
9675
  def deserialize(params)
@@ -9713,6 +9760,7 @@ module TencentCloud
9713
9760
  @ServiceEIP = ServiceEIP.new
9714
9761
  @ServiceEIP.deserialize(params['ServiceEIP'])
9715
9762
  end
9763
+ @ServicePort = params['ServicePort']
9716
9764
  end
9717
9765
  end
9718
9766
 
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.826
4
+ version: 3.0.827
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-05-20 00:00:00.000000000 Z
11
+ date: 2024-05-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common