tencentcloud-sdk-cvm 3.0.822 → 3.0.824

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 +30 -2
  4. metadata +3 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5d476b7cf4002f4554257866c50bb8fdb86b2b89
4
- data.tar.gz: 85cc9a798e1e9bd8c9e69546d41a6cf3172ea343
3
+ metadata.gz: 4a98f4712f2cae423564f7990a696a61a3515ae5
4
+ data.tar.gz: f8c25c570a0bac220f5cfac47c71dfbb512e292d
5
5
  SHA512:
6
- metadata.gz: dfb0c4768f5a2806a28e100a644f8ee05ce97263804f0f78a722b793b7cfa781a55f7bf8a2595b7d214d4e15e50455e540e176210b9e98fb7a719430b210f8e2
7
- data.tar.gz: eb8e4eea2c3cf145d27da9c56ddba21d64f53e9a7d10f42d4c78448290c85ade2a1743cba3552e85300807502d35b3cc2d3a038c31697b4cbb1dbe3de94d14de
6
+ metadata.gz: e5954bfbc296402edfe62b226e374ed3d463eb1e4fd037adfd045b029986f0ee22b0235a17db23f72ef18ad05538b226f0eadd1bdb28f01f2218aceb2009e842
7
+ data.tar.gz: f5db6b9a667eb05b97bc1573aabe8e0e6918dd12ffeae5f46ee9ce1719935617193a85dcb5b307e3854687379120883328b6dbd951b6d1b260ffc769b41ba05c
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.822
1
+ 3.0.824
@@ -576,6 +576,27 @@ module TencentCloud
576
576
  end
577
577
  end
578
578
 
579
+ # 描述了实例CPU拓扑结构的相关信息。
580
+ class CpuTopology < TencentCloud::Common::AbstractModel
581
+ # @param CoreCount: 决定启用的CPU物理核心数。
582
+ # @type CoreCount: Integer
583
+ # @param ThreadPerCore: 每核心线程数。该参数决定是否开启或关闭超线程。<br><li>1 表示关闭超线程 </li><br><li>2 表示开启超线程</li>
584
+ # 不设置时,实例使用默认的超线程策略。开关超线程请参考文档:[开启与关闭超线程](https://cloud.tencent.com/document/product/213/103798)。
585
+ # @type ThreadPerCore: Integer
586
+
587
+ attr_accessor :CoreCount, :ThreadPerCore
588
+
589
+ def initialize(corecount=nil, threadpercore=nil)
590
+ @CoreCount = corecount
591
+ @ThreadPerCore = threadpercore
592
+ end
593
+
594
+ def deserialize(params)
595
+ @CoreCount = params['CoreCount']
596
+ @ThreadPerCore = params['ThreadPerCore']
597
+ end
598
+ end
599
+
579
600
  # CreateDisasterRecoverGroup请求参数结构体
580
601
  class CreateDisasterRecoverGroupRequest < TencentCloud::Common::AbstractModel
581
602
  # @param Name: 分散置放群组名称,长度1-60个字符,支持中、英文。
@@ -8037,6 +8058,8 @@ module TencentCloud
8037
8058
  # 如果检查通过,则返回RequestId.
8038
8059
  # false(默认):发送正常请求,通过检查后直接创建实例
8039
8060
  # @type DryRun: Boolean
8061
+ # @param CpuTopology: 描述了实例CPU拓扑结构的相关信息。若不指定该参数,则按系统资源情况决定。
8062
+ # @type CpuTopology: :class:`Tencentcloud::Cvm.v20170312.models.CpuTopology`
8040
8063
  # @param CamRoleName: CAM角色名称。可通过[`DescribeRoleList`](https://cloud.tencent.com/document/product/598/13887)接口返回值中的`roleName`获取。
8041
8064
  # @type CamRoleName: String
8042
8065
  # @param HpcClusterId: 高性能计算集群ID。若创建的实例为高性能计算实例,需指定实例放置的集群,否则不可指定。
@@ -8050,9 +8073,9 @@ module TencentCloud
8050
8073
  # @param DisableApiTermination: 实例销毁保护标志,表示是否允许通过api接口删除实例。取值范围:<br><li>true:表示开启实例保护,不允许通过api接口删除实例</li><br><li>false:表示关闭实例保护,允许通过api接口删除实例</li><br><br>默认取值:false。
8051
8074
  # @type DisableApiTermination: Boolean
8052
8075
 
8053
- 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, :DedicatedClusterId, :ChcIds, :DisableApiTermination
8076
+ attr_accessor :InstanceChargeType, :InstanceChargePrepaid, :Placement, :InstanceType, :ImageId, :SystemDisk, :DataDisks, :VirtualPrivateCloud, :InternetAccessible, :InstanceCount, :InstanceName, :LoginSettings, :SecurityGroupIds, :EnhancedService, :ClientToken, :HostName, :ActionTimer, :DisasterRecoverGroupIds, :TagSpecification, :InstanceMarketOptions, :UserData, :DryRun, :CpuTopology, :CamRoleName, :HpcClusterId, :LaunchTemplate, :DedicatedClusterId, :ChcIds, :DisableApiTermination
8054
8077
 
8055
- 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, dedicatedclusterid=nil, chcids=nil, disableapitermination=nil)
8078
+ 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, cputopology=nil, camrolename=nil, hpcclusterid=nil, launchtemplate=nil, dedicatedclusterid=nil, chcids=nil, disableapitermination=nil)
8056
8079
  @InstanceChargeType = instancechargetype
8057
8080
  @InstanceChargePrepaid = instancechargeprepaid
8058
8081
  @Placement = placement
@@ -8075,6 +8098,7 @@ module TencentCloud
8075
8098
  @InstanceMarketOptions = instancemarketoptions
8076
8099
  @UserData = userdata
8077
8100
  @DryRun = dryrun
8101
+ @CpuTopology = cputopology
8078
8102
  @CamRoleName = camrolename
8079
8103
  @HpcClusterId = hpcclusterid
8080
8104
  @LaunchTemplate = launchtemplate
@@ -8147,6 +8171,10 @@ module TencentCloud
8147
8171
  end
8148
8172
  @UserData = params['UserData']
8149
8173
  @DryRun = params['DryRun']
8174
+ unless params['CpuTopology'].nil?
8175
+ @CpuTopology = CpuTopology.new
8176
+ @CpuTopology.deserialize(params['CpuTopology'])
8177
+ end
8150
8178
  @CamRoleName = params['CamRoleName']
8151
8179
  @HpcClusterId = params['HpcClusterId']
8152
8180
  unless params['LaunchTemplate'].nil?
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.822
4
+ version: 3.0.824
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-05-15 00:00:00.000000000 Z
11
+ date: 2024-05-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common
@@ -34,8 +34,8 @@ extensions: []
34
34
  extra_rdoc_files: []
35
35
  files:
36
36
  - lib/tencentcloud-sdk-cvm.rb
37
- - lib/v20170312/client.rb
38
37
  - lib/v20170312/models.rb
38
+ - lib/v20170312/client.rb
39
39
  - lib/VERSION
40
40
  homepage: https://github.com/TencentCloud/tencentcloud-sdk-ruby
41
41
  licenses: