tencentcloud-sdk-cvm 3.0.1048 → 3.0.1049
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 +1 -1
- data/lib/v20170312/models.rb +39 -22
- 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: 37031fcff946792005fcd0db4559bf99600a71cf
|
4
|
+
data.tar.gz: 683242765a5eb5dd911d710b4dd6f1217741bc9b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3e4e39b8496cb65f73c077a5e9b0d9f70cb8af82d3a98135e90ae7acc86197299dee000acf243740b169930fad0e15107e8e4f5138752ce84b8d31e0f4191cf9
|
7
|
+
data.tar.gz: a85f5823bbfd24246d921fa5526146635ba7c5275b953451e76d33cd9cc68e69ead301cba619e9e619dc0407f72188883ff086965bf17d7689395f9223e271a8
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.1049
|
data/lib/v20170312/client.rb
CHANGED
@@ -1378,7 +1378,7 @@ module TencentCloud
|
|
1378
1378
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1379
1379
|
end
|
1380
1380
|
|
1381
|
-
#
|
1381
|
+
# 本接口(EnterRescueMode)用于进入救援模式。
|
1382
1382
|
|
1383
1383
|
# @param request: Request instance for EnterRescueMode.
|
1384
1384
|
# @type request: :class:`Tencentcloud::cvm::V20170312::EnterRescueModeRequest`
|
data/lib/v20170312/models.rb
CHANGED
@@ -2302,7 +2302,7 @@ module TencentCloud
|
|
2302
2302
|
|
2303
2303
|
# DescribeImageSharePermission请求参数结构体
|
2304
2304
|
class DescribeImageSharePermissionRequest < TencentCloud::Common::AbstractModel
|
2305
|
-
# @param ImageId: 需要共享的镜像
|
2305
|
+
# @param ImageId: 需要共享的镜像 ID,可通过 [DescribeImages](https://cloud.tencent.com/document/api/213/15715) 接口返回的`ImageId`获取。
|
2306
2306
|
# @type ImageId: String
|
2307
2307
|
|
2308
2308
|
attr_accessor :ImageId
|
@@ -2352,23 +2352,23 @@ module TencentCloud
|
|
2352
2352
|
# <li><strong>image-id</strong></li>
|
2353
2353
|
# <p style="padding-left: 30px;">按照【<strong>镜像ID</strong>】进行过滤。</p><p style="padding-left: 30px;">类型:String</p><p style="padding-left: 30px;">必选:否</p>
|
2354
2354
|
# <li><strong>image-type</strong></li>
|
2355
|
-
# <p style="padding-left: 30px;">按照【<strong>镜像类型</strong>】进行过滤。</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;">PRIVATE_IMAGE:
|
2355
|
+
# <p style="padding-left: 30px;">按照【<strong>镜像类型</strong>】进行过滤。</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;">PRIVATE_IMAGE: 自定义镜像 (本账户创建的镜像)</p><p style="padding-left: 30px;">PUBLIC_IMAGE: 公共镜像 (腾讯云官方镜像)</p><p style="padding-left: 30px;">SHARED_IMAGE: 共享镜像(其他账户共享给本账户的镜像)</p>
|
2356
2356
|
# <li><strong>image-name</strong></li>
|
2357
|
-
# <p style="padding-left: 30px;">按照【<strong>镜像名称</strong
|
2357
|
+
# <p style="padding-left: 30px;">按照【<strong>镜像名称</strong>】进行过滤。支持模糊查询。</p><p style="padding-left: 30px;">类型:String</p><p style="padding-left: 30px;">必选:否</p>
|
2358
2358
|
# <li><strong>platform</strong></li>
|
2359
|
-
# <p style="padding-left: 30px;">按照【<strong>镜像平台</strong>】进行过滤,如CentOS
|
2359
|
+
# <p style="padding-left: 30px;">按照【<strong>镜像平台</strong>】进行过滤,如 CentOS,支持模糊匹配。可通过 <a href="https://cloud.tencent.com/document/api/213/15715" target="_blank">DescribeImages</a> 接口返回的<code> Platform </code>获取。</p><p style="padding-left: 30px;">类型:String</p><p style="padding-left: 30px;">必选:否</p>
|
2360
2360
|
# <li><strong>tag-key</strong></li>
|
2361
|
-
# <p style="padding-left: 30px;">按照【<strong>标签键</strong
|
2361
|
+
# <p style="padding-left: 30px;">按照【<strong>标签键</strong>】进行过滤。可通过 <a href="https://cloud.tencent.com/document/product/651/72275" target="_blank"> GetTags </a> 接口返回的<code> TagKey </code>获取。</p><p style="padding-left: 30px;">类型:String</p><p style="padding-left: 30px;">必选:否</p>
|
2362
2362
|
# <li><strong>tag-value</strong></li>
|
2363
|
-
# <p style="padding-left: 30px;">按照【<strong>标签值</strong
|
2363
|
+
# <p style="padding-left: 30px;">按照【<strong>标签值</strong>】进行过滤。可通过 <a href="https://cloud.tencent.com/document/product/651/72275" target="_blank"> GetTags </a> 接口返回的<code> TagValue </code>获取。</p><p style="padding-left: 30px;">类型:String</p><p style="padding-left: 30px;">必选:否</p>
|
2364
2364
|
# <li><strong>tag:tag-key</strong></li>
|
2365
|
-
# <p style="padding-left: 30px;">按照【<strong>标签键值对</strong>】进行过滤。tag-key
|
2365
|
+
# <p style="padding-left: 30px;">按照【<strong>标签键值对</strong>】进行过滤。tag-key使用具体的标签键进行替换。可通过 <a href="https://cloud.tencent.com/document/product/651/72275" target="_blank"> GetTags </a> 接口返回的<code> TagKey 和 TagValue </code>获取。</p><p style="padding-left: 30px;">类型:String</p><p style="padding-left: 30px;">必选:否</p>
|
2366
2366
|
# @type Filters: Array
|
2367
2367
|
# @param Offset: 偏移量,默认为0。关于Offset详见[API简介](/document/api/213/568#.E8.BE.93.E5.85.A5.E5.8F.82.E6.95.B0.E4.B8.8E.E8.BF.94.E5.9B.9E.E5.8F.82.E6.95.B0.E9.87.8A.E4.B9.89)。
|
2368
2368
|
# @type Offset: Integer
|
2369
2369
|
# @param Limit: 数量限制,默认为20,最大值为100。关于Limit详见[API简介](/document/api/213/568#.E8.BE.93.E5.85.A5.E5.8F.82.E6.95.B0.E4.B8.8E.E8.BF.94.E5.9B.9E.E5.8F.82.E6.95.B0.E9.87.8A.E4.B9.89)。
|
2370
2370
|
# @type Limit: Integer
|
2371
|
-
# @param InstanceType: 实例类型,如 `S1.SMALL1`
|
2371
|
+
# @param InstanceType: 实例类型,如 `S1.SMALL1`。可通过 [DescribeInstanceTypeConfigs](https://cloud.tencent.com/document/product/213/15749) 接口返回的 `InstanceType` 获取。
|
2372
2372
|
# @type InstanceType: String
|
2373
2373
|
|
2374
2374
|
attr_accessor :ImageIds, :Filters, :Offset, :Limit, :InstanceType
|
@@ -3880,9 +3880,9 @@ module TencentCloud
|
|
3880
3880
|
|
3881
3881
|
# EnterRescueMode请求参数结构体
|
3882
3882
|
class EnterRescueModeRequest < TencentCloud::Common::AbstractModel
|
3883
|
-
# @param InstanceId: 需要进入救援模式的实例
|
3883
|
+
# @param InstanceId: 需要进入救援模式的实例ID。可通过 [DescribeInstances](https://cloud.tencent.com/document/api/213/15728) 接口返回值中的`InstanceId`获取。
|
3884
3884
|
# @type InstanceId: String
|
3885
|
-
# @param Password:
|
3885
|
+
# @param Password: 救援模式下系统密码。不同操作系统类型密码复杂度限制不一样,具体如下:<li>Linux实例密码必须8到30位,至少包括两项[a-z],[A-Z]、[0-9] 和 [( ) \` ~ ! @ # $ % ^ & * - + = | { } [ ] : ; ' , . ? / ]中的特殊符号。</li><li>Windows实例密码必须12到30位,至少包括三项[a-z],[A-Z],[0-9] 和 [( ) \` ~ ! @ # $ % ^ & * - + = | { } [ ] : ; ' , . ? /]中的特殊符号。</li>
|
3886
3886
|
# @type Password: String
|
3887
3887
|
# @param Username: 救援模式下系统用户名
|
3888
3888
|
# @type Username: String
|
@@ -4339,17 +4339,24 @@ module TencentCloud
|
|
4339
4339
|
# @type ImageId: String
|
4340
4340
|
# @param OsName: 镜像操作系统
|
4341
4341
|
# @type OsName: String
|
4342
|
-
# @param ImageType:
|
4342
|
+
# @param ImageType: 镜像类型。镜像类型返回值包括:
|
4343
|
+
# * `PUBLIC_IMAGE` 公共镜像
|
4344
|
+
# * `PRIVATE_IMAGE` 自定义镜像
|
4345
|
+
# * `SHARED_IMAGE` 共享镜像
|
4343
4346
|
# @type ImageType: String
|
4344
|
-
# @param CreatedTime:
|
4347
|
+
# @param CreatedTime: 镜像创建时间。
|
4348
|
+
# 按照 ISO8601 标准表示,并且使用 UTC 时间,格式为:YYYY-MM-DDThh:mm:ssZ。
|
4345
4349
|
# @type CreatedTime: String
|
4346
4350
|
# @param ImageName: 镜像名称
|
4347
4351
|
# @type ImageName: String
|
4348
4352
|
# @param ImageDescription: 镜像描述
|
4349
4353
|
# @type ImageDescription: String
|
4350
|
-
# @param ImageSize:
|
4354
|
+
# @param ImageSize: 镜像大小,单位 GiB。
|
4351
4355
|
# @type ImageSize: Integer
|
4352
|
-
# @param Architecture:
|
4356
|
+
# @param Architecture: 镜像架构。镜像架构返回值包括:
|
4357
|
+
# * `x86_64`
|
4358
|
+
# * `arm`
|
4359
|
+
# * `i386`
|
4353
4360
|
# @type Architecture: String
|
4354
4361
|
# @param ImageState: 镜像状态:
|
4355
4362
|
# CREATING-创建中
|
@@ -4364,7 +4371,10 @@ module TencentCloud
|
|
4364
4371
|
# @type Platform: String
|
4365
4372
|
# @param ImageCreator: 镜像创建者
|
4366
4373
|
# @type ImageCreator: String
|
4367
|
-
# @param ImageSource:
|
4374
|
+
# @param ImageSource: 镜像来源。镜像来源返回值包括:
|
4375
|
+
# * `OFFICIAL` 官方镜像
|
4376
|
+
# * `CREATE_IMAGE` 用户自建镜像
|
4377
|
+
# * `EXTERNAL_IMPORT` 用户外部导入镜像
|
4368
4378
|
# @type ImageSource: String
|
4369
4379
|
# @param SyncPercent: 同步百分比
|
4370
4380
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
@@ -4375,16 +4385,20 @@ module TencentCloud
|
|
4375
4385
|
# @type SnapshotSet: Array
|
4376
4386
|
# @param Tags: 镜像关联的标签列表。
|
4377
4387
|
# @type Tags: Array
|
4378
|
-
# @param LicenseType:
|
4388
|
+
# @param LicenseType: 镜像许可类型。镜像许可类型返回值包括:
|
4389
|
+
# * `TencentCloud` 腾讯云官方许可
|
4390
|
+
# * `BYOL` 用户自带许可
|
4379
4391
|
# @type LicenseType: String
|
4380
4392
|
# @param ImageFamily: 镜像族
|
4381
4393
|
# @type ImageFamily: String
|
4382
4394
|
# @param ImageDeprecated: 镜像是否废弃
|
4383
4395
|
# @type ImageDeprecated: Boolean
|
4396
|
+
# @param CdcCacheStatus: CDC镜像缓存状态
|
4397
|
+
# @type CdcCacheStatus: String
|
4384
4398
|
|
4385
|
-
attr_accessor :ImageId, :OsName, :ImageType, :CreatedTime, :ImageName, :ImageDescription, :ImageSize, :Architecture, :ImageState, :Platform, :ImageCreator, :ImageSource, :SyncPercent, :IsSupportCloudinit, :SnapshotSet, :Tags, :LicenseType, :ImageFamily, :ImageDeprecated
|
4399
|
+
attr_accessor :ImageId, :OsName, :ImageType, :CreatedTime, :ImageName, :ImageDescription, :ImageSize, :Architecture, :ImageState, :Platform, :ImageCreator, :ImageSource, :SyncPercent, :IsSupportCloudinit, :SnapshotSet, :Tags, :LicenseType, :ImageFamily, :ImageDeprecated, :CdcCacheStatus
|
4386
4400
|
|
4387
|
-
def initialize(imageid=nil, osname=nil, imagetype=nil, createdtime=nil, imagename=nil, imagedescription=nil, imagesize=nil, architecture=nil, imagestate=nil, platform=nil, imagecreator=nil, imagesource=nil, syncpercent=nil, issupportcloudinit=nil, snapshotset=nil, tags=nil, licensetype=nil, imagefamily=nil, imagedeprecated=nil)
|
4401
|
+
def initialize(imageid=nil, osname=nil, imagetype=nil, createdtime=nil, imagename=nil, imagedescription=nil, imagesize=nil, architecture=nil, imagestate=nil, platform=nil, imagecreator=nil, imagesource=nil, syncpercent=nil, issupportcloudinit=nil, snapshotset=nil, tags=nil, licensetype=nil, imagefamily=nil, imagedeprecated=nil, cdccachestatus=nil)
|
4388
4402
|
@ImageId = imageid
|
4389
4403
|
@OsName = osname
|
4390
4404
|
@ImageType = imagetype
|
@@ -4404,6 +4418,7 @@ module TencentCloud
|
|
4404
4418
|
@LicenseType = licensetype
|
4405
4419
|
@ImageFamily = imagefamily
|
4406
4420
|
@ImageDeprecated = imagedeprecated
|
4421
|
+
@CdcCacheStatus = cdccachestatus
|
4407
4422
|
end
|
4408
4423
|
|
4409
4424
|
def deserialize(params)
|
@@ -4440,6 +4455,7 @@ module TencentCloud
|
|
4440
4455
|
@LicenseType = params['LicenseType']
|
4441
4456
|
@ImageFamily = params['ImageFamily']
|
4442
4457
|
@ImageDeprecated = params['ImageDeprecated']
|
4458
|
+
@CdcCacheStatus = params['CdcCacheStatus']
|
4443
4459
|
end
|
4444
4460
|
end
|
4445
4461
|
|
@@ -7360,9 +7376,9 @@ module TencentCloud
|
|
7360
7376
|
class RebootInstancesRequest < TencentCloud::Common::AbstractModel
|
7361
7377
|
# @param InstanceIds: 一个或多个待操作的实例ID。可通过 [DescribeInstances](https://cloud.tencent.com/document/api/213/15728) 接口返回值中的`InstanceId`获取。每次请求批量实例的上限为100。
|
7362
7378
|
# @type InstanceIds: Array
|
7363
|
-
# @param ForceReboot: 本参数已弃用,推荐使用StopType,不可以与参数StopType同时使用。表示是否在正常重启失败后选择强制重启实例。取值范围:<br><li>true
|
7379
|
+
# @param ForceReboot: 本参数已弃用,推荐使用StopType,不可以与参数StopType同时使用。表示是否在正常重启失败后选择强制重启实例。取值范围:<br><li>true:表示在正常重启失败后进行强制重启</li><li>false:表示在正常重启失败后不进行强制重启</li><br>默认取值:false。
|
7364
7380
|
# @type ForceReboot: Boolean
|
7365
|
-
# @param StopType: 关机类型。取值范围:<br><li>SOFT
|
7381
|
+
# @param StopType: 关机类型。取值范围:<br><li>SOFT:表示软关机</li><li>HARD:表示硬关机</li><li>SOFT_FIRST:表示优先软关机,失败再执行硬关机</li><br>默认取值:SOFT。
|
7366
7382
|
# @type StopType: String
|
7367
7383
|
|
7368
7384
|
attr_accessor :InstanceIds, :ForceReboot, :StopType
|
@@ -8587,7 +8603,8 @@ module TencentCloud
|
|
8587
8603
|
|
8588
8604
|
# 镜像分享信息结构
|
8589
8605
|
class SharePermission < TencentCloud::Common::AbstractModel
|
8590
|
-
# @param CreatedTime:
|
8606
|
+
# @param CreatedTime: 镜像分享时间。
|
8607
|
+
# 按照 ISO8601 标准表示,并且使用 UTC 时间,格式为:YYYY-MM-DDThh:mm:ssZ。
|
8591
8608
|
# @type CreatedTime: String
|
8592
8609
|
# @param AccountId: 镜像分享的账户ID
|
8593
8610
|
# @type AccountId: String
|
@@ -8613,7 +8630,7 @@ module TencentCloud
|
|
8613
8630
|
# SYSTEM_DISK:系统盘
|
8614
8631
|
# DATA_DISK:数据盘。
|
8615
8632
|
# @type DiskUsage: String
|
8616
|
-
# @param DiskSize: 创建此快照的云硬盘大小,单位
|
8633
|
+
# @param DiskSize: 创建此快照的云硬盘大小,单位 GiB。
|
8617
8634
|
# @type DiskSize: Integer
|
8618
8635
|
|
8619
8636
|
attr_accessor :SnapshotId, :DiskUsage, :DiskSize
|
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.1049
|
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-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|