tencentcloud-sdk-cvm 3.0.1008 → 3.0.1009

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 +14 -21
  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: 995ac4c66b4b689502e612498469e5260b42b263
4
+ data.tar.gz: 1b534ead439c7113af3de06ee066b1421562c8e7
5
5
  SHA512:
6
- metadata.gz: 05bd2d7b9855790e4df5dc037cd2deb79ab97ab7f99a35d4cc281de081452ce8af6d289f5dffe5919bc39cb1ae89d9a0c69d69a5ec74a0a106a96420127fc6f2
7
- data.tar.gz: 2a7aaf2f16270250d45beadc182bf77d1aca4a07d3c3e7cd429953b576076f71510ac65bb0682cc751940d22aeaae85bdeb740faec67982d6f7cc962d6110782
6
+ metadata.gz: a58838e4844a89bbf9c61a3bff90b8a6da024087c88c642dd0c0a6e9cf283ce05ccd2f4bebb43fb5a8ada1af322eb7f64b3ada06c165c57630bc0a976725a376
7
+ data.tar.gz: 9d2b4c27c33c3344cef63016f67156aadda1c58967ab2b8b0814aa809e4691a68af16cad912c3caa3a81d287c177dd24e1dbf8de0150eeae6fcce0d2cdf11522
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.1008
1
+ 3.0.1009
@@ -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
@@ -1129,10 +1126,12 @@ module TencentCloud
1129
1126
  # @type InstanceChargePrepaid: :class:`Tencentcloud::Cvm.v20170312.models.InstanceChargePrepaid`
1130
1127
  # @param DisableApiTermination: 实例销毁保护标志,表示是否允许通过api接口删除实例。取值范围:<br><li>TRUE:表示开启实例保护,不允许通过api接口删除实例</li><li>FALSE:表示关闭实例保护,允许通过api接口删除实例<br></li>默认取值:FALSE。
1131
1128
  # @type DisableApiTermination: Boolean
1129
+ # @param LaunchTemplateTagSpecification: 标签描述列表。通过指定该参数可以绑定标签到实例启动模板。
1130
+ # @type LaunchTemplateTagSpecification: Array
1132
1131
 
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
1132
+ 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
1133
 
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)
1134
+ 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
1135
  @LaunchTemplateName = launchtemplatename
1137
1136
  @Placement = placement
1138
1137
  @ImageId = imageid
@@ -1160,6 +1159,7 @@ module TencentCloud
1160
1159
  @InstanceChargeType = instancechargetype
1161
1160
  @InstanceChargePrepaid = instancechargeprepaid
1162
1161
  @DisableApiTermination = disableapitermination
1162
+ @LaunchTemplateTagSpecification = launchtemplatetagspecification
1163
1163
  end
1164
1164
 
1165
1165
  def deserialize(params)
@@ -1231,6 +1231,14 @@ module TencentCloud
1231
1231
  @InstanceChargePrepaid.deserialize(params['InstanceChargePrepaid'])
1232
1232
  end
1233
1233
  @DisableApiTermination = params['DisableApiTermination']
1234
+ unless params['LaunchTemplateTagSpecification'].nil?
1235
+ @LaunchTemplateTagSpecification = []
1236
+ params['LaunchTemplateTagSpecification'].each do |i|
1237
+ tagspecification_tmp = TagSpecification.new
1238
+ tagspecification_tmp.deserialize(i)
1239
+ @LaunchTemplateTagSpecification << tagspecification_tmp
1240
+ end
1241
+ end
1234
1242
  end
1235
1243
  end
1236
1244
 
@@ -1460,10 +1468,8 @@ module TencentCloud
1460
1468
  # 默认取值:true<br />
1461
1469
  # 该参数目前仅用于 `RunInstances` 接口。
1462
1470
  # </li>
1463
- # 注意:此字段可能返回 null,表示取不到有效值。
1464
1471
  # @type DeleteWithInstance: Boolean
1465
1472
  # @param SnapshotId: 数据盘快照ID。选择的数据盘快照大小需小于数据盘大小。
1466
- # 注意:此字段可能返回 null,表示取不到有效值。
1467
1473
  # @type SnapshotId: String
1468
1474
  # @param Encrypt: 数据盘是加密。取值范围:
1469
1475
  # <li>true:加密</li>
@@ -1472,23 +1478,18 @@ module TencentCloud
1472
1478
  # 默认取值:false<br />
1473
1479
  # 该参数目前仅用于 `RunInstances` 接口。
1474
1480
  # </li>
1475
- # 注意:此字段可能返回 null,表示取不到有效值。
1476
1481
  # @type Encrypt: Boolean
1477
1482
  # @param KmsKeyId: 自定义CMK对应的ID,取值为UUID或者类似kms-abcd1234。用于加密云盘。
1478
1483
 
1479
1484
  # 该参数目前仅用于 `RunInstances` 接口。
1480
- # 注意:此字段可能返回 null,表示取不到有效值。
1481
1485
  # @type KmsKeyId: String
1482
1486
  # @param ThroughputPerformance: 云硬盘性能,单位:MB/s
1483
- # 注意:此字段可能返回 null,表示取不到有效值。
1484
1487
  # @type ThroughputPerformance: Integer
1485
1488
  # @param CdcId: 所属的独享集群ID。
1486
- # 注意:此字段可能返回 null,表示取不到有效值。
1487
1489
  # @type CdcId: String
1488
1490
  # @param BurstPerformance: 突发性能
1489
1491
 
1490
1492
  # <b>注:内测中。</b>
1491
- # 注意:此字段可能返回 null,表示取不到有效值。
1492
1493
  # @type BurstPerformance: Boolean
1493
1494
  # @param DiskName: 磁盘名称,长度不超过128 个字符。
1494
1495
 
@@ -5302,10 +5303,8 @@ module TencentCloud
5302
5303
  # 竞价请求相关选项
5303
5304
  class InstanceMarketOptionsRequest < TencentCloud::Common::AbstractModel
5304
5305
  # @param SpotOptions: 竞价相关选项
5305
- # 注意:此字段可能返回 null,表示取不到有效值。
5306
5306
  # @type SpotOptions: :class:`Tencentcloud::Cvm.v20170312.models.SpotMarketOptions`
5307
5307
  # @param MarketType: 市场选项类型,当前只支持取值:spot
5308
- # 注意:此字段可能返回 null,表示取不到有效值。
5309
5308
  # @type MarketType: String
5310
5309
 
5311
5310
  attr_accessor :SpotOptions, :MarketType
@@ -6124,7 +6123,6 @@ module TencentCloud
6124
6123
  # 注意:此字段可能返回 null,表示取不到有效值。
6125
6124
  # @type KeyIds: Array
6126
6125
  # @param KeepImageLogin: 保持镜像的原始设置。该参数与Password或KeyIds.N不能同时指定。只有使用自定义镜像、共享镜像或外部导入镜像创建实例时才能指定该参数为true。取值范围:<li>true:表示保持镜像的登录设置</li><li>false:表示不保持镜像的登录设置</li>默认取值:false。
6127
- # 注意:此字段可能返回 null,表示取不到有效值。
6128
6126
  # @type KeepImageLogin: String
6129
6127
 
6130
6128
  attr_accessor :Password, :KeyIds, :KeepImageLogin
@@ -7931,8 +7929,7 @@ module TencentCloud
7931
7929
 
7932
7930
  # 描述了 “云监控” 服务相关的信息
7933
7931
  class RunMonitorServiceEnabled < TencentCloud::Common::AbstractModel
7934
- # @param Enabled: 是否开启[云监控](/document/product/248)服务。取值范围:<br><li>true:表示开启云监控服务<br><li>false:表示不开启云监控服务<br><br>默认取值:true。
7935
- # 注意:此字段可能返回 null,表示取不到有效值。
7932
+ # @param Enabled: 是否开启[云监控](/document/product/248)服务。取值范围:<br><li>true:表示开启云监控服务</li><li>false:表示不开启云监控服务</li><br>默认取值:true。
7936
7933
  # @type Enabled: Boolean
7937
7934
 
7938
7935
  attr_accessor :Enabled
@@ -8011,10 +8008,8 @@ module TencentCloud
8011
8008
  # 竞价相关选项
8012
8009
  class SpotMarketOptions < TencentCloud::Common::AbstractModel
8013
8010
  # @param MaxPrice: 竞价出价
8014
- # 注意:此字段可能返回 null,表示取不到有效值。
8015
8011
  # @type MaxPrice: String
8016
8012
  # @param SpotInstanceType: 竞价请求类型,当前仅支持类型:one-time
8017
- # 注意:此字段可能返回 null,表示取不到有效值。
8018
8013
  # @type SpotInstanceType: String
8019
8014
 
8020
8015
  attr_accessor :MaxPrice, :SpotInstanceType
@@ -8320,10 +8315,8 @@ module TencentCloud
8320
8315
  # 创建资源实例时同时绑定的标签对说明
8321
8316
  class TagSpecification < TencentCloud::Common::AbstractModel
8322
8317
  # @param ResourceType: 标签绑定的资源类型,云服务器为“instance”,专用宿主机为“host”,镜像为“image”,密钥为“keypair”
8323
- # 注意:此字段可能返回 null,表示取不到有效值。
8324
8318
  # @type ResourceType: String
8325
8319
  # @param Tags: 标签对列表
8326
- # 注意:此字段可能返回 null,表示取不到有效值。
8327
8320
  # @type Tags: Array
8328
8321
 
8329
8322
  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.1009
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-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common