tencentcloud-sdk-cvm 3.0.685 → 3.0.686

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 19ce35a548ff8372863d93db6553f9f9fc76a7b0
4
- data.tar.gz: 58432592225340846ba273d012cf03ee4b6d9234
3
+ metadata.gz: 61829f18cf7b867a0382e080c5837dbbc98ebbdb
4
+ data.tar.gz: dc129cfed0ae2d2a3bf9484202a2ec34668a9e4d
5
5
  SHA512:
6
- metadata.gz: 68a2962983ea42aa11fb069517efb55b06093cb6415e27edf50727973ae1c45e2048c3088e1cfc76a906be8ca82195e7cf8dd977fe2510875e03d5f145b1e6c8
7
- data.tar.gz: 4aa67d836818ed9a5e3c13b1bbf7ea94a3be89b7e40b68f7e902f86103cb5caeef5b48475dd70968aff6c244941d40a9bf1ee01e2a9606c694518a7d344beab8
6
+ metadata.gz: 0f90196946d3dbb595618492319f9d75c436b194c4b827dd021976848e8d4e7dd23b393602e0043cdb67bf467e06f6a57c8f8e8ffb6b989c94c118ac7698145b
7
+ data.tar.gz: d34fe03d64cfba57bbdd5346612f5e3e0e70fdf057ecb84d6f4a3822c4518980e457827fbd77c3f32b488df3149c296e809eaabbb0b9c17b5fa6b28fc40c9a39
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.685
1
+ 3.0.686
@@ -2211,10 +2211,9 @@ module TencentCloud
2211
2211
 
2212
2212
  # * 如果指定了`ImageId`参数,则使用指定的镜像重装;否则按照当前实例使用的镜像进行重装。
2213
2213
  # * 系统盘将会被格式化,并重置;请确保系统盘中无重要文件。
2214
- # * `Linux`和`Windows`系统互相切换时,该实例系统盘`ID`将发生变化,系统盘关联快照将无法回滚、恢复数据。
2214
+ # * 系统切换时,该实例系统盘`ID`将发生变化,系统盘关联快照将无法回滚、恢复数据。
2215
2215
  # * 密码不指定将会通过站内信下发随机密码。
2216
- # * 目前只支持[系统盘类型](https://cloud.tencent.com/document/api/213/9452#SystemDisk)是`CLOUD_BASIC`、`CLOUD_PREMIUM`、`CLOUD_SSD`类型的实例使用该接口实现`Linux`和`Windows`操作系统切换。
2217
- # * 目前不支持境外地域的实例使用该接口实现`Linux`和`Windows`操作系统切换。
2216
+ # * 目前只支持[系统盘类型](https://cloud.tencent.com/document/api/213/9452#SystemDisk)是`CLOUD_BASIC`、`CLOUD_PREMIUM`、`CLOUD_SSD`、`CLOUD_BSSD`类型的实例使用该接口实现操作系统切换。
2218
2217
  # * 实例操作结果可以通过调用 [DescribeInstances](https://cloud.tencent.com/document/api/213/15728#.E7.A4.BA.E4.BE.8B3-.E6.9F.A5.E8.AF.A2.E5.AE.9E.E4.BE.8B.E7.9A.84.E6.9C.80.E6.96.B0.E6.93.8D.E4.BD.9C.E6.83.85.E5.86.B5) 接口查询,如果实例的最新操作状态(LatestOperationState)为“SUCCESS”,则代表操作成功。
2219
2218
 
2220
2219
  # @param request: Request instance for ResetInstance.
@@ -4546,7 +4546,7 @@ module TencentCloud
4546
4546
  # @type SecurityGroupIds: Array
4547
4547
  # @param EnhancedService: 增强服务。通过该参数可以指定是否开启云安全、云监控等服务。若不指定该参数,则默认开启云监控、云安全服务。
4548
4548
  # @type EnhancedService: :class:`Tencentcloud::Cvm.v20170312.models.EnhancedService`
4549
- # @param ClientToken: 用于保证请求幂等性的字符串。该字符串由客户生成,需保证不同请求之间唯一,最大值不超过64个ASCII字符。若不指定该参数,则无法保证请求的幂等性。<br>更多详细信息请参阅:如何保证幂等性。
4549
+ # @param ClientToken: 用于保证请求幂等性的字符串。该字符串由客户生成,需保证不同请求之间唯一,最大值不超过64个ASCII字符。若不指定该参数,则无法保证请求的幂等性。
4550
4550
  # @type ClientToken: String
4551
4551
  # @param HostName: 云服务器的主机名。<br><li>点号(.)和短横线(-)不能作为 HostName 的首尾字符,不能连续使用。<br><li>Windows 实例:主机名字符长度为[2, 15],允许字母(不限制大小写)、数字和短横线(-)组成,不支持点号(.),不能全是数字。<br><li>其他类型(Linux 等)实例:主机名字符长度为[2, 30],允许支持多个点号,点之间为一段,每段允许字母(不限制大小写)、数字和短横线(-)组成。
4552
4552
  # @type HostName: String
@@ -4556,10 +4556,12 @@ module TencentCloud
4556
4556
  # @type InstanceMarketOptions: :class:`Tencentcloud::Cvm.v20170312.models.InstanceMarketOptionsRequest`
4557
4557
  # @param HpcClusterId: 高性能计算集群ID。
4558
4558
  # @type HpcClusterId: String
4559
+ # @param LaunchTemplate: 实例启动模板。
4560
+ # @type LaunchTemplate: :class:`Tencentcloud::Cvm.v20170312.models.LaunchTemplate`
4559
4561
 
4560
- attr_accessor :Placement, :ImageId, :InstanceChargeType, :InstanceChargePrepaid, :InstanceType, :SystemDisk, :DataDisks, :VirtualPrivateCloud, :InternetAccessible, :InstanceCount, :InstanceName, :LoginSettings, :SecurityGroupIds, :EnhancedService, :ClientToken, :HostName, :TagSpecification, :InstanceMarketOptions, :HpcClusterId
4562
+ attr_accessor :Placement, :ImageId, :InstanceChargeType, :InstanceChargePrepaid, :InstanceType, :SystemDisk, :DataDisks, :VirtualPrivateCloud, :InternetAccessible, :InstanceCount, :InstanceName, :LoginSettings, :SecurityGroupIds, :EnhancedService, :ClientToken, :HostName, :TagSpecification, :InstanceMarketOptions, :HpcClusterId, :LaunchTemplate
4561
4563
 
4562
- def initialize(placement=nil, imageid=nil, instancechargetype=nil, instancechargeprepaid=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, tagspecification=nil, instancemarketoptions=nil, hpcclusterid=nil)
4564
+ def initialize(placement=nil, imageid=nil, instancechargetype=nil, instancechargeprepaid=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, tagspecification=nil, instancemarketoptions=nil, hpcclusterid=nil, launchtemplate=nil)
4563
4565
  @Placement = placement
4564
4566
  @ImageId = imageid
4565
4567
  @InstanceChargeType = instancechargetype
@@ -4579,6 +4581,7 @@ module TencentCloud
4579
4581
  @TagSpecification = tagspecification
4580
4582
  @InstanceMarketOptions = instancemarketoptions
4581
4583
  @HpcClusterId = hpcclusterid
4584
+ @LaunchTemplate = launchtemplate
4582
4585
  end
4583
4586
 
4584
4587
  def deserialize(params)
@@ -4639,6 +4642,10 @@ module TencentCloud
4639
4642
  @InstanceMarketOptions.deserialize(params['InstanceMarketOptions'])
4640
4643
  end
4641
4644
  @HpcClusterId = params['HpcClusterId']
4645
+ unless params['LaunchTemplate'].nil?
4646
+ @LaunchTemplate = LaunchTemplate.new
4647
+ @LaunchTemplate.deserialize(params['LaunchTemplate'])
4648
+ end
4642
4649
  end
4643
4650
  end
4644
4651
 
@@ -5244,7 +5251,7 @@ module TencentCloud
5244
5251
  # @type InternetChargeType: String
5245
5252
  # @param InternetMaxBandwidthOut: 公网出带宽上限,单位:Mbps。默认值:0Mbps。不同机型带宽上限范围不一致,具体限制详见[购买网络带宽](https://cloud.tencent.com/document/product/213/12523)。
5246
5253
  # @type InternetMaxBandwidthOut: Integer
5247
- # @param PublicIpAssigned: 是否分配公网IP。取值范围:<br><li>TRUE:表示分配公网IP<br><li>FALSE:表示不分配公网IP<br><br>当公网带宽大于0Mbps时,可自由选择开通与否,默认开通公网IP;当公网带宽为0,则不允许分配公网IP。该参数仅在RunInstances接口中作为入参使用。
5254
+ # @param PublicIpAssigned: 是否分配公网IP。取值范围:<br><li>true:表示分配公网IP<br><li>false:表示不分配公网IP<br><br>当公网带宽大于0Mbps时,可自由选择开通与否,默认开通公网IP;当公网带宽为0,则不允许分配公网IP。该参数仅在RunInstances接口中作为入参使用。
5248
5255
  # @type PublicIpAssigned: Boolean
5249
5256
  # @param BandwidthPackageId: 带宽包ID。可通过[`DescribeBandwidthPackages`](https://cloud.tencent.com/document/api/215/19209)接口返回值中的`BandwidthPackageId`获取。该参数仅在RunInstances接口中作为入参使用。
5250
5257
  # @type BandwidthPackageId: String
@@ -7486,7 +7493,7 @@ module TencentCloud
7486
7493
  # @param InstanceId: 实例ID。可通过 [DescribeInstances](https://cloud.tencent.com/document/api/213/15728) API返回值中的`InstanceId`获取。
7487
7494
  # @type InstanceId: String
7488
7495
  # @param ImageId: 指定有效的[镜像](https://cloud.tencent.com/document/product/213/4940)ID,格式形如`img-xxx`。镜像类型分为四种:<br/><li>公共镜像</li><li>自定义镜像</li><li>共享镜像</li><li>服务市场镜像</li><br/>可通过以下方式获取可用的镜像ID:<br/><li>`公共镜像`、`自定义镜像`、`共享镜像`的镜像ID可通过登录[控制台](https://console.cloud.tencent.com/cvm/image?rid=1&imageType=PUBLIC_IMAGE)查询;`服务镜像市场`的镜像ID可通过[云市场](https://market.cloud.tencent.com/list)查询。</li><li>通过调用接口 [DescribeImages](https://cloud.tencent.com/document/api/213/15715) ,取返回信息中的`ImageId`字段。</li>
7489
- # <br>默认取值:默认使用当前镜像。
7496
+ # 默认取值:默认使用当前镜像。
7490
7497
  # @type ImageId: String
7491
7498
  # @param SystemDisk: 实例系统盘配置信息。系统盘为云盘的实例可以通过该参数指定重装后的系统盘大小来实现对系统盘的扩容操作。系统盘大小只支持扩容不支持缩容;重装只支持修改系统盘的大小,不能修改系统盘的类型。
7492
7499
  # @type SystemDisk: :class:`Tencentcloud::Cvm.v20170312.models.SystemDisk`
@@ -7968,7 +7975,7 @@ module TencentCloud
7968
7975
 
7969
7976
  # 描述了 “云安全” 服务相关的信息
7970
7977
  class RunSecurityServiceEnabled < TencentCloud::Common::AbstractModel
7971
- # @param Enabled: 是否开启[云安全](/document/product/296)服务。取值范围:<br><li>TRUE:表示开启云安全服务<br><li>FALSE:表示不开启云安全服务<br><br>默认取值:TRUE
7978
+ # @param Enabled: 是否开启[云安全](/document/product/296)服务。取值范围:<br><li>true:表示开启云安全服务<br><li>false:表示不开启云安全服务<br><br>默认取值:true
7972
7979
  # @type Enabled: Boolean
7973
7980
 
7974
7981
  attr_accessor :Enabled
@@ -8031,8 +8038,10 @@ module TencentCloud
8031
8038
  # 竞价相关选项
8032
8039
  class SpotMarketOptions < TencentCloud::Common::AbstractModel
8033
8040
  # @param MaxPrice: 竞价出价
8041
+ # 注意:此字段可能返回 null,表示取不到有效值。
8034
8042
  # @type MaxPrice: String
8035
8043
  # @param SpotInstanceType: 竞价请求类型,当前仅支持类型:one-time
8044
+ # 注意:此字段可能返回 null,表示取不到有效值。
8036
8045
  # @type SpotInstanceType: String
8037
8046
 
8038
8047
  attr_accessor :MaxPrice, :SpotInstanceType
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.685
4
+ version: 3.0.686
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-10-26 00:00:00.000000000 Z
11
+ date: 2023-10-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common