tencentcloud-sdk-tione 3.0.1197 → 3.0.1201
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/tencentcloud-sdk-tione.rb +3 -3
- data/lib/v20211111/client.rb +24 -0
- data/lib/v20211111/models.rb +171 -1
- metadata +4 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: ff9f7fc358cc04f23130db8988f2dad3f9d72647
|
|
4
|
+
data.tar.gz: 50ad63aa7eaf6d090662a1505886ddc006181bd8
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ebd61a085699f565606c1afaf77d974451433e3bacfc5a70c4c1b725e21087b775dc28b61864f3f2adf80411258c9edee1291e68e414d1fa13c697ad12487637
|
|
7
|
+
data.tar.gz: 2b6ad9f7a68725d4811441d73063ac5da254c13d46255b123e065ab55d744103503b905a37b86d0ca1230d4e92cd8c315cc9017836e55b3c3ee060da1d137955
|
data/lib/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
3.0.
|
|
1
|
+
3.0.1201
|
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
require 'tencentcloud-sdk-common'
|
|
4
4
|
|
|
5
|
-
require_relative 'v20211111/client'
|
|
6
|
-
require_relative 'v20211111/models'
|
|
7
|
-
|
|
8
5
|
require_relative 'v20191022/client'
|
|
9
6
|
require_relative 'v20191022/models'
|
|
10
7
|
|
|
8
|
+
require_relative 'v20211111/client'
|
|
9
|
+
require_relative 'v20211111/models'
|
|
10
|
+
|
|
11
11
|
module TencentCloud
|
|
12
12
|
module Tione
|
|
13
13
|
end
|
data/lib/v20211111/client.rb
CHANGED
|
@@ -1162,6 +1162,30 @@ module TencentCloud
|
|
|
1162
1162
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
1163
1163
|
end
|
|
1164
1164
|
|
|
1165
|
+
# 修改Notebook
|
|
1166
|
+
|
|
1167
|
+
# @param request: Request instance for ModifyNotebook.
|
|
1168
|
+
# @type request: :class:`Tencentcloud::tione::V20211111::ModifyNotebookRequest`
|
|
1169
|
+
# @rtype: :class:`Tencentcloud::tione::V20211111::ModifyNotebookResponse`
|
|
1170
|
+
def ModifyNotebook(request)
|
|
1171
|
+
body = send_request('ModifyNotebook', request.serialize)
|
|
1172
|
+
response = JSON.parse(body)
|
|
1173
|
+
if response['Response'].key?('Error') == false
|
|
1174
|
+
model = ModifyNotebookResponse.new
|
|
1175
|
+
model.deserialize(response['Response'])
|
|
1176
|
+
model
|
|
1177
|
+
else
|
|
1178
|
+
code = response['Response']['Error']['Code']
|
|
1179
|
+
message = response['Response']['Error']['Message']
|
|
1180
|
+
reqid = response['Response']['RequestId']
|
|
1181
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
|
1182
|
+
end
|
|
1183
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
|
1184
|
+
raise e
|
|
1185
|
+
rescue StandardError => e
|
|
1186
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
1187
|
+
end
|
|
1188
|
+
|
|
1165
1189
|
# 修改Notebook标签
|
|
1166
1190
|
|
|
1167
1191
|
# @param request: Request instance for ModifyNotebookTags.
|
data/lib/v20211111/models.rb
CHANGED
|
@@ -2473,7 +2473,7 @@ module TencentCloud
|
|
|
2473
2473
|
# 2. Filter.Values: 长度为1且Filter.Fuzzy=true时,支持模糊查询; 不为1时,精确查询
|
|
2474
2474
|
# 3. 每次请求的Filters的上限为10,Filter.Values的上限为100
|
|
2475
2475
|
# @type Filters: Array
|
|
2476
|
-
# @param Offset: 分页查询起始位置,如:Limit为10,第一页Offset为0,第二页Offset为10
|
|
2476
|
+
# @param Offset: 分页查询起始位置,如:Limit为10,第一页Offset为0,第二页Offset为10...即每页左边为闭区间; 默认0
|
|
2477
2477
|
# @type Offset: Integer
|
|
2478
2478
|
# @param Limit: 分页查询每页大小,默认20
|
|
2479
2479
|
# @type Limit: Integer
|
|
@@ -6027,6 +6027,176 @@ module TencentCloud
|
|
|
6027
6027
|
end
|
|
6028
6028
|
end
|
|
6029
6029
|
|
|
6030
|
+
# ModifyNotebook请求参数结构体
|
|
6031
|
+
class ModifyNotebookRequest < TencentCloud::Common::AbstractModel
|
|
6032
|
+
# @param Id: notebook id
|
|
6033
|
+
# @type Id: String
|
|
6034
|
+
# @param Name: 名称。不超过60个字符,仅支持中英文、数字、下划线"_"、短横"-",只能以中英文、数字开头
|
|
6035
|
+
# @type Name: String
|
|
6036
|
+
# @param ChargeType: (不允许修改)计算资源付费模式 ,可选值为:
|
|
6037
|
+
# PREPAID:预付费,即包年包月
|
|
6038
|
+
# POSTPAID_BY_HOUR:按小时后付费
|
|
6039
|
+
# @type ChargeType: String
|
|
6040
|
+
# @param ResourceConf: 计算资源配置
|
|
6041
|
+
# @type ResourceConf: :class:`Tencentcloud::Tione.v20211111.models.ResourceConf`
|
|
6042
|
+
# @param AutoStopping: 是否自动停止
|
|
6043
|
+
# @type AutoStopping: Boolean
|
|
6044
|
+
# @param DirectInternetAccess: 是否访问公网
|
|
6045
|
+
# @type DirectInternetAccess: Boolean
|
|
6046
|
+
# @param RootAccess: 是否ROOT权限
|
|
6047
|
+
# @type RootAccess: Boolean
|
|
6048
|
+
# @param LogEnable: 是否上报日志
|
|
6049
|
+
# @type LogEnable: Boolean
|
|
6050
|
+
# @param ResourceGroupId: 资源组ID(for预付费)
|
|
6051
|
+
# @type ResourceGroupId: String
|
|
6052
|
+
# @param VpcId: (不允许修改)Vpc-Id
|
|
6053
|
+
# @type VpcId: String
|
|
6054
|
+
# @param SubnetId: (不允许修改)子网Id
|
|
6055
|
+
# @type SubnetId: String
|
|
6056
|
+
# @param VolumeSizeInGB: 存储卷大小,单位GB
|
|
6057
|
+
# @type VolumeSizeInGB: Integer
|
|
6058
|
+
# @param VolumeSourceType: (不允许修改)存储的类型。取值包含:
|
|
6059
|
+
# FREE: 预付费的免费存储
|
|
6060
|
+
# CLOUD_PREMIUM: 高性能云硬盘
|
|
6061
|
+
# CLOUD_SSD: SSD云硬盘
|
|
6062
|
+
# CFS: CFS存储,包含NFS和turbo
|
|
6063
|
+
# @type VolumeSourceType: String
|
|
6064
|
+
# @param VolumeSourceCFS: (不允许修改)CFS存储的配置
|
|
6065
|
+
# @type VolumeSourceCFS: :class:`Tencentcloud::Tione.v20211111.models.CFSConfig`
|
|
6066
|
+
# @param LogConfig: 日志配置
|
|
6067
|
+
# @type LogConfig: :class:`Tencentcloud::Tione.v20211111.models.LogConfig`
|
|
6068
|
+
# @param LifecycleScriptId: 生命周期脚本的ID
|
|
6069
|
+
# @type LifecycleScriptId: String
|
|
6070
|
+
# @param DefaultCodeRepoId: 默认GIT存储库的ID
|
|
6071
|
+
# @type DefaultCodeRepoId: String
|
|
6072
|
+
# @param AdditionalCodeRepoIds: 其他GIT存储库的ID,最多3个
|
|
6073
|
+
# @type AdditionalCodeRepoIds: Array
|
|
6074
|
+
# @param AutomaticStopTime: 自动停止时间,单位小时
|
|
6075
|
+
# @type AutomaticStopTime: Integer
|
|
6076
|
+
# @param Tags: 标签配置
|
|
6077
|
+
# @type Tags: Array
|
|
6078
|
+
# @param DataConfigs: 数据配置,只支持WEDATA_HDFS
|
|
6079
|
+
# @type DataConfigs: Array
|
|
6080
|
+
# @param ImageInfo: 镜像信息
|
|
6081
|
+
# @type ImageInfo: :class:`Tencentcloud::Tione.v20211111.models.ImageInfo`
|
|
6082
|
+
# @param ImageType: 镜像类型,包括SYSTEM、TCR、CCR
|
|
6083
|
+
# @type ImageType: String
|
|
6084
|
+
# @param SSHConfig: SSH配置
|
|
6085
|
+
# @type SSHConfig: :class:`Tencentcloud::Tione.v20211111.models.SSHConfig`
|
|
6086
|
+
# @param Envs: 自定义环境变量
|
|
6087
|
+
# @type Envs: Array
|
|
6088
|
+
|
|
6089
|
+
attr_accessor :Id, :Name, :ChargeType, :ResourceConf, :AutoStopping, :DirectInternetAccess, :RootAccess, :LogEnable, :ResourceGroupId, :VpcId, :SubnetId, :VolumeSizeInGB, :VolumeSourceType, :VolumeSourceCFS, :LogConfig, :LifecycleScriptId, :DefaultCodeRepoId, :AdditionalCodeRepoIds, :AutomaticStopTime, :Tags, :DataConfigs, :ImageInfo, :ImageType, :SSHConfig, :Envs
|
|
6090
|
+
|
|
6091
|
+
def initialize(id=nil, name=nil, chargetype=nil, resourceconf=nil, autostopping=nil, directinternetaccess=nil, rootaccess=nil, logenable=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, envs=nil)
|
|
6092
|
+
@Id = id
|
|
6093
|
+
@Name = name
|
|
6094
|
+
@ChargeType = chargetype
|
|
6095
|
+
@ResourceConf = resourceconf
|
|
6096
|
+
@AutoStopping = autostopping
|
|
6097
|
+
@DirectInternetAccess = directinternetaccess
|
|
6098
|
+
@RootAccess = rootaccess
|
|
6099
|
+
@LogEnable = logenable
|
|
6100
|
+
@ResourceGroupId = resourcegroupid
|
|
6101
|
+
@VpcId = vpcid
|
|
6102
|
+
@SubnetId = subnetid
|
|
6103
|
+
@VolumeSizeInGB = volumesizeingb
|
|
6104
|
+
@VolumeSourceType = volumesourcetype
|
|
6105
|
+
@VolumeSourceCFS = volumesourcecfs
|
|
6106
|
+
@LogConfig = logconfig
|
|
6107
|
+
@LifecycleScriptId = lifecyclescriptid
|
|
6108
|
+
@DefaultCodeRepoId = defaultcoderepoid
|
|
6109
|
+
@AdditionalCodeRepoIds = additionalcoderepoids
|
|
6110
|
+
@AutomaticStopTime = automaticstoptime
|
|
6111
|
+
@Tags = tags
|
|
6112
|
+
@DataConfigs = dataconfigs
|
|
6113
|
+
@ImageInfo = imageinfo
|
|
6114
|
+
@ImageType = imagetype
|
|
6115
|
+
@SSHConfig = sshconfig
|
|
6116
|
+
@Envs = envs
|
|
6117
|
+
end
|
|
6118
|
+
|
|
6119
|
+
def deserialize(params)
|
|
6120
|
+
@Id = params['Id']
|
|
6121
|
+
@Name = params['Name']
|
|
6122
|
+
@ChargeType = params['ChargeType']
|
|
6123
|
+
unless params['ResourceConf'].nil?
|
|
6124
|
+
@ResourceConf = ResourceConf.new
|
|
6125
|
+
@ResourceConf.deserialize(params['ResourceConf'])
|
|
6126
|
+
end
|
|
6127
|
+
@AutoStopping = params['AutoStopping']
|
|
6128
|
+
@DirectInternetAccess = params['DirectInternetAccess']
|
|
6129
|
+
@RootAccess = params['RootAccess']
|
|
6130
|
+
@LogEnable = params['LogEnable']
|
|
6131
|
+
@ResourceGroupId = params['ResourceGroupId']
|
|
6132
|
+
@VpcId = params['VpcId']
|
|
6133
|
+
@SubnetId = params['SubnetId']
|
|
6134
|
+
@VolumeSizeInGB = params['VolumeSizeInGB']
|
|
6135
|
+
@VolumeSourceType = params['VolumeSourceType']
|
|
6136
|
+
unless params['VolumeSourceCFS'].nil?
|
|
6137
|
+
@VolumeSourceCFS = CFSConfig.new
|
|
6138
|
+
@VolumeSourceCFS.deserialize(params['VolumeSourceCFS'])
|
|
6139
|
+
end
|
|
6140
|
+
unless params['LogConfig'].nil?
|
|
6141
|
+
@LogConfig = LogConfig.new
|
|
6142
|
+
@LogConfig.deserialize(params['LogConfig'])
|
|
6143
|
+
end
|
|
6144
|
+
@LifecycleScriptId = params['LifecycleScriptId']
|
|
6145
|
+
@DefaultCodeRepoId = params['DefaultCodeRepoId']
|
|
6146
|
+
@AdditionalCodeRepoIds = params['AdditionalCodeRepoIds']
|
|
6147
|
+
@AutomaticStopTime = params['AutomaticStopTime']
|
|
6148
|
+
unless params['Tags'].nil?
|
|
6149
|
+
@Tags = []
|
|
6150
|
+
params['Tags'].each do |i|
|
|
6151
|
+
tag_tmp = Tag.new
|
|
6152
|
+
tag_tmp.deserialize(i)
|
|
6153
|
+
@Tags << tag_tmp
|
|
6154
|
+
end
|
|
6155
|
+
end
|
|
6156
|
+
unless params['DataConfigs'].nil?
|
|
6157
|
+
@DataConfigs = []
|
|
6158
|
+
params['DataConfigs'].each do |i|
|
|
6159
|
+
dataconfig_tmp = DataConfig.new
|
|
6160
|
+
dataconfig_tmp.deserialize(i)
|
|
6161
|
+
@DataConfigs << dataconfig_tmp
|
|
6162
|
+
end
|
|
6163
|
+
end
|
|
6164
|
+
unless params['ImageInfo'].nil?
|
|
6165
|
+
@ImageInfo = ImageInfo.new
|
|
6166
|
+
@ImageInfo.deserialize(params['ImageInfo'])
|
|
6167
|
+
end
|
|
6168
|
+
@ImageType = params['ImageType']
|
|
6169
|
+
unless params['SSHConfig'].nil?
|
|
6170
|
+
@SSHConfig = SSHConfig.new
|
|
6171
|
+
@SSHConfig.deserialize(params['SSHConfig'])
|
|
6172
|
+
end
|
|
6173
|
+
unless params['Envs'].nil?
|
|
6174
|
+
@Envs = []
|
|
6175
|
+
params['Envs'].each do |i|
|
|
6176
|
+
envvar_tmp = EnvVar.new
|
|
6177
|
+
envvar_tmp.deserialize(i)
|
|
6178
|
+
@Envs << envvar_tmp
|
|
6179
|
+
end
|
|
6180
|
+
end
|
|
6181
|
+
end
|
|
6182
|
+
end
|
|
6183
|
+
|
|
6184
|
+
# ModifyNotebook返回参数结构体
|
|
6185
|
+
class ModifyNotebookResponse < TencentCloud::Common::AbstractModel
|
|
6186
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
6187
|
+
# @type RequestId: String
|
|
6188
|
+
|
|
6189
|
+
attr_accessor :RequestId
|
|
6190
|
+
|
|
6191
|
+
def initialize(requestid=nil)
|
|
6192
|
+
@RequestId = requestid
|
|
6193
|
+
end
|
|
6194
|
+
|
|
6195
|
+
def deserialize(params)
|
|
6196
|
+
@RequestId = params['RequestId']
|
|
6197
|
+
end
|
|
6198
|
+
end
|
|
6199
|
+
|
|
6030
6200
|
# ModifyNotebookTags请求参数结构体
|
|
6031
6201
|
class ModifyNotebookTagsRequest < TencentCloud::Common::AbstractModel
|
|
6032
6202
|
# @param Id: Notebook Id
|
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.1201
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Tencent Cloud
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-01-
|
|
11
|
+
date: 2026-01-13 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: tencentcloud-sdk-common
|
|
@@ -34,10 +34,10 @@ extensions: []
|
|
|
34
34
|
extra_rdoc_files: []
|
|
35
35
|
files:
|
|
36
36
|
- lib/tencentcloud-sdk-tione.rb
|
|
37
|
-
- lib/v20211111/client.rb
|
|
38
|
-
- lib/v20211111/models.rb
|
|
39
37
|
- lib/v20191022/client.rb
|
|
40
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:
|