tencentcloud-sdk-cvm 3.0.1039 → 3.0.1041
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 +93 -86
- 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: 456d98a96f204b65160c5ee17c24b849d5699d4e
|
4
|
+
data.tar.gz: 8deb804d0b446c266db36dba303d1172fc3d558a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d4547c423fee00f4bdef1cd47e8fc086b722fea323095d8623b7f03f7eeb82d685ca15bd1921ad73cb281e65c887f434c8e4084324568820386a6fe49507a575
|
7
|
+
data.tar.gz: ce3710f69958295e18c6e1001bc8660e431f05e9173877f1198d4add8e3b1007856488d3f33511716274e9845829fa5c146f7984fd0911aa8a7f7ccf78b42c45
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.1041
|
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
|
@@ -694,13 +690,18 @@ module TencentCloud
|
|
694
690
|
|
695
691
|
# ConvertOperatingSystems请求参数结构体
|
696
692
|
class ConvertOperatingSystemsRequest < TencentCloud::Common::AbstractModel
|
697
|
-
# @param InstanceIds: 执行操作系统转换的实例 ID
|
693
|
+
# @param InstanceIds: 执行操作系统转换的实例 ID。
|
694
|
+
# 可通过 [DescribeInstances](https://cloud.tencent.com/document/api/213/15728) 接口返回值中的`InstanceId`获取。
|
695
|
+
# 仅支持操作系统为 CentOS 7、CentOS 8 的实例执行转换。
|
698
696
|
# @type InstanceIds: Array
|
699
|
-
# @param MinimalConversion:
|
697
|
+
# @param MinimalConversion: 是否最小规模转换。
|
698
|
+
# 默认值:false
|
700
699
|
# @type MinimalConversion: Boolean
|
701
|
-
# @param DryRun:
|
700
|
+
# @param DryRun: 是否只预检。
|
701
|
+
# 默认值:false
|
702
702
|
# @type DryRun: Boolean
|
703
703
|
# @param TargetOSType: 转换的目标操作系统类型。仅支持 TencentOS。
|
704
|
+
# 默认值:TencentOS
|
704
705
|
# @type TargetOSType: String
|
705
706
|
|
706
707
|
attr_accessor :InstanceIds, :MinimalConversion, :DryRun, :TargetOSType
|
@@ -923,11 +924,15 @@ module TencentCloud
|
|
923
924
|
|
924
925
|
# CreateImage请求参数结构体
|
925
926
|
class CreateImageRequest < TencentCloud::Common::AbstractModel
|
926
|
-
# @param ImageName:
|
927
|
+
# @param ImageName: 镜像名称。
|
928
|
+
# 最多支持60个字符。
|
927
929
|
# @type ImageName: String
|
928
930
|
# @param InstanceId: 需要制作镜像的实例ID。基于实例创建镜像时,为必填参数。
|
931
|
+
# InstanceId 和 SnapshotIds 为二选一必填参数。
|
932
|
+
# 可通过 [DescribeInstances](https://cloud.tencent.com/document/api/213/15728) 接口返回值中的`InstanceId`获取。
|
929
933
|
# @type InstanceId: String
|
930
|
-
# @param ImageDescription:
|
934
|
+
# @param ImageDescription: 镜像描述。
|
935
|
+
# 最多支持 256 个字符。
|
931
936
|
# @type ImageDescription: String
|
932
937
|
# @param ForcePoweroff: 是否执行强制关机以制作镜像。
|
933
938
|
# 取值范围:<br><li>true:表示关机之后制作镜像</li><br><li>false:表示开机状态制作镜像</li><br><br>默认取值:false。<br><br>开机状态制作镜像,可能导致部分数据未备份,影响数据安全。
|
@@ -937,13 +942,18 @@ module TencentCloud
|
|
937
942
|
|
938
943
|
# 关于Sysprep的详情请参考[链接](https://cloud.tencent.com/document/product/213/43498)。
|
939
944
|
# @type Sysprep: String
|
940
|
-
# @param DataDiskIds: 基于实例创建整机镜像时,指定包含在镜像里的数据盘ID
|
945
|
+
# @param DataDiskIds: 基于实例创建整机镜像时,指定包含在镜像里的数据盘ID。
|
946
|
+
# DataDiskIds 只能在指定 InstanceId 实例所包含的数据盘范围内指定。
|
947
|
+
# 可通过 [DescribeInstances](https://cloud.tencent.com/document/api/213/15728) 接口返回值中的 `DataDisks` 获取。
|
941
948
|
# @type DataDiskIds: Array
|
942
|
-
# @param SnapshotIds: 基于快照创建镜像,指定快照ID,必须包含一个系统盘快照。不可与InstanceId同时传入。
|
949
|
+
# @param SnapshotIds: 基于快照创建镜像,指定快照ID,必须包含一个系统盘快照。不可与 InstanceId 同时传入。
|
950
|
+
# InstanceId 和 SnapshotIds 为二选一必填参数。
|
951
|
+
# 可通过 [DescribeSnapshots](https://cloud.tencent.com/document/product/362/15647) 接口返回值中的`SnapshotId`获取。
|
943
952
|
# @type SnapshotIds: Array
|
944
953
|
# @param DryRun: 检测本次请求的是否成功,但不会对操作的资源产生任何影响。默认取值为false。
|
945
954
|
# @type DryRun: Boolean
|
946
955
|
# @param TagSpecification: 标签描述列表。通过指定该参数可以同时绑定标签到自定义镜像。
|
956
|
+
# 可通过 [DescribeTags](https://cloud.tencent.com/document/api/651/35316) 接口返回值中的 `TagKey` 和 `TagValue` 获取。
|
947
957
|
# @type TagSpecification: Array
|
948
958
|
# @param ImageFamily: 镜像族
|
949
959
|
# @type ImageFamily: String
|
@@ -1457,23 +1467,11 @@ module TencentCloud
|
|
1457
1467
|
# @param DiskId: 数据盘ID。
|
1458
1468
|
# 该参数目前仅用于`DescribeInstances`等查询类接口的返回参数,不可用于`RunInstances`等写接口的入参。
|
1459
1469
|
# @type DiskId: String
|
1460
|
-
# @param DeleteWithInstance:
|
1461
|
-
# <li>true:子机销毁时,销毁数据盘,只支持按小时后付费云盘</li>
|
1462
|
-
# <li>
|
1463
|
-
# false:子机销毁时,保留数据盘<br />
|
1464
|
-
# 默认取值:true<br />
|
1465
|
-
# 该参数目前仅用于 `RunInstances` 接口。
|
1466
|
-
# </li>
|
1470
|
+
# @param DeleteWithInstance: 数据盘是否随子机销毁。取值范围:<li>true:子机销毁时,销毁数据盘,只支持按小时后付费云盘</li><li>false:子机销毁时,保留数据盘</li><br/>默认取值:true <br/>该参数目前仅用于 `RunInstances` 接口。
|
1467
1471
|
# @type DeleteWithInstance: Boolean
|
1468
1472
|
# @param SnapshotId: 数据盘快照ID。选择的数据盘快照大小需小于数据盘大小。
|
1469
1473
|
# @type SnapshotId: String
|
1470
|
-
# @param Encrypt:
|
1471
|
-
# <li>true:加密</li>
|
1472
|
-
# <li>
|
1473
|
-
# false:不加密<br />
|
1474
|
-
# 默认取值:false<br />
|
1475
|
-
# 该参数目前仅用于 `RunInstances` 接口。
|
1476
|
-
# </li>
|
1474
|
+
# @param Encrypt: 数据盘是否加密。取值范围:<li>true:加密</li><li>false:不加密</li><br/>默认取值:false<br/>该参数目前仅用于 `RunInstances` 接口。
|
1477
1475
|
# @type Encrypt: Boolean
|
1478
1476
|
# @param KmsKeyId: 自定义CMK对应的ID,取值为UUID或者类似kms-abcd1234。用于加密云盘。
|
1479
1477
|
|
@@ -1589,11 +1587,14 @@ module TencentCloud
|
|
1589
1587
|
|
1590
1588
|
# DeleteImages请求参数结构体
|
1591
1589
|
class DeleteImagesRequest < TencentCloud::Common::AbstractModel
|
1592
|
-
# @param ImageIds:
|
1590
|
+
# @param ImageIds: 删除的镜像 ID 列表。
|
1591
|
+
# 可通过 [DescribeImages](https://cloud.tencent.com/document/api/213/15715) 接口返回值中的`ImageId`获取。
|
1593
1592
|
# @type ImageIds: Array
|
1594
|
-
# @param DeleteBindedSnap:
|
1593
|
+
# @param DeleteBindedSnap: 是否删除镜像关联的快照。
|
1594
|
+
# 默认值:false
|
1595
1595
|
# @type DeleteBindedSnap: Boolean
|
1596
|
-
# @param DryRun:
|
1596
|
+
# @param DryRun: 检测是否支持删除镜像。
|
1597
|
+
# 默认值:false
|
1597
1598
|
# @type DryRun: Boolean
|
1598
1599
|
|
1599
1600
|
attr_accessor :ImageIds, :DeleteBindedSnap, :DryRun
|
@@ -1629,7 +1630,7 @@ module TencentCloud
|
|
1629
1630
|
|
1630
1631
|
# DeleteInstancesActionTimer请求参数结构体
|
1631
1632
|
class DeleteInstancesActionTimerRequest < TencentCloud::Common::AbstractModel
|
1632
|
-
# @param ActionTimerIds: 定时任务ID列表,可以通过DescribeInstancesActionTimer接口查询。只能删除未执行的定时任务。
|
1633
|
+
# @param ActionTimerIds: 定时任务ID列表,可以通过[ DescribeInstancesActionTimer ](https://cloud.tencent.com/document/product/213/103950)接口查询。只能删除未执行的定时任务。
|
1633
1634
|
# @type ActionTimerIds: Array
|
1634
1635
|
|
1635
1636
|
attr_accessor :ActionTimerIds
|
@@ -1693,7 +1694,7 @@ module TencentCloud
|
|
1693
1694
|
|
1694
1695
|
# DeleteLaunchTemplate请求参数结构体
|
1695
1696
|
class DeleteLaunchTemplateRequest < TencentCloud::Common::AbstractModel
|
1696
|
-
# @param LaunchTemplateId: 启动模板ID
|
1697
|
+
# @param LaunchTemplateId: 启动模板ID。可通过 [DescribeLaunchTemplates](https://cloud.tencent.com/document/api/213/66322) 接口返回值中的`LaunchTemplateId`获取。
|
1697
1698
|
# @type LaunchTemplateId: String
|
1698
1699
|
|
1699
1700
|
attr_accessor :LaunchTemplateId
|
@@ -1725,9 +1726,9 @@ module TencentCloud
|
|
1725
1726
|
|
1726
1727
|
# DeleteLaunchTemplateVersions请求参数结构体
|
1727
1728
|
class DeleteLaunchTemplateVersionsRequest < TencentCloud::Common::AbstractModel
|
1728
|
-
# @param LaunchTemplateId: 启动模板ID
|
1729
|
+
# @param LaunchTemplateId: 启动模板ID。可通过 [DescribeLaunchTemplates](https://cloud.tencent.com/document/api/213/66322) 接口返回值中的`LaunchTemplateId`获取。
|
1729
1730
|
# @type LaunchTemplateId: String
|
1730
|
-
# @param LaunchTemplateVersions:
|
1731
|
+
# @param LaunchTemplateVersions: 实例启动模板版本列表。可通过 [DescribeLaunchTemplateVersions](https://cloud.tencent.com/document/api/213/66323) 接口返回值中的`LaunchTemplateVersion`获取。
|
1731
1732
|
# @type LaunchTemplateVersions: Array
|
1732
1733
|
|
1733
1734
|
attr_accessor :LaunchTemplateId, :LaunchTemplateVersions
|
@@ -1764,7 +1765,7 @@ module TencentCloud
|
|
1764
1765
|
# @param Filters: <li><strong>zone</strong></li>
|
1765
1766
|
# <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
1767
|
# <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;"
|
1768
|
+
# <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
1769
|
# @type Filters: Array
|
1769
1770
|
|
1770
1771
|
attr_accessor :Filters
|
@@ -2606,7 +2607,7 @@ module TencentCloud
|
|
2606
2607
|
|
2607
2608
|
# DescribeInstanceVncUrl请求参数结构体
|
2608
2609
|
class DescribeInstanceVncUrlRequest < TencentCloud::Common::AbstractModel
|
2609
|
-
# @param InstanceId: 一个操作的实例ID。可通过[
|
2610
|
+
# @param InstanceId: 一个操作的实例ID。可通过[ DescribeInstances ](https://cloud.tencent.com/document/api/213/15728) 接口返回值中的`InstanceId`获取。
|
2610
2611
|
# @type InstanceId: String
|
2611
2612
|
|
2612
2613
|
attr_accessor :InstanceId
|
@@ -2644,15 +2645,15 @@ module TencentCloud
|
|
2644
2645
|
class DescribeInstancesActionTimerRequest < TencentCloud::Common::AbstractModel
|
2645
2646
|
# @param ActionTimerIds: 定时任务ID列表。
|
2646
2647
|
# @type ActionTimerIds: Array
|
2647
|
-
# @param InstanceIds: 按照一个或者多个实例ID
|
2648
|
+
# @param InstanceIds: 按照一个或者多个实例ID查询。可通过 [DescribeInstances](https://cloud.tencent.com/document/api/213/15728) 接口返回值中的`InstanceId`获取。
|
2648
2649
|
# @type InstanceIds: Array
|
2649
2650
|
# @param TimerAction: 定时器动作,目前仅支持销毁一个值:TerminateInstances。
|
2650
2651
|
# @type TimerAction: String
|
2651
|
-
# @param EndActionTime:
|
2652
|
+
# @param EndActionTime: 定时任务执行时间的结束范围,用于条件筛选,格式如2018-05-01 19:00:00。
|
2652
2653
|
# @type EndActionTime: String
|
2653
|
-
# @param StartActionTime:
|
2654
|
+
# @param StartActionTime: 定时任务执行时间的开始范围,用于条件筛选,格式如2018-05-01 19:00:00。
|
2654
2655
|
# @type StartActionTime: String
|
2655
|
-
# @param StatusList: 定时任务状态列表。<br><li>UNDO:未执行</li> <
|
2656
|
+
# @param StatusList: 定时任务状态列表。<br><li>UNDO:未执行</li> <li>DOING:正在执行</li><li>DONE:执行完成。</li>
|
2656
2657
|
# @type StatusList: Array
|
2657
2658
|
|
2658
2659
|
attr_accessor :ActionTimerIds, :InstanceIds, :TimerAction, :EndActionTime, :StartActionTime, :StatusList
|
@@ -2708,7 +2709,7 @@ module TencentCloud
|
|
2708
2709
|
# @param Attributes: 需要获取的实例属性。可选值:
|
2709
2710
|
# UserData: 实例自定义数据
|
2710
2711
|
# @type Attributes: Array
|
2711
|
-
# @param InstanceIds: 实例ID
|
2712
|
+
# @param InstanceIds: 实例ID列表。可通过 [DescribeInstances](https://cloud.tencent.com/document/api/213/15728) 接口返回值中的`InstanceId`获取。
|
2712
2713
|
# @type InstanceIds: Array
|
2713
2714
|
|
2714
2715
|
attr_accessor :Attributes, :InstanceIds
|
@@ -2756,7 +2757,7 @@ module TencentCloud
|
|
2756
2757
|
# @param InstanceIds: 一个或多个待查询的实例ID。可通过 [DescribeInstances](https://cloud.tencent.com/document/api/213/15728) 接口返回值中的`InstanceId`获取。每次请求批量实例的上限为20。
|
2757
2758
|
# @type InstanceIds: Array
|
2758
2759
|
# @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>
|
2760
|
+
# <p style="padding-left: 30px;">按照【<strong>配置规格状态</strong>】进行过滤。配置规格状态形如:SELL(表示实例可售卖)、UNAVAILABLE(表示实例不可用)。</p><p style="padding-left: 30px;">类型:String</p><p style="padding-left: 30px;">必选:否</p>
|
2760
2761
|
# 每次请求的`Filters`的上限为10,`Filter.Values`的上限为2。
|
2761
2762
|
# @type Filters: Array
|
2762
2763
|
|
@@ -2816,7 +2817,7 @@ module TencentCloud
|
|
2816
2817
|
# @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
2818
|
# @type InstanceIds: Array
|
2818
2819
|
# @param Operation: 实例操作。
|
2819
|
-
# <li> INSTANCE_DEGRADE:实例降配操作</li>
|
2820
|
+
# <li> INSTANCE_DEGRADE:实例降配操作</li><li> INTERNET_CHARGE_TYPE_CHANGE:实例调整带宽付费模式操作</li>
|
2820
2821
|
# @type Operation: String
|
2821
2822
|
|
2822
2823
|
attr_accessor :InstanceIds, :Operation
|
@@ -3574,7 +3575,7 @@ module TencentCloud
|
|
3574
3575
|
# <li><strong>instance-type</strong></li>
|
3575
3576
|
# <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
3577
|
# <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>
|
3578
|
+
# <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
3579
|
# <li><strong>sort-keys</strong></li>
|
3579
3580
|
# <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
3581
|
# 每次请求的`Filters`的上限为10,`Filter.Values`的上限为100。
|
@@ -3709,9 +3710,9 @@ module TencentCloud
|
|
3709
3710
|
|
3710
3711
|
# DisassociateSecurityGroups请求参数结构体
|
3711
3712
|
class DisassociateSecurityGroupsRequest < TencentCloud::Common::AbstractModel
|
3712
|
-
# @param SecurityGroupIds: 要解绑的`安全组ID`,类似sg-efil73jd
|
3713
|
+
# @param SecurityGroupIds: 要解绑的`安全组ID`,类似sg-efil73jd,只支持解绑单个安全组。可通过 [DescribeInstances](https://cloud.tencent.com/document/api/213/15728) 接口返回值中的`SecurityGroupIds`获取实例绑定的安全组。
|
3713
3714
|
# @type SecurityGroupIds: Array
|
3714
|
-
# @param InstanceIds: 被解绑的`实例ID`,类似ins-lesecurk,支持指定多个实例,每次请求批量实例的上限为100
|
3715
|
+
# @param InstanceIds: 被解绑的`实例ID`,类似ins-lesecurk,支持指定多个实例,每次请求批量实例的上限为100。可通过 [DescribeInstances](https://cloud.tencent.com/document/api/213/15728) 接口返回值中的`InstanceId`获取。
|
3715
3716
|
# @type InstanceIds: Array
|
3716
3717
|
|
3717
3718
|
attr_accessor :SecurityGroupIds, :InstanceIds
|
@@ -3919,7 +3920,7 @@ module TencentCloud
|
|
3919
3920
|
|
3920
3921
|
# ExitRescueMode请求参数结构体
|
3921
3922
|
class ExitRescueModeRequest < TencentCloud::Common::AbstractModel
|
3922
|
-
# @param InstanceId: 退出救援模式的实例id
|
3923
|
+
# @param InstanceId: 退出救援模式的实例id。可通过 [DescribeInstances](https://cloud.tencent.com/document/api/213/15728) 接口返回值中的`InstanceId`获取。
|
3923
3924
|
# @type InstanceId: String
|
3924
3925
|
|
3925
3926
|
attr_accessor :InstanceId
|
@@ -3951,17 +3952,22 @@ module TencentCloud
|
|
3951
3952
|
|
3952
3953
|
# ExportImages请求参数结构体
|
3953
3954
|
class ExportImagesRequest < TencentCloud::Common::AbstractModel
|
3954
|
-
# @param BucketName: COS
|
3955
|
+
# @param BucketName: COS存储桶名称。
|
3956
|
+
# 可通过 [List Buckets](https://cloud.tencent.com/document/product/436/8291) 接口查询请求者名下的所有存储桶列表或特定地域下的存储桶列表。
|
3955
3957
|
# @type BucketName: String
|
3956
3958
|
# @param ImageIds: 镜像ID列表。调用 ExportImages 接口时,参数 ImageIds 和 SnapshotIds 为二选一必填参数,目前参数 SnapshotIds 暂未对外开放。
|
3959
|
+
# 可通过 [DescribeImages](https://cloud.tencent.com/document/api/213/15715) 接口返回值中的`ImageId`获取。
|
3957
3960
|
# @type ImageIds: Array
|
3958
3961
|
# @param ExportFormat: 镜像文件导出格式。取值范围:RAW,QCOW2,VHD,VMDK。默认为RAW
|
3959
3962
|
# @type ExportFormat: String
|
3960
|
-
# @param FileNamePrefixList:
|
3963
|
+
# @param FileNamePrefixList: 导出文件的名称前缀列表。
|
3964
|
+
# 默认导出文件无名称前缀。
|
3961
3965
|
# @type FileNamePrefixList: Array
|
3962
|
-
# @param OnlyExportRootDisk:
|
3966
|
+
# @param OnlyExportRootDisk: 是否只导出系统盘。
|
3967
|
+
# 默认值:false
|
3963
3968
|
# @type OnlyExportRootDisk: Boolean
|
3964
|
-
# @param DryRun:
|
3969
|
+
# @param DryRun: 检测镜像是否支持导出。
|
3970
|
+
# 默认值:false
|
3965
3971
|
# @type DryRun: Boolean
|
3966
3972
|
# @param RoleName: 角色名称。默认为CVM_QcsRole,发起请求前请确认是否存在该角色,以及是否已正确配置COS写入权限。
|
3967
3973
|
# @type RoleName: String
|
@@ -3993,7 +3999,9 @@ module TencentCloud
|
|
3993
3999
|
class ExportImagesResponse < TencentCloud::Common::AbstractModel
|
3994
4000
|
# @param TaskId: 导出镜像任务ID
|
3995
4001
|
# @type TaskId: Integer
|
3996
|
-
# @param CosPaths: 导出镜像的COS
|
4002
|
+
# @param CosPaths: 导出镜像的COS文件名列表。其中,文件名格式如下。
|
4003
|
+
# * 系统盘:前缀名_镜像ID_system_快照ID.镜像格式
|
4004
|
+
# * 数据盘:前缀名_镜像ID_data_快照ID.镜像格式
|
3997
4005
|
# @type CosPaths: Array
|
3998
4006
|
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
3999
4007
|
# @type RequestId: String
|
@@ -4583,7 +4591,7 @@ module TencentCloud
|
|
4583
4591
|
|
4584
4592
|
# ImportInstancesActionTimer请求参数结构体
|
4585
4593
|
class ImportInstancesActionTimerRequest < TencentCloud::Common::AbstractModel
|
4586
|
-
# @param InstanceIds: 实例id
|
4594
|
+
# @param InstanceIds: 实例id列表,可通过 [DescribeInstances](https://cloud.tencent.com/document/api/213/15728) 接口返回值中的`InstanceId`获取。
|
4587
4595
|
# @type InstanceIds: Array
|
4588
4596
|
# @param ActionTimer: 定时器任务信息,目前仅支持定时销毁。
|
4589
4597
|
# @type ActionTimer: :class:`Tencentcloud::Cvm.v20170312.models.ActionTimer`
|
@@ -5055,12 +5063,12 @@ module TencentCloud
|
|
5055
5063
|
|
5056
5064
|
# InquiryPriceResizeInstanceDisks请求参数结构体
|
5057
5065
|
class InquiryPriceResizeInstanceDisksRequest < TencentCloud::Common::AbstractModel
|
5058
|
-
# @param InstanceId: 待操作的实例ID。可通过[
|
5066
|
+
# @param InstanceId: 待操作的实例ID。可通过[ DescribeInstances ](https://cloud.tencent.com/document/api/213/15728)接口返回值中的`InstanceId`获取。
|
5059
5067
|
# @type InstanceId: String
|
5060
|
-
# @param DataDisks:
|
5068
|
+
# @param DataDisks: 待扩容的数据盘配置信息。只支持扩容非弹性数据盘[ DescribeDisks ](https://cloud.tencent.com/document/api/362/16315)接口返回值中的`Portable`为`false`表示非弹性)。数据盘容量单位:GB。最小扩容步长:10G。关于数据盘类型的选择请参考硬盘产品简介。可选数据盘类型受到实例类型`InstanceType`限制。另外允许扩容的最大容量也因数据盘类型的不同而有所差异。
|
5061
5069
|
# <dx-alert infotype="explain" title="">您必须指定参数DataDisks与SystemDisk的其中一个,但不能同时指定。</dx-alert>
|
5062
5070
|
# @type DataDisks: Array
|
5063
|
-
# @param ForceStop: 是否对运行中的实例选择强制关机。建议对运行中的实例先手动关机,然后再重置用户密码。取值范围:<br><li>true:表示在正常关机失败后进行强制关机</li><br><li>false:表示在正常关机失败后不进行强制关机</li><br
|
5071
|
+
# @param ForceStop: 是否对运行中的实例选择强制关机。建议对运行中的实例先手动关机,然后再重置用户密码。取值范围:<br><li>true:表示在正常关机失败后进行强制关机</li><br><li>false:表示在正常关机失败后不进行强制关机</li><br>默认取值:false。<br><br>强制关机的效果等同于关闭物理计算机的电源开关。强制关机可能会导致数据丢失或文件系统损坏,请仅在服务器不能正常关机时使用。
|
5064
5072
|
# @type ForceStop: Boolean
|
5065
5073
|
|
5066
5074
|
attr_accessor :InstanceId, :DataDisks, :ForceStop
|
@@ -5120,7 +5128,8 @@ module TencentCloud
|
|
5120
5128
|
# @type InstanceChargeType: String
|
5121
5129
|
# @param InstanceChargePrepaid: 预付费模式,即包年包月相关参数设置。通过该参数可以指定包年包月实例的购买时长、是否设置自动续费等属性。若指定实例的付费模式为预付费则该参数必传。
|
5122
5130
|
# @type InstanceChargePrepaid: :class:`Tencentcloud::Cvm.v20170312.models.InstanceChargePrepaid`
|
5123
|
-
# @param InstanceType:
|
5131
|
+
# @param InstanceType: 实例机型。不同实例机型指定了不同的资源规格。
|
5132
|
+
# <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
5133
|
# @type InstanceType: String
|
5125
5134
|
# @param SystemDisk: 实例系统盘配置信息。若不指定该参数,则按照系统默认值进行分配。
|
5126
5135
|
# @type SystemDisk: :class:`Tencentcloud::Cvm.v20170312.models.SystemDisk`
|
@@ -5136,7 +5145,7 @@ module TencentCloud
|
|
5136
5145
|
# @type InstanceName: String
|
5137
5146
|
# @param LoginSettings: 实例登录设置。通过该参数可以设置实例的登录方式密码、密钥或保持镜像的原始登录设置。默认情况下会随机生成密码,并以站内信方式知会到用户。
|
5138
5147
|
# @type LoginSettings: :class:`Tencentcloud::Cvm.v20170312.models.LoginSettings`
|
5139
|
-
# @param SecurityGroupIds: 实例所属安全组。该参数可以通过调用 [DescribeSecurityGroups](https://cloud.tencent.com/document/api/215/15808)
|
5148
|
+
# @param SecurityGroupIds: 实例所属安全组。该参数可以通过调用 [DescribeSecurityGroups](https://cloud.tencent.com/document/api/215/15808) 的返回值中的`SecurityGroupId`字段来获取。若不指定该参数,则默认不绑定安全组。
|
5140
5149
|
# @type SecurityGroupIds: Array
|
5141
5150
|
# @param EnhancedService: 增强服务。通过该参数可以指定是否开启云安全、云监控等服务。若不指定该参数,则默认开启云监控、云安全服务。
|
5142
5151
|
# @type EnhancedService: :class:`Tencentcloud::Cvm.v20170312.models.EnhancedService`
|
@@ -5677,7 +5686,7 @@ module TencentCloud
|
|
5677
5686
|
# @type GPU: Integer
|
5678
5687
|
# @param CPU: CPU核数,单位:核。
|
5679
5688
|
# @type CPU: Integer
|
5680
|
-
# @param Memory: 内存容量,单位:`
|
5689
|
+
# @param Memory: 内存容量,单位:`GiB`。
|
5681
5690
|
# @type Memory: Integer
|
5682
5691
|
# @param FPGA: FPGA核数,单位:核。
|
5683
5692
|
# @type FPGA: Integer
|
@@ -5742,7 +5751,7 @@ module TencentCloud
|
|
5742
5751
|
# @type Zone: String
|
5743
5752
|
# @param InstanceType: 实例机型。
|
5744
5753
|
# @type InstanceType: String
|
5745
|
-
# @param InstanceChargeType: 实例计费模式。取值范围: <br><li>PREPAID:表示预付费,即包年包月<br></li>POSTPAID_BY_HOUR
|
5754
|
+
# @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
5755
|
# @type InstanceChargeType: String
|
5747
5756
|
# @param NetworkCard: 网卡类型,例如:25代表25G网卡
|
5748
5757
|
# @type NetworkCard: Integer
|
@@ -5758,7 +5767,7 @@ module TencentCloud
|
|
5758
5767
|
# @type TypeName: String
|
5759
5768
|
# @param LocalDiskTypeList: 本地磁盘规格列表。当该参数返回为空值时,表示当前情况下无法创建本地盘。
|
5760
5769
|
# @type LocalDiskTypeList: Array
|
5761
|
-
# @param Status: 实例是否售卖。取值范围: <br><li>SELL:表示实例可购买<br></li>SOLD_OUT
|
5770
|
+
# @param Status: 实例是否售卖。取值范围: <br><li>SELL:表示实例可购买<br></li><li>SOLD_OUT:表示实例已售罄。</li>
|
5762
5771
|
# @type Status: String
|
5763
5772
|
# @param Price: 实例的售卖价格。
|
5764
5773
|
# @type Price: :class:`Tencentcloud::Cvm.v20170312.models.ItemPrice`
|
@@ -5783,10 +5792,7 @@ module TencentCloud
|
|
5783
5792
|
# @param Frequency: 实例的CPU主频信息
|
5784
5793
|
# @type Frequency: String
|
5785
5794
|
# @param StatusCategory: 描述库存情况。取值范围:
|
5786
|
-
# <li> EnoughStock:表示对应库存非常充足</li>
|
5787
|
-
# <li>NormalStock:表示对应库存供应有保障</li>
|
5788
|
-
# <li> UnderStock:表示对应库存即将售罄</li>
|
5789
|
-
# <li>WithoutStock:表示对应库存已经售罄</li>
|
5795
|
+
# <li> EnoughStock:表示对应库存非常充足</li> <li>NormalStock:表示对应库存供应有保障</li><li> UnderStock:表示对应库存即将售罄</li> <li>WithoutStock:表示对应库存已经售罄</li>
|
5790
5796
|
# @type StatusCategory: String
|
5791
5797
|
|
5792
5798
|
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
|
@@ -5914,7 +5920,7 @@ module TencentCloud
|
|
5914
5920
|
|
5915
5921
|
# 描述了网络计费
|
5916
5922
|
class InternetChargeTypeConfig < TencentCloud::Common::AbstractModel
|
5917
|
-
# @param InternetChargeType:
|
5923
|
+
# @param InternetChargeType: 网络计费类型。取值范围:<br><li>BANDWIDTH_PREPAID:预付费按带宽结算</li><li>TRAFFIC_POSTPAID_BY_HOUR:流量按小时后付费</li><li>BANDWIDTH_POSTPAID_BY_HOUR:带宽按小时后付费</li><li>BANDWIDTH_PACKAGE:带宽包用户</li>默认取值:非带宽包用户默认与子机付费类型保持一致,比如子机付费类型为预付费,网络计费类型默认为预付费;子机付费类型为后付费,网络计费类型默认为后付费。
|
5918
5924
|
# @type InternetChargeType: String
|
5919
5925
|
# @param Description: 网络计费模式描述信息。
|
5920
5926
|
# @type Description: String
|
@@ -6316,7 +6322,7 @@ module TencentCloud
|
|
6316
6322
|
# @type IsDefaultVersion: Boolean
|
6317
6323
|
# @param LaunchTemplateVersionDescription: 实例启动模板版本描述信息。
|
6318
6324
|
# @type LaunchTemplateVersionDescription: String
|
6319
|
-
# @param CreatedBy:
|
6325
|
+
# @param CreatedBy: 创建者的AppId。
|
6320
6326
|
# @type CreatedBy: String
|
6321
6327
|
|
6322
6328
|
attr_accessor :LaunchTemplateVersion, :LaunchTemplateVersionData, :CreationTime, :LaunchTemplateId, :IsDefaultVersion, :LaunchTemplateVersionDescription, :CreatedBy
|
@@ -6664,7 +6670,7 @@ module TencentCloud
|
|
6664
6670
|
|
6665
6671
|
# ModifyInstanceDiskType请求参数结构体
|
6666
6672
|
class ModifyInstanceDiskTypeRequest < TencentCloud::Common::AbstractModel
|
6667
|
-
# @param InstanceId: 待操作的实例ID。可通过 [DescribeInstances](https://cloud.tencent.com/document/api/213/
|
6673
|
+
# @param InstanceId: 待操作的实例ID。可通过 [DescribeInstances](https://cloud.tencent.com/document/api/213/15728) 接口返回值中的`InstanceId`获取。
|
6668
6674
|
# @type InstanceId: String
|
6669
6675
|
# @param DataDisks: 实例数据盘配置信息,只需要指定要转换的目标云硬盘的介质类型,指定DiskType的值,当前只支持一个数据盘转化。只支持CDHPAID类型实例指定CdcId参数。
|
6670
6676
|
# @type DataDisks: Array
|
@@ -6717,11 +6723,10 @@ module TencentCloud
|
|
6717
6723
|
# @param InstanceIds: 一个或多个待操作的实例ID。可通过[DescribeInstances](https://cloud.tencent.com/document/api/213/15728) API返回值中的`InstanceId`获取。每次请求允许操作的实例数量上限是100。
|
6718
6724
|
# @type InstanceIds: Array
|
6719
6725
|
# @param InstanceName: 修改后实例名称。可任意命名,但不得超过60个字符。
|
6720
|
-
# <dx-alert infotype="explain" title="">必须指定InstanceName与SecurityGroups的其中一个,但不能同时设置</dx-alert>
|
6721
6726
|
# @type InstanceName: String
|
6722
6727
|
# @param UserData: 提供给实例使用的用户数据,需要以 base64 方式编码,支持的最大数据大小为 16 KB。关于获取此参数的详细介绍,请参阅 [Windows](https://cloud.tencent.com/document/product/213/17526) 和 [Linux](https://cloud.tencent.com/document/product/213/17525) 启动时运行命令。
|
6723
6728
|
# @type UserData: String
|
6724
|
-
# @param SecurityGroups: 指定实例的修改后的安全组Id
|
6729
|
+
# @param SecurityGroups: 指定实例的修改后的安全组Id列表,子机将重新关联指定列表的安全组,原本关联的安全组会被解绑。
|
6725
6730
|
# @type SecurityGroups: Array
|
6726
6731
|
# @param CamRoleName: 给实例绑定用户角色,传空值为解绑操作
|
6727
6732
|
# @type CamRoleName: String
|
@@ -6786,11 +6791,11 @@ module TencentCloud
|
|
6786
6791
|
class ModifyInstancesChargeTypeRequest < TencentCloud::Common::AbstractModel
|
6787
6792
|
# @param InstanceIds: 一个或多个待操作的实例ID。可通过[DescribeInstances](https://cloud.tencent.com/document/api/213/15728)接口返回值中的`InstanceId`获取。每次请求批量实例的上限为30。
|
6788
6793
|
# @type InstanceIds: Array
|
6789
|
-
# @param InstanceChargeType: 修改后实例[计费类型](https://cloud.tencent.com/document/product/213/2180)。<
|
6794
|
+
# @param InstanceChargeType: 修改后实例[计费类型](https://cloud.tencent.com/document/product/213/2180)。<li> PREPAID:预付费,即包年包月。</li><li> POSTPAID_BY_HOUR:后付费,即按量付费。</li>
|
6790
6795
|
# @type InstanceChargeType: String
|
6791
6796
|
# @param InstanceChargePrepaid: 修改后预付费模式,即包年包月相关参数设置。通过该参数可以指定包年包月实例的购买时长、是否设置自动续费等属性。<dx-alert infotype="explain" title="">若指定实例的付费模式为预付费则该参数必传。</dx-alert>
|
6792
6797
|
# @type InstanceChargePrepaid: :class:`Tencentcloud::Cvm.v20170312.models.InstanceChargePrepaid`
|
6793
|
-
# @param ModifyPortableDataDisk: 是否同时切换弹性数据云盘计费模式。取值范围:<
|
6798
|
+
# @param ModifyPortableDataDisk: 是否同时切换弹性数据云盘计费模式。取值范围:<li> true:表示切换弹性数据云盘计费模式</li><li> false:表示不切换弹性数据云盘计费模式</li>默认取值:false。
|
6794
6799
|
# @type ModifyPortableDataDisk: Boolean
|
6795
6800
|
|
6796
6801
|
attr_accessor :InstanceIds, :InstanceChargeType, :InstanceChargePrepaid, :ModifyPortableDataDisk
|
@@ -6873,7 +6878,7 @@ module TencentCloud
|
|
6873
6878
|
class ModifyInstancesProjectRequest < TencentCloud::Common::AbstractModel
|
6874
6879
|
# @param InstanceIds: 一个或多个待操作的实例ID。可通过 [DescribeInstances](https://cloud.tencent.com/document/api/213/15728) API返回值中的`InstanceId`获取。每次请求允许操作的实例数量上限是100。
|
6875
6880
|
# @type InstanceIds: Array
|
6876
|
-
# @param ProjectId: 项目ID。项目可以使用[AddProject](https://cloud.tencent.com/document/api/651/81952)接口创建。可通过[
|
6881
|
+
# @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
6882
|
# @type ProjectId: Integer
|
6878
6883
|
|
6879
6884
|
attr_accessor :InstanceIds, :ProjectId
|
@@ -7030,9 +7035,9 @@ module TencentCloud
|
|
7030
7035
|
|
7031
7036
|
# ModifyLaunchTemplateDefaultVersion请求参数结构体
|
7032
7037
|
class ModifyLaunchTemplateDefaultVersionRequest < TencentCloud::Common::AbstractModel
|
7033
|
-
# @param LaunchTemplateId: 启动模板ID
|
7038
|
+
# @param LaunchTemplateId: 启动模板ID。可通过 [DescribeLaunchTemplates](https://cloud.tencent.com/document/api/213/66322) 接口返回值中的`LaunchTemplateId `获取。
|
7034
7039
|
# @type LaunchTemplateId: String
|
7035
|
-
# @param DefaultVersion:
|
7040
|
+
# @param DefaultVersion: 待设置的默认版本号。可通过 [DescribeLaunchTemplateVersions](https://cloud.tencent.com/document/api/213/66323) 接口返回值中的`LaunchTemplateVersion`获取。
|
7036
7041
|
# @type DefaultVersion: Integer
|
7037
7042
|
|
7038
7043
|
attr_accessor :LaunchTemplateId, :DefaultVersion
|
@@ -7232,7 +7237,7 @@ module TencentCloud
|
|
7232
7237
|
|
7233
7238
|
# ProgramFpgaImage请求参数结构体
|
7234
7239
|
class ProgramFpgaImageRequest < TencentCloud::Common::AbstractModel
|
7235
|
-
# @param InstanceId: 实例的ID
|
7240
|
+
# @param InstanceId: 实例的ID信息。可通过 [DescribeInstances](https://cloud.tencent.com/document/api/213/15728) 接口返回值中的`InstanceId`获取。
|
7236
7241
|
# @type InstanceId: String
|
7237
7242
|
# @param FPGAUrl: FPGA镜像文件的COS URL地址。
|
7238
7243
|
# @type FPGAUrl: String
|
@@ -8211,7 +8216,7 @@ module TencentCloud
|
|
8211
8216
|
class ResetInstancesTypeRequest < TencentCloud::Common::AbstractModel
|
8212
8217
|
# @param InstanceIds: 一个或多个待操作的实例ID。可通过 [DescribeInstances](https://cloud.tencent.com/document/api/213/15728) 接口返回值中的`InstanceId`获取。本接口目前仅支持每次操作1个实例。
|
8213
8218
|
# @type InstanceIds: Array
|
8214
|
-
# @param InstanceType: 调整后的实例机型。不同实例机型指定了不同的资源规格,具体取值可通过调用接口[
|
8219
|
+
# @param InstanceType: 调整后的实例机型。不同实例机型指定了不同的资源规格,具体取值可通过调用接口[ DescribeInstanceTypeConfigs ](https://cloud.tencent.com/document/api/213/15749)来获得最新的规格表或参见[实例类型](https://cloud.tencent.com/document/product/213/11518)描述。
|
8215
8220
|
# @type InstanceType: String
|
8216
8221
|
# @param ForceStop: 是否对运行中的实例选择强制关机。建议对运行中的实例先手动关机。取值范围:<br><li>true:表示在正常关机失败后进行强制关机</li><br><li>false:表示在正常关机失败后不进行强制关机</li><br><br>默认取值:false。<br><br>强制关机的效果等同于关闭物理计算机的电源开关。强制关机可能会导致数据丢失或文件系统损坏,请仅在服务器不能正常关机时使用。
|
8217
8222
|
# @type ForceStop: Boolean
|
@@ -8733,9 +8738,9 @@ module TencentCloud
|
|
8733
8738
|
class StorageBlock < TencentCloud::Common::AbstractModel
|
8734
8739
|
# @param Type: HDD本地存储类型,值为:LOCAL_PRO.
|
8735
8740
|
# @type Type: String
|
8736
|
-
# @param MinSize: HDD
|
8741
|
+
# @param MinSize: HDD本地存储的最小容量。单位:GiB。
|
8737
8742
|
# @type MinSize: Integer
|
8738
|
-
# @param MaxSize: HDD
|
8743
|
+
# @param MaxSize: HDD本地存储的最大容量。单位:GiB。
|
8739
8744
|
# @type MaxSize: Integer
|
8740
8745
|
|
8741
8746
|
attr_accessor :Type, :MinSize, :MaxSize
|
@@ -8775,25 +8780,27 @@ module TencentCloud
|
|
8775
8780
|
|
8776
8781
|
# SyncImages请求参数结构体
|
8777
8782
|
class SyncImagesRequest < TencentCloud::Common::AbstractModel
|
8778
|
-
# @param ImageIds: 镜像ID列表 ,镜像ID可以通过如下方式获取:<br><li>通过[DescribeImages](https://cloud.tencent.com/document/api/213/15715)接口返回的`ImageId
|
8783
|
+
# @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
8784
|
# @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)。
|
8785
|
+
# @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
8786
|
# @type DestinationRegions: Array
|
8782
8787
|
# @param DryRun: 检测是否支持发起同步镜像。
|
8783
8788
|
# 默认值: false
|
8784
8789
|
# @type DryRun: Boolean
|
8785
8790
|
# @param ImageName: 目标镜像名称。默认使用源镜像名称。
|
8791
|
+
# 最多支持 60 个字符。
|
8786
8792
|
# @type ImageName: String
|
8787
8793
|
# @param ImageSetRequired: 是否需要返回目的地域的镜像ID。
|
8788
8794
|
# 默认值: false
|
8789
8795
|
# @type ImageSetRequired: Boolean
|
8790
8796
|
# @param Encrypt: 是否复制为加密自定义镜像。
|
8791
8797
|
# 默认值为 false。
|
8792
|
-
#
|
8798
|
+
# 复制加密自定义镜像仅支持同地域, 即 DestinationRegions 仅支持填写指定镜像所在地域。
|
8793
8799
|
# @type Encrypt: Boolean
|
8794
8800
|
# @param KmsKeyId: 加密自定义镜像使用的 KMS 密钥 ID。
|
8795
8801
|
# 仅当复制加密镜像时,即 Encrypt 为 true 时,此参数有效;
|
8796
8802
|
# 不指定 KmsKeyId,默认使用 CBS 云产品 KMS 密钥。
|
8803
|
+
# KMS 密钥 ID 通过[KMS 控制台](https://console.cloud.tencent.com/kms2)获取。
|
8797
8804
|
# @type KmsKeyId: String
|
8798
8805
|
|
8799
8806
|
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.1041
|
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-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|