tencentcloud-sdk-cvm 1.0.227 → 1.0.228

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 +92 -2
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7aa909a41c3327880bda47c4739e404735cf2cbb
4
- data.tar.gz: b2b8c15e716a28a642e7a90ed1f25ed6cf9447b0
3
+ metadata.gz: 0fbd71cc860328c2ab5b4e7f2703258da38a314e
4
+ data.tar.gz: 9bd237b2e3c8050ec722589dc1c77cec0a9d0bc0
5
5
  SHA512:
6
- metadata.gz: 4f4f61a80a9c47e1e0a06713966187cda8aa22b76cea28e11b5cea0ecd64eef3381f92a9144ed17dee7ff7c92446c529adf36a5960227fd654cf6d7757028a62
7
- data.tar.gz: dfc00093dc2543be0d058ecf2b83f11a77660de90471ec5425d4070851aa83dfcc3477857b2deeb785f71816cd71d43376e0e0c718e4ee9628a4d69eb7658bd1
6
+ metadata.gz: fbe81d02fb2d42f8d05fdbaf8b3c2261c7c25622d3f4ba7b2c65c47136be4b0281761d8b70d121a8efa4b83be8a13af0ed2d730221e090c7d19ab9b0eea7630c
7
+ data.tar.gz: d6202df9b67b3156685d5be63a79e7a3481e292313e9cd68e59b2be14a944a936aaa1978291ff3b480816c5effe0817884c4551e7798767b7b3750b54dbe08a0
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.227
1
+ 1.0.228
@@ -4437,17 +4437,73 @@ module TencentCloud
4437
4437
 
4438
4438
  # 实例启动模板,通过该参数可使用实例模板中的预设参数创建实例。
4439
4439
  class LaunchTemplate < TencentCloud::Common::AbstractModel
4440
+ # @param LaunchTemplateId: 实例启动模板ID,通过该参数可使用实例模板中的预设参数创建实例。
4441
+ # @type LaunchTemplateId: String
4442
+ # @param LaunchTemplateVersion: 实例启动模板版本号,若给定,新实例启动模板将基于给定的版本号创建
4443
+ # @type LaunchTemplateVersion: Integer
4440
4444
 
4445
+ attr_accessor :LaunchTemplateId, :LaunchTemplateVersion
4441
4446
 
4442
- def initialize()
4447
+ def initialize(launchtemplateid=nil, launchtemplateversion=nil)
4448
+ @LaunchTemplateId = launchtemplateid
4449
+ @LaunchTemplateVersion = launchtemplateversion
4443
4450
  end
4444
4451
 
4445
4452
  def deserialize(params)
4453
+ @LaunchTemplateId = params['LaunchTemplateId']
4454
+ @LaunchTemplateVersion = params['LaunchTemplateVersion']
4446
4455
  end
4447
4456
  end
4448
4457
 
4449
4458
  # 实例启动模板简要信息。
4450
4459
  class LaunchTemplateInfo < TencentCloud::Common::AbstractModel
4460
+ # @param LatestVersionNumber: 实例启动模版本号。
4461
+ # 注意:此字段可能返回 null,表示取不到有效值。
4462
+ # @type LatestVersionNumber: Integer
4463
+ # @param LaunchTemplateId: 实例启动模板ID。
4464
+ # 注意:此字段可能返回 null,表示取不到有效值。
4465
+ # @type LaunchTemplateId: String
4466
+ # @param LaunchTemplateName: 实例启动模板名。
4467
+ # 注意:此字段可能返回 null,表示取不到有效值。
4468
+ # @type LaunchTemplateName: String
4469
+ # @param DefaultVersionNumber: 实例启动模板默认版本号。
4470
+ # 注意:此字段可能返回 null,表示取不到有效值。
4471
+ # @type DefaultVersionNumber: Integer
4472
+ # @param LaunchTemplateVersionCount: 实例启动模板包含的版本总数量。
4473
+ # 注意:此字段可能返回 null,表示取不到有效值。
4474
+ # @type LaunchTemplateVersionCount: Integer
4475
+ # @param CreatedBy: 创建该模板的用户UIN。
4476
+ # 注意:此字段可能返回 null,表示取不到有效值。
4477
+ # @type CreatedBy: String
4478
+ # @param CreationTime: 创建该模板的时间。
4479
+ # 注意:此字段可能返回 null,表示取不到有效值。
4480
+ # @type CreationTime: String
4481
+
4482
+ attr_accessor :LatestVersionNumber, :LaunchTemplateId, :LaunchTemplateName, :DefaultVersionNumber, :LaunchTemplateVersionCount, :CreatedBy, :CreationTime
4483
+
4484
+ def initialize(latestversionnumber=nil, launchtemplateid=nil, launchtemplatename=nil, defaultversionnumber=nil, launchtemplateversioncount=nil, createdby=nil, creationtime=nil)
4485
+ @LatestVersionNumber = latestversionnumber
4486
+ @LaunchTemplateId = launchtemplateid
4487
+ @LaunchTemplateName = launchtemplatename
4488
+ @DefaultVersionNumber = defaultversionnumber
4489
+ @LaunchTemplateVersionCount = launchtemplateversioncount
4490
+ @CreatedBy = createdby
4491
+ @CreationTime = creationtime
4492
+ end
4493
+
4494
+ def deserialize(params)
4495
+ @LatestVersionNumber = params['LatestVersionNumber']
4496
+ @LaunchTemplateId = params['LaunchTemplateId']
4497
+ @LaunchTemplateName = params['LaunchTemplateName']
4498
+ @DefaultVersionNumber = params['DefaultVersionNumber']
4499
+ @LaunchTemplateVersionCount = params['LaunchTemplateVersionCount']
4500
+ @CreatedBy = params['CreatedBy']
4501
+ @CreationTime = params['CreationTime']
4502
+ end
4503
+ end
4504
+
4505
+ # 实例启动模板版本信息
4506
+ class LaunchTemplateVersionData < TencentCloud::Common::AbstractModel
4451
4507
 
4452
4508
 
4453
4509
  def initialize()
@@ -4459,12 +4515,46 @@ module TencentCloud
4459
4515
 
4460
4516
  # 实例启动模板版本集合
4461
4517
  class LaunchTemplateVersionInfo < TencentCloud::Common::AbstractModel
4518
+ # @param LaunchTemplateVersion: 实例启动模板版本号。
4519
+ # 注意:此字段可能返回 null,表示取不到有效值。
4520
+ # @type LaunchTemplateVersion: Integer
4521
+ # @param LaunchTemplateVersionData: 实例启动模板版本数据详情。
4522
+ # @type LaunchTemplateVersionData: :class:`Tencentcloud::Cvm.v20170312.models.LaunchTemplateVersionData`
4523
+ # @param CreationTime: 实例启动模板版本创建时间。
4524
+ # @type CreationTime: String
4525
+ # @param LaunchTemplateId: 实例启动模板ID。
4526
+ # @type LaunchTemplateId: String
4527
+ # @param IsDefaultVersion: 是否为默认启动模板版本。
4528
+ # @type IsDefaultVersion: Boolean
4529
+ # @param LaunchTemplateVersionDescription: 实例启动模板版本描述信息。
4530
+ # 注意:此字段可能返回 null,表示取不到有效值。
4531
+ # @type LaunchTemplateVersionDescription: String
4532
+ # @param CreatedBy: 创建者。
4533
+ # @type CreatedBy: String
4462
4534
 
4535
+ attr_accessor :LaunchTemplateVersion, :LaunchTemplateVersionData, :CreationTime, :LaunchTemplateId, :IsDefaultVersion, :LaunchTemplateVersionDescription, :CreatedBy
4463
4536
 
4464
- def initialize()
4537
+ def initialize(launchtemplateversion=nil, launchtemplateversiondata=nil, creationtime=nil, launchtemplateid=nil, isdefaultversion=nil, launchtemplateversiondescription=nil, createdby=nil)
4538
+ @LaunchTemplateVersion = launchtemplateversion
4539
+ @LaunchTemplateVersionData = launchtemplateversiondata
4540
+ @CreationTime = creationtime
4541
+ @LaunchTemplateId = launchtemplateid
4542
+ @IsDefaultVersion = isdefaultversion
4543
+ @LaunchTemplateVersionDescription = launchtemplateversiondescription
4544
+ @CreatedBy = createdby
4465
4545
  end
4466
4546
 
4467
4547
  def deserialize(params)
4548
+ @LaunchTemplateVersion = params['LaunchTemplateVersion']
4549
+ unless params['LaunchTemplateVersionData'].nil?
4550
+ @LaunchTemplateVersionData = LaunchTemplateVersionData.new
4551
+ @LaunchTemplateVersionData.deserialize(params['LaunchTemplateVersionData'])
4552
+ end
4553
+ @CreationTime = params['CreationTime']
4554
+ @LaunchTemplateId = params['LaunchTemplateId']
4555
+ @IsDefaultVersion = params['IsDefaultVersion']
4556
+ @LaunchTemplateVersionDescription = params['LaunchTemplateVersionDescription']
4557
+ @CreatedBy = params['CreatedBy']
4468
4558
  end
4469
4559
  end
4470
4560
 
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: 1.0.227
4
+ version: 1.0.228
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-12-20 00:00:00.000000000 Z
11
+ date: 2021-12-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common