tencentcloud-sdk-cvm 3.0.931 → 3.0.932

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/VERSION +1 -1
  3. data/lib/v20170312/models.rb +43 -4
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2c7ee5f118dfea5499cbfa173be199b221313f73
4
- data.tar.gz: 1f740121ac0f3c62d4ccb4c50ff8dbe1b100eb42
3
+ metadata.gz: 044f8eaa0909e316c5c307e14f928e550ad8c93c
4
+ data.tar.gz: c705f3b56a228d536c412bc0474ff2ca2055afb4
5
5
  SHA512:
6
- metadata.gz: 06ed5516ae17d4327de5a1c758476fd4297acfe80443b9bd546597a4f7b9cbccd7339728a2b2d499dab6c006ba0728a120e734f0c6a028ec5d5f8d9f3d75d68b
7
- data.tar.gz: 42fa91d6c9017535097cbcf7c476524fd6fd8251d756976f5e26b5c990fa4f4a5ae1d679f8e4d96ce15abc4e88fb69cc4ac0da8992883866d3bdb46db5e4a86f
6
+ metadata.gz: fd5951bad7735a4478890263edb2865b21bb09036d7669f3612fcfa49d28f11b0b02fe4e8398b41057ff9a7065b5ecf809a7f6b5aec85b70b586d80ec5047264
7
+ data.tar.gz: 1fdc5e7b4db36b938aebac050bdf9ebaed9d4ecd43cbb5b9f85f60dcf75776bd55def052d13fa33733f7945a83c8d78d1a4e3c59f1e3ece731f3a8636baf72c2
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.931
1
+ 3.0.932
@@ -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.931
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-23 00:00:00.000000000 Z
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