tencentcloud-sdk-cvm 1.0.261 → 1.0.262

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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/VERSION +1 -1
  3. data/lib/v20170312/models.rb +12 -4
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: db1639717f423106cf0cdb5f8f28cfa7d008b168
4
- data.tar.gz: d436812a4b16a36df5fa52fb70ebe1902243663b
3
+ metadata.gz: 994c3c6d0d628268bfa09a85279972d8f9c9befc
4
+ data.tar.gz: fa128cc835f11349df81892334d6c7b632274e81
5
5
  SHA512:
6
- metadata.gz: 4d3896e4d91cd273ed227f33094f6eac0fb13ef07f3dc21fee45c971904c8745972b8b048150aa1ab2ab0bd20f3d920aeee66a095fabe4d572b43b9c2d8f7047
7
- data.tar.gz: 22774ba0bac61b5176b027a7c075f178ff9bc298baa5dfdcfb94ea467fb362ef6fcee2973a988e2b0d12d57f0ae7520236889efcee491d97ea199df9a18085fa
6
+ metadata.gz: a56601aff200594d92c2a25151091c9f191e8e81e22fd9e58fe9c5ad440d5a2142614d7a0ff5e363775c36691cc6b6866f0a7eebb5e16d89bf5757c262214336
7
+ data.tar.gz: 46c8a41c274445461d5932ce4cae64da07b472d4e12356a9ef584b5dd1e2c3994efbcbbc2e285f42970791123d09e924233045b7eba6b4a7bae273c39da3fba8
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.261
1
+ 1.0.262
@@ -5056,19 +5056,23 @@ module TencentCloud
5056
5056
  # @type InstanceName: String
5057
5057
  # @param SecurityGroups: 指定实例的安全组Id列表,子机将重新关联指定列表的安全组,原本关联的安全组会被解绑。<dx-alert infotype="explain" title="">必须指定SecurityGroups与InstanceName的其中一个,但不能同时设置</dx-alert>
5058
5058
  # @type SecurityGroups: Array
5059
+ # @param DisableApiTermination: 实例销毁保护标志,表示是否允许通过api接口删除实例。取值范围:<br><li>TRUE:表示开启实例保护,不允许通过api接口删除实例<br><li>FALSE:表示关闭实例保护,允许通过api接口删除实例<br><br>默认取值:FALSE。
5060
+ # @type DisableApiTermination: Boolean
5059
5061
 
5060
- attr_accessor :InstanceIds, :InstanceName, :SecurityGroups
5062
+ attr_accessor :InstanceIds, :InstanceName, :SecurityGroups, :DisableApiTermination
5061
5063
 
5062
- def initialize(instanceids=nil, instancename=nil, securitygroups=nil)
5064
+ def initialize(instanceids=nil, instancename=nil, securitygroups=nil, disableapitermination=nil)
5063
5065
  @InstanceIds = instanceids
5064
5066
  @InstanceName = instancename
5065
5067
  @SecurityGroups = securitygroups
5068
+ @DisableApiTermination = disableapitermination
5066
5069
  end
5067
5070
 
5068
5071
  def deserialize(params)
5069
5072
  @InstanceIds = params['InstanceIds']
5070
5073
  @InstanceName = params['InstanceName']
5071
5074
  @SecurityGroups = params['SecurityGroups']
5075
+ @DisableApiTermination = params['DisableApiTermination']
5072
5076
  end
5073
5077
  end
5074
5078
 
@@ -6407,10 +6411,12 @@ module TencentCloud
6407
6411
  # @type HpcClusterId: String
6408
6412
  # @param LaunchTemplate: 实例启动模板。
6409
6413
  # @type LaunchTemplate: :class:`Tencentcloud::Cvm.v20170312.models.LaunchTemplate`
6414
+ # @param ChcIds: 指定CHC物理服务器来创建CHC云主机。
6415
+ # @type ChcIds: Array
6410
6416
 
6411
- attr_accessor :InstanceChargeType, :InstanceChargePrepaid, :Placement, :InstanceType, :ImageId, :SystemDisk, :DataDisks, :VirtualPrivateCloud, :InternetAccessible, :InstanceCount, :InstanceName, :LoginSettings, :SecurityGroupIds, :EnhancedService, :ClientToken, :HostName, :ActionTimer, :DisasterRecoverGroupIds, :TagSpecification, :InstanceMarketOptions, :UserData, :DryRun, :CamRoleName, :HpcClusterId, :LaunchTemplate
6417
+ attr_accessor :InstanceChargeType, :InstanceChargePrepaid, :Placement, :InstanceType, :ImageId, :SystemDisk, :DataDisks, :VirtualPrivateCloud, :InternetAccessible, :InstanceCount, :InstanceName, :LoginSettings, :SecurityGroupIds, :EnhancedService, :ClientToken, :HostName, :ActionTimer, :DisasterRecoverGroupIds, :TagSpecification, :InstanceMarketOptions, :UserData, :DryRun, :CamRoleName, :HpcClusterId, :LaunchTemplate, :ChcIds
6412
6418
 
6413
- def initialize(instancechargetype=nil, instancechargeprepaid=nil, placement=nil, instancetype=nil, imageid=nil, systemdisk=nil, datadisks=nil, virtualprivatecloud=nil, internetaccessible=nil, instancecount=nil, instancename=nil, loginsettings=nil, securitygroupids=nil, enhancedservice=nil, clienttoken=nil, hostname=nil, actiontimer=nil, disasterrecovergroupids=nil, tagspecification=nil, instancemarketoptions=nil, userdata=nil, dryrun=nil, camrolename=nil, hpcclusterid=nil, launchtemplate=nil)
6419
+ def initialize(instancechargetype=nil, instancechargeprepaid=nil, placement=nil, instancetype=nil, imageid=nil, systemdisk=nil, datadisks=nil, virtualprivatecloud=nil, internetaccessible=nil, instancecount=nil, instancename=nil, loginsettings=nil, securitygroupids=nil, enhancedservice=nil, clienttoken=nil, hostname=nil, actiontimer=nil, disasterrecovergroupids=nil, tagspecification=nil, instancemarketoptions=nil, userdata=nil, dryrun=nil, camrolename=nil, hpcclusterid=nil, launchtemplate=nil, chcids=nil)
6414
6420
  @InstanceChargeType = instancechargetype
6415
6421
  @InstanceChargePrepaid = instancechargeprepaid
6416
6422
  @Placement = placement
@@ -6436,6 +6442,7 @@ module TencentCloud
6436
6442
  @CamRoleName = camrolename
6437
6443
  @HpcClusterId = hpcclusterid
6438
6444
  @LaunchTemplate = launchtemplate
6445
+ @ChcIds = chcids
6439
6446
  end
6440
6447
 
6441
6448
  def deserialize(params)
@@ -6508,6 +6515,7 @@ module TencentCloud
6508
6515
  @LaunchTemplate = LaunchTemplate.new
6509
6516
  @LaunchTemplate.deserialize(params['LaunchTemplate'])
6510
6517
  end
6518
+ @ChcIds = params['ChcIds']
6511
6519
  end
6512
6520
  end
6513
6521
 
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.261
4
+ version: 1.0.262
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-02-21 00:00:00.000000000 Z
11
+ date: 2022-02-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common