tencentcloud-sdk-tione 3.0.640 → 3.0.642
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/models.rb +109 -40
- metadata +5 -5
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: cb074de9d0ab0b45c2e85b8cddde3baf9dc72384
|
|
4
|
+
data.tar.gz: 9a7fe5ff4270ad19c449eb6926255b31035ac611
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 4256067bbed480ad7c13c4908e5cf21449a0d08a7a9cfccd55c81369e92445b2e2f9040611b6f75fb92bfc8f87bfa55750b779c5e50ea2be91c7672f8e6af15b
|
|
7
|
+
data.tar.gz: 7b64e154927f29918d0f8f1d7af89f496d769c1fb1b787d4f51b7d6696b1788100cc733f7ab0ca7365329c02799db4aa964e5cbe078f6026239b58e99ab377de
|
data/lib/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
3.0.
|
|
1
|
+
3.0.642
|
data/lib/v20211111/models.rb
CHANGED
|
@@ -1324,28 +1324,28 @@ module TencentCloud
|
|
|
1324
1324
|
|
|
1325
1325
|
# CreateNotebookImage请求参数结构体
|
|
1326
1326
|
class CreateNotebookImageRequest < TencentCloud::Common::AbstractModel
|
|
1327
|
-
# @param Kernels: 要保存的kernel数组
|
|
1328
|
-
# @type Kernels: Array
|
|
1329
1327
|
# @param ImageInfo: 镜像信息
|
|
1330
1328
|
# @type ImageInfo: :class:`Tencentcloud::Tione.v20211111.models.ImageInfo`
|
|
1331
1329
|
# @param NotebookId: notebook id
|
|
1332
1330
|
# @type NotebookId: String
|
|
1331
|
+
# @param Kernels: 要保存的kernel数组
|
|
1332
|
+
# @type Kernels: Array
|
|
1333
1333
|
|
|
1334
|
-
attr_accessor :
|
|
1334
|
+
attr_accessor :ImageInfo, :NotebookId, :Kernels
|
|
1335
1335
|
|
|
1336
|
-
def initialize(
|
|
1337
|
-
@Kernels = kernels
|
|
1336
|
+
def initialize(imageinfo=nil, notebookid=nil, kernels=nil)
|
|
1338
1337
|
@ImageInfo = imageinfo
|
|
1339
1338
|
@NotebookId = notebookid
|
|
1339
|
+
@Kernels = kernels
|
|
1340
1340
|
end
|
|
1341
1341
|
|
|
1342
1342
|
def deserialize(params)
|
|
1343
|
-
@Kernels = params['Kernels']
|
|
1344
1343
|
unless params['ImageInfo'].nil?
|
|
1345
1344
|
@ImageInfo = ImageInfo.new
|
|
1346
1345
|
@ImageInfo.deserialize(params['ImageInfo'])
|
|
1347
1346
|
end
|
|
1348
1347
|
@NotebookId = params['NotebookId']
|
|
1348
|
+
@Kernels = params['Kernels']
|
|
1349
1349
|
end
|
|
1350
1350
|
end
|
|
1351
1351
|
|
|
@@ -1417,10 +1417,12 @@ module TencentCloud
|
|
|
1417
1417
|
# @type ImageInfo: :class:`Tencentcloud::Tione.v20211111.models.ImageInfo`
|
|
1418
1418
|
# @param ImageType: 镜像类型
|
|
1419
1419
|
# @type ImageType: String
|
|
1420
|
+
# @param SSHConfig: SSH配置信息
|
|
1421
|
+
# @type SSHConfig: :class:`Tencentcloud::Tione.v20211111.models.SSHConfig`
|
|
1420
1422
|
|
|
1421
|
-
attr_accessor :Name, :ChargeType, :ResourceConf, :LogEnable, :RootAccess, :AutoStopping, :DirectInternetAccess, :ResourceGroupId, :VpcId, :SubnetId, :VolumeSourceType, :VolumeSizeInGB, :VolumeSourceCFS, :LogConfig, :LifecycleScriptId, :DefaultCodeRepoId, :AdditionalCodeRepoIds, :AutomaticStopTime, :Tags, :DataConfigs, :ImageInfo, :ImageType
|
|
1423
|
+
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
|
|
1422
1424
|
|
|
1423
|
-
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)
|
|
1425
|
+
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)
|
|
1424
1426
|
@Name = name
|
|
1425
1427
|
@ChargeType = chargetype
|
|
1426
1428
|
@ResourceConf = resourceconf
|
|
@@ -1443,6 +1445,7 @@ module TencentCloud
|
|
|
1443
1445
|
@DataConfigs = dataconfigs
|
|
1444
1446
|
@ImageInfo = imageinfo
|
|
1445
1447
|
@ImageType = imagetype
|
|
1448
|
+
@SSHConfig = sshconfig
|
|
1446
1449
|
end
|
|
1447
1450
|
|
|
1448
1451
|
def deserialize(params)
|
|
@@ -1494,6 +1497,10 @@ module TencentCloud
|
|
|
1494
1497
|
@ImageInfo.deserialize(params['ImageInfo'])
|
|
1495
1498
|
end
|
|
1496
1499
|
@ImageType = params['ImageType']
|
|
1500
|
+
unless params['SSHConfig'].nil?
|
|
1501
|
+
@SSHConfig = SSHConfig.new
|
|
1502
|
+
@SSHConfig.deserialize(params['SSHConfig'])
|
|
1503
|
+
end
|
|
1497
1504
|
end
|
|
1498
1505
|
end
|
|
1499
1506
|
|
|
@@ -1740,14 +1747,6 @@ module TencentCloud
|
|
|
1740
1747
|
# @type ChargeType: String
|
|
1741
1748
|
# @param ResourceConfigInfos: 资源配置,需填写对应算力规格ID和节点数量,算力规格ID查询接口为DescribeBillingSpecsPrice,eg:[{"Role":"WORKER", "InstanceType": "TI.S.MEDIUM.POST", "InstanceNum": 1}]
|
|
1742
1749
|
# @type ResourceConfigInfos: Array
|
|
1743
|
-
# @param CodePackagePath: COS代码包路径
|
|
1744
|
-
# @type CodePackagePath: :class:`Tencentcloud::Tione.v20211111.models.CosPathInfo`
|
|
1745
|
-
# @param TrainingMode: 训练模式,通过DescribeTrainingFrameworks接口查询,eg:PS_WORKER、DDP、MPI、HOROVOD
|
|
1746
|
-
# @type TrainingMode: String
|
|
1747
|
-
# @param Output: COS训练输出路径
|
|
1748
|
-
# @type Output: :class:`Tencentcloud::Tione.v20211111.models.CosPathInfo`
|
|
1749
|
-
# @param LogEnable: 是否上报日志
|
|
1750
|
-
# @type LogEnable: Boolean
|
|
1751
1750
|
# @param FrameworkName: 训练框架名称,通过DescribeTrainingFrameworks接口查询,eg:SPARK、PYSPARK、TENSORFLOW、PYTORCH
|
|
1752
1751
|
# @type FrameworkName: String
|
|
1753
1752
|
# @param FrameworkVersion: 训练框架版本,通过DescribeTrainingFrameworks接口查询,eg:1.15、1.9
|
|
@@ -1760,18 +1759,26 @@ module TencentCloud
|
|
|
1760
1759
|
# @type Tags: Array
|
|
1761
1760
|
# @param ImageInfo: 自定义镜像信息
|
|
1762
1761
|
# @type ImageInfo: :class:`Tencentcloud::Tione.v20211111.models.ImageInfo`
|
|
1762
|
+
# @param CodePackagePath: COS代码包路径
|
|
1763
|
+
# @type CodePackagePath: :class:`Tencentcloud::Tione.v20211111.models.CosPathInfo`
|
|
1763
1764
|
# @param StartCmdInfo: 启动命令信息,默认为sh start.sh
|
|
1764
1765
|
# @type StartCmdInfo: :class:`Tencentcloud::Tione.v20211111.models.StartCmdInfo`
|
|
1766
|
+
# @param TrainingMode: 训练模式,通过DescribeTrainingFrameworks接口查询,eg:PS_WORKER、DDP、MPI、HOROVOD
|
|
1767
|
+
# @type TrainingMode: String
|
|
1765
1768
|
# @param DataConfigs: 数据配置,依赖DataSource字段
|
|
1766
1769
|
# @type DataConfigs: Array
|
|
1767
1770
|
# @param VpcId: VPC Id
|
|
1768
1771
|
# @type VpcId: String
|
|
1769
1772
|
# @param SubnetId: 子网Id
|
|
1770
1773
|
# @type SubnetId: String
|
|
1774
|
+
# @param Output: COS训练输出路径
|
|
1775
|
+
# @type Output: :class:`Tencentcloud::Tione.v20211111.models.CosPathInfo`
|
|
1771
1776
|
# @param LogConfig: CLS日志配置
|
|
1772
1777
|
# @type LogConfig: :class:`Tencentcloud::Tione.v20211111.models.LogConfig`
|
|
1773
1778
|
# @param TuningParameters: 调优参数
|
|
1774
1779
|
# @type TuningParameters: String
|
|
1780
|
+
# @param LogEnable: 是否上报日志
|
|
1781
|
+
# @type LogEnable: Boolean
|
|
1775
1782
|
# @param Remark: 备注,最多500个字
|
|
1776
1783
|
# @type Remark: String
|
|
1777
1784
|
# @param DataSource: 数据来源,eg:DATASET、COS、CFS、HDFS
|
|
@@ -1779,28 +1786,28 @@ module TencentCloud
|
|
|
1779
1786
|
# @param CallbackUrl: 回调地址,用于创建/启动/停止训练任务的异步回调。回调格式&内容详见:[[TI-ONE接口回调说明]](https://cloud.tencent.com/document/product/851/84292)
|
|
1780
1787
|
# @type CallbackUrl: String
|
|
1781
1788
|
|
|
1782
|
-
attr_accessor :Name, :ChargeType, :ResourceConfigInfos, :
|
|
1789
|
+
attr_accessor :Name, :ChargeType, :ResourceConfigInfos, :FrameworkName, :FrameworkVersion, :FrameworkEnvironment, :ResourceGroupId, :Tags, :ImageInfo, :CodePackagePath, :StartCmdInfo, :TrainingMode, :DataConfigs, :VpcId, :SubnetId, :Output, :LogConfig, :TuningParameters, :LogEnable, :Remark, :DataSource, :CallbackUrl
|
|
1783
1790
|
|
|
1784
|
-
def initialize(name=nil, chargetype=nil, resourceconfiginfos=nil,
|
|
1791
|
+
def initialize(name=nil, chargetype=nil, resourceconfiginfos=nil, frameworkname=nil, frameworkversion=nil, frameworkenvironment=nil, resourcegroupid=nil, tags=nil, imageinfo=nil, codepackagepath=nil, startcmdinfo=nil, trainingmode=nil, dataconfigs=nil, vpcid=nil, subnetid=nil, output=nil, logconfig=nil, tuningparameters=nil, logenable=nil, remark=nil, datasource=nil, callbackurl=nil)
|
|
1785
1792
|
@Name = name
|
|
1786
1793
|
@ChargeType = chargetype
|
|
1787
1794
|
@ResourceConfigInfos = resourceconfiginfos
|
|
1788
|
-
@CodePackagePath = codepackagepath
|
|
1789
|
-
@TrainingMode = trainingmode
|
|
1790
|
-
@Output = output
|
|
1791
|
-
@LogEnable = logenable
|
|
1792
1795
|
@FrameworkName = frameworkname
|
|
1793
1796
|
@FrameworkVersion = frameworkversion
|
|
1794
1797
|
@FrameworkEnvironment = frameworkenvironment
|
|
1795
1798
|
@ResourceGroupId = resourcegroupid
|
|
1796
1799
|
@Tags = tags
|
|
1797
1800
|
@ImageInfo = imageinfo
|
|
1801
|
+
@CodePackagePath = codepackagepath
|
|
1798
1802
|
@StartCmdInfo = startcmdinfo
|
|
1803
|
+
@TrainingMode = trainingmode
|
|
1799
1804
|
@DataConfigs = dataconfigs
|
|
1800
1805
|
@VpcId = vpcid
|
|
1801
1806
|
@SubnetId = subnetid
|
|
1807
|
+
@Output = output
|
|
1802
1808
|
@LogConfig = logconfig
|
|
1803
1809
|
@TuningParameters = tuningparameters
|
|
1810
|
+
@LogEnable = logenable
|
|
1804
1811
|
@Remark = remark
|
|
1805
1812
|
@DataSource = datasource
|
|
1806
1813
|
@CallbackUrl = callbackurl
|
|
@@ -1817,16 +1824,6 @@ module TencentCloud
|
|
|
1817
1824
|
@ResourceConfigInfos << resourceconfiginfo_tmp
|
|
1818
1825
|
end
|
|
1819
1826
|
end
|
|
1820
|
-
unless params['CodePackagePath'].nil?
|
|
1821
|
-
@CodePackagePath = CosPathInfo.new
|
|
1822
|
-
@CodePackagePath.deserialize(params['CodePackagePath'])
|
|
1823
|
-
end
|
|
1824
|
-
@TrainingMode = params['TrainingMode']
|
|
1825
|
-
unless params['Output'].nil?
|
|
1826
|
-
@Output = CosPathInfo.new
|
|
1827
|
-
@Output.deserialize(params['Output'])
|
|
1828
|
-
end
|
|
1829
|
-
@LogEnable = params['LogEnable']
|
|
1830
1827
|
@FrameworkName = params['FrameworkName']
|
|
1831
1828
|
@FrameworkVersion = params['FrameworkVersion']
|
|
1832
1829
|
@FrameworkEnvironment = params['FrameworkEnvironment']
|
|
@@ -1843,10 +1840,15 @@ module TencentCloud
|
|
|
1843
1840
|
@ImageInfo = ImageInfo.new
|
|
1844
1841
|
@ImageInfo.deserialize(params['ImageInfo'])
|
|
1845
1842
|
end
|
|
1843
|
+
unless params['CodePackagePath'].nil?
|
|
1844
|
+
@CodePackagePath = CosPathInfo.new
|
|
1845
|
+
@CodePackagePath.deserialize(params['CodePackagePath'])
|
|
1846
|
+
end
|
|
1846
1847
|
unless params['StartCmdInfo'].nil?
|
|
1847
1848
|
@StartCmdInfo = StartCmdInfo.new
|
|
1848
1849
|
@StartCmdInfo.deserialize(params['StartCmdInfo'])
|
|
1849
1850
|
end
|
|
1851
|
+
@TrainingMode = params['TrainingMode']
|
|
1850
1852
|
unless params['DataConfigs'].nil?
|
|
1851
1853
|
@DataConfigs = []
|
|
1852
1854
|
params['DataConfigs'].each do |i|
|
|
@@ -1857,11 +1859,16 @@ module TencentCloud
|
|
|
1857
1859
|
end
|
|
1858
1860
|
@VpcId = params['VpcId']
|
|
1859
1861
|
@SubnetId = params['SubnetId']
|
|
1862
|
+
unless params['Output'].nil?
|
|
1863
|
+
@Output = CosPathInfo.new
|
|
1864
|
+
@Output.deserialize(params['Output'])
|
|
1865
|
+
end
|
|
1860
1866
|
unless params['LogConfig'].nil?
|
|
1861
1867
|
@LogConfig = LogConfig.new
|
|
1862
1868
|
@LogConfig.deserialize(params['LogConfig'])
|
|
1863
1869
|
end
|
|
1864
1870
|
@TuningParameters = params['TuningParameters']
|
|
1871
|
+
@LogEnable = params['LogEnable']
|
|
1865
1872
|
@Remark = params['Remark']
|
|
1866
1873
|
@DataSource = params['DataSource']
|
|
1867
1874
|
@CallbackUrl = params['CallbackUrl']
|
|
@@ -5438,14 +5445,22 @@ module TencentCloud
|
|
|
5438
5445
|
# @param RegistryId: TCR镜像对应的实例id
|
|
5439
5446
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
5440
5447
|
# @type RegistryId: String
|
|
5448
|
+
# @param AllowSaveAllContent: 是否允许导出全部内容
|
|
5449
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
5450
|
+
# @type AllowSaveAllContent: Boolean
|
|
5451
|
+
# @param ImageName: 镜像名称
|
|
5452
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
5453
|
+
# @type ImageName: String
|
|
5441
5454
|
|
|
5442
|
-
attr_accessor :ImageType, :ImageUrl, :RegistryRegion, :RegistryId
|
|
5455
|
+
attr_accessor :ImageType, :ImageUrl, :RegistryRegion, :RegistryId, :AllowSaveAllContent, :ImageName
|
|
5443
5456
|
|
|
5444
|
-
def initialize(imagetype=nil, imageurl=nil, registryregion=nil, registryid=nil)
|
|
5457
|
+
def initialize(imagetype=nil, imageurl=nil, registryregion=nil, registryid=nil, allowsaveallcontent=nil, imagename=nil)
|
|
5445
5458
|
@ImageType = imagetype
|
|
5446
5459
|
@ImageUrl = imageurl
|
|
5447
5460
|
@RegistryRegion = registryregion
|
|
5448
5461
|
@RegistryId = registryid
|
|
5462
|
+
@AllowSaveAllContent = allowsaveallcontent
|
|
5463
|
+
@ImageName = imagename
|
|
5449
5464
|
end
|
|
5450
5465
|
|
|
5451
5466
|
def deserialize(params)
|
|
@@ -5453,6 +5468,8 @@ module TencentCloud
|
|
|
5453
5468
|
@ImageUrl = params['ImageUrl']
|
|
5454
5469
|
@RegistryRegion = params['RegistryRegion']
|
|
5455
5470
|
@RegistryId = params['RegistryId']
|
|
5471
|
+
@AllowSaveAllContent = params['AllowSaveAllContent']
|
|
5472
|
+
@ImageName = params['ImageName']
|
|
5456
5473
|
end
|
|
5457
5474
|
end
|
|
5458
5475
|
|
|
@@ -6336,10 +6353,12 @@ module TencentCloud
|
|
|
6336
6353
|
# @type ImageInfo: :class:`Tencentcloud::Tione.v20211111.models.ImageInfo`
|
|
6337
6354
|
# @param ImageType: 镜像类型
|
|
6338
6355
|
# @type ImageType: String
|
|
6356
|
+
# @param SSHConfig: SSH配置
|
|
6357
|
+
# @type SSHConfig: :class:`Tencentcloud::Tione.v20211111.models.SSHConfig`
|
|
6339
6358
|
|
|
6340
|
-
attr_accessor :Id, :Name, :ChargeType, :ResourceConf, :LogEnable, :AutoStopping, :DirectInternetAccess, :RootAccess, :ResourceGroupId, :VpcId, :SubnetId, :VolumeSizeInGB, :VolumeSourceType, :VolumeSourceCFS, :LogConfig, :LifecycleScriptId, :DefaultCodeRepoId, :AdditionalCodeRepoIds, :AutomaticStopTime, :Tags, :DataConfigs, :ImageInfo, :ImageType
|
|
6359
|
+
attr_accessor :Id, :Name, :ChargeType, :ResourceConf, :LogEnable, :AutoStopping, :DirectInternetAccess, :RootAccess, :ResourceGroupId, :VpcId, :SubnetId, :VolumeSizeInGB, :VolumeSourceType, :VolumeSourceCFS, :LogConfig, :LifecycleScriptId, :DefaultCodeRepoId, :AdditionalCodeRepoIds, :AutomaticStopTime, :Tags, :DataConfigs, :ImageInfo, :ImageType, :SSHConfig
|
|
6341
6360
|
|
|
6342
|
-
def initialize(id=nil, name=nil, chargetype=nil, resourceconf=nil, logenable=nil, autostopping=nil, directinternetaccess=nil, rootaccess=nil, resourcegroupid=nil, vpcid=nil, subnetid=nil, volumesizeingb=nil, volumesourcetype=nil, volumesourcecfs=nil, logconfig=nil, lifecyclescriptid=nil, defaultcoderepoid=nil, additionalcoderepoids=nil, automaticstoptime=nil, tags=nil, dataconfigs=nil, imageinfo=nil, imagetype=nil)
|
|
6361
|
+
def initialize(id=nil, name=nil, chargetype=nil, resourceconf=nil, logenable=nil, autostopping=nil, directinternetaccess=nil, rootaccess=nil, resourcegroupid=nil, vpcid=nil, subnetid=nil, volumesizeingb=nil, volumesourcetype=nil, volumesourcecfs=nil, logconfig=nil, lifecyclescriptid=nil, defaultcoderepoid=nil, additionalcoderepoids=nil, automaticstoptime=nil, tags=nil, dataconfigs=nil, imageinfo=nil, imagetype=nil, sshconfig=nil)
|
|
6343
6362
|
@Id = id
|
|
6344
6363
|
@Name = name
|
|
6345
6364
|
@ChargeType = chargetype
|
|
@@ -6363,6 +6382,7 @@ module TencentCloud
|
|
|
6363
6382
|
@DataConfigs = dataconfigs
|
|
6364
6383
|
@ImageInfo = imageinfo
|
|
6365
6384
|
@ImageType = imagetype
|
|
6385
|
+
@SSHConfig = sshconfig
|
|
6366
6386
|
end
|
|
6367
6387
|
|
|
6368
6388
|
def deserialize(params)
|
|
@@ -6415,6 +6435,10 @@ module TencentCloud
|
|
|
6415
6435
|
@ImageInfo.deserialize(params['ImageInfo'])
|
|
6416
6436
|
end
|
|
6417
6437
|
@ImageType = params['ImageType']
|
|
6438
|
+
unless params['SSHConfig'].nil?
|
|
6439
|
+
@SSHConfig = SSHConfig.new
|
|
6440
|
+
@SSHConfig.deserialize(params['SSHConfig'])
|
|
6441
|
+
end
|
|
6418
6442
|
end
|
|
6419
6443
|
end
|
|
6420
6444
|
|
|
@@ -6863,10 +6887,13 @@ module TencentCloud
|
|
|
6863
6887
|
# @param UserTypes: notebook用户类型
|
|
6864
6888
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
6865
6889
|
# @type UserTypes: Array
|
|
6890
|
+
# @param SSHConfig: SSH配置
|
|
6891
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
6892
|
+
# @type SSHConfig: :class:`Tencentcloud::Tione.v20211111.models.SSHConfig`
|
|
6866
6893
|
|
|
6867
|
-
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
|
|
6894
|
+
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
|
|
6868
6895
|
|
|
6869
|
-
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)
|
|
6896
|
+
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)
|
|
6870
6897
|
@Id = id
|
|
6871
6898
|
@Name = name
|
|
6872
6899
|
@ChargeType = chargetype
|
|
@@ -6892,6 +6919,7 @@ module TencentCloud
|
|
|
6892
6919
|
@VolumeSourceCFS = volumesourcecfs
|
|
6893
6920
|
@Message = message
|
|
6894
6921
|
@UserTypes = usertypes
|
|
6922
|
+
@SSHConfig = sshconfig
|
|
6895
6923
|
end
|
|
6896
6924
|
|
|
6897
6925
|
def deserialize(params)
|
|
@@ -6933,6 +6961,10 @@ module TencentCloud
|
|
|
6933
6961
|
end
|
|
6934
6962
|
@Message = params['Message']
|
|
6935
6963
|
@UserTypes = params['UserTypes']
|
|
6964
|
+
unless params['SSHConfig'].nil?
|
|
6965
|
+
@SSHConfig = SSHConfig.new
|
|
6966
|
+
@SSHConfig.deserialize(params['SSHConfig'])
|
|
6967
|
+
end
|
|
6936
6968
|
end
|
|
6937
6969
|
end
|
|
6938
6970
|
|
|
@@ -7085,17 +7117,22 @@ module TencentCloud
|
|
|
7085
7117
|
# @param IP: pod的IP
|
|
7086
7118
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
7087
7119
|
# @type IP: String
|
|
7120
|
+
# @param Status: pod状态
|
|
7121
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
7122
|
+
# @type Status: String
|
|
7088
7123
|
|
|
7089
|
-
attr_accessor :Name, :IP
|
|
7124
|
+
attr_accessor :Name, :IP, :Status
|
|
7090
7125
|
|
|
7091
|
-
def initialize(name=nil, ip=nil)
|
|
7126
|
+
def initialize(name=nil, ip=nil, status=nil)
|
|
7092
7127
|
@Name = name
|
|
7093
7128
|
@IP = ip
|
|
7129
|
+
@Status = status
|
|
7094
7130
|
end
|
|
7095
7131
|
|
|
7096
7132
|
def deserialize(params)
|
|
7097
7133
|
@Name = params['Name']
|
|
7098
7134
|
@IP = params['IP']
|
|
7135
|
+
@Status = params['Status']
|
|
7099
7136
|
end
|
|
7100
7137
|
end
|
|
7101
7138
|
|
|
@@ -7612,6 +7649,38 @@ module TencentCloud
|
|
|
7612
7649
|
end
|
|
7613
7650
|
end
|
|
7614
7651
|
|
|
7652
|
+
# notebook ssh端口配置
|
|
7653
|
+
class SSHConfig < TencentCloud::Common::AbstractModel
|
|
7654
|
+
# @param Enable: 是否开启ssh
|
|
7655
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
7656
|
+
# @type Enable: Boolean
|
|
7657
|
+
# @param PublicKey: 公钥信息
|
|
7658
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
7659
|
+
# @type PublicKey: String
|
|
7660
|
+
# @param Port: 端口号
|
|
7661
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
7662
|
+
# @type Port: Integer
|
|
7663
|
+
# @param LoginCommand: 登录命令
|
|
7664
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
7665
|
+
# @type LoginCommand: String
|
|
7666
|
+
|
|
7667
|
+
attr_accessor :Enable, :PublicKey, :Port, :LoginCommand
|
|
7668
|
+
|
|
7669
|
+
def initialize(enable=nil, publickey=nil, port=nil, logincommand=nil)
|
|
7670
|
+
@Enable = enable
|
|
7671
|
+
@PublicKey = publickey
|
|
7672
|
+
@Port = port
|
|
7673
|
+
@LoginCommand = logincommand
|
|
7674
|
+
end
|
|
7675
|
+
|
|
7676
|
+
def deserialize(params)
|
|
7677
|
+
@Enable = params['Enable']
|
|
7678
|
+
@PublicKey = params['PublicKey']
|
|
7679
|
+
@Port = params['Port']
|
|
7680
|
+
@LoginCommand = params['LoginCommand']
|
|
7681
|
+
end
|
|
7682
|
+
end
|
|
7683
|
+
|
|
7615
7684
|
# 定时的事务和行为
|
|
7616
7685
|
class ScheduledAction < TencentCloud::Common::AbstractModel
|
|
7617
7686
|
# @param ScheduleStop: 是否要定时停止服务,true or false。true 则 ScheduleStopTime 必填, false 则 ScheduleStopTime 不生效
|
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.642
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Tencent Cloud
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2023-08-
|
|
11
|
+
date: 2023-08-23 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/models.rb
|
|
37
|
-
- lib/v20211111/client.rb
|
|
38
36
|
- lib/tencentcloud-sdk-tione.rb
|
|
39
|
-
- lib/v20191022/models.rb
|
|
40
37
|
- lib/v20191022/client.rb
|
|
38
|
+
- lib/v20191022/models.rb
|
|
39
|
+
- lib/v20211111/client.rb
|
|
40
|
+
- lib/v20211111/models.rb
|
|
41
41
|
- lib/VERSION
|
|
42
42
|
homepage: https://github.com/TencentCloud/tencentcloud-sdk-ruby
|
|
43
43
|
licenses:
|