tencentcloud-sdk-cvm 3.0.1039 → 3.0.1040
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 +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20170312/client.rb +10 -7
- data/lib/v20170312/models.rb +83 -81
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f740094c37ef8844fbf2cd0de3a59cc9d36603b6
|
4
|
+
data.tar.gz: 4edd171d75acd2898af6570807082e2adb5e1b5b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 520cc409b30cca5a74331b9afb8408440015d817438afda6dabe2b6bab1559b35bbbfcccf01013aa7ad521623f342c0886e45690f720efd9824862cb1643de01
|
7
|
+
data.tar.gz: 091f2119f678e3f330ef01904133d7ccfb0dc9d90106321e15d6995046f2363e1a9403d56f1e3f5b7f9d783cd2f0586db573de001dafe2b1d93f33952a24ef98
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.1040
|
data/lib/v20170312/client.rb
CHANGED
@@ -1397,7 +1397,7 @@ module TencentCloud
|
|
1397
1397
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1398
1398
|
end
|
1399
1399
|
|
1400
|
-
#
|
1400
|
+
# 本接口(ExitRescueMode)用于退出救援模式。
|
1401
1401
|
|
1402
1402
|
# @param request: Request instance for ExitRescueMode.
|
1403
1403
|
# @type request: :class:`Tencentcloud::cvm::V20170312::ExitRescueModeRequest`
|
@@ -1469,7 +1469,7 @@ module TencentCloud
|
|
1469
1469
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1470
1470
|
end
|
1471
1471
|
|
1472
|
-
#
|
1472
|
+
# 本接口(ImportInstancesActionTimer)用于导入定时任务
|
1473
1473
|
|
1474
1474
|
# @param request: Request instance for ImportInstancesActionTimer.
|
1475
1475
|
# @type request: :class:`Tencentcloud::cvm::V20170312::ImportInstancesActionTimerRequest`
|
@@ -1711,8 +1711,9 @@ module TencentCloud
|
|
1711
1711
|
|
1712
1712
|
# 本接口 (InquiryPriceResizeInstanceDisks) 用于扩容实例的数据盘询价。
|
1713
1713
|
|
1714
|
-
# * 目前只支持扩容非弹性数据盘([
|
1715
|
-
# * 目前不支持[CDH](https://cloud.tencent.com/document/product/416)
|
1714
|
+
# * 目前只支持扩容非弹性数据盘([DescribeDisks ](https://cloud.tencent.com/document/api/362/16315)接口返回值中的`Portable`为`false`表示非弹性)询价。
|
1715
|
+
# * 目前不支持[CDH](https://cloud.tencent.com/document/product/416)实例使用该接口扩容数据盘询价。
|
1716
|
+
# * 目前只支持扩容一块数据盘询价。
|
1716
1717
|
|
1717
1718
|
# @param request: Request instance for InquiryPriceResizeInstanceDisks.
|
1718
1719
|
# @type request: :class:`Tencentcloud::cvm::V20170312::InquiryPriceResizeInstanceDisksRequest`
|
@@ -1945,7 +1946,7 @@ module TencentCloud
|
|
1945
1946
|
# * 只支持实例在关机状态下转换成指定云硬盘介质。
|
1946
1947
|
# * 不支持竞价实例类型。
|
1947
1948
|
# * 若实例同时存在本地系统盘和本地数据盘,需同时调整系统盘和数据盘的介质类型,不支持单独针对本地系统盘或本地数据盘修改介质类型。
|
1948
|
-
# * 修改前请确保账户余额充足。可通过[DescribeAccountBalance](https://cloud.tencent.com/document/product/555/20253)接口查询账户余额。
|
1949
|
+
# * 修改前请确保账户余额充足。可通过[ DescribeAccountBalance ](https://cloud.tencent.com/document/product/555/20253)接口查询账户余额。
|
1949
1950
|
|
1950
1951
|
# @param request: Request instance for ModifyInstanceDiskType.
|
1951
1952
|
# @type request: :class:`Tencentcloud::cvm::V20170312::ModifyInstanceDiskTypeRequest`
|
@@ -1969,7 +1970,7 @@ module TencentCloud
|
|
1969
1970
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1970
1971
|
end
|
1971
1972
|
|
1972
|
-
# 本接口 (ModifyInstancesAttribute)
|
1973
|
+
# 本接口 (ModifyInstancesAttribute) 用于修改实例的属性。
|
1973
1974
|
|
1974
1975
|
# * 每次请求必须指定实例的一种属性用于修改。
|
1975
1976
|
# * “实例名称”仅为方便用户自己管理之用,腾讯云并不以此名称作为在线支持或是进行实例管理操作的依据。
|
@@ -2643,7 +2644,9 @@ module TencentCloud
|
|
2643
2644
|
# 本接口(SyncImages)用于将自定义镜像同步到其它地区。
|
2644
2645
|
|
2645
2646
|
# * 该接口每次调用只支持同步一个镜像。
|
2646
|
-
# *
|
2647
|
+
# * 该接口支持自定义镜像向多个地域同步。
|
2648
|
+
# * 共享镜像仅支持同步为源地域(单个)的自定义镜像。
|
2649
|
+
# * 自定义镜像仅支持同步为源地域(单个)的加密自定义镜像。
|
2647
2650
|
# * 单个账号在每个地域最多支持存在500个自定义镜像。
|
2648
2651
|
|
2649
2652
|
# @param request: Request instance for SyncImages.
|
data/lib/v20170312/models.rb
CHANGED
@@ -113,17 +113,13 @@ module TencentCloud
|
|
113
113
|
# @type TimerAction: String
|
114
114
|
# @param ActionTime: 执行时间,按照ISO8601标准表示,并且使用UTC时间。格式为 YYYY-MM-DDThh:mm:ssZ。例如 2018-05-29T11:26:40Z,执行时间必须大于当前时间5分钟。
|
115
115
|
# @type ActionTime: String
|
116
|
-
# @param Externals:
|
116
|
+
# @param Externals: 扩展数据。仅做出参使用。
|
117
117
|
# @type Externals: :class:`Tencentcloud::Cvm.v20170312.models.Externals`
|
118
|
-
# @param ActionTimerId: 定时器ID
|
118
|
+
# @param ActionTimerId: 定时器ID。仅做出参使用。
|
119
119
|
# @type ActionTimerId: String
|
120
|
-
# @param Status:
|
121
|
-
|
122
|
-
# UNDO:未触发
|
123
|
-
# DOING:触发中
|
124
|
-
# DONE:已经触发
|
120
|
+
# @param Status: 定时器状态,仅做出参使用。取值范围:<br><li>UNDO:未执行</li> <li>DOING:正在执行</li><li>DONE:执行完成。</li>
|
125
121
|
# @type Status: String
|
126
|
-
# @param InstanceId: 定时器对应的实例ID
|
122
|
+
# @param InstanceId: 定时器对应的实例ID。仅做出参使用。
|
127
123
|
# @type InstanceId: String
|
128
124
|
|
129
125
|
attr_accessor :TimerAction, :ActionTime, :Externals, :ActionTimerId, :Status, :InstanceId
|
@@ -265,9 +261,9 @@ module TencentCloud
|
|
265
261
|
|
266
262
|
# AssociateSecurityGroups请求参数结构体
|
267
263
|
class AssociateSecurityGroupsRequest < TencentCloud::Common::AbstractModel
|
268
|
-
# @param SecurityGroupIds: 要绑定的`安全组ID`,类似sg-efil73jd
|
264
|
+
# @param SecurityGroupIds: 要绑定的`安全组ID`,类似sg-efil73jd,只支持绑定单个安全组。可通过 [DescribeSecurityGroups](https://cloud.tencent.com/document/product/215/15808) 接口返回值中的`SecurityGroupId`获取。
|
269
265
|
# @type SecurityGroupIds: Array
|
270
|
-
# @param InstanceIds: 被绑定的`实例ID`,类似ins-lesecurk,支持指定多个实例,每次请求批量实例的上限为100
|
266
|
+
# @param InstanceIds: 被绑定的`实例ID`,类似ins-lesecurk,支持指定多个实例,每次请求批量实例的上限为100。可通过 [DescribeInstances](https://cloud.tencent.com/document/api/213/15728) 接口返回值中的`InstanceId`获取。
|
271
267
|
# @type InstanceIds: Array
|
272
268
|
|
273
269
|
attr_accessor :SecurityGroupIds, :InstanceIds
|
@@ -923,11 +919,15 @@ module TencentCloud
|
|
923
919
|
|
924
920
|
# CreateImage请求参数结构体
|
925
921
|
class CreateImageRequest < TencentCloud::Common::AbstractModel
|
926
|
-
# @param ImageName:
|
922
|
+
# @param ImageName: 镜像名称。
|
923
|
+
# 最多支持60个字符。
|
927
924
|
# @type ImageName: String
|
928
925
|
# @param InstanceId: 需要制作镜像的实例ID。基于实例创建镜像时,为必填参数。
|
926
|
+
# InstanceId 和 SnapshotIds 为二选一必填参数。
|
927
|
+
# 可通过 [DescribeInstances](https://cloud.tencent.com/document/api/213/15728) 接口返回值中的`InstanceId`获取。
|
929
928
|
# @type InstanceId: String
|
930
|
-
# @param ImageDescription:
|
929
|
+
# @param ImageDescription: 镜像描述。
|
930
|
+
# 最多支持 256 个字符。
|
931
931
|
# @type ImageDescription: String
|
932
932
|
# @param ForcePoweroff: 是否执行强制关机以制作镜像。
|
933
933
|
# 取值范围:<br><li>true:表示关机之后制作镜像</li><br><li>false:表示开机状态制作镜像</li><br><br>默认取值:false。<br><br>开机状态制作镜像,可能导致部分数据未备份,影响数据安全。
|
@@ -937,13 +937,18 @@ module TencentCloud
|
|
937
937
|
|
938
938
|
# 关于Sysprep的详情请参考[链接](https://cloud.tencent.com/document/product/213/43498)。
|
939
939
|
# @type Sysprep: String
|
940
|
-
# @param DataDiskIds: 基于实例创建整机镜像时,指定包含在镜像里的数据盘ID
|
940
|
+
# @param DataDiskIds: 基于实例创建整机镜像时,指定包含在镜像里的数据盘ID。
|
941
|
+
# DataDiskIds 只能在指定 InstanceId 实例所包含的数据盘范围内指定。
|
942
|
+
# 可通过 [DescribeInstances](https://cloud.tencent.com/document/api/213/15728) 接口返回值中的 `DataDisks` 获取。
|
941
943
|
# @type DataDiskIds: Array
|
942
|
-
# @param SnapshotIds: 基于快照创建镜像,指定快照ID,必须包含一个系统盘快照。不可与InstanceId同时传入。
|
944
|
+
# @param SnapshotIds: 基于快照创建镜像,指定快照ID,必须包含一个系统盘快照。不可与 InstanceId 同时传入。
|
945
|
+
# InstanceId 和 SnapshotIds 为二选一必填参数。
|
946
|
+
# 可通过 [DescribeSnapshots](https://cloud.tencent.com/document/product/362/15647) 接口返回值中的`SnapshotId`获取。
|
943
947
|
# @type SnapshotIds: Array
|
944
948
|
# @param DryRun: 检测本次请求的是否成功,但不会对操作的资源产生任何影响。默认取值为false。
|
945
949
|
# @type DryRun: Boolean
|
946
950
|
# @param TagSpecification: 标签描述列表。通过指定该参数可以同时绑定标签到自定义镜像。
|
951
|
+
# 可通过 [DescribeTags](https://cloud.tencent.com/document/api/651/35316) 接口返回值中的 `TagKey` 和 `TagValue` 获取。
|
947
952
|
# @type TagSpecification: Array
|
948
953
|
# @param ImageFamily: 镜像族
|
949
954
|
# @type ImageFamily: String
|
@@ -1457,23 +1462,11 @@ module TencentCloud
|
|
1457
1462
|
# @param DiskId: 数据盘ID。
|
1458
1463
|
# 该参数目前仅用于`DescribeInstances`等查询类接口的返回参数,不可用于`RunInstances`等写接口的入参。
|
1459
1464
|
# @type DiskId: String
|
1460
|
-
# @param DeleteWithInstance:
|
1461
|
-
# <li>true:子机销毁时,销毁数据盘,只支持按小时后付费云盘</li>
|
1462
|
-
# <li>
|
1463
|
-
# false:子机销毁时,保留数据盘<br />
|
1464
|
-
# 默认取值:true<br />
|
1465
|
-
# 该参数目前仅用于 `RunInstances` 接口。
|
1466
|
-
# </li>
|
1465
|
+
# @param DeleteWithInstance: 数据盘是否随子机销毁。取值范围:<li>true:子机销毁时,销毁数据盘,只支持按小时后付费云盘</li><li>false:子机销毁时,保留数据盘</li><br/>默认取值:true <br/>该参数目前仅用于 `RunInstances` 接口。
|
1467
1466
|
# @type DeleteWithInstance: Boolean
|
1468
1467
|
# @param SnapshotId: 数据盘快照ID。选择的数据盘快照大小需小于数据盘大小。
|
1469
1468
|
# @type SnapshotId: String
|
1470
|
-
# @param Encrypt:
|
1471
|
-
# <li>true:加密</li>
|
1472
|
-
# <li>
|
1473
|
-
# false:不加密<br />
|
1474
|
-
# 默认取值:false<br />
|
1475
|
-
# 该参数目前仅用于 `RunInstances` 接口。
|
1476
|
-
# </li>
|
1469
|
+
# @param Encrypt: 数据盘是否加密。取值范围:<li>true:加密</li><li>false:不加密</li><br/>默认取值:false<br/>该参数目前仅用于 `RunInstances` 接口。
|
1477
1470
|
# @type Encrypt: Boolean
|
1478
1471
|
# @param KmsKeyId: 自定义CMK对应的ID,取值为UUID或者类似kms-abcd1234。用于加密云盘。
|
1479
1472
|
|
@@ -1589,11 +1582,14 @@ module TencentCloud
|
|
1589
1582
|
|
1590
1583
|
# DeleteImages请求参数结构体
|
1591
1584
|
class DeleteImagesRequest < TencentCloud::Common::AbstractModel
|
1592
|
-
# @param ImageIds:
|
1585
|
+
# @param ImageIds: 删除的镜像 ID 列表。
|
1586
|
+
# 可通过 [DescribeImages](https://cloud.tencent.com/document/api/213/15715) 接口返回值中的`ImageId`获取。
|
1593
1587
|
# @type ImageIds: Array
|
1594
|
-
# @param DeleteBindedSnap:
|
1588
|
+
# @param DeleteBindedSnap: 是否删除镜像关联的快照。
|
1589
|
+
# 默认值:false
|
1595
1590
|
# @type DeleteBindedSnap: Boolean
|
1596
|
-
# @param DryRun:
|
1591
|
+
# @param DryRun: 检测是否支持删除镜像。
|
1592
|
+
# 默认值:false
|
1597
1593
|
# @type DryRun: Boolean
|
1598
1594
|
|
1599
1595
|
attr_accessor :ImageIds, :DeleteBindedSnap, :DryRun
|
@@ -1629,7 +1625,7 @@ module TencentCloud
|
|
1629
1625
|
|
1630
1626
|
# DeleteInstancesActionTimer请求参数结构体
|
1631
1627
|
class DeleteInstancesActionTimerRequest < TencentCloud::Common::AbstractModel
|
1632
|
-
# @param ActionTimerIds: 定时任务ID列表,可以通过DescribeInstancesActionTimer接口查询。只能删除未执行的定时任务。
|
1628
|
+
# @param ActionTimerIds: 定时任务ID列表,可以通过[ DescribeInstancesActionTimer ](https://cloud.tencent.com/document/product/213/103950)接口查询。只能删除未执行的定时任务。
|
1633
1629
|
# @type ActionTimerIds: Array
|
1634
1630
|
|
1635
1631
|
attr_accessor :ActionTimerIds
|
@@ -1725,9 +1721,9 @@ module TencentCloud
|
|
1725
1721
|
|
1726
1722
|
# DeleteLaunchTemplateVersions请求参数结构体
|
1727
1723
|
class DeleteLaunchTemplateVersionsRequest < TencentCloud::Common::AbstractModel
|
1728
|
-
# @param LaunchTemplateId: 启动模板ID
|
1724
|
+
# @param LaunchTemplateId: 启动模板ID。可通过 [DescribeLaunchTemplates](https://cloud.tencent.com/document/api/213/66322) 接口返回值中的`LaunchTemplateId`获取。
|
1729
1725
|
# @type LaunchTemplateId: String
|
1730
|
-
# @param LaunchTemplateVersions:
|
1726
|
+
# @param LaunchTemplateVersions: 实例启动模板版本列表。可通过 [DescribeLaunchTemplateVersions](https://cloud.tencent.com/document/api/213/66323) 接口返回值中的`LaunchTemplateVersion`获取。
|
1731
1727
|
# @type LaunchTemplateVersions: Array
|
1732
1728
|
|
1733
1729
|
attr_accessor :LaunchTemplateId, :LaunchTemplateVersions
|
@@ -1764,7 +1760,7 @@ module TencentCloud
|
|
1764
1760
|
# @param Filters: <li><strong>zone</strong></li>
|
1765
1761
|
# <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>
|
1766
1762
|
# <li><strong>quota-type</strong></li>
|
1767
|
-
# <p style="padding-left: 30px;">按照【<strong>配额类型</strong>】进行过滤。配额类型形如:PostPaidQuotaSet。</p><p style="padding-left: 30px;">类型:String</p><p style="padding-left: 30px;">必选:否</p><p style="padding-left: 30px;"
|
1763
|
+
# <p style="padding-left: 30px;">按照【<strong>配额类型</strong>】进行过滤。配额类型形如:PostPaidQuotaSet。</p><p style="padding-left: 30px;">类型:String</p><p style="padding-left: 30px;">必选:否</p><p style="padding-left: 30px;">可选项:</p><p style="padding-left: 30px;">PostPaidQuotaSet: 后付费配额</p><p style="padding-left: 30px;">PrePaidQuotaSet: 预付费配额</p><p style="padding-left: 30px;">SpotPaidQuotaSet: 竞价配额</p><p style="padding-left: 30px;">ImageQuotaSet: 镜像配额</p><p style="padding-left: 30px;">DisasterRecoverGroupQuotaSet: 置放群组配额</p>
|
1768
1764
|
# @type Filters: Array
|
1769
1765
|
|
1770
1766
|
attr_accessor :Filters
|
@@ -2606,7 +2602,7 @@ module TencentCloud
|
|
2606
2602
|
|
2607
2603
|
# DescribeInstanceVncUrl请求参数结构体
|
2608
2604
|
class DescribeInstanceVncUrlRequest < TencentCloud::Common::AbstractModel
|
2609
|
-
# @param InstanceId: 一个操作的实例ID。可通过[
|
2605
|
+
# @param InstanceId: 一个操作的实例ID。可通过[ DescribeInstances ](https://cloud.tencent.com/document/api/213/15728) 接口返回值中的`InstanceId`获取。
|
2610
2606
|
# @type InstanceId: String
|
2611
2607
|
|
2612
2608
|
attr_accessor :InstanceId
|
@@ -2644,15 +2640,15 @@ module TencentCloud
|
|
2644
2640
|
class DescribeInstancesActionTimerRequest < TencentCloud::Common::AbstractModel
|
2645
2641
|
# @param ActionTimerIds: 定时任务ID列表。
|
2646
2642
|
# @type ActionTimerIds: Array
|
2647
|
-
# @param InstanceIds: 按照一个或者多个实例ID
|
2643
|
+
# @param InstanceIds: 按照一个或者多个实例ID查询。可通过 [DescribeInstances](https://cloud.tencent.com/document/api/213/15728) 接口返回值中的`InstanceId`获取。
|
2648
2644
|
# @type InstanceIds: Array
|
2649
2645
|
# @param TimerAction: 定时器动作,目前仅支持销毁一个值:TerminateInstances。
|
2650
2646
|
# @type TimerAction: String
|
2651
|
-
# @param EndActionTime:
|
2647
|
+
# @param EndActionTime: 定时任务执行时间的结束范围,用于条件筛选,格式如2018-05-01 19:00:00。
|
2652
2648
|
# @type EndActionTime: String
|
2653
|
-
# @param StartActionTime:
|
2649
|
+
# @param StartActionTime: 定时任务执行时间的开始范围,用于条件筛选,格式如2018-05-01 19:00:00。
|
2654
2650
|
# @type StartActionTime: String
|
2655
|
-
# @param StatusList: 定时任务状态列表。<br><li>UNDO:未执行</li> <
|
2651
|
+
# @param StatusList: 定时任务状态列表。<br><li>UNDO:未执行</li> <li>DOING:正在执行</li><li>DONE:执行完成。</li>
|
2656
2652
|
# @type StatusList: Array
|
2657
2653
|
|
2658
2654
|
attr_accessor :ActionTimerIds, :InstanceIds, :TimerAction, :EndActionTime, :StartActionTime, :StatusList
|
@@ -2708,7 +2704,7 @@ module TencentCloud
|
|
2708
2704
|
# @param Attributes: 需要获取的实例属性。可选值:
|
2709
2705
|
# UserData: 实例自定义数据
|
2710
2706
|
# @type Attributes: Array
|
2711
|
-
# @param InstanceIds: 实例ID
|
2707
|
+
# @param InstanceIds: 实例ID列表。可通过 [DescribeInstances](https://cloud.tencent.com/document/api/213/15728) 接口返回值中的`InstanceId`获取。
|
2712
2708
|
# @type InstanceIds: Array
|
2713
2709
|
|
2714
2710
|
attr_accessor :Attributes, :InstanceIds
|
@@ -2756,7 +2752,7 @@ module TencentCloud
|
|
2756
2752
|
# @param InstanceIds: 一个或多个待查询的实例ID。可通过 [DescribeInstances](https://cloud.tencent.com/document/api/213/15728) 接口返回值中的`InstanceId`获取。每次请求批量实例的上限为20。
|
2757
2753
|
# @type InstanceIds: Array
|
2758
2754
|
# @param Filters: <li><strong>status</strong></li>
|
2759
|
-
# <p style="padding-left: 30px;">按照【<strong>配置规格状态</strong>】进行过滤。配置规格状态形如:SELL、UNAVAILABLE。</p><p style="padding-left: 30px;">类型:String</p><p style="padding-left: 30px;">必选:否</p>
|
2755
|
+
# <p style="padding-left: 30px;">按照【<strong>配置规格状态</strong>】进行过滤。配置规格状态形如:SELL(表示实例可售卖)、UNAVAILABLE(表示实例不可用)。</p><p style="padding-left: 30px;">类型:String</p><p style="padding-left: 30px;">必选:否</p>
|
2760
2756
|
# 每次请求的`Filters`的上限为10,`Filter.Values`的上限为2。
|
2761
2757
|
# @type Filters: Array
|
2762
2758
|
|
@@ -2816,7 +2812,7 @@ module TencentCloud
|
|
2816
2812
|
# @param InstanceIds: 按照一个或者多个实例ID查询,可通过[DescribeInstances](https://cloud.tencent.com/document/api/213/15728)API返回值中的InstanceId获取。实例ID形如:ins-xxxxxxxx。(此参数的具体格式可参考API[简介](https://cloud.tencent.com/document/api/213/15688)的ids.N一节)。每次请求的实例的上限为100。
|
2817
2813
|
# @type InstanceIds: Array
|
2818
2814
|
# @param Operation: 实例操作。
|
2819
|
-
# <li> INSTANCE_DEGRADE:实例降配操作</li>
|
2815
|
+
# <li> INSTANCE_DEGRADE:实例降配操作</li><li> INTERNET_CHARGE_TYPE_CHANGE:实例调整带宽付费模式操作</li>
|
2820
2816
|
# @type Operation: String
|
2821
2817
|
|
2822
2818
|
attr_accessor :InstanceIds, :Operation
|
@@ -3574,7 +3570,7 @@ module TencentCloud
|
|
3574
3570
|
# <li><strong>instance-type</strong></li>
|
3575
3571
|
# <p style="padding-left: 30px;">按照【<strong>实例机型</strong>】进行过滤。不同实例机型指定了不同的资源规格,具体取值可通过调用接口 [DescribeInstanceTypeConfigs](https://cloud.tencent.com/document/product/213/15749) 来获得最新的规格表或参见[实例类型](https://cloud.tencent.com/document/product/213/11518)描述。若不指定该参数,则默认查询筛选条件下所有机型。</p><p style="padding-left: 30px;">类型:String</p><p style="padding-left: 30px;">必选:否</p>
|
3576
3572
|
# <li><strong>instance-charge-type</strong></li>
|
3577
|
-
# <p style="padding-left: 30px;">按照【<strong>实例计费模式</strong>】进行过滤。(PREPAID:表示预付费,即包年包月 | POSTPAID_BY_HOUR:表示后付费,即按量计费 )</p><p style="padding-left: 30px;">类型:String</p><p style="padding-left: 30px;">必选:否</p>
|
3573
|
+
# <p style="padding-left: 30px;">按照【<strong>实例计费模式</strong>】进行过滤。(PREPAID:表示预付费,即包年包月 | POSTPAID_BY_HOUR:表示后付费,即按量计费 | CDHPAID:表示独享子机 | SPOTPAID:表示竞价付费 | CDCPAID:表示专用集群付费)</p><p style="padding-left: 30px;">类型:String</p><p style="padding-left: 30px;">必选:否</p>
|
3578
3574
|
# <li><strong>sort-keys</strong></li>
|
3579
3575
|
# <p style="padding-left: 30px;">按关键字进行排序,格式为排序字段加排序方式,中间用冒号分隔。 例如: 按cpu数逆序排序 "cpu:desc", 按mem大小顺序排序 "mem:asc"</p><p style="padding-left: 30px;">类型:String</p><p style="padding-left: 30px;">必选:否</p>
|
3580
3576
|
# 每次请求的`Filters`的上限为10,`Filter.Values`的上限为100。
|
@@ -3709,9 +3705,9 @@ module TencentCloud
|
|
3709
3705
|
|
3710
3706
|
# DisassociateSecurityGroups请求参数结构体
|
3711
3707
|
class DisassociateSecurityGroupsRequest < TencentCloud::Common::AbstractModel
|
3712
|
-
# @param SecurityGroupIds: 要解绑的`安全组ID`,类似sg-efil73jd
|
3708
|
+
# @param SecurityGroupIds: 要解绑的`安全组ID`,类似sg-efil73jd,只支持解绑单个安全组。可通过 [DescribeInstances](https://cloud.tencent.com/document/api/213/15728) 接口返回值中的`SecurityGroupIds`获取实例绑定的安全组。
|
3713
3709
|
# @type SecurityGroupIds: Array
|
3714
|
-
# @param InstanceIds: 被解绑的`实例ID`,类似ins-lesecurk,支持指定多个实例,每次请求批量实例的上限为100
|
3710
|
+
# @param InstanceIds: 被解绑的`实例ID`,类似ins-lesecurk,支持指定多个实例,每次请求批量实例的上限为100。可通过 [DescribeInstances](https://cloud.tencent.com/document/api/213/15728) 接口返回值中的`InstanceId`获取。
|
3715
3711
|
# @type InstanceIds: Array
|
3716
3712
|
|
3717
3713
|
attr_accessor :SecurityGroupIds, :InstanceIds
|
@@ -3919,7 +3915,7 @@ module TencentCloud
|
|
3919
3915
|
|
3920
3916
|
# ExitRescueMode请求参数结构体
|
3921
3917
|
class ExitRescueModeRequest < TencentCloud::Common::AbstractModel
|
3922
|
-
# @param InstanceId: 退出救援模式的实例id
|
3918
|
+
# @param InstanceId: 退出救援模式的实例id。可通过 [DescribeInstances](https://cloud.tencent.com/document/api/213/15728) 接口返回值中的`InstanceId`获取。
|
3923
3919
|
# @type InstanceId: String
|
3924
3920
|
|
3925
3921
|
attr_accessor :InstanceId
|
@@ -3951,17 +3947,22 @@ module TencentCloud
|
|
3951
3947
|
|
3952
3948
|
# ExportImages请求参数结构体
|
3953
3949
|
class ExportImagesRequest < TencentCloud::Common::AbstractModel
|
3954
|
-
# @param BucketName: COS
|
3950
|
+
# @param BucketName: COS存储桶名称。
|
3951
|
+
# 可通过 [List Buckets](https://cloud.tencent.com/document/product/436/8291) 接口查询请求者名下的所有存储桶列表或特定地域下的存储桶列表。
|
3955
3952
|
# @type BucketName: String
|
3956
3953
|
# @param ImageIds: 镜像ID列表。调用 ExportImages 接口时,参数 ImageIds 和 SnapshotIds 为二选一必填参数,目前参数 SnapshotIds 暂未对外开放。
|
3954
|
+
# 可通过 [DescribeImages](https://cloud.tencent.com/document/api/213/15715) 接口返回值中的`ImageId`获取。
|
3957
3955
|
# @type ImageIds: Array
|
3958
3956
|
# @param ExportFormat: 镜像文件导出格式。取值范围:RAW,QCOW2,VHD,VMDK。默认为RAW
|
3959
3957
|
# @type ExportFormat: String
|
3960
|
-
# @param FileNamePrefixList:
|
3958
|
+
# @param FileNamePrefixList: 导出文件的名称前缀列表。
|
3959
|
+
# 默认导出文件无名称前缀。
|
3961
3960
|
# @type FileNamePrefixList: Array
|
3962
|
-
# @param OnlyExportRootDisk:
|
3961
|
+
# @param OnlyExportRootDisk: 是否只导出系统盘。
|
3962
|
+
# 默认值:false
|
3963
3963
|
# @type OnlyExportRootDisk: Boolean
|
3964
|
-
# @param DryRun:
|
3964
|
+
# @param DryRun: 检测镜像是否支持导出。
|
3965
|
+
# 默认值:false
|
3965
3966
|
# @type DryRun: Boolean
|
3966
3967
|
# @param RoleName: 角色名称。默认为CVM_QcsRole,发起请求前请确认是否存在该角色,以及是否已正确配置COS写入权限。
|
3967
3968
|
# @type RoleName: String
|
@@ -3993,7 +3994,9 @@ module TencentCloud
|
|
3993
3994
|
class ExportImagesResponse < TencentCloud::Common::AbstractModel
|
3994
3995
|
# @param TaskId: 导出镜像任务ID
|
3995
3996
|
# @type TaskId: Integer
|
3996
|
-
# @param CosPaths: 导出镜像的COS
|
3997
|
+
# @param CosPaths: 导出镜像的COS文件名列表。其中,文件名格式如下。
|
3998
|
+
# * 系统盘:前缀名_镜像ID_system_快照ID.镜像格式
|
3999
|
+
# * 数据盘:前缀名_镜像ID_data_快照ID.镜像格式
|
3997
4000
|
# @type CosPaths: Array
|
3998
4001
|
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
3999
4002
|
# @type RequestId: String
|
@@ -4583,7 +4586,7 @@ module TencentCloud
|
|
4583
4586
|
|
4584
4587
|
# ImportInstancesActionTimer请求参数结构体
|
4585
4588
|
class ImportInstancesActionTimerRequest < TencentCloud::Common::AbstractModel
|
4586
|
-
# @param InstanceIds: 实例id
|
4589
|
+
# @param InstanceIds: 实例id列表,可通过 [DescribeInstances](https://cloud.tencent.com/document/api/213/15728) 接口返回值中的`InstanceId`获取。
|
4587
4590
|
# @type InstanceIds: Array
|
4588
4591
|
# @param ActionTimer: 定时器任务信息,目前仅支持定时销毁。
|
4589
4592
|
# @type ActionTimer: :class:`Tencentcloud::Cvm.v20170312.models.ActionTimer`
|
@@ -5055,12 +5058,12 @@ module TencentCloud
|
|
5055
5058
|
|
5056
5059
|
# InquiryPriceResizeInstanceDisks请求参数结构体
|
5057
5060
|
class InquiryPriceResizeInstanceDisksRequest < TencentCloud::Common::AbstractModel
|
5058
|
-
# @param InstanceId: 待操作的实例ID。可通过[
|
5061
|
+
# @param InstanceId: 待操作的实例ID。可通过[ DescribeInstances ](https://cloud.tencent.com/document/api/213/15728)接口返回值中的`InstanceId`获取。
|
5059
5062
|
# @type InstanceId: String
|
5060
|
-
# @param DataDisks:
|
5063
|
+
# @param DataDisks: 待扩容的数据盘配置信息。只支持扩容非弹性数据盘[ DescribeDisks ](https://cloud.tencent.com/document/api/362/16315)接口返回值中的`Portable`为`false`表示非弹性)。数据盘容量单位:GB。最小扩容步长:10G。关于数据盘类型的选择请参考硬盘产品简介。可选数据盘类型受到实例类型`InstanceType`限制。另外允许扩容的最大容量也因数据盘类型的不同而有所差异。
|
5061
5064
|
# <dx-alert infotype="explain" title="">您必须指定参数DataDisks与SystemDisk的其中一个,但不能同时指定。</dx-alert>
|
5062
5065
|
# @type DataDisks: Array
|
5063
|
-
# @param ForceStop: 是否对运行中的实例选择强制关机。建议对运行中的实例先手动关机,然后再重置用户密码。取值范围:<br><li>true:表示在正常关机失败后进行强制关机</li><br><li>false:表示在正常关机失败后不进行强制关机</li><br
|
5066
|
+
# @param ForceStop: 是否对运行中的实例选择强制关机。建议对运行中的实例先手动关机,然后再重置用户密码。取值范围:<br><li>true:表示在正常关机失败后进行强制关机</li><br><li>false:表示在正常关机失败后不进行强制关机</li><br>默认取值:false。<br><br>强制关机的效果等同于关闭物理计算机的电源开关。强制关机可能会导致数据丢失或文件系统损坏,请仅在服务器不能正常关机时使用。
|
5064
5067
|
# @type ForceStop: Boolean
|
5065
5068
|
|
5066
5069
|
attr_accessor :InstanceId, :DataDisks, :ForceStop
|
@@ -5120,7 +5123,8 @@ module TencentCloud
|
|
5120
5123
|
# @type InstanceChargeType: String
|
5121
5124
|
# @param InstanceChargePrepaid: 预付费模式,即包年包月相关参数设置。通过该参数可以指定包年包月实例的购买时长、是否设置自动续费等属性。若指定实例的付费模式为预付费则该参数必传。
|
5122
5125
|
# @type InstanceChargePrepaid: :class:`Tencentcloud::Cvm.v20170312.models.InstanceChargePrepaid`
|
5123
|
-
# @param InstanceType:
|
5126
|
+
# @param InstanceType: 实例机型。不同实例机型指定了不同的资源规格。
|
5127
|
+
# <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>
|
5124
5128
|
# @type InstanceType: String
|
5125
5129
|
# @param SystemDisk: 实例系统盘配置信息。若不指定该参数,则按照系统默认值进行分配。
|
5126
5130
|
# @type SystemDisk: :class:`Tencentcloud::Cvm.v20170312.models.SystemDisk`
|
@@ -5136,7 +5140,7 @@ module TencentCloud
|
|
5136
5140
|
# @type InstanceName: String
|
5137
5141
|
# @param LoginSettings: 实例登录设置。通过该参数可以设置实例的登录方式密码、密钥或保持镜像的原始登录设置。默认情况下会随机生成密码,并以站内信方式知会到用户。
|
5138
5142
|
# @type LoginSettings: :class:`Tencentcloud::Cvm.v20170312.models.LoginSettings`
|
5139
|
-
# @param SecurityGroupIds: 实例所属安全组。该参数可以通过调用 [DescribeSecurityGroups](https://cloud.tencent.com/document/api/215/15808)
|
5143
|
+
# @param SecurityGroupIds: 实例所属安全组。该参数可以通过调用 [DescribeSecurityGroups](https://cloud.tencent.com/document/api/215/15808) 的返回值中的`SecurityGroupId`字段来获取。若不指定该参数,则默认不绑定安全组。
|
5140
5144
|
# @type SecurityGroupIds: Array
|
5141
5145
|
# @param EnhancedService: 增强服务。通过该参数可以指定是否开启云安全、云监控等服务。若不指定该参数,则默认开启云监控、云安全服务。
|
5142
5146
|
# @type EnhancedService: :class:`Tencentcloud::Cvm.v20170312.models.EnhancedService`
|
@@ -5677,7 +5681,7 @@ module TencentCloud
|
|
5677
5681
|
# @type GPU: Integer
|
5678
5682
|
# @param CPU: CPU核数,单位:核。
|
5679
5683
|
# @type CPU: Integer
|
5680
|
-
# @param Memory: 内存容量,单位:`
|
5684
|
+
# @param Memory: 内存容量,单位:`GiB`。
|
5681
5685
|
# @type Memory: Integer
|
5682
5686
|
# @param FPGA: FPGA核数,单位:核。
|
5683
5687
|
# @type FPGA: Integer
|
@@ -5742,7 +5746,7 @@ module TencentCloud
|
|
5742
5746
|
# @type Zone: String
|
5743
5747
|
# @param InstanceType: 实例机型。
|
5744
5748
|
# @type InstanceType: String
|
5745
|
-
# @param InstanceChargeType: 实例计费模式。取值范围: <br><li>PREPAID:表示预付费,即包年包月<br></li>POSTPAID_BY_HOUR
|
5749
|
+
# @param InstanceChargeType: 实例计费模式。取值范围: <br><li>PREPAID:表示预付费,即包年包月<br></li><li>POSTPAID_BY_HOUR:表示后付费,即按量计费</li><li>CDHPAID:表示[专用宿主机](https://cloud.tencent.com/document/product/416)付费,即只对`专用宿主机`计费,不对`专用宿主机`上的实例计费。<br></li><li>SPOTPAID:表示竞价实例付费。</li>
|
5746
5750
|
# @type InstanceChargeType: String
|
5747
5751
|
# @param NetworkCard: 网卡类型,例如:25代表25G网卡
|
5748
5752
|
# @type NetworkCard: Integer
|
@@ -5758,7 +5762,7 @@ module TencentCloud
|
|
5758
5762
|
# @type TypeName: String
|
5759
5763
|
# @param LocalDiskTypeList: 本地磁盘规格列表。当该参数返回为空值时,表示当前情况下无法创建本地盘。
|
5760
5764
|
# @type LocalDiskTypeList: Array
|
5761
|
-
# @param Status: 实例是否售卖。取值范围: <br><li>SELL:表示实例可购买<br></li>SOLD_OUT
|
5765
|
+
# @param Status: 实例是否售卖。取值范围: <br><li>SELL:表示实例可购买<br></li><li>SOLD_OUT:表示实例已售罄。</li>
|
5762
5766
|
# @type Status: String
|
5763
5767
|
# @param Price: 实例的售卖价格。
|
5764
5768
|
# @type Price: :class:`Tencentcloud::Cvm.v20170312.models.ItemPrice`
|
@@ -5783,10 +5787,7 @@ module TencentCloud
|
|
5783
5787
|
# @param Frequency: 实例的CPU主频信息
|
5784
5788
|
# @type Frequency: String
|
5785
5789
|
# @param StatusCategory: 描述库存情况。取值范围:
|
5786
|
-
# <li> EnoughStock:表示对应库存非常充足</li>
|
5787
|
-
# <li>NormalStock:表示对应库存供应有保障</li>
|
5788
|
-
# <li> UnderStock:表示对应库存即将售罄</li>
|
5789
|
-
# <li>WithoutStock:表示对应库存已经售罄</li>
|
5790
|
+
# <li> EnoughStock:表示对应库存非常充足</li> <li>NormalStock:表示对应库存供应有保障</li><li> UnderStock:表示对应库存即将售罄</li> <li>WithoutStock:表示对应库存已经售罄</li>
|
5790
5791
|
# @type StatusCategory: String
|
5791
5792
|
|
5792
5793
|
attr_accessor :Zone, :InstanceType, :InstanceChargeType, :NetworkCard, :Externals, :Cpu, :Memory, :InstanceFamily, :TypeName, :LocalDiskTypeList, :Status, :Price, :SoldOutReason, :InstanceBandwidth, :InstancePps, :StorageBlockAmount, :CpuType, :Gpu, :Fpga, :Remark, :GpuCount, :Frequency, :StatusCategory
|
@@ -6316,7 +6317,7 @@ module TencentCloud
|
|
6316
6317
|
# @type IsDefaultVersion: Boolean
|
6317
6318
|
# @param LaunchTemplateVersionDescription: 实例启动模板版本描述信息。
|
6318
6319
|
# @type LaunchTemplateVersionDescription: String
|
6319
|
-
# @param CreatedBy:
|
6320
|
+
# @param CreatedBy: 创建者的AppId。
|
6320
6321
|
# @type CreatedBy: String
|
6321
6322
|
|
6322
6323
|
attr_accessor :LaunchTemplateVersion, :LaunchTemplateVersionData, :CreationTime, :LaunchTemplateId, :IsDefaultVersion, :LaunchTemplateVersionDescription, :CreatedBy
|
@@ -6664,7 +6665,7 @@ module TencentCloud
|
|
6664
6665
|
|
6665
6666
|
# ModifyInstanceDiskType请求参数结构体
|
6666
6667
|
class ModifyInstanceDiskTypeRequest < TencentCloud::Common::AbstractModel
|
6667
|
-
# @param InstanceId: 待操作的实例ID。可通过 [DescribeInstances](https://cloud.tencent.com/document/api/213/
|
6668
|
+
# @param InstanceId: 待操作的实例ID。可通过 [DescribeInstances](https://cloud.tencent.com/document/api/213/15728) 接口返回值中的`InstanceId`获取。
|
6668
6669
|
# @type InstanceId: String
|
6669
6670
|
# @param DataDisks: 实例数据盘配置信息,只需要指定要转换的目标云硬盘的介质类型,指定DiskType的值,当前只支持一个数据盘转化。只支持CDHPAID类型实例指定CdcId参数。
|
6670
6671
|
# @type DataDisks: Array
|
@@ -6717,11 +6718,10 @@ module TencentCloud
|
|
6717
6718
|
# @param InstanceIds: 一个或多个待操作的实例ID。可通过[DescribeInstances](https://cloud.tencent.com/document/api/213/15728) API返回值中的`InstanceId`获取。每次请求允许操作的实例数量上限是100。
|
6718
6719
|
# @type InstanceIds: Array
|
6719
6720
|
# @param InstanceName: 修改后实例名称。可任意命名,但不得超过60个字符。
|
6720
|
-
# <dx-alert infotype="explain" title="">必须指定InstanceName与SecurityGroups的其中一个,但不能同时设置</dx-alert>
|
6721
6721
|
# @type InstanceName: String
|
6722
6722
|
# @param UserData: 提供给实例使用的用户数据,需要以 base64 方式编码,支持的最大数据大小为 16 KB。关于获取此参数的详细介绍,请参阅 [Windows](https://cloud.tencent.com/document/product/213/17526) 和 [Linux](https://cloud.tencent.com/document/product/213/17525) 启动时运行命令。
|
6723
6723
|
# @type UserData: String
|
6724
|
-
# @param SecurityGroups: 指定实例的修改后的安全组Id
|
6724
|
+
# @param SecurityGroups: 指定实例的修改后的安全组Id列表,子机将重新关联指定列表的安全组,原本关联的安全组会被解绑。
|
6725
6725
|
# @type SecurityGroups: Array
|
6726
6726
|
# @param CamRoleName: 给实例绑定用户角色,传空值为解绑操作
|
6727
6727
|
# @type CamRoleName: String
|
@@ -6786,11 +6786,11 @@ module TencentCloud
|
|
6786
6786
|
class ModifyInstancesChargeTypeRequest < TencentCloud::Common::AbstractModel
|
6787
6787
|
# @param InstanceIds: 一个或多个待操作的实例ID。可通过[DescribeInstances](https://cloud.tencent.com/document/api/213/15728)接口返回值中的`InstanceId`获取。每次请求批量实例的上限为30。
|
6788
6788
|
# @type InstanceIds: Array
|
6789
|
-
# @param InstanceChargeType: 修改后实例[计费类型](https://cloud.tencent.com/document/product/213/2180)。<
|
6789
|
+
# @param InstanceChargeType: 修改后实例[计费类型](https://cloud.tencent.com/document/product/213/2180)。<li> PREPAID:预付费,即包年包月。</li><li> POSTPAID_BY_HOUR:后付费,即按量付费。</li>
|
6790
6790
|
# @type InstanceChargeType: String
|
6791
6791
|
# @param InstanceChargePrepaid: 修改后预付费模式,即包年包月相关参数设置。通过该参数可以指定包年包月实例的购买时长、是否设置自动续费等属性。<dx-alert infotype="explain" title="">若指定实例的付费模式为预付费则该参数必传。</dx-alert>
|
6792
6792
|
# @type InstanceChargePrepaid: :class:`Tencentcloud::Cvm.v20170312.models.InstanceChargePrepaid`
|
6793
|
-
# @param ModifyPortableDataDisk: 是否同时切换弹性数据云盘计费模式。取值范围:<
|
6793
|
+
# @param ModifyPortableDataDisk: 是否同时切换弹性数据云盘计费模式。取值范围:<li> true:表示切换弹性数据云盘计费模式</li><li> false:表示不切换弹性数据云盘计费模式</li>默认取值:false。
|
6794
6794
|
# @type ModifyPortableDataDisk: Boolean
|
6795
6795
|
|
6796
6796
|
attr_accessor :InstanceIds, :InstanceChargeType, :InstanceChargePrepaid, :ModifyPortableDataDisk
|
@@ -6873,7 +6873,7 @@ module TencentCloud
|
|
6873
6873
|
class ModifyInstancesProjectRequest < TencentCloud::Common::AbstractModel
|
6874
6874
|
# @param InstanceIds: 一个或多个待操作的实例ID。可通过 [DescribeInstances](https://cloud.tencent.com/document/api/213/15728) API返回值中的`InstanceId`获取。每次请求允许操作的实例数量上限是100。
|
6875
6875
|
# @type InstanceIds: Array
|
6876
|
-
# @param ProjectId: 项目ID。项目可以使用[AddProject](https://cloud.tencent.com/document/api/651/81952)接口创建。可通过[
|
6876
|
+
# @param ProjectId: 项目ID。项目可以使用[ AddProject ](https://cloud.tencent.com/document/api/651/81952)接口创建。可通过[ DescribeProject ](https://cloud.tencent.com/document/api/651/78725) 接口返回值中的`projectId`获取。后续使用[DescribeInstances](https://cloud.tencent.com/document/api/213/15728)接口查询实例时,项目ID可用于过滤结果。
|
6877
6877
|
# @type ProjectId: Integer
|
6878
6878
|
|
6879
6879
|
attr_accessor :InstanceIds, :ProjectId
|
@@ -7030,9 +7030,9 @@ module TencentCloud
|
|
7030
7030
|
|
7031
7031
|
# ModifyLaunchTemplateDefaultVersion请求参数结构体
|
7032
7032
|
class ModifyLaunchTemplateDefaultVersionRequest < TencentCloud::Common::AbstractModel
|
7033
|
-
# @param LaunchTemplateId: 启动模板ID
|
7033
|
+
# @param LaunchTemplateId: 启动模板ID。可通过 [DescribeLaunchTemplates](https://cloud.tencent.com/document/api/213/66322) 接口返回值中的`LaunchTemplateId `获取。
|
7034
7034
|
# @type LaunchTemplateId: String
|
7035
|
-
# @param DefaultVersion:
|
7035
|
+
# @param DefaultVersion: 待设置的默认版本号。可通过 [DescribeLaunchTemplateVersions](https://cloud.tencent.com/document/api/213/66323) 接口返回值中的`LaunchTemplateVersion`获取。
|
7036
7036
|
# @type DefaultVersion: Integer
|
7037
7037
|
|
7038
7038
|
attr_accessor :LaunchTemplateId, :DefaultVersion
|
@@ -7232,7 +7232,7 @@ module TencentCloud
|
|
7232
7232
|
|
7233
7233
|
# ProgramFpgaImage请求参数结构体
|
7234
7234
|
class ProgramFpgaImageRequest < TencentCloud::Common::AbstractModel
|
7235
|
-
# @param InstanceId: 实例的ID
|
7235
|
+
# @param InstanceId: 实例的ID信息。可通过 [DescribeInstances](https://cloud.tencent.com/document/api/213/15728) 接口返回值中的`InstanceId`获取。
|
7236
7236
|
# @type InstanceId: String
|
7237
7237
|
# @param FPGAUrl: FPGA镜像文件的COS URL地址。
|
7238
7238
|
# @type FPGAUrl: String
|
@@ -8211,7 +8211,7 @@ module TencentCloud
|
|
8211
8211
|
class ResetInstancesTypeRequest < TencentCloud::Common::AbstractModel
|
8212
8212
|
# @param InstanceIds: 一个或多个待操作的实例ID。可通过 [DescribeInstances](https://cloud.tencent.com/document/api/213/15728) 接口返回值中的`InstanceId`获取。本接口目前仅支持每次操作1个实例。
|
8213
8213
|
# @type InstanceIds: Array
|
8214
|
-
# @param InstanceType: 调整后的实例机型。不同实例机型指定了不同的资源规格,具体取值可通过调用接口[
|
8214
|
+
# @param InstanceType: 调整后的实例机型。不同实例机型指定了不同的资源规格,具体取值可通过调用接口[ DescribeInstanceTypeConfigs ](https://cloud.tencent.com/document/api/213/15749)来获得最新的规格表或参见[实例类型](https://cloud.tencent.com/document/product/213/11518)描述。
|
8215
8215
|
# @type InstanceType: String
|
8216
8216
|
# @param ForceStop: 是否对运行中的实例选择强制关机。建议对运行中的实例先手动关机。取值范围:<br><li>true:表示在正常关机失败后进行强制关机</li><br><li>false:表示在正常关机失败后不进行强制关机</li><br><br>默认取值:false。<br><br>强制关机的效果等同于关闭物理计算机的电源开关。强制关机可能会导致数据丢失或文件系统损坏,请仅在服务器不能正常关机时使用。
|
8217
8217
|
# @type ForceStop: Boolean
|
@@ -8733,9 +8733,9 @@ module TencentCloud
|
|
8733
8733
|
class StorageBlock < TencentCloud::Common::AbstractModel
|
8734
8734
|
# @param Type: HDD本地存储类型,值为:LOCAL_PRO.
|
8735
8735
|
# @type Type: String
|
8736
|
-
# @param MinSize: HDD
|
8736
|
+
# @param MinSize: HDD本地存储的最小容量。单位:GiB。
|
8737
8737
|
# @type MinSize: Integer
|
8738
|
-
# @param MaxSize: HDD
|
8738
|
+
# @param MaxSize: HDD本地存储的最大容量。单位:GiB。
|
8739
8739
|
# @type MaxSize: Integer
|
8740
8740
|
|
8741
8741
|
attr_accessor :Type, :MinSize, :MaxSize
|
@@ -8775,25 +8775,27 @@ module TencentCloud
|
|
8775
8775
|
|
8776
8776
|
# SyncImages请求参数结构体
|
8777
8777
|
class SyncImagesRequest < TencentCloud::Common::AbstractModel
|
8778
|
-
# @param ImageIds: 镜像ID列表 ,镜像ID可以通过如下方式获取:<br><li>通过[DescribeImages](https://cloud.tencent.com/document/api/213/15715)接口返回的`ImageId
|
8778
|
+
# @param ImageIds: 镜像ID列表 ,镜像ID可以通过如下方式获取:<br><li>通过[DescribeImages](https://cloud.tencent.com/document/api/213/15715)接口返回的`ImageId`获取,镜像ID对应的镜像状态必须为`NORMAL`。</li><li>通过[镜像控制台](https://console.cloud.tencent.com/cvm/image)获取。</li>
|
8779
8779
|
# @type ImageIds: Array
|
8780
|
-
# @param DestinationRegions: 目的同步地域列表,必须满足如下限制:<br><li>必须是一个合法的Region。</li><li>如果是自定义镜像,则目标同步地域不能为源地域。</li><li>如果是共享镜像,则目的同步地域仅支持源地域,表示将共享镜像复制为源地域的自定义镜像。</li><li>暂不支持部分地域同步,请参考[复制镜像](https://cloud.tencent.com/document/product/213/4943#.E5.A4.8D.E5.88.B6.E8.AF.B4.E6.98.8E)。</li>具体地域参数请参考[Region](https://cloud.tencent.com/document/product/213/6091)。
|
8780
|
+
# @param DestinationRegions: 目的同步地域列表,必须满足如下限制:<br><li>必须是一个合法的Region。</li><li>如果是自定义镜像,则目标同步地域不能为源地域。</li><li>如果是共享镜像,则目的同步地域仅支持源地域,表示将共享镜像复制为源地域的自定义镜像。</li><li>如果是自定义镜像复制为加密自定义镜像,则目的同步地域仅支持源地域,表示将自定义镜像复制为源地域的加密自定义镜像。</li><li>暂不支持部分地域同步,请参考[复制镜像](https://cloud.tencent.com/document/product/213/4943#.E5.A4.8D.E5.88.B6.E8.AF.B4.E6.98.8E)。</li>具体地域参数请参考[Region](https://cloud.tencent.com/document/product/213/6091)。
|
8781
8781
|
# @type DestinationRegions: Array
|
8782
8782
|
# @param DryRun: 检测是否支持发起同步镜像。
|
8783
8783
|
# 默认值: false
|
8784
8784
|
# @type DryRun: Boolean
|
8785
8785
|
# @param ImageName: 目标镜像名称。默认使用源镜像名称。
|
8786
|
+
# 最多支持 60 个字符。
|
8786
8787
|
# @type ImageName: String
|
8787
8788
|
# @param ImageSetRequired: 是否需要返回目的地域的镜像ID。
|
8788
8789
|
# 默认值: false
|
8789
8790
|
# @type ImageSetRequired: Boolean
|
8790
8791
|
# @param Encrypt: 是否复制为加密自定义镜像。
|
8791
8792
|
# 默认值为 false。
|
8792
|
-
#
|
8793
|
+
# 复制加密自定义镜像仅支持同地域, 即 DestinationRegions 仅支持填写指定镜像所在地域。
|
8793
8794
|
# @type Encrypt: Boolean
|
8794
8795
|
# @param KmsKeyId: 加密自定义镜像使用的 KMS 密钥 ID。
|
8795
8796
|
# 仅当复制加密镜像时,即 Encrypt 为 true 时,此参数有效;
|
8796
8797
|
# 不指定 KmsKeyId,默认使用 CBS 云产品 KMS 密钥。
|
8798
|
+
# KMS 密钥 ID 通过[KMS 控制台](https://console.cloud.tencent.com/kms2)获取。
|
8797
8799
|
# @type KmsKeyId: String
|
8798
8800
|
|
8799
8801
|
attr_accessor :ImageIds, :DestinationRegions, :DryRun, :ImageName, :ImageSetRequired, :Encrypt, :KmsKeyId
|
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.
|
4
|
+
version: 3.0.1040
|
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-04-
|
11
|
+
date: 2025-04-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|