tencentcloud-sdk-cvm 3.0.930 → 3.0.932
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 +43 -4
- 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: 044f8eaa0909e316c5c307e14f928e550ad8c93c
|
4
|
+
data.tar.gz: c705f3b56a228d536c412bc0474ff2ca2055afb4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fd5951bad7735a4478890263edb2865b21bb09036d7669f3612fcfa49d28f11b0b02fe4e8398b41057ff9a7065b5ecf809a7f6b5aec85b70b586d80ec5047264
|
7
|
+
data.tar.gz: 1fdc5e7b4db36b938aebac050bdf9ebaed9d4ecd43cbb5b9f85f60dcf75776bd55def052d13fa33733f7945a83c8d78d1a4e3c59f1e3ece731f3a8636baf72c2
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.932
|
data/lib/v20170312/models.rb
CHANGED
@@ -4323,6 +4323,22 @@ module TencentCloud
|
|
4323
4323
|
end
|
4324
4324
|
end
|
4325
4325
|
|
4326
|
+
# 导入镜像的数据盘信息
|
4327
|
+
class ImportImageDataDisk < TencentCloud::Common::AbstractModel
|
4328
|
+
# @param ImageUrl: 数据盘镜像 COS 链接
|
4329
|
+
# @type ImageUrl: String
|
4330
|
+
|
4331
|
+
attr_accessor :ImageUrl
|
4332
|
+
|
4333
|
+
def initialize(imageurl=nil)
|
4334
|
+
@ImageUrl = imageurl
|
4335
|
+
end
|
4336
|
+
|
4337
|
+
def deserialize(params)
|
4338
|
+
@ImageUrl = params['ImageUrl']
|
4339
|
+
end
|
4340
|
+
end
|
4341
|
+
|
4326
4342
|
# ImportImage请求参数结构体
|
4327
4343
|
class ImportImageRequest < TencentCloud::Common::AbstractModel
|
4328
4344
|
# @param Architecture: 导入镜像的操作系统架构,`x86_64` 或 `i386`
|
@@ -4352,10 +4368,12 @@ module TencentCloud
|
|
4352
4368
|
# @type BootMode: String
|
4353
4369
|
# @param ImageFamily: 镜像族
|
4354
4370
|
# @type ImageFamily: String
|
4371
|
+
# @param ImportImageDataDiskList: 导入的数据盘列表
|
4372
|
+
# @type ImportImageDataDiskList: Array
|
4355
4373
|
|
4356
|
-
attr_accessor :Architecture, :OsType, :OsVersion, :ImageUrl, :ImageName, :ImageDescription, :DryRun, :Force, :TagSpecification, :LicenseType, :BootMode, :ImageFamily
|
4374
|
+
attr_accessor :Architecture, :OsType, :OsVersion, :ImageUrl, :ImageName, :ImageDescription, :DryRun, :Force, :TagSpecification, :LicenseType, :BootMode, :ImageFamily, :ImportImageDataDiskList
|
4357
4375
|
|
4358
|
-
def initialize(architecture=nil, ostype=nil, osversion=nil, imageurl=nil, imagename=nil, imagedescription=nil, dryrun=nil, force=nil, tagspecification=nil, licensetype=nil, bootmode=nil, imagefamily=nil)
|
4376
|
+
def initialize(architecture=nil, ostype=nil, osversion=nil, imageurl=nil, imagename=nil, imagedescription=nil, dryrun=nil, force=nil, tagspecification=nil, licensetype=nil, bootmode=nil, imagefamily=nil, importimagedatadisklist=nil)
|
4359
4377
|
@Architecture = architecture
|
4360
4378
|
@OsType = ostype
|
4361
4379
|
@OsVersion = osversion
|
@@ -4368,6 +4386,7 @@ module TencentCloud
|
|
4368
4386
|
@LicenseType = licensetype
|
4369
4387
|
@BootMode = bootmode
|
4370
4388
|
@ImageFamily = imagefamily
|
4389
|
+
@ImportImageDataDiskList = importimagedatadisklist
|
4371
4390
|
end
|
4372
4391
|
|
4373
4392
|
def deserialize(params)
|
@@ -4390,6 +4409,14 @@ module TencentCloud
|
|
4390
4409
|
@LicenseType = params['LicenseType']
|
4391
4410
|
@BootMode = params['BootMode']
|
4392
4411
|
@ImageFamily = params['ImageFamily']
|
4412
|
+
unless params['ImportImageDataDiskList'].nil?
|
4413
|
+
@ImportImageDataDiskList = []
|
4414
|
+
params['ImportImageDataDiskList'].each do |i|
|
4415
|
+
importimagedatadisk_tmp = ImportImageDataDisk.new
|
4416
|
+
importimagedatadisk_tmp.deserialize(i)
|
4417
|
+
@ImportImageDataDiskList << importimagedatadisk_tmp
|
4418
|
+
end
|
4419
|
+
end
|
4393
4420
|
end
|
4394
4421
|
end
|
4395
4422
|
|
@@ -8705,15 +8732,25 @@ module TencentCloud
|
|
8705
8732
|
# @param ImageSetRequired: 是否需要返回目的地域的镜像ID。
|
8706
8733
|
# 默认值: false
|
8707
8734
|
# @type ImageSetRequired: Boolean
|
8735
|
+
# @param Encrypt: 是否复制为加密自定义镜像。
|
8736
|
+
# 默认值为 false。
|
8737
|
+
# 复制加密自定义镜像仅支持同地域。
|
8738
|
+
# @type Encrypt: Boolean
|
8739
|
+
# @param KmsKeyId: 加密自定义镜像使用的 KMS 密钥 ID。
|
8740
|
+
# 仅当复制加密镜像时,即 Encrypt 为 true 时,此参数有效;
|
8741
|
+
# 不指定 KmsKeyId,默认使用 CBS 云产品 KMS 密钥。
|
8742
|
+
# @type KmsKeyId: String
|
8708
8743
|
|
8709
|
-
attr_accessor :ImageIds, :DestinationRegions, :DryRun, :ImageName, :ImageSetRequired
|
8744
|
+
attr_accessor :ImageIds, :DestinationRegions, :DryRun, :ImageName, :ImageSetRequired, :Encrypt, :KmsKeyId
|
8710
8745
|
|
8711
|
-
def initialize(imageids=nil, destinationregions=nil, dryrun=nil, imagename=nil, imagesetrequired=nil)
|
8746
|
+
def initialize(imageids=nil, destinationregions=nil, dryrun=nil, imagename=nil, imagesetrequired=nil, encrypt=nil, kmskeyid=nil)
|
8712
8747
|
@ImageIds = imageids
|
8713
8748
|
@DestinationRegions = destinationregions
|
8714
8749
|
@DryRun = dryrun
|
8715
8750
|
@ImageName = imagename
|
8716
8751
|
@ImageSetRequired = imagesetrequired
|
8752
|
+
@Encrypt = encrypt
|
8753
|
+
@KmsKeyId = kmskeyid
|
8717
8754
|
end
|
8718
8755
|
|
8719
8756
|
def deserialize(params)
|
@@ -8722,6 +8759,8 @@ module TencentCloud
|
|
8722
8759
|
@DryRun = params['DryRun']
|
8723
8760
|
@ImageName = params['ImageName']
|
8724
8761
|
@ImageSetRequired = params['ImageSetRequired']
|
8762
|
+
@Encrypt = params['Encrypt']
|
8763
|
+
@KmsKeyId = params['KmsKeyId']
|
8725
8764
|
end
|
8726
8765
|
end
|
8727
8766
|
|
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.932
|
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-10-
|
11
|
+
date: 2024-10-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|