tencentcloud-sdk-cvm 3.0.371 → 3.0.382
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20170312/client.rb +24 -0
- data/lib/v20170312/models.rb +71 -4
- metadata +9 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 62fc09939b6f1b4a94dad821c18ed50a44e1bded
|
4
|
+
data.tar.gz: c7a0708f5d6b19a96a3f40b05bf8c96a09518952
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 44719515f4c16ae42e1781b2129a3994009961e6598b839192beb4f9ebdd44d9214f39c0454d847cb30434e0ade309a23f5a2836b4a2d2d60914c1a74afcce20
|
7
|
+
data.tar.gz: 112c3a40346ff42cfb5ee700700b032eb2c7016a0dc508033184ed674a1b50d2a174b9768d194a4d77b28949d85ac5d478a81f8d32cef2d755e4250216b91b11
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.382
|
data/lib/v20170312/client.rb
CHANGED
@@ -436,6 +436,30 @@ module TencentCloud
|
|
436
436
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
437
437
|
end
|
438
438
|
|
439
|
+
# 查询CHC物理服务器禁止做的操作,返回给用户
|
440
|
+
|
441
|
+
# @param request: Request instance for DescribeChcDeniedActions.
|
442
|
+
# @type request: :class:`Tencentcloud::cvm::V20170312::DescribeChcDeniedActionsRequest`
|
443
|
+
# @rtype: :class:`Tencentcloud::cvm::V20170312::DescribeChcDeniedActionsResponse`
|
444
|
+
def DescribeChcDeniedActions(request)
|
445
|
+
body = send_request('DescribeChcDeniedActions', request.serialize)
|
446
|
+
response = JSON.parse(body)
|
447
|
+
if response['Response'].key?('Error') == false
|
448
|
+
model = DescribeChcDeniedActionsResponse.new
|
449
|
+
model.deserialize(response['Response'])
|
450
|
+
model
|
451
|
+
else
|
452
|
+
code = response['Response']['Error']['Code']
|
453
|
+
message = response['Response']['Error']['Message']
|
454
|
+
reqid = response['Response']['RequestId']
|
455
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
456
|
+
end
|
457
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
458
|
+
raise e
|
459
|
+
rescue StandardError => e
|
460
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
461
|
+
end
|
462
|
+
|
439
463
|
# 本接口 (DescribeChcHosts) 用于查询一个或多个CHC物理服务器详细信息。
|
440
464
|
|
441
465
|
# * 可以根据实例`ID`、实例名称或者设备类型等信息来查询实例的详细信息。过滤信息详细请见过滤器`Filter`。
|
data/lib/v20170312/models.rb
CHANGED
@@ -450,6 +450,30 @@ module TencentCloud
|
|
450
450
|
end
|
451
451
|
end
|
452
452
|
|
453
|
+
# CHC物理服务器实例禁止操作的返回结构体
|
454
|
+
class ChcHostDeniedActions < TencentCloud::Common::AbstractModel
|
455
|
+
# @param ChcId: CHC物理服务器的实例id
|
456
|
+
# @type ChcId: String
|
457
|
+
# @param State: CHC物理服务器的状态
|
458
|
+
# @type State: String
|
459
|
+
# @param DenyActions: 当前CHC物理服务器禁止做的操作
|
460
|
+
# @type DenyActions: Array
|
461
|
+
|
462
|
+
attr_accessor :ChcId, :State, :DenyActions
|
463
|
+
|
464
|
+
def initialize(chcid=nil, state=nil, denyactions=nil)
|
465
|
+
@ChcId = chcid
|
466
|
+
@State = state
|
467
|
+
@DenyActions = denyactions
|
468
|
+
end
|
469
|
+
|
470
|
+
def deserialize(params)
|
471
|
+
@ChcId = params['ChcId']
|
472
|
+
@State = params['State']
|
473
|
+
@DenyActions = params['DenyActions']
|
474
|
+
end
|
475
|
+
end
|
476
|
+
|
453
477
|
# ConfigureChcAssistVpc请求参数结构体
|
454
478
|
class ConfigureChcAssistVpcRequest < TencentCloud::Common::AbstractModel
|
455
479
|
# @param ChcIds: CHC物理服务器的实例Id。
|
@@ -1128,7 +1152,7 @@ module TencentCloud
|
|
1128
1152
|
class DataDisk < TencentCloud::Common::AbstractModel
|
1129
1153
|
# @param DiskSize: 数据盘大小,单位:GB。最小调整步长为10G,不同数据盘类型取值范围不同,具体限制详见:[存储概述](https://cloud.tencent.com/document/product/213/4952)。默认值为0,表示不购买数据盘。更多限制详见产品文档。
|
1130
1154
|
# @type DiskSize: Integer
|
1131
|
-
# @param DiskType: 数据盘类型。数据盘类型限制详见[存储概述](https://cloud.tencent.com/document/product/213/4952)。取值范围:<br><li>LOCAL_BASIC:本地硬盘<br><li>LOCAL_SSD:本地SSD硬盘<br><li>LOCAL_NVME:本地NVME硬盘,与InstanceType强相关,不支持指定<br><li>LOCAL_PRO:本地HDD硬盘,与InstanceType强相关,不支持指定<br><li>CLOUD_BASIC:普通云硬盘<br><li>CLOUD_PREMIUM:高性能云硬盘<br><li>CLOUD_SSD:SSD云硬盘<br><li>CLOUD_HSSD:增强型SSD云硬盘<br><li>CLOUD_TSSD:极速型SSD云硬盘<br><br>默认取值:LOCAL_BASIC。<br><br>该参数对`ResizeInstanceDisk`接口无效。
|
1155
|
+
# @param DiskType: 数据盘类型。数据盘类型限制详见[存储概述](https://cloud.tencent.com/document/product/213/4952)。取值范围:<br><li>LOCAL_BASIC:本地硬盘<br><li>LOCAL_SSD:本地SSD硬盘<br><li>LOCAL_NVME:本地NVME硬盘,与InstanceType强相关,不支持指定<br><li>LOCAL_PRO:本地HDD硬盘,与InstanceType强相关,不支持指定<br><li>CLOUD_BASIC:普通云硬盘<br><li>CLOUD_PREMIUM:高性能云硬盘<br><li>CLOUD_SSD:SSD云硬盘<br><li>CLOUD_HSSD:增强型SSD云硬盘<br><li>CLOUD_TSSD:极速型SSD云硬盘<br><li>CLOUD_BSSD:通用型SSD云硬盘<br><br>默认取值:LOCAL_BASIC。<br><br>该参数对`ResizeInstanceDisk`接口无效。
|
1132
1156
|
# @type DiskType: String
|
1133
1157
|
# @param DiskId: 数据盘ID。LOCAL_BASIC 和 LOCAL_SSD 类型没有ID,暂时不支持该参数。
|
1134
1158
|
# 该参数目前仅用于`DescribeInstances`等查询类接口的返回参数,不可用于`RunInstances`等写接口的入参。
|
@@ -1414,6 +1438,49 @@ module TencentCloud
|
|
1414
1438
|
end
|
1415
1439
|
end
|
1416
1440
|
|
1441
|
+
# DescribeChcDeniedActions请求参数结构体
|
1442
|
+
class DescribeChcDeniedActionsRequest < TencentCloud::Common::AbstractModel
|
1443
|
+
# @param ChcIds: CHC物理服务器实例id
|
1444
|
+
# @type ChcIds: Array
|
1445
|
+
|
1446
|
+
attr_accessor :ChcIds
|
1447
|
+
|
1448
|
+
def initialize(chcids=nil)
|
1449
|
+
@ChcIds = chcids
|
1450
|
+
end
|
1451
|
+
|
1452
|
+
def deserialize(params)
|
1453
|
+
@ChcIds = params['ChcIds']
|
1454
|
+
end
|
1455
|
+
end
|
1456
|
+
|
1457
|
+
# DescribeChcDeniedActions返回参数结构体
|
1458
|
+
class DescribeChcDeniedActionsResponse < TencentCloud::Common::AbstractModel
|
1459
|
+
# @param ChcHostDeniedActionSet: CHC实例禁止操作信息
|
1460
|
+
# @type ChcHostDeniedActionSet: Array
|
1461
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1462
|
+
# @type RequestId: String
|
1463
|
+
|
1464
|
+
attr_accessor :ChcHostDeniedActionSet, :RequestId
|
1465
|
+
|
1466
|
+
def initialize(chchostdeniedactionset=nil, requestid=nil)
|
1467
|
+
@ChcHostDeniedActionSet = chchostdeniedactionset
|
1468
|
+
@RequestId = requestid
|
1469
|
+
end
|
1470
|
+
|
1471
|
+
def deserialize(params)
|
1472
|
+
unless params['ChcHostDeniedActionSet'].nil?
|
1473
|
+
@ChcHostDeniedActionSet = []
|
1474
|
+
params['ChcHostDeniedActionSet'].each do |i|
|
1475
|
+
chchostdeniedactions_tmp = ChcHostDeniedActions.new
|
1476
|
+
chchostdeniedactions_tmp.deserialize(i)
|
1477
|
+
@ChcHostDeniedActionSet << chchostdeniedactions_tmp
|
1478
|
+
end
|
1479
|
+
end
|
1480
|
+
@RequestId = params['RequestId']
|
1481
|
+
end
|
1482
|
+
end
|
1483
|
+
|
1417
1484
|
# DescribeChcHosts请求参数结构体
|
1418
1485
|
class DescribeChcHostsRequest < TencentCloud::Common::AbstractModel
|
1419
1486
|
# @param ChcIds: CHC物理服务器实例ID。每次请求的实例的上限为100。参数不支持同时指定`ChcIds`和`Filters`。
|
@@ -6995,7 +7062,7 @@ module TencentCloud
|
|
6995
7062
|
# @type SystemDisk: :class:`Tencentcloud::Cvm.v20170312.models.SystemDisk`
|
6996
7063
|
# @param DataDisks: 实例数据盘配置信息。若不指定该参数,则默认不购买数据盘。支持购买的时候指定21块数据盘,其中最多包含1块LOCAL_BASIC数据盘或者LOCAL_SSD数据盘,最多包含20块CLOUD_BASIC数据盘、CLOUD_PREMIUM数据盘或者CLOUD_SSD数据盘。
|
6997
7064
|
# @type DataDisks: Array
|
6998
|
-
# @param VirtualPrivateCloud: 私有网络相关信息配置。通过该参数可以指定私有网络的ID,子网ID
|
7065
|
+
# @param VirtualPrivateCloud: 私有网络相关信息配置。通过该参数可以指定私有网络的ID,子网ID等信息。若在此参数中指定了私有网络IP,即表示每个实例的主网卡IP;同时,InstanceCount参数必须与私有网络IP的个数一致且不能大于20。
|
6999
7066
|
# @type VirtualPrivateCloud: :class:`Tencentcloud::Cvm.v20170312.models.VirtualPrivateCloud`
|
7000
7067
|
# @param InternetAccessible: 公网带宽相关信息设置。若不指定该参数,则默认公网带宽为0Mbps。
|
7001
7068
|
# @type InternetAccessible: :class:`Tencentcloud::Cvm.v20170312.models.InternetAccessible`
|
@@ -7153,7 +7220,7 @@ module TencentCloud
|
|
7153
7220
|
|
7154
7221
|
# RunInstances返回参数结构体
|
7155
7222
|
class RunInstancesResponse < TencentCloud::Common::AbstractModel
|
7156
|
-
# @param InstanceIdSet: 当通过本接口来创建实例时会返回该参数,表示一个或多个实例`ID`。返回实例`ID`列表并不代表实例创建成功,可根据 [DescribeInstances](https://cloud.tencent.com/document/api/213/15728) 接口查询返回的InstancesSet中对应实例的`ID
|
7223
|
+
# @param InstanceIdSet: 当通过本接口来创建实例时会返回该参数,表示一个或多个实例`ID`。返回实例`ID`列表并不代表实例创建成功,可根据 [DescribeInstances](https://cloud.tencent.com/document/api/213/15728) 接口查询返回的InstancesSet中对应实例的`ID`的状态来判断创建是否完成;如果实例状态由“PENDING(创建中)”变为“运行中(RUNNING)”,则为创建成功。
|
7157
7224
|
# @type InstanceIdSet: Array
|
7158
7225
|
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
7159
7226
|
# @type RequestId: String
|
@@ -7444,7 +7511,7 @@ module TencentCloud
|
|
7444
7511
|
|
7445
7512
|
# 描述了操作系统所在块设备即系统盘的信息
|
7446
7513
|
class SystemDisk < TencentCloud::Common::AbstractModel
|
7447
|
-
# @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><br>默认取值:当前有库存的硬盘类型。
|
7514
|
+
# @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><br>默认取值:当前有库存的硬盘类型。
|
7448
7515
|
# @type DiskType: String
|
7449
7516
|
# @param DiskId: 系统盘ID。LOCAL_BASIC 和 LOCAL_SSD 类型没有ID。暂时不支持该参数。
|
7450
7517
|
# 该参数目前仅用于`DescribeInstances`等查询类接口的返回参数,不可用于`RunInstances`等写接口的入参。
|
metadata
CHANGED
@@ -1,27 +1,27 @@
|
|
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.382
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-08-
|
11
|
+
date: 2022-08-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- -
|
17
|
+
- - ~>
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: '1.0'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- -
|
24
|
+
- - ~>
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '1.0'
|
27
27
|
description: Tencent Cloud Ruby SDK is the official software development kit, which
|
@@ -33,10 +33,10 @@ executables: []
|
|
33
33
|
extensions: []
|
34
34
|
extra_rdoc_files: []
|
35
35
|
files:
|
36
|
-
- lib/VERSION
|
37
36
|
- lib/tencentcloud-sdk-cvm.rb
|
38
|
-
- lib/v20170312/client.rb
|
39
37
|
- lib/v20170312/models.rb
|
38
|
+
- lib/v20170312/client.rb
|
39
|
+
- lib/VERSION
|
40
40
|
homepage: https://github.com/TencentCloud/tencentcloud-sdk-ruby
|
41
41
|
licenses:
|
42
42
|
- Apache-2.0
|
@@ -49,17 +49,17 @@ require_paths:
|
|
49
49
|
- lib
|
50
50
|
required_ruby_version: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
|
-
- -
|
52
|
+
- - '>='
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '0'
|
55
55
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
56
56
|
requirements:
|
57
|
-
- -
|
57
|
+
- - '>='
|
58
58
|
- !ruby/object:Gem::Version
|
59
59
|
version: '0'
|
60
60
|
requirements: []
|
61
61
|
rubyforge_project:
|
62
|
-
rubygems_version: 2.
|
62
|
+
rubygems_version: 2.0.14
|
63
63
|
signing_key:
|
64
64
|
specification_version: 4
|
65
65
|
summary: Tencent Cloud SDK for Ruby - CVM
|