tencentcloud-sdk-cvm 3.0.940 → 3.0.942

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 +40 -13
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5882aeaed8528d684532c4cb6569da79ad6c6fa9
4
- data.tar.gz: 8201ad7af76f32c1ef7595ef45e0ef8c985d2a3a
3
+ metadata.gz: 7ec165b4babeb7f345815c9aafb9d564e89ba06e
4
+ data.tar.gz: ea6828e17ca6a3fb3ebccbc59779e62875860521
5
5
  SHA512:
6
- metadata.gz: f87213f96de5cdbce0d2bdb2846e7569d701d66f04b72b4844d72a4185c2145da31dda5e2c477b5655149dce2ac068d6cba566d1f6230cdec7faabf854f9aa93
7
- data.tar.gz: 9622974cf33c9972b2078aa531d89237ebb25037562414b0ed648f8c331c86fe370fa9ddd8cb4712ba3e39bc71058b27087a05c6fb1e05bd1cd0591df302e762
6
+ metadata.gz: 74aa0b0e64bc0de10f8b3b0d85c157bbff192fa93d7abd941ee78d22530b605101e0bff48458112e234b1845f2e71876994c273e445bea2e92eebf5555ab998b
7
+ data.tar.gz: 8f9f02fac0670286571bb5550fd0fd6b1acb0d0307fc3564b4b357d34ef6e00cb05c076c5c71929de7338e2bb3f379acf3b36368c668fc4be2e3aafe63a398f1
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.940
1
+ 3.0.942
@@ -118,13 +118,26 @@ module TencentCloud
118
118
  # @param Externals: 扩展数据
119
119
  # 注意:此字段可能返回 null,表示取不到有效值。
120
120
  # @type Externals: :class:`Tencentcloud::Cvm.v20170312.models.Externals`
121
+ # @param ActionTimerId: 定时器ID。
122
+ # @type ActionTimerId: String
123
+ # @param Status: 定时器状态,取值范围:
121
124
 
122
- attr_accessor :TimerAction, :ActionTime, :Externals
125
+ # UNDO:未触发
126
+ # DOING:触发中
127
+ # DONE:已经触发
128
+ # @type Status: String
129
+ # @param InstanceId: 定时器对应的实例ID。
130
+ # @type InstanceId: String
131
+
132
+ attr_accessor :TimerAction, :ActionTime, :Externals, :ActionTimerId, :Status, :InstanceId
123
133
 
124
- def initialize(timeraction=nil, actiontime=nil, externals=nil)
134
+ def initialize(timeraction=nil, actiontime=nil, externals=nil, actiontimerid=nil, status=nil, instanceid=nil)
125
135
  @TimerAction = timeraction
126
136
  @ActionTime = actiontime
127
137
  @Externals = externals
138
+ @ActionTimerId = actiontimerid
139
+ @Status = status
140
+ @InstanceId = instanceid
128
141
  end
129
142
 
130
143
  def deserialize(params)
@@ -134,6 +147,9 @@ module TencentCloud
134
147
  @Externals = Externals.new
135
148
  @Externals.deserialize(params['Externals'])
136
149
  end
150
+ @ActionTimerId = params['ActionTimerId']
151
+ @Status = params['Status']
152
+ @InstanceId = params['InstanceId']
137
153
  end
138
154
  end
139
155
 
@@ -212,11 +228,11 @@ module TencentCloud
212
228
 
213
229
  # AssociateInstancesKeyPairs请求参数结构体
214
230
  class AssociateInstancesKeyPairsRequest < TencentCloud::Common::AbstractModel
215
- # @param InstanceIds: 一个或多个待操作的实例ID,每次请求批量实例的上限为100。<br>可以通过以下方式获取可用的实例ID:<br><li>通过登录[控制台](https://console.cloud.tencent.com/cvm/index)查询实例ID。<br><li>通过调用接口 [DescribeInstances](https://cloud.tencent.com/document/api/213/15728) ,取返回信息中的`InstanceId`获取实例ID
231
+ # @param InstanceIds: 一个或多个待操作的实例ID,每次请求批量实例的上限为100。<br>可以通过以下方式获取可用的实例ID:<br><li>通过登录[控制台](https://console.cloud.tencent.com/cvm/index)查询实例ID。</li><li>通过调用接口 [DescribeInstances](https://cloud.tencent.com/document/api/213/15728) ,取返回信息中的`InstanceId`获取实例ID。</li>
216
232
  # @type InstanceIds: Array
217
- # @param KeyIds: 一个或多个待操作的密钥对ID,每次请求批量密钥对的上限为100。密钥对ID形如:`skey-3glfot13`。<br>可以通过以下方式获取可用的密钥ID:<br><li>通过登录[控制台](https://console.cloud.tencent.com/cvm/sshkey)查询密钥ID。<br><li>通过调用接口 [DescribeKeyPairs](https://cloud.tencent.com/document/api/213/15699) ,取返回信息中的`KeyId`获取密钥对ID
233
+ # @param KeyIds: 一个或多个待操作的密钥对ID,每次请求批量密钥对的上限为100。密钥对ID形如:`skey-3glfot13`。<br>可以通过以下方式获取可用的密钥ID:<br><li>通过登录[控制台](https://console.cloud.tencent.com/cvm/sshkey)查询密钥ID。</li><li>通过调用接口 [DescribeKeyPairs](https://cloud.tencent.com/document/api/213/15699) ,取返回信息中的`KeyId`获取密钥对ID。</li>
218
234
  # @type KeyIds: Array
219
- # @param ForceStop: 是否对运行中的实例选择强制关机。建议对运行中的实例先手动关机,然后再绑定密钥。取值范围:<br><li>true:表示在正常关机失败后进行强制关机。<br><li>false:表示在正常关机失败后不进行强制关机。<br>默认取值:false。
235
+ # @param ForceStop: 是否对运行中的实例选择强制关机。建议对运行中的实例先手动关机,然后再绑定密钥。取值范围:<br><li>true:表示在正常关机失败后进行强制关机。</li><li>false:表示在正常关机失败后不进行强制关机。</li>默认取值:false。
220
236
  # @type ForceStop: Boolean
221
237
 
222
238
  attr_accessor :InstanceIds, :KeyIds, :ForceStop
@@ -290,7 +306,7 @@ module TencentCloud
290
306
  class ChargePrepaid < TencentCloud::Common::AbstractModel
291
307
  # @param Period: 购买实例的时长,单位:月。取值范围:1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 24, 36。
292
308
  # @type Period: Integer
293
- # @param RenewFlag: 自动续费标识。取值范围:<br><li>NOTIFY_AND_AUTO_RENEW:通知过期且自动续费<br><li>NOTIFY_AND_MANUAL_RENEW:通知过期不自动续费<br><li>DISABLE_NOTIFY_AND_MANUAL_RENEW:不通知过期不自动续费<br><br>默认取值:NOTIFY_AND_AUTO_RENEW。若该参数指定为NOTIFY_AND_AUTO_RENEW,在账户余额充足的情况下,实例到期后将按月自动续费。
309
+ # @param RenewFlag: 自动续费标识。取值范围:<li>NOTIFY_AND_AUTO_RENEW:通知过期且自动续费</li><li>NOTIFY_AND_MANUAL_RENEW:通知过期不自动续费</li><li>DISABLE_NOTIFY_AND_MANUAL_RENEW:不通知过期不自动续费</li><br>默认取值:NOTIFY_AND_AUTO_RENEW。若该参数指定为NOTIFY_AND_AUTO_RENEW,在账户余额充足的情况下,实例到期后将按月自动续费。
294
310
  # @type RenewFlag: String
295
311
 
296
312
  attr_accessor :Period, :RenewFlag
@@ -1122,7 +1138,7 @@ module TencentCloud
1122
1138
  # @param InstanceType: 实例机型。不同实例机型指定了不同的资源规格。
1123
1139
  # <br><li>对于付费模式为PREPAID或POSTPAID\_BY\_HOUR的实例创建,具体取值可通过调用接口[DescribeInstanceTypeConfigs](https://cloud.tencent.com/document/api/213/15749)来获得最新的规格表或参见[实例规格](https://cloud.tencent.com/document/product/213/11518)描述。若不指定该参数,则系统将根据当前地域的资源售卖情况动态指定默认机型。</li><br><li>对于付费模式为CDHPAID的实例创建,该参数以"CDH_"为前缀,根据CPU和内存配置生成,具体形式为:CDH_XCXG,例如对于创建CPU为1核,内存为1G大小的专用宿主机的实例,该参数应该为CDH_1C1G。</li>
1124
1140
  # @type InstanceType: String
1125
- # @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) ,传入InstanceType获取当前机型支持的镜像列表,取返回信息中的`ImageId`字段。</li>
1141
+ # @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) ,传入InstanceType获取当前机型支持的镜像列表,取返回信息中的`ImageId`字段。</li>
1126
1142
  # @type ImageId: String
1127
1143
  # @param SystemDisk: 实例系统盘配置信息。若不指定该参数,则按照系统默认值进行分配。
1128
1144
  # @type SystemDisk: :class:`Tencentcloud::Cvm.v20170312.models.SystemDisk`
@@ -1140,7 +1156,7 @@ module TencentCloud
1140
1156
  # @type LoginSettings: :class:`Tencentcloud::Cvm.v20170312.models.LoginSettings`
1141
1157
  # @param SecurityGroupIds: 实例所属安全组。该参数可以通过调用 [DescribeSecurityGroups](https://cloud.tencent.com/document/api/215/15808) 的返回值中的sgId字段来获取。若不指定该参数,则绑定默认安全组。
1142
1158
  # @type SecurityGroupIds: Array
1143
- # @param EnhancedService: 增强服务。通过该参数可以指定是否开启云安全、云监控等服务。若不指定该参数,则默认公共镜像开启云监控、云安全服务;自定义镜像与镜像市场镜像默认不开启云监控,云安全服务,而使用镜像里保留的服务。
1159
+ # @param EnhancedService: 增强服务。通过该参数可以指定是否开启云安全、云监控等服务。若不指定该参数,则默认公共镜像开启云监控、云安全服务;自定义镜像与云镜像市场镜像默认不开启云监控,云安全服务,而使用镜像里保留的服务。
1144
1160
  # @type EnhancedService: :class:`Tencentcloud::Cvm.v20170312.models.EnhancedService`
1145
1161
  # @param ClientToken: 用于保证请求幂等性的字符串。该字符串由客户生成,需保证不同请求之间唯一,最大值不超过64个ASCII字符。若不指定该参数,则无法保证请求的幂等性。
1146
1162
  # @type ClientToken: String
@@ -1925,13 +1941,16 @@ module TencentCloud
1925
1941
  # @param Filters: <li><strong>zone</strong></li>
1926
1942
  # <p style="padding-left: 30px;">按照【<strong>可用区</strong>】进行过滤。可用区形如:ap-guangzhou-1。</p><p style="padding-left: 30px;">类型:String</p><p style="padding-left: 30px;">必选:否</p><p style="padding-left: 30px;">可选项:<a href="https://cloud.tencent.com/document/product/213/6091">可用区列表</a></p>
1927
1943
  # <li><strong>project-id</strong></li>
1928
- # <p style="padding-left: 30px;">按照【<strong>项目ID</strong>】进行过滤,可通过调用[DescribeProject](https://cloud.tencent.com/document/api/378/4400)查询已创建的项目列表或登录[控制台](https://console.cloud.tencent.com/cvm/index)进行查看;也可以调用[AddProject](https://cloud.tencent.com/document/api/378/4398)创建新的项目。项目ID形如:1002189。</p><p style="padding-left: 30px;">类型:Integer</p><p style="padding-left: 30px;">必选:否</p>
1944
+ # <p style="padding-left: 30px;">按照【<strong>项目ID</strong>】进行过滤,可通过调用[DescribeProject](https://cloud.tencent.com/document/api/651/78725)查询已创建的项目列表或登录[控制台](https://console.cloud.tencent.com/cvm/index)进行查看;也可以调用[AddProject](https://cloud.tencent.com/document/api/651/81952)创建新的项目。项目ID形如:1002189。</p><p style="padding-left: 30px;">类型:Integer</p><p style="padding-left: 30px;">必选:否</p>
1929
1945
  # <li><strong>host-id</strong></li>
1930
1946
  # <p style="padding-left: 30px;">按照【<strong>[CDH](https://cloud.tencent.com/document/product/416) ID</strong>】进行过滤。[CDH](https://cloud.tencent.com/document/product/416) ID形如:host-xxxxxxxx。</p><p style="padding-left: 30px;">类型:String</p><p style="padding-left: 30px;">必选:否</p>
1931
1947
  # <li><strong>host-name</strong></li>
1932
1948
  # <p style="padding-left: 30px;">按照【<strong>CDH实例名称</strong>】进行过滤。</p><p style="padding-left: 30px;">类型:String</p><p style="padding-left: 30px;">必选:否</p>
1933
1949
  # <li><strong>host-state</strong></li>
1934
1950
  # <p style="padding-left: 30px;">按照【<strong>CDH实例状态</strong>】进行过滤。(PENDING:创建中 | LAUNCH_FAILURE:创建失败 | RUNNING:运行中 | EXPIRED:已过期)</p><p style="padding-left: 30px;">类型:String</p><p style="padding-left: 30px;">必选:否</p>
1951
+ # <li><strong>host-type</strong></li>
1952
+ # <p style="padding-left: 30px;">按照【<strong>CDH机型</strong>】进行过滤。</p><p style="padding-left: 30px;">类型:String</p><p style="padding-left: 30px;">必选:否</p>
1953
+ # <li><strong>tag-key</strong></li> <p style="padding-left: 30px;">按照【<strong>标签键</strong>】进行过滤。</p><p style="padding-left: 30px;">类型:String</p><p style="padding-left: 30px;">必选:否</p> <li><strong>tag-value</strong></li> <p style="padding-left: 30px;">按照【<strong>标签值</strong>】进行过滤。</p><p style="padding-left: 30px;">类型:String</p><p style="padding-left: 30px;">必选:否</p> <li><strong>tag:tag-key</strong></li> <p style="padding-left: 30px;">按照【<strong>标签键值对</strong>】进行过滤。tag-key使用具体的标签键进行替换。使用请参考示例。</p>
1935
1954
  # 每次请求的`Filters`的上限为10,`Filter.Values`的上限为5。
1936
1955
  # @type Filters: Array
1937
1956
  # @param Offset: 偏移量,默认为0。
@@ -2486,13 +2505,13 @@ module TencentCloud
2486
2505
  # @type ActionTimerIds: Array
2487
2506
  # @param InstanceIds: 按照一个或者多个实例ID查询。
2488
2507
  # @type InstanceIds: Array
2489
- # @param TimerAction: 定时任务执行时间,格式如:2018-05-01 19:00:00,必须大于当前时间5分钟。
2508
+ # @param TimerAction: 定时器动作,目前仅支持销毁一个值:TerminateInstances。
2490
2509
  # @type TimerAction: String
2491
2510
  # @param EndActionTime: 执行时间的结束范围,用于条件筛选,格式如2018-05-01 19:00:00。
2492
2511
  # @type EndActionTime: String
2493
2512
  # @param StartActionTime: 执行时间的开始范围,用于条件筛选,格式如2018-05-01 19:00:00。
2494
2513
  # @type StartActionTime: String
2495
- # @param StatusList: 定时任务状态列表。<br><li>UNDO:未执行<br><li>DOING:正在执行<br><li>DONE:执行完成。
2514
+ # @param StatusList: 定时任务状态列表。<br><li>UNDO:未执行</li> <br><li>DOING:正在执行</li><br><li>DONE:执行完成。</li>
2496
2515
  # @type StatusList: Array
2497
2516
 
2498
2517
  attr_accessor :ActionTimerIds, :InstanceIds, :TimerAction, :EndActionTime, :StartActionTime, :StatusList
@@ -6279,7 +6298,6 @@ module TencentCloud
6279
6298
  # 描述了实例登录相关配置与信息。
6280
6299
  class LoginSettings < TencentCloud::Common::AbstractModel
6281
6300
  # @param Password: 实例登录密码。不同操作系统类型密码复杂度限制不一样,具体如下:<li>Linux实例密码必须8到30位,至少包括两项[a-z],[A-Z]、[0-9] 和 [( ) \` ~ ! @ # $ % ^ & * - + = | { } [ ] : ; ' , . ? / ]中的特殊符号。</li><li>Windows实例密码必须12到30位,至少包括三项[a-z],[A-Z],[0-9] 和 [( ) \` ~ ! @ # $ % ^ & * - + = | { } [ ] : ; ' , . ? /]中的特殊符号。</li>若不指定该参数,则由系统随机生成密码,并通过站内信方式通知到用户。
6282
- # 注意:此字段可能返回 null,表示取不到有效值。
6283
6301
  # @type Password: String
6284
6302
  # @param KeyIds: 密钥ID列表。关联密钥后,就可以通过对应的私钥来访问实例;KeyId可通过接口[DescribeKeyPairs](https://cloud.tencent.com/document/api/213/15699)获取,密钥与密码不能同时指定,同时Windows操作系统不支持指定密钥。
6285
6303
  # 注意:此字段可能返回 null,表示取不到有效值。
@@ -8793,7 +8811,16 @@ module TencentCloud
8793
8811
 
8794
8812
  # 描述了操作系统所在块设备即系统盘的信息
8795
8813
  class SystemDisk < TencentCloud::Common::AbstractModel
8796
- # @param DiskType: 系统盘类型。系统盘类型限制详见[存储概述](https://cloud.tencent.com/document/product/213/4952)。取值范围:<br><li>LOCAL_BASIC:本地硬盘<br><li>LOCAL_SSD:本地SSD硬盘<br><li>CLOUD_BASIC:普通云硬盘<br><li>CLOUD_SSD:SSD云硬盘<br><li>CLOUD_PREMIUM:高性能云硬盘<br><li>CLOUD_BSSD:通用性SSD云硬盘<br><li>CLOUD_HSSD:增强型SSD云硬盘<br><li>CLOUD_TSSD:极速型SSD云硬盘<br><br>默认取值:当前有库存的硬盘类型。
8814
+ # @param DiskType: 系统盘类型。系统盘类型限制详见[存储概述](https://cloud.tencent.com/document/product/213/4952)。取值范围:<br>
8815
+ # <li>LOCAL_BASIC:本地硬盘</li>
8816
+ # <li>LOCAL_SSD:本地SSD硬盘</li>
8817
+ # <li>CLOUD_BASIC:普通云硬盘</li>
8818
+ # <li>CLOUD_SSD:SSD云硬盘</li>
8819
+ # <li>CLOUD_PREMIUM:高性能云硬盘</li>
8820
+ # <li>CLOUD_BSSD:通用性SSD云硬盘</li>
8821
+ # <li>CLOUD_HSSD:增强型SSD云硬盘</li>
8822
+ # <li>CLOUD_TSSD:极速型SSD云硬盘</li><br>
8823
+ # 默认取值:当前有库存的硬盘类型。
8797
8824
  # @type DiskType: String
8798
8825
  # @param DiskId: 系统盘ID。LOCAL_BASIC 和 LOCAL_SSD 类型没有ID。暂时不支持该参数。
8799
8826
  # 该参数目前仅用于`DescribeInstances`等查询类接口的返回参数,不可用于`RunInstances`等写接口的入参。
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.940
4
+ version: 3.0.942
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-11-12 00:00:00.000000000 Z
11
+ date: 2024-11-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common