tencentcloud-sdk-cvm 3.0.715 → 3.0.717
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20170312/models.rb +61 -13
- 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: 813e12f4ddd04a77a13ffdc3dc79eaa6a59f31de
|
4
|
+
data.tar.gz: 6c30a4013048e48e8c83e19ba4f5c90db381f2a7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 680baf251b712b53cab54d2d96602d00f6540b86e71f9d65595f22be4ca56c9a2ec66fdb8c2ffe573b47528dc51b8c7ef6235ecfee906ca7c170fc4aaf794fd0
|
7
|
+
data.tar.gz: 4ed7235c87a21f12b27d4cbf25ef317943b2ed0cf7a7b23e58e656e814809b2bae910a6f242c2d4fac65c342e216cf5b3ca27ff9fd7eb21a631323903db3c623
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.717
|
data/lib/v20170312/models.rb
CHANGED
@@ -1209,26 +1209,60 @@ module TencentCloud
|
|
1209
1209
|
class DataDisk < TencentCloud::Common::AbstractModel
|
1210
1210
|
# @param DiskSize: 数据盘大小,单位:GB。最小调整步长为10G,不同数据盘类型取值范围不同,具体限制详见:[存储概述](https://cloud.tencent.com/document/product/213/4952)。默认值为0,表示不购买数据盘。更多限制详见产品文档。
|
1211
1211
|
# @type DiskSize: Integer
|
1212
|
-
# @param DiskType: 数据盘类型。数据盘类型限制详见[存储概述](https://cloud.tencent.com/document/product/213/4952)。取值范围:<br
|
1212
|
+
# @param DiskType: 数据盘类型。数据盘类型限制详见[存储概述](https://cloud.tencent.com/document/product/213/4952)。取值范围:<br />
|
1213
|
+
# <li>
|
1214
|
+
# LOCAL_BASIC:本地硬盘<br />
|
1215
|
+
# <li>
|
1216
|
+
# LOCAL_SSD:本地SSD硬盘<br />
|
1217
|
+
# <li>
|
1218
|
+
# LOCAL_NVME:本地NVME硬盘,与InstanceType强相关,不支持指定<br />
|
1219
|
+
# <li>
|
1220
|
+
# LOCAL_PRO:本地HDD硬盘,与InstanceType强相关,不支持指定<br />
|
1221
|
+
# <li>
|
1222
|
+
# CLOUD_BASIC:普通云硬盘<br />
|
1223
|
+
# <li>
|
1224
|
+
# CLOUD_PREMIUM:高性能云硬盘<br />
|
1225
|
+
# <li>
|
1226
|
+
# CLOUD_SSD:SSD云硬盘<br />
|
1227
|
+
# <li>
|
1228
|
+
# CLOUD_HSSD:增强型SSD云硬盘<br />
|
1229
|
+
# <li>
|
1230
|
+
# CLOUD_TSSD:极速型SSD云硬盘<br />
|
1231
|
+
# <li>
|
1232
|
+
# CLOUD_BSSD:通用型SSD云硬盘<br /><br />默认取值:LOCAL_BASIC。<br /><br />该参数对`ResizeInstanceDisk`接口无效。
|
1233
|
+
# </li>
|
1234
|
+
# </li>
|
1235
|
+
# </li>
|
1236
|
+
# </li>
|
1237
|
+
# </li>
|
1238
|
+
# </li>
|
1239
|
+
# </li>
|
1240
|
+
# </li>
|
1241
|
+
# </li>
|
1242
|
+
# </li>
|
1213
1243
|
# @type DiskType: String
|
1214
1244
|
# @param DiskId: 数据盘ID。LOCAL_BASIC 和 LOCAL_SSD 类型没有ID,暂时不支持该参数。
|
1215
1245
|
# 该参数目前仅用于`DescribeInstances`等查询类接口的返回参数,不可用于`RunInstances`等写接口的入参。
|
1216
1246
|
# @type DiskId: String
|
1217
1247
|
# @param DeleteWithInstance: 数据盘是否随子机销毁。取值范围:
|
1218
|
-
# <li>TRUE
|
1219
|
-
# <li>
|
1220
|
-
#
|
1221
|
-
#
|
1248
|
+
# <li>TRUE:子机销毁时,销毁数据盘,只支持按小时后付费云盘</li>
|
1249
|
+
# <li>
|
1250
|
+
# FALSE:子机销毁时,保留数据盘<br />
|
1251
|
+
# 默认取值:TRUE<br />
|
1252
|
+
# 该参数目前仅用于 `RunInstances` 接口。
|
1253
|
+
# </li>
|
1222
1254
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
1223
1255
|
# @type DeleteWithInstance: Boolean
|
1224
1256
|
# @param SnapshotId: 数据盘快照ID。选择的数据盘快照大小需小于数据盘大小。
|
1225
1257
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
1226
1258
|
# @type SnapshotId: String
|
1227
1259
|
# @param Encrypt: 数据盘是加密。取值范围:
|
1228
|
-
# <li>true
|
1229
|
-
# <li>
|
1230
|
-
#
|
1231
|
-
#
|
1260
|
+
# <li>true:加密</li>
|
1261
|
+
# <li>
|
1262
|
+
# false:不加密<br />
|
1263
|
+
# 默认取值:false<br />
|
1264
|
+
# 该参数目前仅用于 `RunInstances` 接口。
|
1265
|
+
# </li>
|
1232
1266
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
1233
1267
|
# @type Encrypt: Boolean
|
1234
1268
|
# @param KmsKeyId: 自定义CMK对应的ID,取值为UUID或者类似kms-abcd1234。用于加密云盘。
|
@@ -1242,10 +1276,15 @@ module TencentCloud
|
|
1242
1276
|
# @param CdcId: 所属的独享集群ID。
|
1243
1277
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
1244
1278
|
# @type CdcId: String
|
1279
|
+
# @param BurstPerformance: 突发性能
|
1280
|
+
|
1281
|
+
# <b>注:内测中。</b>
|
1282
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1283
|
+
# @type BurstPerformance: Boolean
|
1245
1284
|
|
1246
|
-
attr_accessor :DiskSize, :DiskType, :DiskId, :DeleteWithInstance, :SnapshotId, :Encrypt, :KmsKeyId, :ThroughputPerformance, :CdcId
|
1285
|
+
attr_accessor :DiskSize, :DiskType, :DiskId, :DeleteWithInstance, :SnapshotId, :Encrypt, :KmsKeyId, :ThroughputPerformance, :CdcId, :BurstPerformance
|
1247
1286
|
|
1248
|
-
def initialize(disksize=nil, disktype=nil, diskid=nil, deletewithinstance=nil, snapshotid=nil, encrypt=nil, kmskeyid=nil, throughputperformance=nil, cdcid=nil)
|
1287
|
+
def initialize(disksize=nil, disktype=nil, diskid=nil, deletewithinstance=nil, snapshotid=nil, encrypt=nil, kmskeyid=nil, throughputperformance=nil, cdcid=nil, burstperformance=nil)
|
1249
1288
|
@DiskSize = disksize
|
1250
1289
|
@DiskType = disktype
|
1251
1290
|
@DiskId = diskid
|
@@ -1255,6 +1294,7 @@ module TencentCloud
|
|
1255
1294
|
@KmsKeyId = kmskeyid
|
1256
1295
|
@ThroughputPerformance = throughputperformance
|
1257
1296
|
@CdcId = cdcid
|
1297
|
+
@BurstPerformance = burstperformance
|
1258
1298
|
end
|
1259
1299
|
|
1260
1300
|
def deserialize(params)
|
@@ -1267,6 +1307,7 @@ module TencentCloud
|
|
1267
1307
|
@KmsKeyId = params['KmsKeyId']
|
1268
1308
|
@ThroughputPerformance = params['ThroughputPerformance']
|
1269
1309
|
@CdcId = params['CdcId']
|
1310
|
+
@BurstPerformance = params['BurstPerformance']
|
1270
1311
|
end
|
1271
1312
|
end
|
1272
1313
|
|
@@ -6164,10 +6205,15 @@ module TencentCloud
|
|
6164
6205
|
# 举例:一般CamRoleName中包含“LinkedRoleIn”(如TKE_QCSLinkedRoleInPrometheusService)时,DescribeRoleList和GetRole返回的RoleType为service_linked,则本参数也需要传递service_linked。
|
6165
6206
|
# 该参数默认值为user,若CameRoleName为非service_linked类型,本参数可不传递。
|
6166
6207
|
# @type CamRoleType: String
|
6208
|
+
# @param AutoReboot: 修改实例主机名是否自动重启实例,不传默认自动重启。
|
6209
|
+
# - true: 修改主机名,并自动重启实例;
|
6210
|
+
# - false: 修改主机名,不自动重启实例,需要手动重启使新主机名生效。
|
6211
|
+
# 注意点:本参数仅对修改主机名生效。
|
6212
|
+
# @type AutoReboot: Boolean
|
6167
6213
|
|
6168
|
-
attr_accessor :InstanceIds, :InstanceName, :UserData, :SecurityGroups, :CamRoleName, :HostName, :DisableApiTermination, :CamRoleType
|
6214
|
+
attr_accessor :InstanceIds, :InstanceName, :UserData, :SecurityGroups, :CamRoleName, :HostName, :DisableApiTermination, :CamRoleType, :AutoReboot
|
6169
6215
|
|
6170
|
-
def initialize(instanceids=nil, instancename=nil, userdata=nil, securitygroups=nil, camrolename=nil, hostname=nil, disableapitermination=nil, camroletype=nil)
|
6216
|
+
def initialize(instanceids=nil, instancename=nil, userdata=nil, securitygroups=nil, camrolename=nil, hostname=nil, disableapitermination=nil, camroletype=nil, autoreboot=nil)
|
6171
6217
|
@InstanceIds = instanceids
|
6172
6218
|
@InstanceName = instancename
|
6173
6219
|
@UserData = userdata
|
@@ -6176,6 +6222,7 @@ module TencentCloud
|
|
6176
6222
|
@HostName = hostname
|
6177
6223
|
@DisableApiTermination = disableapitermination
|
6178
6224
|
@CamRoleType = camroletype
|
6225
|
+
@AutoReboot = autoreboot
|
6179
6226
|
end
|
6180
6227
|
|
6181
6228
|
def deserialize(params)
|
@@ -6187,6 +6234,7 @@ module TencentCloud
|
|
6187
6234
|
@HostName = params['HostName']
|
6188
6235
|
@DisableApiTermination = params['DisableApiTermination']
|
6189
6236
|
@CamRoleType = params['CamRoleType']
|
6237
|
+
@AutoReboot = params['AutoReboot']
|
6190
6238
|
end
|
6191
6239
|
end
|
6192
6240
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-cvm
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.717
|
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-11-
|
11
|
+
date: 2023-11-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|