tencentcloud-sdk-tione 3.0.742 → 3.0.744

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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/VERSION +1 -1
  3. data/lib/v20211111/models.rb +111 -43
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5eb0edf679c9ded8a4875eb015d4c4933ba5bc13
4
- data.tar.gz: fa46c5d7b2c3cf2380f50961a47e8e12b34263f9
3
+ metadata.gz: a47e4cf730fdde26267290df5b6333f2096fc819
4
+ data.tar.gz: 371d320483a4487f58a6101a534d5b322806b850
5
5
  SHA512:
6
- metadata.gz: 830837cbd9a781aabada77722b62c6f0acbf8f1e1159e8958ba4af67d4db6ef26e1ed53d756c740bc65ee0fb0205f12064c6b4fa13f3766d24861e26fdacd22f
7
- data.tar.gz: 917331035374f7f1ef65996cc4c4cbfecf3e990fcb76e8e84919da510a71628b3e7810a89499caaf10903ee8dd1b917ba53a269b2b294265aef99359f4f49730
6
+ metadata.gz: 917ea966481e0191db200cf36821cf3fbbf96e868b136fad0174ada23654963fc1b65493e0a3f62d7d76abf58f971cd401e00f67905a7664b0e9a8bfc80f15e7
7
+ data.tar.gz: 51cd79c92ae1d1416592878fb7e09b081d8e44ed1ac58a136d7ec0c1f842ffa16c3a4dd4f8298eb39068dcbe85bdf91034a0c9e680e1e23b8aaf164a58d9e0c4
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.742
1
+ 3.0.744
@@ -1402,12 +1402,14 @@ module TencentCloud
1402
1402
  # @param SubnetId: 子网Id
1403
1403
  # @type SubnetId: String
1404
1404
  # @param VolumeSourceType: 存储的类型。取值包含:
1405
- # FREE: 预付费的免费存储
1406
- # CLOUD_PREMIUM: 高性能云硬盘
1407
- # CLOUD_SSD: SSD云硬盘
1408
- # CFS: CFS存储,包含NFS和turbo
1405
+ # FREE:预付费的免费存储
1406
+ # CLOUD_PREMIUM:高性能云硬盘
1407
+ # CLOUD_SSD:SSD云硬盘
1408
+ # CFSCFS存储
1409
+ # CFS_TURBO:CFS Turbo存储
1410
+ # GooseFSx:GooseFSx存储
1409
1411
  # @type VolumeSourceType: String
1410
- # @param VolumeSizeInGB: 存储卷大小,单位GB
1412
+ # @param VolumeSizeInGB: 云硬盘存储卷大小,单位GB
1411
1413
  # @type VolumeSizeInGB: Integer
1412
1414
  # @param VolumeSourceCFS: CFS存储的配置
1413
1415
  # @type VolumeSourceCFS: :class:`Tencentcloud::Tione.v20211111.models.CFSConfig`
@@ -1423,18 +1425,20 @@ module TencentCloud
1423
1425
  # @type AutomaticStopTime: Integer
1424
1426
  # @param Tags: 标签配置
1425
1427
  # @type Tags: Array
1426
- # @param DataConfigs: 数据配置
1428
+ # @param DataConfigs: 数据配置,只支持WEDATA_HDFS存储类型
1427
1429
  # @type DataConfigs: Array
1428
1430
  # @param ImageInfo: 镜像信息
1429
1431
  # @type ImageInfo: :class:`Tencentcloud::Tione.v20211111.models.ImageInfo`
1430
- # @param ImageType: 镜像类型
1432
+ # @param ImageType: 镜像类型,包括SYSTEM、TCR、CCR
1431
1433
  # @type ImageType: String
1432
1434
  # @param SSHConfig: SSH配置信息
1433
1435
  # @type SSHConfig: :class:`Tencentcloud::Tione.v20211111.models.SSHConfig`
1436
+ # @param VolumeSourceGooseFS: GooseFS存储配置
1437
+ # @type VolumeSourceGooseFS: :class:`Tencentcloud::Tione.v20211111.models.GooseFS`
1434
1438
 
1435
- attr_accessor :Name, :ChargeType, :ResourceConf, :LogEnable, :RootAccess, :AutoStopping, :DirectInternetAccess, :ResourceGroupId, :VpcId, :SubnetId, :VolumeSourceType, :VolumeSizeInGB, :VolumeSourceCFS, :LogConfig, :LifecycleScriptId, :DefaultCodeRepoId, :AdditionalCodeRepoIds, :AutomaticStopTime, :Tags, :DataConfigs, :ImageInfo, :ImageType, :SSHConfig
1439
+ attr_accessor :Name, :ChargeType, :ResourceConf, :LogEnable, :RootAccess, :AutoStopping, :DirectInternetAccess, :ResourceGroupId, :VpcId, :SubnetId, :VolumeSourceType, :VolumeSizeInGB, :VolumeSourceCFS, :LogConfig, :LifecycleScriptId, :DefaultCodeRepoId, :AdditionalCodeRepoIds, :AutomaticStopTime, :Tags, :DataConfigs, :ImageInfo, :ImageType, :SSHConfig, :VolumeSourceGooseFS
1436
1440
 
1437
- def initialize(name=nil, chargetype=nil, resourceconf=nil, logenable=nil, rootaccess=nil, autostopping=nil, directinternetaccess=nil, resourcegroupid=nil, vpcid=nil, subnetid=nil, volumesourcetype=nil, volumesizeingb=nil, volumesourcecfs=nil, logconfig=nil, lifecyclescriptid=nil, defaultcoderepoid=nil, additionalcoderepoids=nil, automaticstoptime=nil, tags=nil, dataconfigs=nil, imageinfo=nil, imagetype=nil, sshconfig=nil)
1441
+ def initialize(name=nil, chargetype=nil, resourceconf=nil, logenable=nil, rootaccess=nil, autostopping=nil, directinternetaccess=nil, resourcegroupid=nil, vpcid=nil, subnetid=nil, volumesourcetype=nil, volumesizeingb=nil, volumesourcecfs=nil, logconfig=nil, lifecyclescriptid=nil, defaultcoderepoid=nil, additionalcoderepoids=nil, automaticstoptime=nil, tags=nil, dataconfigs=nil, imageinfo=nil, imagetype=nil, sshconfig=nil, volumesourcegoosefs=nil)
1438
1442
  @Name = name
1439
1443
  @ChargeType = chargetype
1440
1444
  @ResourceConf = resourceconf
@@ -1458,6 +1462,7 @@ module TencentCloud
1458
1462
  @ImageInfo = imageinfo
1459
1463
  @ImageType = imagetype
1460
1464
  @SSHConfig = sshconfig
1465
+ @VolumeSourceGooseFS = volumesourcegoosefs
1461
1466
  end
1462
1467
 
1463
1468
  def deserialize(params)
@@ -1513,6 +1518,10 @@ module TencentCloud
1513
1518
  @SSHConfig = SSHConfig.new
1514
1519
  @SSHConfig.deserialize(params['SSHConfig'])
1515
1520
  end
1521
+ unless params['VolumeSourceGooseFS'].nil?
1522
+ @VolumeSourceGooseFS = GooseFS.new
1523
+ @VolumeSourceGooseFS.deserialize(params['VolumeSourceGooseFS'])
1524
+ end
1516
1525
  end
1517
1526
  end
1518
1527
 
@@ -1777,7 +1786,7 @@ module TencentCloud
1777
1786
  # @type StartCmdInfo: :class:`Tencentcloud::Tione.v20211111.models.StartCmdInfo`
1778
1787
  # @param TrainingMode: 训练模式,通过DescribeTrainingFrameworks接口查询,eg:PS_WORKER、DDP、MPI、HOROVOD
1779
1788
  # @type TrainingMode: String
1780
- # @param DataConfigs: 数据配置,依赖DataSource字段
1789
+ # @param DataConfigs: 数据配置,依赖DataSource字段,数量不超过10个
1781
1790
  # @type DataConfigs: Array
1782
1791
  # @param VpcId: VPC Id
1783
1792
  # @type VpcId: String
@@ -1787,13 +1796,13 @@ module TencentCloud
1787
1796
  # @type Output: :class:`Tencentcloud::Tione.v20211111.models.CosPathInfo`
1788
1797
  # @param LogConfig: CLS日志配置
1789
1798
  # @type LogConfig: :class:`Tencentcloud::Tione.v20211111.models.LogConfig`
1790
- # @param TuningParameters: 调优参数
1799
+ # @param TuningParameters: 调优参数,不超过2048个字符
1791
1800
  # @type TuningParameters: String
1792
1801
  # @param LogEnable: 是否上报日志
1793
1802
  # @type LogEnable: Boolean
1794
- # @param Remark: 备注,最多500个字
1803
+ # @param Remark: 备注,不超过1024个字符
1795
1804
  # @type Remark: String
1796
- # @param DataSource: 数据来源,eg:DATASET、COS、CFS、HDFS
1805
+ # @param DataSource: 数据来源,eg:DATASET、COS、CFS、CFSTurbo、HDFS、GooseFSx
1797
1806
  # @type DataSource: String
1798
1807
  # @param CallbackUrl: 回调地址,用于创建/启动/停止训练任务的异步回调。回调格式&内容详见:[[TI-ONE接口回调说明]](https://cloud.tencent.com/document/product/851/84292)
1799
1808
  # @type CallbackUrl: String
@@ -2084,7 +2093,7 @@ module TencentCloud
2084
2093
  class DataConfig < TencentCloud::Common::AbstractModel
2085
2094
  # @param MappingPath: 映射路径
2086
2095
  # @type MappingPath: String
2087
- # @param DataSourceType: DATASET、COS、CFS、HDFS、WEDATA_HDFS
2096
+ # @param DataSourceType: DATASET、COS、CFS、CFSTurbo、GooseFSx、HDFS、WEDATA_HDFS
2088
2097
  # 注意:此字段可能返回 null,表示取不到有效值。
2089
2098
  # @type DataSourceType: String
2090
2099
  # @param DataSetSource: 来自数据集的数据
@@ -4853,6 +4862,7 @@ module TencentCloud
4853
4862
  # Name(名称):notebook1
4854
4863
  # Id(notebook ID):nb-123456789
4855
4864
  # Status(状态):Starting / Running / Stopped / Stopping / Failed / SubmitFailed
4865
+ # Creator(创建者 uin):100014761913
4856
4866
  # ChargeType(计费类型):PREPAID(预付费)/ POSTPAID_BY_HOUR(后付费)
4857
4867
  # ChargeStatus(计费状态):NOT_BILLING(未开始计费)/ BILLING(计费中)/ BILLING_STORAGE(存储计费中)/ARREARS_STOP(欠费停止)
4858
4868
  # DefaultCodeRepoId(默认代码仓库ID):cr-123456789
@@ -5310,7 +5320,9 @@ module TencentCloud
5310
5320
  # 取值范围:
5311
5321
  # Name(名称):task1
5312
5322
  # Id(task ID):train-23091792777383936
5313
- # Status(状态):STARTING / RUNNING / STOPPING / STOPPED / FAILED / SUCCEED / SUBMIT_FAILED
5323
+ # Status(状态):SUBMITTING/PENDING/STARTING / RUNNING / STOPPING / STOPPED / FAILED / SUCCEED / SUBMIT_FAILED
5324
+ # ResourceGroupId(资源组 Id):trsg-kvvfrwl7
5325
+ # Creator(创建者 uin):100014761913
5314
5326
  # ChargeType(计费类型):PREPAID(预付费)/ POSTPAID_BY_HOUR(后付费)
5315
5327
  # CHARGE_STATUS(计费状态):NOT_BILLING(未开始计费)/ BILLING(计费中)/ ARREARS_STOP(欠费停止)
5316
5328
  # @type Filters: Array
@@ -5322,7 +5334,7 @@ module TencentCloud
5322
5334
  # @type Limit: Integer
5323
5335
  # @param Order: 输出列表的排列顺序。取值范围:ASC(升序排列)/ DESC(降序排列),默认为DESC
5324
5336
  # @type Order: String
5325
- # @param OrderField: 排序的依据字段, 取值范围 "CreateTime" "UpdateTime"
5337
+ # @param OrderField: 排序的依据字段, 取值范围 "CreateTime" "UpdateTime"、"StartTime",默认为UpdateTime
5326
5338
  # @type OrderField: String
5327
5339
 
5328
5340
  attr_accessor :Filters, :TagFilters, :Offset, :Limit, :Order, :OrderField
@@ -5732,15 +5744,25 @@ module TencentCloud
5732
5744
  # @param Id: goosefs实例id
5733
5745
  # 注意:此字段可能返回 null,表示取不到有效值。
5734
5746
  # @type Id: String
5747
+ # @param Type: GooseFS类型,包括GooseFS和GooseFSx
5748
+ # 注意:此字段可能返回 null,表示取不到有效值。
5749
+ # @type Type: String
5750
+ # @param Path: GooseFSx实例需要挂载的路径
5751
+ # 注意:此字段可能返回 null,表示取不到有效值。
5752
+ # @type Path: String
5735
5753
 
5736
- attr_accessor :Id
5754
+ attr_accessor :Id, :Type, :Path
5737
5755
 
5738
- def initialize(id=nil)
5756
+ def initialize(id=nil, type=nil, path=nil)
5739
5757
  @Id = id
5758
+ @Type = type
5759
+ @Path = path
5740
5760
  end
5741
5761
 
5742
5762
  def deserialize(params)
5743
5763
  @Id = params['Id']
5764
+ @Type = params['Type']
5765
+ @Path = params['Path']
5744
5766
  end
5745
5767
  end
5746
5768
 
@@ -5831,7 +5853,9 @@ module TencentCloud
5831
5853
  # @param MaxReplicas: 最大实例数
5832
5854
  # 注意:此字段可能返回 null,表示取不到有效值。
5833
5855
  # @type MaxReplicas: Integer
5834
- # @param HpaMetrics: 扩缩容指标
5856
+ # @param HpaMetrics: 支持:
5857
+ # "gpu-util": GPU利用率。范围{10, 100} "cpu-util": CPU利用率。范围{10, 100} "memory-util": 内存利用率。范围{10, 100} "service-qps": 单个实例QPS值。范围{1, 5000}
5858
+ # "concurrency-util":单个实例请求数量值。范围{1,100000}
5835
5859
  # 注意:此字段可能返回 null,表示取不到有效值。
5836
5860
  # @type HpaMetrics: Array
5837
5861
 
@@ -7059,9 +7083,9 @@ module TencentCloud
7059
7083
  class ModifyNotebookRequest < TencentCloud::Common::AbstractModel
7060
7084
  # @param Id: notebook id
7061
7085
  # @type Id: String
7062
- # @param Name: 名称
7086
+ # @param Name: 名称。不超过60个字符,仅支持中英文、数字、下划线"_"、短横"-",只能以中英文、数字开头
7063
7087
  # @type Name: String
7064
- # @param ChargeType: 计算资源付费模式 ,可选值为:
7088
+ # @param ChargeType: (不允许修改)计算资源付费模式 ,可选值为:
7065
7089
  # PREPAID:预付费,即包年包月
7066
7090
  # POSTPAID_BY_HOUR:按小时后付费
7067
7091
  # @type ChargeType: String
@@ -7077,19 +7101,19 @@ module TencentCloud
7077
7101
  # @type RootAccess: Boolean
7078
7102
  # @param ResourceGroupId: 资源组ID(for预付费)
7079
7103
  # @type ResourceGroupId: String
7080
- # @param VpcId: Vpc-Id
7104
+ # @param VpcId: (不允许修改)Vpc-Id
7081
7105
  # @type VpcId: String
7082
- # @param SubnetId: 子网Id
7106
+ # @param SubnetId: (不允许修改)子网Id
7083
7107
  # @type SubnetId: String
7084
7108
  # @param VolumeSizeInGB: 存储卷大小,单位GB
7085
7109
  # @type VolumeSizeInGB: Integer
7086
- # @param VolumeSourceType: 存储的类型。取值包含:
7110
+ # @param VolumeSourceType: (不允许修改)存储的类型。取值包含:
7087
7111
  # FREE: 预付费的免费存储
7088
7112
  # CLOUD_PREMIUM: 高性能云硬盘
7089
7113
  # CLOUD_SSD: SSD云硬盘
7090
7114
  # CFS: CFS存储,包含NFS和turbo
7091
7115
  # @type VolumeSourceType: String
7092
- # @param VolumeSourceCFS: CFS存储的配置
7116
+ # @param VolumeSourceCFS: (不允许修改)CFS存储的配置
7093
7117
  # @type VolumeSourceCFS: :class:`Tencentcloud::Tione.v20211111.models.CFSConfig`
7094
7118
  # @param LogConfig: 日志配置
7095
7119
  # @type LogConfig: :class:`Tencentcloud::Tione.v20211111.models.LogConfig`
@@ -7103,11 +7127,11 @@ module TencentCloud
7103
7127
  # @type AutomaticStopTime: Integer
7104
7128
  # @param Tags: 标签配置
7105
7129
  # @type Tags: Array
7106
- # @param DataConfigs: 数据配置
7130
+ # @param DataConfigs: 数据配置,只支持WEDATA_HDFS
7107
7131
  # @type DataConfigs: Array
7108
7132
  # @param ImageInfo: 镜像信息
7109
7133
  # @type ImageInfo: :class:`Tencentcloud::Tione.v20211111.models.ImageInfo`
7110
- # @param ImageType: 镜像类型
7134
+ # @param ImageType: 镜像类型,包括SYSTEM、TCR、CCR
7111
7135
  # @type ImageType: String
7112
7136
  # @param SSHConfig: SSH配置
7113
7137
  # @type SSHConfig: :class:`Tencentcloud::Tione.v20211111.models.SSHConfig`
@@ -7413,10 +7437,16 @@ module TencentCloud
7413
7437
  # @param ImageType: 镜像类型
7414
7438
  # 注意:此字段可能返回 null,表示取不到有效值。
7415
7439
  # @type ImageType: String
7440
+ # @param SSHConfig: SSH配置
7441
+ # 注意:此字段可能返回 null,表示取不到有效值。
7442
+ # @type SSHConfig: :class:`Tencentcloud::Tione.v20211111.models.SSHConfig`
7443
+ # @param VolumeSourceGooseFS: GooseFS存储配置
7444
+ # 注意:此字段可能返回 null,表示取不到有效值。
7445
+ # @type VolumeSourceGooseFS: :class:`Tencentcloud::Tione.v20211111.models.GooseFS`
7416
7446
 
7417
- attr_accessor :Id, :Name, :LifecycleScriptId, :PodName, :UpdateTime, :DirectInternetAccess, :ResourceGroupId, :Tags, :AutoStopping, :AdditionalCodeRepoIds, :AutomaticStopTime, :ResourceConf, :DefaultCodeRepoId, :EndTime, :LogEnable, :LogConfig, :VpcId, :SubnetId, :Status, :RuntimeInSeconds, :CreateTime, :StartTime, :ChargeStatus, :RootAccess, :BillingInfos, :VolumeSizeInGB, :FailureReason, :ChargeType, :InstanceTypeAlias, :ResourceGroupName, :VolumeSourceType, :VolumeSourceCFS, :DataConfigs, :Message, :DataSource, :ImageInfo, :ImageType
7447
+ attr_accessor :Id, :Name, :LifecycleScriptId, :PodName, :UpdateTime, :DirectInternetAccess, :ResourceGroupId, :Tags, :AutoStopping, :AdditionalCodeRepoIds, :AutomaticStopTime, :ResourceConf, :DefaultCodeRepoId, :EndTime, :LogEnable, :LogConfig, :VpcId, :SubnetId, :Status, :RuntimeInSeconds, :CreateTime, :StartTime, :ChargeStatus, :RootAccess, :BillingInfos, :VolumeSizeInGB, :FailureReason, :ChargeType, :InstanceTypeAlias, :ResourceGroupName, :VolumeSourceType, :VolumeSourceCFS, :DataConfigs, :Message, :DataSource, :ImageInfo, :ImageType, :SSHConfig, :VolumeSourceGooseFS
7418
7448
 
7419
- def initialize(id=nil, name=nil, lifecyclescriptid=nil, podname=nil, updatetime=nil, directinternetaccess=nil, resourcegroupid=nil, tags=nil, autostopping=nil, additionalcoderepoids=nil, automaticstoptime=nil, resourceconf=nil, defaultcoderepoid=nil, endtime=nil, logenable=nil, logconfig=nil, vpcid=nil, subnetid=nil, status=nil, runtimeinseconds=nil, createtime=nil, starttime=nil, chargestatus=nil, rootaccess=nil, billinginfos=nil, volumesizeingb=nil, failurereason=nil, chargetype=nil, instancetypealias=nil, resourcegroupname=nil, volumesourcetype=nil, volumesourcecfs=nil, dataconfigs=nil, message=nil, datasource=nil, imageinfo=nil, imagetype=nil)
7449
+ def initialize(id=nil, name=nil, lifecyclescriptid=nil, podname=nil, updatetime=nil, directinternetaccess=nil, resourcegroupid=nil, tags=nil, autostopping=nil, additionalcoderepoids=nil, automaticstoptime=nil, resourceconf=nil, defaultcoderepoid=nil, endtime=nil, logenable=nil, logconfig=nil, vpcid=nil, subnetid=nil, status=nil, runtimeinseconds=nil, createtime=nil, starttime=nil, chargestatus=nil, rootaccess=nil, billinginfos=nil, volumesizeingb=nil, failurereason=nil, chargetype=nil, instancetypealias=nil, resourcegroupname=nil, volumesourcetype=nil, volumesourcecfs=nil, dataconfigs=nil, message=nil, datasource=nil, imageinfo=nil, imagetype=nil, sshconfig=nil, volumesourcegoosefs=nil)
7420
7450
  @Id = id
7421
7451
  @Name = name
7422
7452
  @LifecycleScriptId = lifecyclescriptid
@@ -7454,6 +7484,8 @@ module TencentCloud
7454
7484
  @DataSource = datasource
7455
7485
  @ImageInfo = imageinfo
7456
7486
  @ImageType = imagetype
7487
+ @SSHConfig = sshconfig
7488
+ @VolumeSourceGooseFS = volumesourcegoosefs
7457
7489
  end
7458
7490
 
7459
7491
  def deserialize(params)
@@ -7520,6 +7552,14 @@ module TencentCloud
7520
7552
  @ImageInfo.deserialize(params['ImageInfo'])
7521
7553
  end
7522
7554
  @ImageType = params['ImageType']
7555
+ unless params['SSHConfig'].nil?
7556
+ @SSHConfig = SSHConfig.new
7557
+ @SSHConfig.deserialize(params['SSHConfig'])
7558
+ end
7559
+ unless params['VolumeSourceGooseFS'].nil?
7560
+ @VolumeSourceGooseFS = GooseFS.new
7561
+ @VolumeSourceGooseFS.deserialize(params['VolumeSourceGooseFS'])
7562
+ end
7523
7563
  end
7524
7564
  end
7525
7565
 
@@ -7531,7 +7571,7 @@ module TencentCloud
7531
7571
  # @param ImageUrl: 镜像地址
7532
7572
  # 注意:此字段可能返回 null,表示取不到有效值。
7533
7573
  # @type ImageUrl: String
7534
- # @param Status: 状态
7574
+ # @param Status: 状态。eg:creating导出中/success已完成/stopped已停止/fail异常
7535
7575
  # 注意:此字段可能返回 null,表示取不到有效值。
7536
7576
  # @type Status: String
7537
7577
  # @param CreateTime: 创建时间
@@ -7646,10 +7686,13 @@ module TencentCloud
7646
7686
  # @param SSHConfig: SSH配置
7647
7687
  # 注意:此字段可能返回 null,表示取不到有效值。
7648
7688
  # @type SSHConfig: :class:`Tencentcloud::Tione.v20211111.models.SSHConfig`
7689
+ # @param VolumeSourceGooseFS: GooseFS存储配置
7690
+ # 注意:此字段可能返回 null,表示取不到有效值。
7691
+ # @type VolumeSourceGooseFS: :class:`Tencentcloud::Tione.v20211111.models.GooseFS`
7649
7692
 
7650
- 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
7693
+ 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
7651
7694
 
7652
- 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)
7695
+ 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)
7653
7696
  @Id = id
7654
7697
  @Name = name
7655
7698
  @ChargeType = chargetype
@@ -7676,6 +7719,7 @@ module TencentCloud
7676
7719
  @Message = message
7677
7720
  @UserTypes = usertypes
7678
7721
  @SSHConfig = sshconfig
7722
+ @VolumeSourceGooseFS = volumesourcegoosefs
7679
7723
  end
7680
7724
 
7681
7725
  def deserialize(params)
@@ -7721,6 +7765,10 @@ module TencentCloud
7721
7765
  @SSHConfig = SSHConfig.new
7722
7766
  @SSHConfig.deserialize(params['SSHConfig'])
7723
7767
  end
7768
+ unless params['VolumeSourceGooseFS'].nil?
7769
+ @VolumeSourceGooseFS = GooseFS.new
7770
+ @VolumeSourceGooseFS.deserialize(params['VolumeSourceGooseFS'])
7771
+ end
7724
7772
  end
7725
7773
  end
7726
7774
 
@@ -7881,7 +7929,7 @@ module TencentCloud
7881
7929
  # @param IP: pod的IP
7882
7930
  # 注意:此字段可能返回 null,表示取不到有效值。
7883
7931
  # @type IP: String
7884
- # @param Status: pod状态
7932
+ # @param Status: pod状态。eg:SUBMITTING提交中、PENDING排队中、RUNNING运行中、SUCCEEDED已完成、FAILED异常、TERMINATING停止中、TERMINATED已停止
7885
7933
  # 注意:此字段可能返回 null,表示取不到有效值。
7886
7934
  # @type Status: String
7887
7935
  # @param StartTime: pod启动时间
@@ -8026,10 +8074,10 @@ module TencentCloud
8026
8074
  # @param Memory: memory 内存资源, 单位为1M (for预付费)
8027
8075
  # 注意:此字段可能返回 null,表示取不到有效值。
8028
8076
  # @type Memory: Integer
8029
- # @param Gpu: gpu Gpu卡资源,单位为1单位的GpuType,例如GpuType=T4时,1 Gpu = 1/100 T4卡,GpuType=vcuda时,1 Gpu = 1/100 vcuda-core (for预付费)
8077
+ # @param Gpu: gpu Gpu卡资源,单位为1/100卡,例如GpuType=T4时,1 Gpu = 1/100 T4 (for预付费)
8030
8078
  # 注意:此字段可能返回 null,表示取不到有效值。
8031
8079
  # @type Gpu: Integer
8032
- # @param GpuType: GpuType 卡类型 vcuda, T4,P4,V100等 (for预付费)
8080
+ # @param GpuType: GpuType 卡类型,参考资源组上对应的卡类型。eg: H800,A800,A100,T4,P4,V100等 (for预付费)
8033
8081
  # 注意:此字段可能返回 null,表示取不到有效值。
8034
8082
  # @type GpuType: String
8035
8083
  # @param InstanceType: 计算规格 (for后付费),可选值如下:
@@ -8075,13 +8123,13 @@ module TencentCloud
8075
8123
  class ResourceConfigInfo < TencentCloud::Common::AbstractModel
8076
8124
  # @param Role: 角色,eg:PS、WORKER、DRIVER、EXECUTOR
8077
8125
  # @type Role: String
8078
- # @param Cpu: cpu核数,1000=1核
8126
+ # @param Cpu: cpu核数,使用资源组时需配置。单位:1/1000,即1000=1核
8079
8127
  # @type Cpu: Integer
8080
- # @param Memory: 内存,单位为MB
8128
+ # @param Memory: 内存,使用资源组时需配置。单位为MB
8081
8129
  # @type Memory: Integer
8082
- # @param GpuType: gpu卡类型
8130
+ # @param GpuType: gpu卡类型,使用资源组时需配置
8083
8131
  # @type GpuType: String
8084
- # @param Gpu: gpu
8132
+ # @param Gpu: gpu卡数,使用资源组时需配置。单位:1/100,即100=1卡
8085
8133
  # @type Gpu: Integer
8086
8134
  # @param InstanceType: 算力规格ID
8087
8135
  # 计算规格 (for后付费),可选值如下:
@@ -9327,17 +9375,25 @@ module TencentCloud
9327
9375
  # @type EnableInstanceRpsLimit: Boolean
9328
9376
  # @param InstanceRpsLimit: 每个服务实例的 request per second 限速, 0 为不限流
9329
9377
  # @type InstanceRpsLimit: Integer
9378
+ # @param EnableInstanceReqLimit: 是否开启单实例最大并发数限制,true or false。true 则 InstanceReqLimit 必填, false 则 InstanceReqLimit 不生效
9379
+ # @type EnableInstanceReqLimit: Boolean
9380
+ # @param InstanceReqLimit: 每个服务实例的最大并发
9381
+ # @type InstanceReqLimit: Integer
9330
9382
 
9331
- attr_accessor :EnableInstanceRpsLimit, :InstanceRpsLimit
9383
+ attr_accessor :EnableInstanceRpsLimit, :InstanceRpsLimit, :EnableInstanceReqLimit, :InstanceReqLimit
9332
9384
 
9333
- def initialize(enableinstancerpslimit=nil, instancerpslimit=nil)
9385
+ def initialize(enableinstancerpslimit=nil, instancerpslimit=nil, enableinstancereqlimit=nil, instancereqlimit=nil)
9334
9386
  @EnableInstanceRpsLimit = enableinstancerpslimit
9335
9387
  @InstanceRpsLimit = instancerpslimit
9388
+ @EnableInstanceReqLimit = enableinstancereqlimit
9389
+ @InstanceReqLimit = instancereqlimit
9336
9390
  end
9337
9391
 
9338
9392
  def deserialize(params)
9339
9393
  @EnableInstanceRpsLimit = params['EnableInstanceRpsLimit']
9340
9394
  @InstanceRpsLimit = params['InstanceRpsLimit']
9395
+ @EnableInstanceReqLimit = params['EnableInstanceReqLimit']
9396
+ @InstanceReqLimit = params['InstanceReqLimit']
9341
9397
  end
9342
9398
  end
9343
9399
 
@@ -10024,12 +10080,23 @@ module TencentCloud
10024
10080
 
10025
10081
  # 训练数据
10026
10082
  class TrainingDataPoint < TencentCloud::Common::AbstractModel
10083
+ # @param Timestamp: 时间戳
10084
+ # 注意:此字段可能返回 null,表示取不到有效值。
10085
+ # @type Timestamp: Integer
10086
+ # @param Value: 训练上报的值。可以为训练指标(双精度浮点数,也可以为Epoch/Step(两者皆保证是整数)
10087
+ # 注意:此字段可能返回 null,表示取不到有效值。
10088
+ # @type Value: Float
10027
10089
 
10090
+ attr_accessor :Timestamp, :Value
10028
10091
 
10029
- def initialize()
10092
+ def initialize(timestamp=nil, value=nil)
10093
+ @Timestamp = timestamp
10094
+ @Value = value
10030
10095
  end
10031
10096
 
10032
10097
  def deserialize(params)
10098
+ @Timestamp = params['Timestamp']
10099
+ @Value = params['Value']
10033
10100
  end
10034
10101
  end
10035
10102
 
@@ -10562,7 +10629,8 @@ module TencentCloud
10562
10629
  # @param TrainingMode: 训练模式eg:PS_WORKER、DDP、MPI、HOROVOD
10563
10630
  # 注意:此字段可能返回 null,表示取不到有效值。
10564
10631
  # @type TrainingMode: String
10565
- # @param Status: 任务状态,eg:STARTING启动中、RUNNING运行中、STOPPING停止中、STOPPED已停止、FAILED异常、SUCCEED已完成
10632
+ # @param Status: 任务状态,eg:SUBMITTING提交中、PENDING排队中、
10633
+ # STARTING启动中、RUNNING运行中、STOPPING停止中、STOPPED已停止、FAILED异常、SUCCEED已完成
10566
10634
  # @type Status: String
10567
10635
  # @param RuntimeInSeconds: 运行时长
10568
10636
  # 注意:此字段可能返回 null,表示取不到有效值。
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.742
4
+ version: 3.0.744
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-01-04 00:00:00.000000000 Z
11
+ date: 2024-01-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common