tencentcloud-sdk-tione 3.0.1065 → 3.0.1066
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 +237 -10
- 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: b84ab4f436d17b06d51b30e41b5cf81b5f7a4ac3
|
4
|
+
data.tar.gz: 6fb217193cc08a8f63d180ef994128afb3979f05
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 13d5b67767e4f1e8bb7b551c9863586eb60314841750747eb283663a553817726ea455845b76408b321343443311f6724f6c4632986d03a43df158f8400a0cdb
|
7
|
+
data.tar.gz: ccf5402bd0bd9dc5b88e460580f2115e5c03b062f4a7bd3e6aa5e3b5a04e4a1c61cd79b59370587d0a0f26ba64c68e91dc0aa354cdb726ee394507a0127252b7
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.1066
|
data/lib/v20211111/client.rb
CHANGED
@@ -533,6 +533,30 @@ module TencentCloud
|
|
533
533
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
534
534
|
end
|
535
535
|
|
536
|
+
# 获取任务式建模训练任务,Notebook,在线服务和批量预测任务的事件API
|
537
|
+
|
538
|
+
# @param request: Request instance for DescribeEvents.
|
539
|
+
# @type request: :class:`Tencentcloud::tione::V20211111::DescribeEventsRequest`
|
540
|
+
# @rtype: :class:`Tencentcloud::tione::V20211111::DescribeEventsResponse`
|
541
|
+
def DescribeEvents(request)
|
542
|
+
body = send_request('DescribeEvents', request.serialize)
|
543
|
+
response = JSON.parse(body)
|
544
|
+
if response['Response'].key?('Error') == false
|
545
|
+
model = DescribeEventsResponse.new
|
546
|
+
model.deserialize(response['Response'])
|
547
|
+
model
|
548
|
+
else
|
549
|
+
code = response['Response']['Error']['Code']
|
550
|
+
message = response['Response']['Error']['Message']
|
551
|
+
reqid = response['Response']['RequestId']
|
552
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
553
|
+
end
|
554
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
555
|
+
raise e
|
556
|
+
rescue StandardError => e
|
557
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
558
|
+
end
|
559
|
+
|
536
560
|
# 已废弃,收敛到统一接口
|
537
561
|
|
538
562
|
# 查询推理镜像模板
|
data/lib/v20211111/models.rb
CHANGED
@@ -633,10 +633,14 @@ module TencentCloud
|
|
633
633
|
# @type GrpcEnable: Boolean
|
634
634
|
# @param HealthProbe: 健康探针
|
635
635
|
# @type HealthProbe: :class:`Tencentcloud::Tione.v20211111.models.HealthProbe`
|
636
|
+
# @param RollingUpdate: 滚动更新策略
|
637
|
+
# @type RollingUpdate: :class:`Tencentcloud::Tione.v20211111.models.RollingUpdate`
|
638
|
+
# @param Sidecar: sidecar配置
|
639
|
+
# @type Sidecar: :class:`Tencentcloud::Tione.v20211111.models.SidecarSpec`
|
636
640
|
|
637
|
-
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, :DeployType, :InstancePerReplicas, :TerminationGracePeriodSeconds, :PreStopCommand, :GrpcEnable, :HealthProbe
|
641
|
+
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, :DeployType, :InstancePerReplicas, :TerminationGracePeriodSeconds, :PreStopCommand, :GrpcEnable, :HealthProbe, :RollingUpdate, :Sidecar
|
638
642
|
|
639
|
-
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, deploytype=nil, instanceperreplicas=nil, terminationgraceperiodseconds=nil, prestopcommand=nil, grpcenable=nil, healthprobe=nil)
|
643
|
+
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, deploytype=nil, instanceperreplicas=nil, terminationgraceperiodseconds=nil, prestopcommand=nil, grpcenable=nil, healthprobe=nil, rollingupdate=nil, sidecar=nil)
|
640
644
|
@ServiceGroupId = servicegroupid
|
641
645
|
@ServiceGroupName = servicegroupname
|
642
646
|
@ServiceDescription = servicedescription
|
@@ -676,6 +680,8 @@ module TencentCloud
|
|
676
680
|
@PreStopCommand = prestopcommand
|
677
681
|
@GrpcEnable = grpcenable
|
678
682
|
@HealthProbe = healthprobe
|
683
|
+
@RollingUpdate = rollingupdate
|
684
|
+
@Sidecar = sidecar
|
679
685
|
end
|
680
686
|
|
681
687
|
def deserialize(params)
|
@@ -769,6 +775,14 @@ module TencentCloud
|
|
769
775
|
@HealthProbe = HealthProbe.new
|
770
776
|
@HealthProbe.deserialize(params['HealthProbe'])
|
771
777
|
end
|
778
|
+
unless params['RollingUpdate'].nil?
|
779
|
+
@RollingUpdate = RollingUpdate.new
|
780
|
+
@RollingUpdate.deserialize(params['RollingUpdate'])
|
781
|
+
end
|
782
|
+
unless params['Sidecar'].nil?
|
783
|
+
@Sidecar = SidecarSpec.new
|
784
|
+
@Sidecar.deserialize(params['Sidecar'])
|
785
|
+
end
|
772
786
|
end
|
773
787
|
end
|
774
788
|
|
@@ -2698,6 +2712,114 @@ module TencentCloud
|
|
2698
2712
|
end
|
2699
2713
|
end
|
2700
2714
|
|
2715
|
+
# DescribeEvents请求参数结构体
|
2716
|
+
class DescribeEventsRequest < TencentCloud::Common::AbstractModel
|
2717
|
+
# @param Service: 服务类型,TRAIN为任务式建模, NOTEBOOK为Notebook, INFER为在线服务, BATCH为批量预测
|
2718
|
+
# 枚举值:
|
2719
|
+
# - TRAIN
|
2720
|
+
# - NOTEBOOK
|
2721
|
+
# - INFER
|
2722
|
+
# - BATCH
|
2723
|
+
# @type Service: String
|
2724
|
+
# @param ServiceId: 服务ID,和Service参数对应,不同Service的服务ID获取方式不同,具体如下:
|
2725
|
+
# - Service类型为TRAIN:
|
2726
|
+
# 调用[DescribeTrainingTask接口](/document/product/851/75089)查询训练任务详情,ServiceId为接口返回值中Response.TrainingTaskDetail.LatestInstanceId
|
2727
|
+
# - Service类型为NOTEBOOK:
|
2728
|
+
# 调用[DescribeNotebook接口](/document/product/851/95662)查询Notebook详情,ServiceId为接口返回值中Response.NotebookDetail.PodName
|
2729
|
+
# - Service类型为INFER:
|
2730
|
+
# 调用[DescribeModelServiceGroup接口](/document/product/851/82285)查询服务组详情,ServiceId为接口返回值中Response.ServiceGroup.Services.ServiceId
|
2731
|
+
# - Service类型为BATCH:
|
2732
|
+
# 调用[DescribeBatchTask接口](/document/product/851/80180)查询跑批任务详情,ServiceId为接口返回值中Response.BatchTaskDetail.LatestInstanceId
|
2733
|
+
# @type ServiceId: String
|
2734
|
+
# @param StartTime: 查询事件最早发生的时间(RFC3339格式的时间字符串),默认值为当前时间的前一天
|
2735
|
+
# @type StartTime: String
|
2736
|
+
# @param EndTime: 查询事件最晚发生的时间(RFC3339格式的时间字符串),默认值为当前时间
|
2737
|
+
# @type EndTime: String
|
2738
|
+
# @param Limit: 分页Limit,默认值为100,最大值为100
|
2739
|
+
# @type Limit: Integer
|
2740
|
+
# @param Offset: 分页Offset,默认值为0
|
2741
|
+
# @type Offset: Integer
|
2742
|
+
# @param Order: 排列顺序(可选值为ASC, DESC ),默认为DESC
|
2743
|
+
# @type Order: String
|
2744
|
+
# @param OrderField: 排序的依据字段(可选值为FirstTimestamp, LastTimestamp),默认值为LastTimestamp
|
2745
|
+
# @type OrderField: String
|
2746
|
+
# @param Filters: 过滤条件
|
2747
|
+
# 注意:
|
2748
|
+
# 1. Filter.Name:目前支持ResourceKind(按事件关联的资源类型过滤);Type(按事件类型过滤)
|
2749
|
+
# 2. Filter.Values:
|
2750
|
+
# 对于Name为ResourceKind,Values的可选取值为Deployment, Replicaset, Pod等K8S资源类型;
|
2751
|
+
# 对于Name为Type,Values的可选取值仅为Normal或者Warning;
|
2752
|
+
# Values为多个的时候表示同时满足
|
2753
|
+
# 3. Filter. Negative和Filter. Fuzzy没有使用
|
2754
|
+
# @type Filters: Array
|
2755
|
+
|
2756
|
+
attr_accessor :Service, :ServiceId, :StartTime, :EndTime, :Limit, :Offset, :Order, :OrderField, :Filters
|
2757
|
+
|
2758
|
+
def initialize(service=nil, serviceid=nil, starttime=nil, endtime=nil, limit=nil, offset=nil, order=nil, orderfield=nil, filters=nil)
|
2759
|
+
@Service = service
|
2760
|
+
@ServiceId = serviceid
|
2761
|
+
@StartTime = starttime
|
2762
|
+
@EndTime = endtime
|
2763
|
+
@Limit = limit
|
2764
|
+
@Offset = offset
|
2765
|
+
@Order = order
|
2766
|
+
@OrderField = orderfield
|
2767
|
+
@Filters = filters
|
2768
|
+
end
|
2769
|
+
|
2770
|
+
def deserialize(params)
|
2771
|
+
@Service = params['Service']
|
2772
|
+
@ServiceId = params['ServiceId']
|
2773
|
+
@StartTime = params['StartTime']
|
2774
|
+
@EndTime = params['EndTime']
|
2775
|
+
@Limit = params['Limit']
|
2776
|
+
@Offset = params['Offset']
|
2777
|
+
@Order = params['Order']
|
2778
|
+
@OrderField = params['OrderField']
|
2779
|
+
unless params['Filters'].nil?
|
2780
|
+
@Filters = []
|
2781
|
+
params['Filters'].each do |i|
|
2782
|
+
filter_tmp = Filter.new
|
2783
|
+
filter_tmp.deserialize(i)
|
2784
|
+
@Filters << filter_tmp
|
2785
|
+
end
|
2786
|
+
end
|
2787
|
+
end
|
2788
|
+
end
|
2789
|
+
|
2790
|
+
# DescribeEvents返回参数结构体
|
2791
|
+
class DescribeEventsResponse < TencentCloud::Common::AbstractModel
|
2792
|
+
# @param Events: 事件的列表
|
2793
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2794
|
+
# @type Events: Array
|
2795
|
+
# @param TotalCount: 此次查询的事件的个数
|
2796
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2797
|
+
# @type TotalCount: Integer
|
2798
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
2799
|
+
# @type RequestId: String
|
2800
|
+
|
2801
|
+
attr_accessor :Events, :TotalCount, :RequestId
|
2802
|
+
|
2803
|
+
def initialize(events=nil, totalcount=nil, requestid=nil)
|
2804
|
+
@Events = events
|
2805
|
+
@TotalCount = totalcount
|
2806
|
+
@RequestId = requestid
|
2807
|
+
end
|
2808
|
+
|
2809
|
+
def deserialize(params)
|
2810
|
+
unless params['Events'].nil?
|
2811
|
+
@Events = []
|
2812
|
+
params['Events'].each do |i|
|
2813
|
+
event_tmp = Event.new
|
2814
|
+
event_tmp.deserialize(i)
|
2815
|
+
@Events << event_tmp
|
2816
|
+
end
|
2817
|
+
end
|
2818
|
+
@TotalCount = params['TotalCount']
|
2819
|
+
@RequestId = params['RequestId']
|
2820
|
+
end
|
2821
|
+
end
|
2822
|
+
|
2701
2823
|
# DescribeInferTemplates请求参数结构体
|
2702
2824
|
class DescribeInferTemplatesRequest < TencentCloud::Common::AbstractModel
|
2703
2825
|
|
@@ -3752,6 +3874,58 @@ module TencentCloud
|
|
3752
3874
|
end
|
3753
3875
|
end
|
3754
3876
|
|
3877
|
+
# K8s的Event
|
3878
|
+
class Event < TencentCloud::Common::AbstractModel
|
3879
|
+
# @param Id: 事件的id
|
3880
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3881
|
+
# @type Id: String
|
3882
|
+
# @param Message: 事件的具体信息
|
3883
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3884
|
+
# @type Message: String
|
3885
|
+
# @param FirstTimestamp: 事件第一次发生的时间
|
3886
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3887
|
+
# @type FirstTimestamp: String
|
3888
|
+
# @param LastTimestamp: 事件最后一次发生的时间
|
3889
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3890
|
+
# @type LastTimestamp: String
|
3891
|
+
# @param Count: 事件发生的次数
|
3892
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3893
|
+
# @type Count: Integer
|
3894
|
+
# @param Type: 事件的类型
|
3895
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3896
|
+
# @type Type: String
|
3897
|
+
# @param ResourceKind: 事件关联的资源的类型
|
3898
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3899
|
+
# @type ResourceKind: String
|
3900
|
+
# @param ResourceName: 事件关联的资源的名字
|
3901
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3902
|
+
# @type ResourceName: String
|
3903
|
+
|
3904
|
+
attr_accessor :Id, :Message, :FirstTimestamp, :LastTimestamp, :Count, :Type, :ResourceKind, :ResourceName
|
3905
|
+
|
3906
|
+
def initialize(id=nil, message=nil, firsttimestamp=nil, lasttimestamp=nil, count=nil, type=nil, resourcekind=nil, resourcename=nil)
|
3907
|
+
@Id = id
|
3908
|
+
@Message = message
|
3909
|
+
@FirstTimestamp = firsttimestamp
|
3910
|
+
@LastTimestamp = lasttimestamp
|
3911
|
+
@Count = count
|
3912
|
+
@Type = type
|
3913
|
+
@ResourceKind = resourcekind
|
3914
|
+
@ResourceName = resourcename
|
3915
|
+
end
|
3916
|
+
|
3917
|
+
def deserialize(params)
|
3918
|
+
@Id = params['Id']
|
3919
|
+
@Message = params['Message']
|
3920
|
+
@FirstTimestamp = params['FirstTimestamp']
|
3921
|
+
@LastTimestamp = params['LastTimestamp']
|
3922
|
+
@Count = params['Count']
|
3923
|
+
@Type = params['Type']
|
3924
|
+
@ResourceKind = params['ResourceKind']
|
3925
|
+
@ResourceName = params['ResourceName']
|
3926
|
+
end
|
3927
|
+
end
|
3928
|
+
|
3755
3929
|
# 执行命令探针检查行为
|
3756
3930
|
class ExecAction < TencentCloud::Common::AbstractModel
|
3757
3931
|
# @param Command: 执行命令列表
|
@@ -5194,10 +5368,14 @@ module TencentCloud
|
|
5194
5368
|
# @type GrpcEnable: Boolean
|
5195
5369
|
# @param HealthProbe: 健康探针
|
5196
5370
|
# @type HealthProbe: :class:`Tencentcloud::Tione.v20211111.models.HealthProbe`
|
5371
|
+
# @param RollingUpdate: 滚动更新策略
|
5372
|
+
# @type RollingUpdate: :class:`Tencentcloud::Tione.v20211111.models.RollingUpdate`
|
5373
|
+
# @param Sidecar: sidecar配置
|
5374
|
+
# @type Sidecar: :class:`Tencentcloud::Tione.v20211111.models.SidecarSpec`
|
5197
5375
|
|
5198
|
-
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, :InstancePerReplicas, :TerminationGracePeriodSeconds, :PreStopCommand, :GrpcEnable, :HealthProbe
|
5376
|
+
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, :InstancePerReplicas, :TerminationGracePeriodSeconds, :PreStopCommand, :GrpcEnable, :HealthProbe, :RollingUpdate, :Sidecar
|
5199
5377
|
|
5200
|
-
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, instanceperreplicas=nil, terminationgraceperiodseconds=nil, prestopcommand=nil, grpcenable=nil, healthprobe=nil)
|
5378
|
+
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, instanceperreplicas=nil, terminationgraceperiodseconds=nil, prestopcommand=nil, grpcenable=nil, healthprobe=nil, rollingupdate=nil, sidecar=nil)
|
5201
5379
|
@ServiceId = serviceid
|
5202
5380
|
@ModelInfo = modelinfo
|
5203
5381
|
@ImageInfo = imageinfo
|
@@ -5228,6 +5406,8 @@ module TencentCloud
|
|
5228
5406
|
@PreStopCommand = prestopcommand
|
5229
5407
|
@GrpcEnable = grpcenable
|
5230
5408
|
@HealthProbe = healthprobe
|
5409
|
+
@RollingUpdate = rollingupdate
|
5410
|
+
@Sidecar = sidecar
|
5231
5411
|
end
|
5232
5412
|
|
5233
5413
|
def deserialize(params)
|
@@ -5305,6 +5485,14 @@ module TencentCloud
|
|
5305
5485
|
@HealthProbe = HealthProbe.new
|
5306
5486
|
@HealthProbe.deserialize(params['HealthProbe'])
|
5307
5487
|
end
|
5488
|
+
unless params['RollingUpdate'].nil?
|
5489
|
+
@RollingUpdate = RollingUpdate.new
|
5490
|
+
@RollingUpdate.deserialize(params['RollingUpdate'])
|
5491
|
+
end
|
5492
|
+
unless params['Sidecar'].nil?
|
5493
|
+
@Sidecar = SidecarSpec.new
|
5494
|
+
@Sidecar.deserialize(params['Sidecar'])
|
5495
|
+
end
|
5308
5496
|
end
|
5309
5497
|
end
|
5310
5498
|
|
@@ -5733,15 +5921,18 @@ module TencentCloud
|
|
5733
5921
|
# @param VolumeSourceGooseFS: GooseFS存储配置
|
5734
5922
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
5735
5923
|
# @type VolumeSourceGooseFS: :class:`Tencentcloud::Tione.v20211111.models.GooseFS`
|
5924
|
+
# @param SubUin: 子用户ID
|
5925
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
5926
|
+
# @type SubUin: String
|
5736
5927
|
# @param SubUinName: 子用户名称
|
5737
5928
|
# @type SubUinName: String
|
5738
5929
|
# @param AppId: AppId
|
5739
5930
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
5740
5931
|
# @type AppId: String
|
5741
5932
|
|
5742
|
-
attr_accessor :Id, :Name, :ChargeType, :ResourceConf, :ResourceGroupId, :VolumeSizeInGB, :BillingInfos, :Tags, :CreateTime, :StartTime, :UpdateTime, :RuntimeInSeconds, :ChargeStatus, :Status, :FailureReason, :EndTime, :PodName, :InstanceTypeAlias, :ResourceGroupName, :AutoStopping, :AutomaticStopTime, :VolumeSourceType, :VolumeSourceCFS, :Message, :UserTypes, :SSHConfig, :VolumeSourceGooseFS, :SubUinName, :AppId
|
5933
|
+
attr_accessor :Id, :Name, :ChargeType, :ResourceConf, :ResourceGroupId, :VolumeSizeInGB, :BillingInfos, :Tags, :CreateTime, :StartTime, :UpdateTime, :RuntimeInSeconds, :ChargeStatus, :Status, :FailureReason, :EndTime, :PodName, :InstanceTypeAlias, :ResourceGroupName, :AutoStopping, :AutomaticStopTime, :VolumeSourceType, :VolumeSourceCFS, :Message, :UserTypes, :SSHConfig, :VolumeSourceGooseFS, :SubUin, :SubUinName, :AppId
|
5743
5934
|
|
5744
|
-
def initialize(id=nil, name=nil, chargetype=nil, resourceconf=nil, resourcegroupid=nil, volumesizeingb=nil, billinginfos=nil, tags=nil, createtime=nil, starttime=nil, updatetime=nil, runtimeinseconds=nil, chargestatus=nil, status=nil, failurereason=nil, endtime=nil, podname=nil, instancetypealias=nil, resourcegroupname=nil, autostopping=nil, automaticstoptime=nil, volumesourcetype=nil, volumesourcecfs=nil, message=nil, usertypes=nil, sshconfig=nil, volumesourcegoosefs=nil, subuinname=nil, appid=nil)
|
5935
|
+
def initialize(id=nil, name=nil, chargetype=nil, resourceconf=nil, resourcegroupid=nil, volumesizeingb=nil, billinginfos=nil, tags=nil, createtime=nil, starttime=nil, updatetime=nil, runtimeinseconds=nil, chargestatus=nil, status=nil, failurereason=nil, endtime=nil, podname=nil, instancetypealias=nil, resourcegroupname=nil, autostopping=nil, automaticstoptime=nil, volumesourcetype=nil, volumesourcecfs=nil, message=nil, usertypes=nil, sshconfig=nil, volumesourcegoosefs=nil, subuin=nil, subuinname=nil, appid=nil)
|
5745
5936
|
@Id = id
|
5746
5937
|
@Name = name
|
5747
5938
|
@ChargeType = chargetype
|
@@ -5769,6 +5960,7 @@ module TencentCloud
|
|
5769
5960
|
@UserTypes = usertypes
|
5770
5961
|
@SSHConfig = sshconfig
|
5771
5962
|
@VolumeSourceGooseFS = volumesourcegoosefs
|
5963
|
+
@SubUin = subuin
|
5772
5964
|
@SubUinName = subuinname
|
5773
5965
|
@AppId = appid
|
5774
5966
|
end
|
@@ -5820,6 +6012,7 @@ module TencentCloud
|
|
5820
6012
|
@VolumeSourceGooseFS = GooseFS.new
|
5821
6013
|
@VolumeSourceGooseFS.deserialize(params['VolumeSourceGooseFS'])
|
5822
6014
|
end
|
6015
|
+
@SubUin = params['SubUin']
|
5823
6016
|
@SubUinName = params['SubUinName']
|
5824
6017
|
@AppId = params['AppId']
|
5825
6018
|
end
|
@@ -5962,16 +6155,20 @@ module TencentCloud
|
|
5962
6155
|
# @param ResourceConfigInfo: pod资源配置
|
5963
6156
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
5964
6157
|
# @type ResourceConfigInfo: :class:`Tencentcloud::Tione.v20211111.models.ResourceConfigInfo`
|
6158
|
+
# @param SubUin: Pod所属任务的SubUin信息
|
6159
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6160
|
+
# @type SubUin: String
|
5965
6161
|
|
5966
|
-
attr_accessor :Name, :IP, :Status, :StartTime, :EndTime, :ResourceConfigInfo
|
6162
|
+
attr_accessor :Name, :IP, :Status, :StartTime, :EndTime, :ResourceConfigInfo, :SubUin
|
5967
6163
|
|
5968
|
-
def initialize(name=nil, ip=nil, status=nil, starttime=nil, endtime=nil, resourceconfiginfo=nil)
|
6164
|
+
def initialize(name=nil, ip=nil, status=nil, starttime=nil, endtime=nil, resourceconfiginfo=nil, subuin=nil)
|
5969
6165
|
@Name = name
|
5970
6166
|
@IP = ip
|
5971
6167
|
@Status = status
|
5972
6168
|
@StartTime = starttime
|
5973
6169
|
@EndTime = endtime
|
5974
6170
|
@ResourceConfigInfo = resourceconfiginfo
|
6171
|
+
@SubUin = subuin
|
5975
6172
|
end
|
5976
6173
|
|
5977
6174
|
def deserialize(params)
|
@@ -5984,6 +6181,7 @@ module TencentCloud
|
|
5984
6181
|
@ResourceConfigInfo = ResourceConfigInfo.new
|
5985
6182
|
@ResourceConfigInfo.deserialize(params['ResourceConfigInfo'])
|
5986
6183
|
end
|
6184
|
+
@SubUin = params['SubUin']
|
5987
6185
|
end
|
5988
6186
|
end
|
5989
6187
|
|
@@ -7368,6 +7566,25 @@ module TencentCloud
|
|
7368
7566
|
end
|
7369
7567
|
end
|
7370
7568
|
|
7569
|
+
# sidecar容器配置
|
7570
|
+
class SidecarSpec < TencentCloud::Common::AbstractModel
|
7571
|
+
# @param ImageInfo: 镜像配置
|
7572
|
+
# @type ImageInfo: :class:`Tencentcloud::Tione.v20211111.models.ImageInfo`
|
7573
|
+
|
7574
|
+
attr_accessor :ImageInfo
|
7575
|
+
|
7576
|
+
def initialize(imageinfo=nil)
|
7577
|
+
@ImageInfo = imageinfo
|
7578
|
+
end
|
7579
|
+
|
7580
|
+
def deserialize(params)
|
7581
|
+
unless params['ImageInfo'].nil?
|
7582
|
+
@ImageInfo = ImageInfo.new
|
7583
|
+
@ImageInfo.deserialize(params['ImageInfo'])
|
7584
|
+
end
|
7585
|
+
end
|
7586
|
+
end
|
7587
|
+
|
7371
7588
|
# 计费项内容
|
7372
7589
|
class Spec < TencentCloud::Common::AbstractModel
|
7373
7590
|
# @param SpecId: 计费项标签
|
@@ -8258,10 +8475,16 @@ module TencentCloud
|
|
8258
8475
|
# @param CallbackUrl: 回调地址
|
8259
8476
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
8260
8477
|
# @type CallbackUrl: String
|
8478
|
+
# @param SubUin: 任务subUin信息
|
8479
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
8480
|
+
# @type SubUin: String
|
8481
|
+
# @param SubUinName: 任务创建者名称
|
8482
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
8483
|
+
# @type SubUinName: String
|
8261
8484
|
|
8262
|
-
attr_accessor :Id, :Name, :FrameworkName, :FrameworkVersion, :FrameworkEnvironment, :ChargeType, :ChargeStatus, :ResourceGroupId, :ResourceConfigInfos, :TrainingMode, :Status, :RuntimeInSeconds, :CreateTime, :StartTime, :EndTime, :Output, :FailureReason, :UpdateTime, :BillingInfo, :ResourceGroupName, :ImageInfo, :Message, :Tags, :CallbackUrl
|
8485
|
+
attr_accessor :Id, :Name, :FrameworkName, :FrameworkVersion, :FrameworkEnvironment, :ChargeType, :ChargeStatus, :ResourceGroupId, :ResourceConfigInfos, :TrainingMode, :Status, :RuntimeInSeconds, :CreateTime, :StartTime, :EndTime, :Output, :FailureReason, :UpdateTime, :BillingInfo, :ResourceGroupName, :ImageInfo, :Message, :Tags, :CallbackUrl, :SubUin, :SubUinName
|
8263
8486
|
|
8264
|
-
def initialize(id=nil, name=nil, frameworkname=nil, frameworkversion=nil, frameworkenvironment=nil, chargetype=nil, chargestatus=nil, resourcegroupid=nil, resourceconfiginfos=nil, trainingmode=nil, status=nil, runtimeinseconds=nil, createtime=nil, starttime=nil, endtime=nil, output=nil, failurereason=nil, updatetime=nil, billinginfo=nil, resourcegroupname=nil, imageinfo=nil, message=nil, tags=nil, callbackurl=nil)
|
8487
|
+
def initialize(id=nil, name=nil, frameworkname=nil, frameworkversion=nil, frameworkenvironment=nil, chargetype=nil, chargestatus=nil, resourcegroupid=nil, resourceconfiginfos=nil, trainingmode=nil, status=nil, runtimeinseconds=nil, createtime=nil, starttime=nil, endtime=nil, output=nil, failurereason=nil, updatetime=nil, billinginfo=nil, resourcegroupname=nil, imageinfo=nil, message=nil, tags=nil, callbackurl=nil, subuin=nil, subuinname=nil)
|
8265
8488
|
@Id = id
|
8266
8489
|
@Name = name
|
8267
8490
|
@FrameworkName = frameworkname
|
@@ -8286,6 +8509,8 @@ module TencentCloud
|
|
8286
8509
|
@Message = message
|
8287
8510
|
@Tags = tags
|
8288
8511
|
@CallbackUrl = callbackurl
|
8512
|
+
@SubUin = subuin
|
8513
|
+
@SubUinName = subuinname
|
8289
8514
|
end
|
8290
8515
|
|
8291
8516
|
def deserialize(params)
|
@@ -8333,6 +8558,8 @@ module TencentCloud
|
|
8333
8558
|
end
|
8334
8559
|
end
|
8335
8560
|
@CallbackUrl = params['CallbackUrl']
|
8561
|
+
@SubUin = params['SubUin']
|
8562
|
+
@SubUinName = params['SubUinName']
|
8336
8563
|
end
|
8337
8564
|
end
|
8338
8565
|
|
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.1066
|
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-05-
|
11
|
+
date: 2025-05-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|