tencentcloud-sdk-cvm 3.0.1008 → 3.0.1010

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 +20 -23
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 74b43f3892a50ddd26ddd7dcf0197c099b233b1f
4
- data.tar.gz: 4bab27ddbd0abc47b444cb39757d152d18f5cddc
3
+ metadata.gz: 818060cbd87b3d47c9afb9b9b0be19180a666ffa
4
+ data.tar.gz: 9fe32dc3af53e253571452d8bc0d6e3bff835fdd
5
5
  SHA512:
6
- metadata.gz: 05bd2d7b9855790e4df5dc037cd2deb79ab97ab7f99a35d4cc281de081452ce8af6d289f5dffe5919bc39cb1ae89d9a0c69d69a5ec74a0a106a96420127fc6f2
7
- data.tar.gz: 2a7aaf2f16270250d45beadc182bf77d1aca4a07d3c3e7cd429953b576076f71510ac65bb0682cc751940d22aeaae85bdeb740faec67982d6f7cc962d6110782
6
+ metadata.gz: e08926a1c56e9fe362c6779bfca4cc66d2f94f24e7cae4227b651b2a3475c05614b578046974103d4ed24c3a8d78326db147e8c1e730f35bcdf0f33f6d66fe1b
7
+ data.tar.gz: 54d4990110254586177f614b98375904213a05fa2e18c480f5f4e8d4a6d9147af6e59d683387355664a97555f941ecf07f8e35ae1007ccee1a1c4de4e71e3f9a
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.1008
1
+ 3.0.1010
@@ -110,13 +110,10 @@ module TencentCloud
110
110
  # 定时任务
111
111
  class ActionTimer < TencentCloud::Common::AbstractModel
112
112
  # @param TimerAction: 定时器动作,目前仅支持销毁一个值:TerminateInstances。
113
- # 注意:此字段可能返回 null,表示取不到有效值。
114
113
  # @type TimerAction: String
115
114
  # @param ActionTime: 执行时间,按照ISO8601标准表示,并且使用UTC时间。格式为 YYYY-MM-DDThh:mm:ssZ。例如 2018-05-29T11:26:40Z,执行时间必须大于当前时间5分钟。
116
- # 注意:此字段可能返回 null,表示取不到有效值。
117
115
  # @type ActionTime: String
118
116
  # @param Externals: 扩展数据
119
- # 注意:此字段可能返回 null,表示取不到有效值。
120
117
  # @type Externals: :class:`Tencentcloud::Cvm.v20170312.models.Externals`
121
118
  # @param ActionTimerId: 定时器ID。
122
119
  # @type ActionTimerId: String
@@ -800,19 +797,23 @@ module TencentCloud
800
797
  # @type Type: String
801
798
  # @param ClientToken: 用于保证请求幂等性的字符串。该字符串由客户生成,需保证不同请求之间唯一,最大值不超过64个ASCII字符。若不指定该参数,则无法保证请求的幂等性。<br>更多详细信息请参阅:如何保证幂等性。
802
799
  # @type ClientToken: String
800
+ # @param Affinity: 置放群组的亲和度,在置放群组的实例会按该亲和度分布,亲和度的取值范围是:1-10,默认为1
801
+ # @type Affinity: Integer
803
802
 
804
- attr_accessor :Name, :Type, :ClientToken
803
+ attr_accessor :Name, :Type, :ClientToken, :Affinity
805
804
 
806
- def initialize(name=nil, type=nil, clienttoken=nil)
805
+ def initialize(name=nil, type=nil, clienttoken=nil, affinity=nil)
807
806
  @Name = name
808
807
  @Type = type
809
808
  @ClientToken = clienttoken
809
+ @Affinity = affinity
810
810
  end
811
811
 
812
812
  def deserialize(params)
813
813
  @Name = params['Name']
814
814
  @Type = params['Type']
815
815
  @ClientToken = params['ClientToken']
816
+ @Affinity = params['Affinity']
816
817
  end
817
818
  end
818
819
 
@@ -1129,10 +1130,12 @@ module TencentCloud
1129
1130
  # @type InstanceChargePrepaid: :class:`Tencentcloud::Cvm.v20170312.models.InstanceChargePrepaid`
1130
1131
  # @param DisableApiTermination: 实例销毁保护标志,表示是否允许通过api接口删除实例。取值范围:<br><li>TRUE:表示开启实例保护,不允许通过api接口删除实例</li><li>FALSE:表示关闭实例保护,允许通过api接口删除实例<br></li>默认取值:FALSE。
1131
1132
  # @type DisableApiTermination: Boolean
1133
+ # @param LaunchTemplateTagSpecification: 标签描述列表。通过指定该参数可以绑定标签到实例启动模板。
1134
+ # @type LaunchTemplateTagSpecification: Array
1132
1135
 
1133
- attr_accessor :LaunchTemplateName, :Placement, :ImageId, :LaunchTemplateVersionDescription, :InstanceType, :SystemDisk, :DataDisks, :VirtualPrivateCloud, :InternetAccessible, :InstanceCount, :InstanceName, :LoginSettings, :SecurityGroupIds, :EnhancedService, :ClientToken, :HostName, :ActionTimer, :DisasterRecoverGroupIds, :TagSpecification, :InstanceMarketOptions, :UserData, :DryRun, :CamRoleName, :HpcClusterId, :InstanceChargeType, :InstanceChargePrepaid, :DisableApiTermination
1136
+ attr_accessor :LaunchTemplateName, :Placement, :ImageId, :LaunchTemplateVersionDescription, :InstanceType, :SystemDisk, :DataDisks, :VirtualPrivateCloud, :InternetAccessible, :InstanceCount, :InstanceName, :LoginSettings, :SecurityGroupIds, :EnhancedService, :ClientToken, :HostName, :ActionTimer, :DisasterRecoverGroupIds, :TagSpecification, :InstanceMarketOptions, :UserData, :DryRun, :CamRoleName, :HpcClusterId, :InstanceChargeType, :InstanceChargePrepaid, :DisableApiTermination, :LaunchTemplateTagSpecification
1134
1137
 
1135
- def initialize(launchtemplatename=nil, placement=nil, imageid=nil, launchtemplateversiondescription=nil, instancetype=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, instancechargetype=nil, instancechargeprepaid=nil, disableapitermination=nil)
1138
+ def initialize(launchtemplatename=nil, placement=nil, imageid=nil, launchtemplateversiondescription=nil, instancetype=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, instancechargetype=nil, instancechargeprepaid=nil, disableapitermination=nil, launchtemplatetagspecification=nil)
1136
1139
  @LaunchTemplateName = launchtemplatename
1137
1140
  @Placement = placement
1138
1141
  @ImageId = imageid
@@ -1160,6 +1163,7 @@ module TencentCloud
1160
1163
  @InstanceChargeType = instancechargetype
1161
1164
  @InstanceChargePrepaid = instancechargeprepaid
1162
1165
  @DisableApiTermination = disableapitermination
1166
+ @LaunchTemplateTagSpecification = launchtemplatetagspecification
1163
1167
  end
1164
1168
 
1165
1169
  def deserialize(params)
@@ -1231,6 +1235,14 @@ module TencentCloud
1231
1235
  @InstanceChargePrepaid.deserialize(params['InstanceChargePrepaid'])
1232
1236
  end
1233
1237
  @DisableApiTermination = params['DisableApiTermination']
1238
+ unless params['LaunchTemplateTagSpecification'].nil?
1239
+ @LaunchTemplateTagSpecification = []
1240
+ params['LaunchTemplateTagSpecification'].each do |i|
1241
+ tagspecification_tmp = TagSpecification.new
1242
+ tagspecification_tmp.deserialize(i)
1243
+ @LaunchTemplateTagSpecification << tagspecification_tmp
1244
+ end
1245
+ end
1234
1246
  end
1235
1247
  end
1236
1248
 
@@ -1460,10 +1472,8 @@ module TencentCloud
1460
1472
  # 默认取值:true<br />
1461
1473
  # 该参数目前仅用于 `RunInstances` 接口。
1462
1474
  # </li>
1463
- # 注意:此字段可能返回 null,表示取不到有效值。
1464
1475
  # @type DeleteWithInstance: Boolean
1465
1476
  # @param SnapshotId: 数据盘快照ID。选择的数据盘快照大小需小于数据盘大小。
1466
- # 注意:此字段可能返回 null,表示取不到有效值。
1467
1477
  # @type SnapshotId: String
1468
1478
  # @param Encrypt: 数据盘是加密。取值范围:
1469
1479
  # <li>true:加密</li>
@@ -1472,23 +1482,18 @@ module TencentCloud
1472
1482
  # 默认取值:false<br />
1473
1483
  # 该参数目前仅用于 `RunInstances` 接口。
1474
1484
  # </li>
1475
- # 注意:此字段可能返回 null,表示取不到有效值。
1476
1485
  # @type Encrypt: Boolean
1477
1486
  # @param KmsKeyId: 自定义CMK对应的ID,取值为UUID或者类似kms-abcd1234。用于加密云盘。
1478
1487
 
1479
1488
  # 该参数目前仅用于 `RunInstances` 接口。
1480
- # 注意:此字段可能返回 null,表示取不到有效值。
1481
1489
  # @type KmsKeyId: String
1482
1490
  # @param ThroughputPerformance: 云硬盘性能,单位:MB/s
1483
- # 注意:此字段可能返回 null,表示取不到有效值。
1484
1491
  # @type ThroughputPerformance: Integer
1485
1492
  # @param CdcId: 所属的独享集群ID。
1486
- # 注意:此字段可能返回 null,表示取不到有效值。
1487
1493
  # @type CdcId: String
1488
1494
  # @param BurstPerformance: 突发性能
1489
1495
 
1490
1496
  # <b>注:内测中。</b>
1491
- # 注意:此字段可能返回 null,表示取不到有效值。
1492
1497
  # @type BurstPerformance: Boolean
1493
1498
  # @param DiskName: 磁盘名称,长度不超过128 个字符。
1494
1499
 
@@ -5302,10 +5307,8 @@ module TencentCloud
5302
5307
  # 竞价请求相关选项
5303
5308
  class InstanceMarketOptionsRequest < TencentCloud::Common::AbstractModel
5304
5309
  # @param SpotOptions: 竞价相关选项
5305
- # 注意:此字段可能返回 null,表示取不到有效值。
5306
5310
  # @type SpotOptions: :class:`Tencentcloud::Cvm.v20170312.models.SpotMarketOptions`
5307
5311
  # @param MarketType: 市场选项类型,当前只支持取值:spot
5308
- # 注意:此字段可能返回 null,表示取不到有效值。
5309
5312
  # @type MarketType: String
5310
5313
 
5311
5314
  attr_accessor :SpotOptions, :MarketType
@@ -6124,7 +6127,6 @@ module TencentCloud
6124
6127
  # 注意:此字段可能返回 null,表示取不到有效值。
6125
6128
  # @type KeyIds: Array
6126
6129
  # @param KeepImageLogin: 保持镜像的原始设置。该参数与Password或KeyIds.N不能同时指定。只有使用自定义镜像、共享镜像或外部导入镜像创建实例时才能指定该参数为true。取值范围:<li>true:表示保持镜像的登录设置</li><li>false:表示不保持镜像的登录设置</li>默认取值:false。
6127
- # 注意:此字段可能返回 null,表示取不到有效值。
6128
6130
  # @type KeepImageLogin: String
6129
6131
 
6130
6132
  attr_accessor :Password, :KeyIds, :KeepImageLogin
@@ -7931,8 +7933,7 @@ module TencentCloud
7931
7933
 
7932
7934
  # 描述了 “云监控” 服务相关的信息
7933
7935
  class RunMonitorServiceEnabled < TencentCloud::Common::AbstractModel
7934
- # @param Enabled: 是否开启[云监控](/document/product/248)服务。取值范围:<br><li>true:表示开启云监控服务<br><li>false:表示不开启云监控服务<br><br>默认取值:true。
7935
- # 注意:此字段可能返回 null,表示取不到有效值。
7936
+ # @param Enabled: 是否开启[云监控](/document/product/248)服务。取值范围:<br><li>true:表示开启云监控服务</li><li>false:表示不开启云监控服务</li><br>默认取值:true。
7936
7937
  # @type Enabled: Boolean
7937
7938
 
7938
7939
  attr_accessor :Enabled
@@ -8011,10 +8012,8 @@ module TencentCloud
8011
8012
  # 竞价相关选项
8012
8013
  class SpotMarketOptions < TencentCloud::Common::AbstractModel
8013
8014
  # @param MaxPrice: 竞价出价
8014
- # 注意:此字段可能返回 null,表示取不到有效值。
8015
8015
  # @type MaxPrice: String
8016
8016
  # @param SpotInstanceType: 竞价请求类型,当前仅支持类型:one-time
8017
- # 注意:此字段可能返回 null,表示取不到有效值。
8018
8017
  # @type SpotInstanceType: String
8019
8018
 
8020
8019
  attr_accessor :MaxPrice, :SpotInstanceType
@@ -8320,10 +8319,8 @@ module TencentCloud
8320
8319
  # 创建资源实例时同时绑定的标签对说明
8321
8320
  class TagSpecification < TencentCloud::Common::AbstractModel
8322
8321
  # @param ResourceType: 标签绑定的资源类型,云服务器为“instance”,专用宿主机为“host”,镜像为“image”,密钥为“keypair”
8323
- # 注意:此字段可能返回 null,表示取不到有效值。
8324
8322
  # @type ResourceType: String
8325
8323
  # @param Tags: 标签对列表
8326
- # 注意:此字段可能返回 null,表示取不到有效值。
8327
8324
  # @type Tags: Array
8328
8325
 
8329
8326
  attr_accessor :ResourceType, :Tags
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.1008
4
+ version: 3.0.1010
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-02-27 00:00:00.000000000 Z
11
+ date: 2025-03-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common